- 乐观与消极你偏向谁(284篇日记)
万儿
我是日记星球212号星宝宝万儿,我在参加日记星球第十三期21天蜕变之旅,这是我在日记星球写的第284篇日记。图片发自App对待挫折坎坷,不同的人有不同的想法,有人坦然面对,有人一蹶不振。乐观如明灯,照亮希望的前程;消极如毒品,腐蚀健康的心灵。积极的人生观。“心生则种种法生,心灭则种种法灭。”乐观、悲观当然有外在的因缘,但多数都是自己创造出来的。人生没有绝对的苦乐,只要有积极奋斗的精神,只要凡事肯向
- 6.14《284》和儿子谈谈心
2018级高佳浩妈妈
今晚去接孩子,在辅导班门口停留了一会,今天又测试了和他老师谈了一会话,佳浩这几天不在状态,在家做作业挺好的,为什么在学校就不出成绩?我一直找这个问题,有一天辅导班老师说不是当班长光管纪律去了不学习了,主要你家孩子太认真了,太有责任心了,我一开始没多想,今天和他班主任也说是不是因为这个?我今晚回家和他好好谈谈,不行就撤了他,就这样在辅导班和老师交流一下,孩子还做了一张卷子,做的挺好就错了这几个,我也
- 2023-01-19呼建荣,中原焦点团队,网络中级第33期,坚持分享465天。
呼建荣
中原焦点团队,呼建荣网络中级第33期读书第六期打卡59天,坚持分享465天约练(284)咨询师(119)观察员(72)来访者(93)约练收获:今天约练的角色是来访者。当我接龙的时候,前面有一位老师已经标注了观察员,如果有再有老师接龙时是来访者,我就当咨询师。如果是咨询师我就当来访者。后来另一位老师去接龙也标注了观察员,我就是对感觉到这位老师没有尊重别人。今天我带来的话题是人为什么要活着?活着是为什
- 飞鸟集每日一品(155)
语熙
泰戈尔原文:Silencewillcarryyourvoicelikethenestthatholdsthesleepingbirds.冯唐版:静寂盛了你的声音鸟巢盛了睡着的鸟郑振铎版:沉默蕴蓄着语声,正如鸟巢拥围着睡鸟。我的翻译:缄默酝酿着发声,就像穴巢环抱睡鸟carry一般是“运输,带来,拿来”的意思,放在原文当中去理解就是“安静带来你自己的声音。”silence可以理解成“安静,沉默,缄默”
- 《论语》每日一读284
朱红东
《论语》颜渊篇第十二08【原文】棘子成曰:“君子质而已矣,何以文为?”子贡曰:“惜乎!夫子之说,君子也。驷不及舌。文犹质也,质犹文也。虎豹之鞟,犹犬羊之鞟。”【大意】棘子成说:“君子的关键在于本质,只要本质好,要那些虚文和表面功夫做什么?”子贡说:“太遗憾了!夫子您竟然这样来定义君子。一言既出,驷马难追。文饰就是本质,本质也是文饰。就像皮革,虎豹的皮去掉,没有了虎豹皮毛的文彩,它的皮和狗皮羊皮有什
- 精进打卡284天
谢逢春亚克力
深圳天塑智能科技有限公司【口号】:天道酬勤,高雅精致【经营理念】:实现员工梦想,做幸福企业【愿景】:做亚克力道具的引领者【使命】:简约收纳空间、点缀生活之美【价值观】:感恩、责任、创新、精致【谢逢春日精进微信分享第284天,今天2020-3-12日】【知~学习】:《大学》《六项精进》《志工十二条》【行~实践】一.修身:二.齐家:三.建功:四.{今日分享}产品是做出来的,但更是设计出来的,所以做个产
- 长篇小说||生(284)
一见如故的路人
趁老爷子输液的空当,李大狗出了卫生院,想去集市上买些年货。雨棚下的摊子上,挂着许多对联,清一色的红底黑字或金字,红木板上也堆着厚厚的一层,角落中还有红灯笼卖。摊主贩卖的对联又分两种,一种是手写的,价格较贵,一副要五块钱;另一种是打印的,没啥特色,所以只收三块钱。门神也有两种规格,大的三块,小的两块。李大狗弓着腰在对联摊前细细地观赏着,最后,他挑了四副手写的对联——他觉得,这字比打印的好看,放在门前
- 那些让人泪目的句子
一颗葡萄桃
1.有时我们的眼睛可以看见宇宙,却看不见社会底层最悲惨的世界。--《十宗罪》2.你生活在光亮里,你就觉得全世界都是光亮的3.世界让我遍体鳞伤,但伤口长出的却是翅膀。--阿多尼斯4.所有的大人都曾经是孩子。不幸的是,其中记住这一点的并不多。--《小王子》5.你微微地笑着,不同我说什么话。而我觉得,为了这个,我已等待得很久了。--泰戈尔《飞鸟集》6.你是我的文艺复兴。有且仅有夏习清。7.人生最美好的际
- 《繁星·春水》知识
BESSI52
书籍【主要内容】1.作者概况:《繁星·春水》是冰心在印度诗人泰戈尔《飞鸟集》的影响下写成的诗集。内容包括对母爱与童真的歌颂,对大自然的崇拜和赞颂,对人生的思考和感悟等等。2.体裁:诗歌。3.成因:受印度诗人泰戈尔《飞鸟集》影响写成。4.主要内容:(1)对母爱与童真的歌颂。(2)对大自然的崇拜与赞颂。(3)对人生的思考与感悟。5.艺术特色:兼采中国古典诗词和泰戈尔哲理小诗之长,善于捕捉瞬间的灵感,以
- 我见即我思第284天
若如初梘
我见:也许无趣的不是这个世界,而是你我还没找到有趣的活法。——大冰(摘自句读中语录)我思:始终如一的相信这个世界是有趣的,是赋有吸引人的魔力的。你若是感受不到世界有趣,是因为的确没找到或者没看到没感受到这个有趣的有灵魂的世界。年幼的时候对这个世界充满了好奇,你不会觉得这个世界无趣,你只想更多的去了解去探索。后来可能因为种种原因或者历经什么事情,觉得生活索然无味了,不是世界变了,是我们长大了。长大了
- 《人间食话》读书笔记
悠之不语斋
阅读书目:《人间食话》作者:梁实秋阅读内容:p168-p211阅读书目:《飞鸟集·新月集》1.《五维突破互联网+教育》2.《基础教育教学课题研究十八问(案例篇)》3.《寄小读者》冰心4.《微教育日记》朱晓平5.《浮生六记》沈复6.《断舍离》山下英子7.《思维导读》鸿雁编著8.《教育的目的》怀特海9.《我只愿面朝大海,春暖花开》海子著10.《园丁与木匠》美艾莉森·高普尼克著11.《教学勇气——漫步教
- 2020.3.2张孟莹日精进
39bab3513171
敬爱的李老师,智慧的教授,亲爱的跃友们:大家好!我是来自威海玉林广告的张孟莹,今天是我的日精进行动第284天,给大家分享我今天的进步,我们互相勉励,携手前行。每天进步一点点,距离成功也就不远了!1、比学习:书中自有黄金屋,书中自有颜如玉,读的书多了,见得世面就多了。2、比改变:十年磨一剑的坚持,每天的阅读和积累。3、比付出:越是积累,我们就会越耀眼。4、比谦卑:不积跬步无以至千里,不积小流无以成江
- 代谢组数据分析(十八):随机森林构建代谢组诊断模型
生信学习者2
代谢组分析数据分析随机森林数据挖掘
介绍使用随机森林算法和LASSO特征选择构建了一种胃癌(GC)诊断预测模型。参与者(队列1,n=426)通过随机分层抽样分为发现数据集(n=284)和测试集(n=142)。接下来,在发现数据集上执行LASSO回归,以选择能够识别胃癌患者的较少数量的特征。我们将L1约束的系数设置为0.01,并根据10,000次随机交叉验证的平均误分类误差选择了十个非零系数的特征。在发现数据集上使用引导聚合方法训练了
- 【 伊人书摘 】作文素材(三)
曼妙伊人_
//读书的本质,不在于记住哪些知识,而在于它触发了你的思考//1、我是秋云。空空地不载着雨水,但在成熟的稻田中,我看见了我的充实。——泰戈尔《飞鸟集》2、唯有我们觉醒之际,天才会破晓。破晓的,不止是黎明。太阳只不过是一颗晨星。——梭罗《瓦尔登湖》3、我常觉得,所谓“风水好”,就是空气清新、水质清澈的所在。所谓“有福报”,就是住在植物青翠、花树繁华的所在。所谓美好的心灵,就是能体贴万物的心,能温柔对
- 《正道红途》李初年童肖媛&全集目录-在线阅读
寒风书楼
《正道红途》李初年童肖媛&全集目录-在线阅读主角:李初年童肖媛简介:刚直不阿,但却多谋善断。嫉恶如仇,但谙斗争谋略。李初年是如包公般的干部。愈挫愈勇,绝不妥协!他誓要在这条道路上闯出一番天地!可关注微信公众号【寒风书楼】去回个书号【284】,即可免费阅读【正道红途】全文!两人一来到宿舍,钱丽秀就迫不及待地扑进了李初年的怀里,吻了起来。她这段时间也是饥渴难耐,特别思念李初年。一个干柴,一个烈火。两人
- 爸爸,儿子,生日快乐
_玉_生_
【日精进打卡1271天】姓名:孙玉生沈阳盛和商学院六项精进第177期学员(队长),271期284期288期295期299期305A期306期310期315期323期325期330期335期337期338期346期357期带队志工,341期(山东)392(北京)397(上海)401(太原)403(宁波)410(杭州)419(无锡)421(大连)423(上海)426(慈溪)431(成都)441(哈市)
- 飞鸟集1
陈奕和
1夏日的飞鸟飞到我的窗前,歌唱一会儿就走了。秋日的落叶,没有什么可唱的,叹息一声,就掉了下来。点评:“生如夏花之绚烂,死如秋叶之静美。”夏日的飞鸟和秋日的落叶实际上显示了人生两种不同的状态。夏日的飞鸟飞走,秋日的落叶掉落,没有什么是永恒的。我们每一个人都是细小的沙子或石块,在时间的长河中,身不由己地被带向前方。2漂流者啊!漂流者!请不要就这样离去,在世界的舞台上,我还没有将你的足印记录在我的文字里
- 所谓成熟,一半是对美好的追求,一半是对残缺的接纳
_玉_生_
图片发自App【日精进打卡1018天】姓名:孙玉生沈阳盛和商学院六项精进第177期学员(队长),271期284期288期295期299期305A期306期310期315期323期325期330期335期337期338期346期357期带队志工,341期(山东)392(北京)397(上海)401(太原)403(宁波)410(杭州)419(无锡)421(大连)423(上海)426(慈溪)431(成都)
- B(亲和数(真约数))
Celia_QAQ
古希腊数学家毕达哥拉斯在自然数研究中发现,220的所有真约数(即不是自身的约数)之和为:1+2+4+5+10+11+20+22+44+55+110=284。而284的所有真约数为1、2、4、71、142,加起来恰好为220。人们对这样的数感到很惊奇,并称之为亲和数。一般地讲,如果两个数中任何一个数都是另一个数的真约数之和,则这两个数就是亲和数。你的任务就编写一个程序,判断给定的两个数是否是亲和数I
- 大染缸
_玉_生_
【日精进打卡949天】诗人情怀姓名:孙玉生沈阳盛和商学院六项精进第177期学员(队长),271期284期288期295期299期305A期306期310期315期323期325期330期335期337期338期346期357期带队志工,341期(山东)392期(北京)397期(上海)401期(太原)403期(宁波)410期(杭州)419(无锡)421(大连)423(上海)426(慈溪)431(成都
- 2023-02-15
越来越好崔
2023-02--15中原焦点学员李灵芝坚持分享第284倾听是在接纳基础上积极地听,认真地听,并在倾听时适度的参与。倾听是咨询师的基本功,也建立良好咨询关系的基本要求。倾听需要以接纳为基础。只有无条件的接纳求助者才能有好的倾听。倾听是一种积极的听,是一种关注的听,还有适当的参与。倾听不仅用耳朵听还要用心听,听懂求助者的语言表达。还要听出求助者在交谈中说省略的和没有表达出来的内容,以及隐含的意思。甚
- 亲子日记第284篇
敏文妈咪
今天周六,我照常上班,孩子们今天不用去辅导班,所以睡起了懒觉,我走的时候还没有醒,10点半的时候给孩子们打电话,孩子们才刚起来,这可真是睡到自然醒了……暑假后一直都是两个孩子自己在家,听到我打电话,办公室的同事都说:“你家两个孩子可真听话,自己在家!”是啊,我家两个孩子自己起床,自己去辅导班,放学自己回家吃饭,中午自己睡觉,自己看着表醒来,自己做作业……姐弟两个相互帮助,相互鼓励,相互学习……这边
- 北漂,283-284天,延迟上班
郑胜杰
Lifeisaseriesofbabysteps.人生是一个循序渐进的过程。早上起床,除了被全国肺炎疫情震惊,同时也被自己延迟上班的事情震惊。关于电商的工作,龙江的工厂全部确定只能3月1号之后开始正常复工,这就让自己的电商工作,之前答应给客户发货的事情就耽误了,这是一个严重的问题。其次,关于VJ的工作,看到宾哥发给自己,可能因为疫情,北京的工作可能推迟到五月份上班,这就过分了,现在才2月开始,离5
- 【Web】CTFSHOW java刷题记录(全)
Z3r4y
javactfshowstruts2strutsrcecveweb
目录web279web280web281web282web283web284web285web286web287web288web289web290web291web292web293web294web295web296web297web298web299web300web279题目提示url里告诉我们是S2-001直接进行一个exp的搜S2-001漏洞分析-CSDN博客payload:%{#a=
- 让相聚赞美生命
_玉_生_
图片发自App【日精进打卡1098天】姓名:孙玉生沈阳盛和商学院六项精进第177期学员(队长),271期284期288期295期299期305A期306期310期315期323期325期330期335期337期338期346期357期带队志工,341期(山东)392(北京)397(上海)401(太原)403(宁波)410(杭州)419(无锡)421(大连)423(上海)426(慈溪)431(成都)
- 2019-03-28
小雨淅淅373
姓名:李丹丹公司:山东万洁环保科技有限公司组别:第373期利他一组【日精进打卡第342天】【知~学习】《六项精进》大纲1遍共270遍《六项精进》通篇1遍共284遍《大学》1遍共343遍《活法》节共66节《了凡四训》0小段共125段《干法》0篇共79篇《论语》1章共87章【经典名句分享】1、学者须先立志。今日所以悠悠者,只是把学问不曾做一件事看,遇事则且胡乱恁地打过了,此只是志不立。2、到处都有痛苦
- 284~放下焦虑,宇宙你看着办吧
思言悟语
工资拖了一个月还得发,真的有点穷疯了,每天都查卡几次,看看到账了没有。计划周末回来,就连回去的路费都成问题,一直担心钱还没到账,所以很焦虑。我知道自己聚焦在钱少的问题上,一直放大,但好像制止不了自己的行为,每次总想查一下,没到账又多了些失望,好难过~~我觉察到自己想要买东西的时候,就会刻意看看价格,或者喜欢的又不敢下手,我也知道可以刷信用卡,但现在就有点聚焦在前怎么也还不清的点上,做决定都是思前顾
- 渊蕾周检视20200315
Yuanlei_2021
渊蕾2020年3月9日-3月15日周检视第一、学习和成长5.0践行打卡,每天写日精进,用输出,亲子共读泰戈尔的《飞鸟集》,语音打卡2篇。阅读纸质《高能要事》《你要如何衡量你的人生》;听书《儿童财商教育》《蓝迪教授的最后一课》。孩子在家学校网课,小提琴网课和英文阅读网课。第二、家庭:感恩外婆帮忙钉着孩子上网课并完成作业,还要管烧一日三餐。孩子没有完全按照我制定宅家计划表和阅读/每日打卡清单执行,和娃
- 唯美语句
413b0b55ba4d
当泰戈尔《飞鸟集》一段话,被翻译成唯美诗句之后.泰戈尔的《飞鸟集》原文如下:原文被翻译成唯美诗句:浮世万千,吾爱有三,日月与卿日为朝,月为暮,卿为朝朝暮暮。然而,多年以后遇见她后才知道还有下半句:浮世万干,不得有三水中月,镜中花,梦中你月可求,花可得,唯你求而不得。人到中年,现实让我们终于明白:浮世万千,吾爱有三,车房和钱车为朝,房为暮,钱为朝朝暮暮。这一生终是:自古多情空余恨,好梦由来最易醒。辞
- 又想置家当
汪群_6f58
2020.02.25星期二多云转小雨这些天都在研究面食,面包、包子、饼子和油条都尝试过了,其实我是很想尝试下做蛋糕的,但很多人都说要做好蛋糕就必须打好蛋清,不然就不会成功。如果有打蛋器打发蛋清是很容易的,如果没有打蛋器,用筷子或者是用矿泉水瓶做的打蛋器来打发,都很难打发成功,我没有打蛋器,所以就一直没有尝试做蛋糕。今天飞鸟集市上了一款产品就是厨房料理机,其中包括了打蛋器、饺肉机、搅拌机,我一看到这
- LeetCode[位运算] - #137 Single Number II
Cwind
javaAlgorithmLeetCode题解位运算
原题链接:#137 Single Number II
要求:
给定一个整型数组,其中除了一个元素之外,每个元素都出现三次。找出这个元素
注意:算法的时间复杂度应为O(n),最好不使用额外的内存空间
难度:中等
分析:
与#136类似,都是考察位运算。不过出现两次的可以使用异或运算的特性 n XOR n = 0, n XOR 0 = n,即某一
- 《JavaScript语言精粹》笔记
aijuans
JavaScript
0、JavaScript的简单数据类型包括数字、字符创、布尔值(true/false)、null和undefined值,其它值都是对象。
1、JavaScript只有一个数字类型,它在内部被表示为64位的浮点数。没有分离出整数,所以1和1.0的值相同。
2、NaN是一个数值,表示一个不能产生正常结果的运算结果。NaN不等于任何值,包括它本身。可以用函数isNaN(number)检测NaN,但是
- 你应该更新的Java知识之常用程序库
Kai_Ge
java
在很多人眼中,Java 已经是一门垂垂老矣的语言,但并不妨碍 Java 世界依然在前进。如果你曾离开 Java,云游于其它世界,或是每日只在遗留代码中挣扎,或许是时候抬起头,看看老 Java 中的新东西。
Guava
Guava[gwɑ:və],一句话,只要你做Java项目,就应该用Guava(Github)。
guava 是 Google 出品的一套 Java 核心库,在我看来,它甚至应该
- HttpClient
120153216
httpclient
/**
* 可以传对象的请求转发,对象已流形式放入HTTP中
*/
public static Object doPost(Map<String,Object> parmMap,String url)
{
Object object = null;
HttpClient hc = new HttpClient();
String fullURL
- Django model字段类型清单
2002wmj
django
Django 通过 models 实现数据库的创建、修改、删除等操作,本文为模型中一般常用的类型的清单,便于查询和使用: AutoField:一个自动递增的整型字段,添加记录时它会自动增长。你通常不需要直接使用这个字段;如果你不指定主键的话,系统会自动添加一个主键字段到你的model。(参阅自动主键字段) BooleanField:布尔字段,管理工具里会自动将其描述为checkbox。 Cha
- 在SQLSERVER中查找消耗CPU最多的SQL
357029540
SQL Server
返回消耗CPU数目最多的10条语句
SELECT TOP 10
total_worker_time/execution_count AS avg_cpu_cost, plan_handle,
execution_count,
(SELECT SUBSTRING(text, statement_start_of
- Myeclipse项目无法部署,Undefined exploded archive location
7454103
eclipseMyEclipse
做个备忘!
错误信息为:
Undefined exploded archive location
原因:
在工程转移过程中,导致工程的配置文件出错;
解决方法:
 
- GMT时间格式转换
adminjun
GMT时间转换
普通的时间转换问题我这里就不再罗嗦了,我想大家应该都会那种低级的转换问题吧,现在我向大家总结一下如何转换GMT时间格式,这种格式的转换方法网上还不是很多,所以有必要总结一下,也算给有需要的朋友一个小小的帮助啦。
1、可以使用
SimpleDateFormat SimpleDateFormat
EEE-三位星期
d-天
MMM-月
yyyy-四位年
- Oracle数据库新装连接串问题
aijuans
oracle数据库
割接新装了数据库,客户端登陆无问题,apache/cgi-bin程序有问题,sqlnet.log日志如下:
Fatal NI connect error 12170.
VERSION INFORMATION: TNS for Linux: Version 10.2.0.4.0 - Product
- 回顾java数组复制
ayaoxinchao
java数组
在写这篇文章之前,也看了一些别人写的,基本上都是大同小异。文章是对java数组复制基础知识的回顾,算是作为学习笔记,供以后自己翻阅。首先,简单想一下这个问题:为什么要复制数组?我的个人理解:在我们在利用一个数组时,在每一次使用,我们都希望它的值是初始值。这时我们就要对数组进行复制,以达到原始数组值的安全性。java数组复制大致分为3种方式:①for循环方式 ②clone方式 ③arrayCopy方
- java web会话监听并使用spring注入
bewithme
Java Web
在java web应用中,当你想在建立会话或移除会话时,让系统做某些事情,比如说,统计在线用户,每当有用户登录时,或退出时,那么可以用下面这个监听器来监听。
import java.util.ArrayList;
import java.ut
- NoSQL数据库之Redis数据库管理(Redis的常用命令及高级应用)
bijian1013
redis数据库NoSQL
一 .Redis常用命令
Redis提供了丰富的命令对数据库和各种数据库类型进行操作,这些命令可以在Linux终端使用。
a.键值相关命令
b.服务器相关命令
1.键值相关命令
&
- java枚举序列化问题
bingyingao
java枚举序列化
对象在网络中传输离不开序列化和反序列化。而如果序列化的对象中有枚举值就要特别注意一些发布兼容问题:
1.加一个枚举值
新机器代码读分布式缓存中老对象,没有问题,不会抛异常。
老机器代码读分布式缓存中新对像,反序列化会中断,所以在所有机器发布完成之前要避免出现新对象,或者提前让老机器拥有新增枚举的jar。
2.删一个枚举值
新机器代码读分布式缓存中老对象,反序列
- 【Spark七十八】Spark Kyro序列化
bit1129
spark
当使用SparkContext的saveAsObjectFile方法将对象序列化到文件,以及通过objectFile方法将对象从文件反序列出来的时候,Spark默认使用Java的序列化以及反序列化机制,通常情况下,这种序列化机制是很低效的,Spark支持使用Kyro作为对象的序列化和反序列化机制,序列化的速度比java更快,但是使用Kyro时要注意,Kyro目前还是有些bug。
Spark
- Hybridizing OO and Functional Design
bookjovi
erlanghaskell
推荐博文:
Tell Above, and Ask Below - Hybridizing OO and Functional Design
文章中把OO和FP讲的深入透彻,里面把smalltalk和haskell作为典型的两种编程范式代表语言,此点本人极为同意,smalltalk可以说是最能体现OO设计的面向对象语言,smalltalk的作者Alan kay也是OO的最早先驱,
- Java-Collections Framework学习与总结-HashMap
BrokenDreams
Collections
开发中常常会用到这样一种数据结构,根据一个关键字,找到所需的信息。这个过程有点像查字典,拿到一个key,去字典表中查找对应的value。Java1.0版本提供了这样的类java.util.Dictionary(抽象类),基本上支持字典表的操作。后来引入了Map接口,更好的描述的这种数据结构。
&nb
- 读《研磨设计模式》-代码笔记-职责链模式-Chain Of Responsibility
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/**
* 业务逻辑:项目经理只能处理500以下的费用申请,部门经理是1000,总经理不设限。简单起见,只同意“Tom”的申请
* bylijinnan
*/
abstract class Handler {
/*
- Android中启动外部程序
cherishLC
android
1、启动外部程序
引用自:
http://blog.csdn.net/linxcool/article/details/7692374
//方法一
Intent intent=new Intent();
//包名 包名+类名(全路径)
intent.setClassName("com.linxcool", "com.linxcool.PlaneActi
- summary_keep_rate
coollyj
SUM
BEGIN
/*DECLARE minDate varchar(20) ;
DECLARE maxDate varchar(20) ;*/
DECLARE stkDate varchar(20) ;
DECLARE done int default -1;
/* 游标中 注册服务器地址 */
DE
- hadoop hdfs 添加数据目录出错
daizj
hadoophdfs扩容
由于原来配置的hadoop data目录快要用满了,故准备修改配置文件增加数据目录,以便扩容,但由于疏忽,把core-site.xml, hdfs-site.xml配置文件dfs.datanode.data.dir 配置项增加了配置目录,但未创建实际目录,重启datanode服务时,报如下错误:
2014-11-18 08:51:39,128 WARN org.apache.hadoop.h
- grep 目录级联查找
dongwei_6688
grep
在Mac或者Linux下使用grep进行文件内容查找时,如果给定的目标搜索路径是当前目录,那么它默认只搜索当前目录下的文件,而不会搜索其下面子目录中的文件内容,如果想级联搜索下级目录,需要使用一个“-r”参数:
grep -n -r "GET" .
上面的命令将会找出当前目录“.”及当前目录中所有下级目录
- yii 修改模块使用的布局文件
dcj3sjt126com
yiilayouts
方法一:yii模块默认使用系统当前的主题布局文件,如果在主配置文件中配置了主题比如: 'theme'=>'mythm', 那么yii的模块就使用 protected/themes/mythm/views/layouts 下的布局文件; 如果未配置主题,那么 yii的模块就使用 protected/views/layouts 下的布局文件, 总之默认不是使用自身目录 pr
- 设计模式之单例模式
come_for_dream
设计模式单例模式懒汉式饿汉式双重检验锁失败无序写入
今天该来的面试还没来,这个店估计不会来电话了,安静下来写写博客也不错,没事翻了翻小易哥的博客甚至与大牛们之间的差距,基础知识不扎实建起来的楼再高也只能是危楼罢了,陈下心回归基础把以前学过的东西总结一下。
*********************************
- 8、数组
豆豆咖啡
二维数组数组一维数组
一、概念
数组是同一种类型数据的集合。其实数组就是一个容器。
二、好处
可以自动给数组中的元素从0开始编号,方便操作这些元素
三、格式
//一维数组
1,元素类型[] 变量名 = new 元素类型[元素的个数]
int[] arr =
- Decode Ways
hcx2013
decode
A message containing letters from A-Z is being encoded to numbers using the following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, det
- Spring4.1新特性——异步调度和事件机制的异常处理
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- squid3(高命中率)缓存服务器配置
liyonghui160com
系统:centos 5.x
需要的软件:squid-3.0.STABLE25.tar.gz
1.下载squid
wget http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE25.tar.gz
tar zxf squid-3.0.STABLE25.tar.gz &&
- 避免Java应用中NullPointerException的技巧和最佳实践
pda158
java
1) 从已知的String对象中调用equals()和equalsIgnoreCase()方法,而非未知对象。 总是从已知的非空String对象中调用equals()方法。因为equals()方法是对称的,调用a.equals(b)和调用b.equals(a)是完全相同的,这也是为什么程序员对于对象a和b这么不上心。如果调用者是空指针,这种调用可能导致一个空指针异常
Object unk
- 如何在Swift语言中创建http请求
shoothao
httpswift
概述:本文通过实例从同步和异步两种方式上回答了”如何在Swift语言中创建http请求“的问题。
如果你对Objective-C比较了解的话,对于如何创建http请求你一定驾轻就熟了,而新语言Swift与其相比只有语法上的区别。但是,对才接触到这个崭新平台的初学者来说,他们仍然想知道“如何在Swift语言中创建http请求?”。
在这里,我将作出一些建议来回答上述问题。常见的
- Spring事务的传播方式
uule
spring事务
传播方式:
新建事务
required
required_new - 挂起当前
非事务方式运行
supports
&nbs