- L经理和F采购夫妻俩离职
快乐春鸟
那天,W厂L经理和F采购夫妻俩辞工到期,双双离职。办公室的所有人员都到酒店去聚餐,为他们两口子开欢送会。而车间所有的员工则是聚在厂门囗,望着他们夫妻俩坐上去酒店的车子,为他们作另类的送别。待那车子一起动,有人就大声吟诵毛主席的《七律·送瘟神二首》:"绿水青山枉自多,华佗无奈小虫何。…………牛郎欲问瘟神事,一样悲欢逐逝波。…………天连五岭银锄落,地动山河铁臂摇。借问瘟神欲何往,纸船明烛照天烧。"原来
- 所谓的校园情感(一)
东魁
“泰戈尔曾说过:沉默是一种美德。但在喜欢的人面前沉默,便是懦弱。黄晶晶同学,你愿意与我携手告别高中时代吗?”这是青春派里比较经典的台词,也是我们曾经身为学生时代的想做却未能去做,如今只能变成唯美的遗憾。那个敢爱敢恨的年纪,敢犯错敢承担的年纪,那个少女心澎湃的年纪,长发飘着丝丝淡香,不是洗发水的味道,而是青春的味道。那些错过的心里话,那些错过的转身,还有那飘着墨香的情书纸张。那背影,在校园的路灯下,
- 今日阅读:何捷:《一篇一篇解读统编》一、二年级卷(小要学语文统编新课这样教)
仙人掌四小王文亚
第一板块教学解读“老面孔”如何教出全新语文味?069——075页摘要:按老套路上最稳妥的课,并不符合新教材的要求。/教学要不断升级与变革,教师才能不断实现自我超越。/涉及教材篇目:二年级上册《纸船和风筝》。摘录:统编本语文教科书与人教课标本教科书同为人民教育出版社出版。两个版本的教科书在编撰意图、选文风格等方面有较多差异,但也有着明显的延续与传承色彩。在梳理统编版教材后,我们发现不少课标版教材中的
- 金句感悟39山有顶峰,海有彼岸,付出终有回甘
菲雨桐520
夜很长,心也很烦,但是你必须独自熬过这样的夜晚。人生最大的成长,莫过于在最艰难的时候,没有依靠任何人,也无人可靠,独自一个人熬过最难熬的阶段。泰戈尔曾说:“最好的事情总在不经意的时候出现,所以不必慌张赶路,按自己的节奏,步履不停地走过每个今天。”余生很长,不必慌张,静下心来,沉淀自己,该来的早晚会来,唯有坚定内心,不被世俗繁杂所扰,审时度势,走好人生的每一步。山有顶峰,海有彼岸,一切终有回甘。这是
- 飞鸟集每日一品(155)
语熙
泰戈尔原文:Silencewillcarryyourvoicelikethenestthatholdsthesleepingbirds.冯唐版:静寂盛了你的声音鸟巢盛了睡着的鸟郑振铎版:沉默蕴蓄着语声,正如鸟巢拥围着睡鸟。我的翻译:缄默酝酿着发声,就像穴巢环抱睡鸟carry一般是“运输,带来,拿来”的意思,放在原文当中去理解就是“安静带来你自己的声音。”silence可以理解成“安静,沉默,缄默”
- 那些让人泪目的句子
一颗葡萄桃
1.有时我们的眼睛可以看见宇宙,却看不见社会底层最悲惨的世界。--《十宗罪》2.你生活在光亮里,你就觉得全世界都是光亮的3.世界让我遍体鳞伤,但伤口长出的却是翅膀。--阿多尼斯4.所有的大人都曾经是孩子。不幸的是,其中记住这一点的并不多。--《小王子》5.你微微地笑着,不同我说什么话。而我觉得,为了这个,我已等待得很久了。--泰戈尔《飞鸟集》6.你是我的文艺复兴。有且仅有夏习清。7.人生最美好的际
- 做个优秀的普通人,热爱世界,热爱万物
我是雯小疯
泰戈尔曾说:“从我们热爱世界的那一刻,我们便生活在这世界上”。从我们出生起,我们便生活在这个世界上,小时候,无忧无虑,父母为我们扛起了整片天,让我们的童年充满欢声笑语。长大以后,我们开始为人父母,此时才知道,肩头上的责任是多么地沉重!每当夜幕降临,我们搂着身旁的奶娃娃,他们呼呼大睡的模样,好像一切都值得了!我们大部分人都是这样普通、平凡却努力地活着,因为我们热爱生活,热爱世界,还有我们身边的人。么
- 努力让自己快乐起来
阿兰_a6c1
泰戈尔说:这个世界上没有谁会永远活着,长生不老,没有什么东西可以一直存在。明白了这一点,就让自己尽量的快乐吧。是啊,说的多好。人从第一生啼哭来到世上,再被别人的啼哭送走,在这个世上充其量不过三万多天,屈指可数。看似遥不可及,确是弹指一挥间。在悠悠岁月里,我们从婴儿到孩童,到少年再到成人,我们的快乐大多在那个懵懂无知,不经世故,少不更事的年代。那时的天真,无邪,不知愁之味。可是为什么我们长大了,看到
- 日更挑战第六篇
七七四九啊
嘻嘻,ps上大一期末复习重点(今天不想码字,偷个懒)写作学复习重点及注意事项名词解释(记要点课堂笔记为准)、填空题(以书上内容为主)、不定项选择(填在框里)、解答题(要认真读题,标出序号,必须要有小点,要点清晰、有“阐释”要结合作品来解释)、诗歌写作(写和评多阅读泰戈尔的英语诗歌,翻译要求信达雅,改写不能违背原诗的情感和改变意象。评论:从诗歌的技巧方法层面去评论)、散文写作(《冬》、《梦》)(记得
- 船
山城弦月
船喂,亲爱的女孩我把时光折成了一只小小的纸船模样粗糙和第一次相遇的我们一样里边载着一颗火热的心催动着它的桨永不停息朝着你的方向从南到北沿着溪流江河飘飘荡荡穿过森林收集最美的歌声去桐树上唱给跳舞的凤凰我相信它能达到你所在的地方不论风雨多么猛烈它的头颅会一直高昂就算被雷电摧毁只剩一根龙骨也会在你耳畔轻轻地轻轻地把爱情吟唱
- 我的理想600字作文计算机方面,我的理想作文600字当一名老师(共8篇)
来来来看看
我的理想600字作文计算机方面
好想当一名老师老师的职业永远是神圣的。“春蚕到死丝方尽,蜡烛成灰泪始干。”这些灵魂的缔造者们在默默无闻中微笑。泰戈尔曾说过:“果实的事业是尊贵的,花的事业是甜美的,但还是让我在默默无闻的阴影里做叶的事业吧。”默默无闻。小时候误认为这个词是不好的,但也没太在意。“寄蜉蝣于天地,渺沧海之一栗。”可能是“默默无闻”永远的定义吧。现在才知道,这是怀有多么高尚的情操啊!好想当一名老师啊!好想当一名老师,当孩
- 小打卡金句3
cherry_1296
1.生活要有目标,但我们不是为了目标而生活。——《心灵奇旅》2.太阳穿一件朴素的光衣,白云却披了灿烂的裙裾。——泰戈尔3.当一切的可能都被推翻,唯一的不可能,就会是答案。——福尔摩斯4.少年的书桌上没有虚度的光阴,十年磨一剑那些看似不起波澜的日复一日,终会让你看到坚持的意义。希君生羽翼一化北溟鱼。愿你乘风起扶摇直上九万里。愿你执笔为剑不留遗憾做最好的自己。笔峰所至皆是心之所向,奋斗到底。5.希望是
- 十月教育叙事
Y坤坤儿Y
时间如白驹过隙,不知不觉来到枣园小学已经1个多月啦,在这一个多月的时间里,真的是经历了从迷茫,不知所措到逐渐适应和班级融为一体。一直在不断地思考该怎么带好一个班级,我不断的向我师傅进行探讨。就像泰戈尔在诗中写道:“花的事业是甜蜜的,果的事业是珍贵的,让我干叶的事业吧,因为它总是谦逊地低垂着它的绿荫。”带着对叶的事业执着地追求和向往,一个月前,我无怨无悔地选取了教师这一职业,在平凡的工作岗位上做着平
- 《繁星·春水》知识
BESSI52
书籍【主要内容】1.作者概况:《繁星·春水》是冰心在印度诗人泰戈尔《飞鸟集》的影响下写成的诗集。内容包括对母爱与童真的歌颂,对大自然的崇拜和赞颂,对人生的思考和感悟等等。2.体裁:诗歌。3.成因:受印度诗人泰戈尔《飞鸟集》影响写成。4.主要内容:(1)对母爱与童真的歌颂。(2)对大自然的崇拜与赞颂。(3)对人生的思考与感悟。5.艺术特色:兼采中国古典诗词和泰戈尔哲理小诗之长,善于捕捉瞬间的灵感,以
- 摘自泰戈尔—触摸自己
心羽暖姐姐
你靠什麼謀生,我不感興趣。我只想知道,你渴望什麼,你是否有勇氣追逐心中的渴望。你面臨怎樣的挑戰、困難,我不感興趣。我只想知道,你是怨聲載道,還是視它爲一次學習和成長的機會。你的年齡,我不感興趣。我只想知道,你是否願意冒險,哪怕看起來像傻瓜的危險,為了爱,為了夢想,為了生命的奇遇。什麼星球跟你的月亮平行,我不感興趣。我只想知道,你是否看到你憂傷的核心;生命的背叛,是敞開了你的心,還是令你變得枯萎、害
- 真正厉害的女人
Maria_瑶妃
现实生活中,我们发现越是厉害的女人越是事事顺利,生活上如鱼得水,事业上游刃有余。既清楚自己想要的,也清楚自己该做的。一个女人只有认清自己内心的需要,才能深刻领悟到,讨好别人,远不如优秀自己。真正厉害的女人,身上一定有别人拿不走的东西,既有独当一面的勇气,也有充满内心的智慧。1、意志坚定,内心强大泰戈尔说:“上天完全是为了坚强我们的意志,才在我们的道路上设下重重的障碍。”社会这个大染缸,早就将原本柔
- 过程都是风景,经历过才懂得
温香暖钰
一位伟人说过:“旅途的终点没有风景。”人生的乐趣在于追求的过程,而不是结果。泰戈尔曾经说过,天空没有留飞鸟的痕迹,但我已经飞过。其实,无论结果如何,都是一种收获,不要后悔自己所做的努力,因为只要努力过,成功与否不再重要。有时经过就是结果。太过于看重结果就会失掉过程中的体会和感悟。一件事情我们只要参与就好,尽力而为,结果如何并不重要,重要的是要在过程中有所收获,甚至有时候我们明知道会失败,也要全力以
- 《人生七十七课》
以梦喂马_
白昼光入眼的那一刻,注定要从北走到南,从白过到黑,生活是一纸诗,也注定成为粮食。在孩童:夜晚是安眠的,梦里也是纸船驶过湖边,白天来临宛如重生,把生活打翻,把玩具打碎,碎了的也不过是星辰一斗!在青年:夜晚是甜涩的,梦里也是风生不敌谈笑,白天来临一闪而过,把岁月蹉跎,把青春想多,碎了的也不过是梦中婀娜!在今夜:夜晚是夜晚的,梦里也是睁眼莲花朵朵,白天来临白天来临,把生活打破,把玩具修复,碎了的也不过是
- 中原焦点网络初级班第32期学员刘艳红坚持分享第27天2021年12月17日
42d78de9ecb7
郑州这一年经历很多,千年不遇720暴雨,两年几度疫情,没有什么比活着更重要,给予你内心的是一份平静,珍惜当下,过往不究,放下即使拥有!泰戈尔说,“你今天受的苦,吃的亏,担的责,扛的罪,忍的痛,到最后都会变成光,照亮你前行的路。”生活会苦一阵子,不会一辈子都这么苦的,总会有这么一段难熬的时光等着你,一旦你熬过去了,你的生活就柳暗花明了。加油每一天!
- 【 伊人书摘 】作文素材(三)
曼妙伊人_
//读书的本质,不在于记住哪些知识,而在于它触发了你的思考//1、我是秋云。空空地不载着雨水,但在成熟的稻田中,我看见了我的充实。——泰戈尔《飞鸟集》2、唯有我们觉醒之际,天才会破晓。破晓的,不止是黎明。太阳只不过是一颗晨星。——梭罗《瓦尔登湖》3、我常觉得,所谓“风水好”,就是空气清新、水质清澈的所在。所谓“有福报”,就是住在植物青翠、花树繁华的所在。所谓美好的心灵,就是能体贴万物的心,能温柔对
- 选择了你,我发现自己成长得更有价值
85124ffeb1f4
真正决定一个人成就的,不是天分,也不是运气,而是严格的自律和高强度的付出。成功的秘密,根本不是秘密,那就是不停地做。简单的事情重复做,重复的事情用心做,如果你真的努力了,目标明确了,你会发现自己比想象的更加优秀。图片发自App人生不必遗憾,若是美好,叫做精彩;若是糟糕,叫做经历。泰戈尔说,你的负担将成为你的礼物,你受过的苦将照亮你未来的路。图片发自App
- 12、读泰戈尔的诗集
絮漫柳堤
我不能抛弃心,我想。无论它多么沉重,有时是多么黑暗,但,它还是可以时而像鸟儿一样在风中曼舞,可以眺望永恒。这是村上春树说的,也是我想说的。“开始”,这是泰戈尔《新月集》中的一首,诗中说道:“你曾被我当做心愿藏在我的心里,我的宝贝。”原来,在泰戈尔眼里和心里,孩子竟是以这样的方式呈现在我的面前,始料不及的我不禁泪潸潸了......“你曾活在我所有的希望和爱情里活在我的生命里,我母亲的生命里。”一股股
- 2018-07-19
清秋致远
你是我爱的河流作者/清秋致远每个人的曾经里都有一段在花季发生的故事有的把故事虚拟成历史有的把故事复制成现实你是我故事的发源地我们之间发生的不是故事是奔腾的爱的河流我们在河流上行走穿越时代的皱纹追逐爱的脚步我该怎样形容这美好的爱情岸陆上传来美妙的的琴声鸥群在这里经过忽高忽低你的眼神躲到我的臂弯里沉睡鼾声很动听惹得几尾小鱼纷纷驻足摆着尾巴向我祝福你是我爱的河流我把幸福的黎明折成纸船驶向开满鲜花的彼岸有
- 触摸自己
雨瑶喜悦王
图片发自App《触摸自己》泰戈尔你靠什么谋生,我不感兴趣。我只想知道,你渴望什么,你是否有勇气追逐心中的渴望。你面临怎样的挑战、困难,我不感兴趣。我只想知道,你是怨声载道,还是视它为一次学习和成长的机会。。。。你有什么成就、地位、家庭背景,我不感兴趣。我只想知道,当所有的一切都消逝时,是什么在你的内心,支撑着你。愿我看到真实的你。愿你触摸到真实的自己。
- 2019.5.29周三,晴(272)
朱新玲
阳光明媚的下午,经同学邀请来听一节关于金融的课,通通我已经生锈的经济头脑,到的有点早,写一下我今天的日记。早上起床,跟儿子一起看了春婷爸爸发的一个小视频,视频中的男主人公,是个残疾人,坐着轮椅,手也不听使唤,他在用嘴叠纸船,叠纸飞机,还得了吉尼斯世界纪录,在视频中对工作人员说的最多的话就是“我自己来就好!”看完就赶紧洗漱了,没敢去细看儿子的表情,希望儿子能从中学点什么吧,每个人都在努力的活着,一天
- 人生8大错觉,越早醒悟越好
鱼籽酱文化
泰戈尔曾说:“你看不见真相,你所看见的只是你的影子。”人生在世,总会有很多错觉。比如他好像在看我,他好像是喜欢我;他一定是忙得忘记了回微信;以为他来了,就一定不会走;忙完这阵子,我就可以休息了……其实,在这些错觉背后,大多是你不愿意面对的人生真相。但来日不可欺,特别是以下关于人生的8大错觉,越早醒悟越好。01以为遇见便是一辈子作家齐邦媛曾说:“翻一下许久未曾打开的留言,每次都会发现,曾经说要一辈子
- 分别,也要自然而然
语霏予
泰戈尔说:“我们如海鸥之波涛相遇似的,遇见了,走近了。海鸥飞去,波涛滚滚地流开,我们也分别了。”多么平淡的分别,多么朴素的话语。难道“你”不会有不舍吗?难道“你”没有很多话要说吗?难道“你”都不会试着挽留吗?但是,时间告诉我们,我们即将要分别,我们不用哭泣着表达着我们的情感,就像最初我们相遇一样,就当做是一件自然而然的事情吧!人们喜欢借用文字符号来表达自己的情感,我也是这样,我的不舍,我的情感融入
- 梦醒时分
锦瑟_db50
荣格说:“向外张望的人在做梦,在内审视的人才是清醒的。”梦与醒,是心理学家、哲学家、文学家都偏爱的话题。终将醒来的睡梦,就如终将逝去的青春的一样,美好且短暂,我们在迷恋与不可得之间徘徊怅惘。梦醒时分,更是辨不清是醒,是梦,是真,是幻。真与幻之间,留下几多低回,几许沉吟。《尤利西斯的凝望》中说:我们在同一个地方入睡,却在不同的地方醒来。泰戈尔说:有一次,我梦见大家素不相识,醒来后,才知道我们原来相亲
- 看《功勋》中的黄旭华,他用一生的时光,只写了两封情书
兮言小姐
不关心时政的人,在《功勋》之前,大约对“黄旭华”这个名字,是陌生的。我们都知道,在那个年代,无名英雄很多,有名英雄虽然不少,但我们知道的也很少,黄旭华的一生,到底都做了什么?其实,他做的不多,只是用一生,写了两封情书。一封,落在推子上,一封折在了纸船里,推子上的那封情书,叫家;纸船上的那封情书,叫国,也叫梦。《功勋》里的黄旭华,由黄晓明饰演,不少网友吐槽他扮演的不够真实,有些作,有些太现代,但很多
- 教学生读懂人的心灵
陈贵旺
图片发自App如果我只是一只小狗,而不是你的小孩。亲爱的妈妈,当我想吃你的盘里的东西时,你要向我说"不"么?你要赶开我,对我说道,"滚开,你这淘气的小狗"么?那末,走罢,妈妈,走罢,等你叫唤我的时候,我就永不到你那里去,也永不要你再喂我吃东西了。——泰戈尔《同情》诗中所表现出的孩子无比单纯、善良的心地,让我感到整个世界变得澄明。没有一丝纤尘的心,是这个世界上最宝贵的东西。的确,世界上没有什么比人的
- 插入表主键冲突做更新
a-john
有以下场景:
用户下了一个订单,订单内的内容较多,且来自多表,首次下单的时候,内容可能会不全(部分内容不是必须,出现有些表根本就没有没有该订单的值)。在以后更改订单时,有些内容会更改,有些内容会新增。
问题:
如果在sql语句中执行update操作,在没有数据的表中会出错。如果在逻辑代码中先做查询,查询结果有做更新,没有做插入,这样会将代码复杂化。
解决:
mysql中提供了一个sql语
- Android xml资源文件中@、@android:type、@*、?、@+含义和区别
Cb123456
@+@?@*
一.@代表引用资源
1.引用自定义资源。格式:@[package:]type/name
android:text="@string/hello"
2.引用系统资源。格式:@android:type/name
android:textColor="@android:color/opaque_red"
- 数据结构的基本介绍
天子之骄
数据结构散列表树、图线性结构价格标签
数据结构的基本介绍
数据结构就是数据的组织形式,用一种提前设计好的框架去存取数据,以便更方便,高效的对数据进行增删查改。正确选择合适的数据结构,对软件程序的高效执行的影响作用不亚于算法的设计。此外,在计算机系统中数据结构的作用也是非同小可。例如常常在编程语言中听到的栈,堆等,就是经典的数据结构。
经典的数据结构大致如下:
一:线性数据结构
(1):列表
a
- 通过二维码开放平台的API快速生成二维码
一炮送你回车库
api
现在很多网站都有通过扫二维码用手机连接的功能,联图网(http://www.liantu.com/pingtai/)的二维码开放平台开放了一个生成二维码图片的Api,挺方便使用的。闲着无聊,写了个前台快速生成二维码的方法。
html代码如下:(二维码将生成在这div下)
? 1
&nbs
- ImageIO读取一张图片改变大小
3213213333332132
javaIOimageBufferedImage
package com.demo;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
/**
* @Description 读取一张图片改变大小
* @author FuJianyon
- myeclipse集成svn(一针见血)
7454103
eclipseSVNMyEclipse
&n
- 装箱与拆箱----autoboxing和unboxing
darkranger
J2SE
4.2 自动装箱和拆箱
基本数据(Primitive)类型的自动装箱(autoboxing)、拆箱(unboxing)是自J2SE 5.0开始提供的功能。虽然为您打包基本数据类型提供了方便,但提供方便的同时表示隐藏了细节,建议在能够区分基本数据类型与对象的差别时再使用。
4.2.1 autoboxing和unboxing
在Java中,所有要处理的东西几乎都是对象(Object)
- ajax传统的方式制作ajax
aijuans
Ajax
//这是前台的代码
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+
- 只用jre的eclipse是怎么编译java源文件的?
avords
javaeclipsejdktomcat
eclipse只需要jre就可以运行开发java程序了,也能自动 编译java源代码,但是jre不是java的运行环境么,难道jre中也带有编译工具? 还是eclipse自己实现的?谁能给解释一下呢问题补充:假设系统中没有安装jdk or jre,只在eclipse的目录中有一个jre,那么eclipse会采用该jre,问题是eclipse照样可以编译java源文件,为什么呢?
&nb
- 前端模块化
bee1314
模块化
背景: 前端JavaScript模块化,其实已经不是什么新鲜事了。但是很多的项目还没有真正的使用起来,还处于刀耕火种的野蛮生长阶段。 JavaScript一直缺乏有效的包管理机制,造成了大量的全局变量,大量的方法冲突。我们多么渴望有天能像Java(import),Python (import),Ruby(require)那样写代码。在没有包管理机制的年代,我们是怎么避免所
- 处理百万级以上的数据处理
bijian1013
oraclesql数据库大数据查询
一.处理百万级以上的数据提高查询速度的方法: 1.应尽量避免在 where 子句中使用!=或<>操作符,否则将引擎放弃使用索引而进行全表扫描。
2.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 o
- mac 卸载 java 1.7 或更高版本
征客丶
javaOS
卸载 java 1.7 或更高
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
成功执行此命令后,还可以执行 java 与 javac 命令
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
成功执行此命令后,还可以执行 java
- 【Spark六十一】Spark Streaming结合Flume、Kafka进行日志分析
bit1129
Stream
第一步,Flume和Kakfa对接,Flume抓取日志,写到Kafka中
第二部,Spark Streaming读取Kafka中的数据,进行实时分析
本文首先使用Kakfa自带的消息处理(脚本)来获取消息,走通Flume和Kafka的对接 1. Flume配置
1. 下载Flume和Kafka集成的插件,下载地址:https://github.com/beyondj2ee/f
- Erlang vs TNSDL
bookjovi
erlang
TNSDL是Nokia内部用于开发电信交换软件的私有语言,是在SDL语言的基础上加以修改而成,TNSDL需翻译成C语言得以编译执行,TNSDL语言中实现了异步并行的特点,当然要完整实现异步并行还需要运行时动态库的支持,异步并行类似于Erlang的process(轻量级进程),TNSDL中则称之为hand,Erlang是基于vm(beam)开发,
- 非常希望有一个预防疲劳的java软件, 预防过劳死和眼睛疲劳,大家一起努力搞一个
ljy325
企业应用
非常希望有一个预防疲劳的java软件,我看新闻和网站,国防科技大学的科学家累死了,太疲劳,老是加班,不休息,经常吃药,吃药根本就没用,根本原因是疲劳过度。我以前做java,那会公司垃圾,老想赶快学习到东西跳槽离开,搞得超负荷,不明理。深圳做软件开发经常累死人,总有不明理的人,有个软件提醒限制很好,可以挽救很多人的生命。
相关新闻:
(1)IT行业成五大疾病重灾区:过劳死平均37.9岁
- 读《研磨设计模式》-代码笔记-原型模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/**
* Effective Java 建议使用copy constructor or copy factory来代替clone()方法:
* 1.public Product copy(Product p){}
* 2.publi
- 配置管理---svn工具之权限配置
chenyu19891124
SVN
今天花了大半天的功夫,终于弄懂svn权限配置。下面是今天收获的战绩。
安装完svn后就是在svn中建立版本库,比如我本地的是版本库路径是C:\Repositories\pepos。pepos是我的版本库。在pepos的目录结构
pepos
component
webapps
在conf里面的auth里赋予的权限配置为
[groups]
- 浅谈程序员的数学修养
comsci
设计模式编程算法面试招聘
浅谈程序员的数学修养
- 批量执行 bulk collect与forall用法
daizj
oraclesqlbulk collectforall
BULK COLLECT 子句会批量检索结果,即一次性将结果集绑定到一个集合变量中,并从SQL引擎发送到PL/SQL引擎。通常可以在SELECT INTO、
FETCH INTO以及RETURNING INTO子句中使用BULK COLLECT。本文将逐一描述BULK COLLECT在这几种情形下的用法。
有关FORALL语句的用法请参考:批量SQL之 F
- Linux下使用rsync最快速删除海量文件的方法
dongwei_6688
OS
1、先安装rsync:yum install rsync
2、建立一个空的文件夹:mkdir /tmp/test
3、用rsync删除目标目录:rsync --delete-before -a -H -v --progress --stats /tmp/test/ log/这样我们要删除的log目录就会被清空了,删除的速度会非常快。rsync实际上用的是替换原理,处理数十万个文件也是秒删。
- Yii CModel中rules验证规格
dcj3sjt126com
rulesyiivalidate
Yii cValidator主要用法分析:
yii验证rulesit 分类: Yii yii的rules验证 cValidator主要属性 attributes ,builtInValidators,enableClientValidation,message,on,safe,skipOnError
 
- 基于vagrant的redis主从实验
dcj3sjt126com
vagrant
平台: Mac
工具: Vagrant
系统: Centos6.5
实验目的: Redis主从
实现思路
制作一个基于sentos6.5, 已经安装好reids的box, 添加一个脚本配置从机, 然后作为后面主机从机的基础box
制作sentos6.5+redis的box
mkdir vagrant_redis
cd vagrant_
- Memcached(二)、Centos安装Memcached服务器
frank1234
centosmemcached
一、安装gcc
rpm和yum安装memcached服务器连接没有找到,所以我使用的是make的方式安装,由于make依赖于gcc,所以要先安装gcc
开始安装,命令如下,[color=red][b]顺序一定不能出错[/b][/color]:
建议可以先切换到root用户,不然可能会遇到权限问题:su root 输入密码......
rpm -ivh kernel-head
- Remove Duplicates from Sorted List
hcx2013
remove
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, return&
- Spring4新特性——JSR310日期时间API的支持
jinnianshilongnian
spring4
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- 浅谈enum与单例设计模式
247687009
java单例
在JDK1.5之前的单例实现方式有两种(懒汉式和饿汉式并无设计上的区别故看做一种),两者同是私有构
造器,导出静态成员变量,以便调用者访问。
第一种
package singleton;
public class Singleton {
//导出全局成员
public final static Singleton INSTANCE = new S
- 使用switch条件语句需要注意的几点
openwrt
cbreakswitch
1. 当满足条件的case中没有break,程序将依次执行其后的每种条件(包括default)直到遇到break跳出
int main()
{
int n = 1;
switch(n) {
case 1:
printf("--1--\n");
default:
printf("defa
- 配置Spring Mybatis JUnit测试环境的应用上下文
schnell18
springmybatisJUnit
Spring-test模块中的应用上下文和web及spring boot的有很大差异。主要试下来差异有:
单元测试的app context不支持从外部properties文件注入属性
@Value注解不能解析带通配符的路径字符串
解决第一个问题可以配置一个PropertyPlaceholderConfigurer的bean。
第二个问题的具体实例是:
 
- Java 定时任务总结一
tuoni
javaspringtimerquartztimertask
Java定时任务总结 一.从技术上分类大概分为以下三种方式: 1.Java自带的java.util.Timer类,这个类允许你调度一个java.util.TimerTask任务; 说明: java.util.Timer定时器,实际上是个线程,定时执行TimerTask类 &
- 一种防止用户生成内容站点出现商业广告以及非法有害等垃圾信息的方法
yangshangchuan
rank相似度计算文本相似度词袋模型余弦相似度
本文描述了一种在ITEYE博客频道上面出现的新型的商业广告形式及其应对方法,对于其他的用户生成内容站点类型也具有同样的适用性。
最近在ITEYE博客频道上面出现了一种新型的商业广告形式,方法如下:
1、注册多个账号(一般10个以上)。
2、从多个账号中选择一个账号,发表1-2篇博文