- 【穿过丛林看见你】2015年在《诗歌报》读诗日记(一)
快快_ce70
写完《三月的领土》和《手握一把锄头,在翻动诗歌的春天》之后,安稳的睡了个好觉,这是从2013年的五月之后,第一次睡的如此安稳和香甜。其实这对于我来说,也没有什么特别的意义和变故,就像我现在的生活在人人忙着踏青、写生、拍照的春天。在我脚下,没有领土的完整,也没有加剧的破碎。我曾经和现在都是个辛勤的“蜂农”,在这样一个角色里,尽管有人盗走了我所有的蜜,但不妨碍我对甜蜜的不懈追求和喜爱。翻开最近的阅读笔
- 毕业论文附录一般都写什么?大学生写论文是干嘛用的
写个原创论文
人工智能深度学习AI写作chatgpt论文阅读
毕业论文的附录通常包含一些在正文中不便于展示或详细阐述的内容,但对理解论文整体又具有重要意义的资料。具体来说,附录可能包含以下内容:AI论文,免费大纲,10分钟3万字,查重高于15%退费,支持数据图表!!AIPaperPass-AI论文写作指导平台AIPaperPass是AI原创论文写作平台,免费千字大纲,5分钟生成3万字初稿,提供答辩汇报ppt、开题报告、任务书等,40篇真实中英文知网参考文献,
- 冯玙哲诗歌。一日不见兮。
冯玙哲
图片发自App古书里有鱼,它们没有眼睛,有脚它们不恋爱,却亲密,像极了爱人鸢尾花,铺满月光的海,爱人的笑像春天开满矮墙的牵牛花我承认爱如此美好以至于我梦里有你远方的浪花似乎在激荡,一朵朵朝向你说的春暖花开,那大海摇曳的梦幻沙滩的脚印,印着属于我们彼此的恩爱浮光不会轻易的散去,反而会甜蜜爱人的心,像大海,翻滚着浪花涌向我,日日夜夜太阳花开满了村庄,田野有嫩绿的荷叶蜻蜓带来了信笺,写满情诗蝴蝶编织舞蹈
- 【诗歌】虾皮汤·想念
九月咖胖糖
虾皮坠入开水的柔情焦灼了自己艰苦的曾经舀起一口黄昏的思念记忆的支离拨动了自己淡然的神经童年的下水道子依然囚禁着天空木梯子拐角的蜘蛛网又织着谁的苍老那碗热气腾腾的虾皮汤是否在某个瞬间微漾着你的鹤发童颜图片发自App
- 虞美人.燕新
竹兰答水
虞美人.燕新文/竹兰答水春情未了梨花到,树树皆晗笑。竹檐低处燕逡巡,候鸟回迁只认故家门。雏心系挂倾巢病,郁郁都虚境。为伊翻作卷帘人,带雨一枝叠压海棠新图片发自App
- “山竹”曲
慵懒范儿
—一月祭空旷的露天舞场,迪士科突然奏起。寂莫已久的俊男靓女哟,举手投足:摇摆摇摆。好爽,山竹,你能更强劲一点么?呵呵,就这味道!动起来!哎哟,我的头!哎哟,我的腰!哎哟,我的胳膊我的腿!山竹,山竹,能慢点么?不够,不够,你们得掉头折腰才够味……一片狼藉,死伤遍地,狰狞的山竹哟,狂笑而去!
- 七绝.诗人之六(新韵四开)
水波杨山
一诗在腹似怀胎,口诵笔挥生我孩。此际苦愁杂喜乐,若非孕妇怎知来?在每一个清晨,用诗歌叫醒灵魂。采今纳古写真情,尽付诗魂画境中。水向波心逐夏鸟,杨依山畔舞春风。诗的本质就是发现,诗人要永远像婴儿一样,睁大了好奇的眼睛去看周围的世界,去发现世界的新的美。——林庚
- 乡愁(原创诗歌)
诗之远方
乡愁一辈子被附在身上和乡音一起远离故乡乡愁啊,乡愁你是是爸爸做的冰糖葫芦你是妈妈哼唱的摇篮曲你是奶奶播种的菜园子乡愁啊,乡愁你是我走南闯北日日想念的家我年轻时乡愁你是一缕黑发现在啊,乡愁,你是母亲雪一样的白发总是梦到儿时的小院儿总是梦到小时候的故乡乡愁啊乡愁魂牵我这一辈子的乡愁啊请你慢些走,慢些走吧2018.03.08图片发自App
- 《随园诗话》学习笔记三百零六
飞鸿雪舞
卷五凡诗之传者,都在灵性五、五斗米与诗【原文】丁丑,余觅一抄书人,或荐黄生,名之纪,号星岩者,人甚朴野。偶过其案头,得句云;“破庵僧卖临街瓦,独井人争向晚泉。”余大奇之,即饷米五斗。自此欣然大用力于诗。五言句云:“云开日脚直,雨落水纹圆。竹锐穿泥壁,蝇酣落酒尊。钓久知鱼性,樵多识树名。笔残芦并用,墨尽指同磨。"七言云:"小窗近水寒偏觉,古木遮天曙不知。旧生萍处泥犹绿,新落花时水亦香。旧甓恐闲都贮水
- 2020-03-29
玉眼看世界
今天,当春神和缪斯越过重重严冬,冲破层层疫魔,站在迎春花覆盖的疫区之上,重新喊出人类大写的昂扬和尊严。作为中国乃至国际上知名的诗歌品牌——中国诗歌春晚,我们试图传承屈原和荷马的双重诗笔,书写呜咽的汉水和浩荡的长江,书写蓝色的多瑙河和动荡的爱琴海。因为种种原因,我们的书写难免苍白,但是,我们的心是真诚的。诚如湖北诗人闻一多的诗句:“诗人啊!把你的心吐出来,可是一般颜色!”诚如艾青的诗句:“为什么我的
- 坤燕亲子日记第1063之和孩子讲述妈妈小时候的故事
坤燕_634c
坤燕亲子日记第1063之和孩子讲述妈妈小时候的故事亲子共读记录之小猪2101天共读时间:睡前共读时长:50分钟共读书目:中国历史5数字家园英文动画片猜猜我有多爱你亲子共读记录之阳阳12年+201天诗一首道德经第47章睡前聊天早上读诗,中午读史,晚上读经,我真是太幸福了,托两个孩子的福得以重新上一次学,读一读诗歌,讲一讲历史,还能读经。中午读史时,阳走开了会儿,我还是继续读,小猪说,先别读,等姐姐来
- 【 日本鲫鱼钓 】浮游矶钓不同目标鱼不同钓法,日本专业矶钓书籍
夏说钓鱼
夏说钓鱼,聊海外钓鱼,助钓友钓技!浮游矶钓不同目标鱼不同钓法,翻译来自《日本図解釣り入門基礎から始める海のウキ釣り入門》说到浮钓,由于它的目标鱼类多种多样,因此针对不同类型的目标也会有不同的浮钓方式。下面介绍一下同种类的浮钓方法和目标鱼类。【伸缩竿的小型钓法】用4.5~5.3米的伸缩竿的钓鱼方法。与矶钓竿相比,这种钓鱼竿更加轻便,连儿童也可以使用。目标鱼类有鲰虎鱼、海鲫、沙氏下鱲、竹荚鱼、鲪鱼、小
- 《快穿: 大佬心尖宠又要作妖了》梨初许言全文在线阅读(完整版)
云轩书阁
《快穿:大佬心尖宠又要作妖了》梨初许言全文在线阅读(完整版)主角:梨初许言简介:我穿越了,但是我给人当了四年舔狗才想起这事。一朝恢复记忆,我一心只想搞钱,至于太子?我可去你的吧!关注微信公众号【旺精灵】去回个书號【9524】,即可阅读【快穿大佬心尖宠又要作妖了】小说全文!第18章:梨初心道不好,抬头望向江星竹,果然对方脸色阴沉,又难过,手不安的捏着她衣裙。目光可怜。梨初安抚的摸摸他脑袋,对着玉佩回
- 麦克白读后感
学号叁拾
最光明的天使也会堕落,可是天使总是光明的;虽然小人全都貌似忠良,可是忠良的一定仍然不失他的本色。倏落秋零之际,黄叶正自凋残。看了辜正坤翻译的麦克白,全文采用了诗歌的形式,文字优美,语句漂亮,只是脑海中一边想着舞台剧一边读这种词总感觉别扭。麦克白作为苏格兰的骁勇大将,在战争大获全胜之后偶遇了三个女巫,女巫预言他会成为韦尔多王爵,又会成为国王。麦克白应该是很开心的吧,在封爵成功之后就告诉了自己的夫人这
- 285 小楷抄诗经·周颂·臣工之什·丰年
beikerray119
(以下内容来自百度百科)周颂·丰年贡献维护者朝阳山人《周颂·丰年》是中国古代第一部诗歌总集《诗经》中的一首诗。这是周人庆丰年祭田神的乐诗。诗中首先报告丰收的情形,并表明献上的美酒就是用着粮食酿造的,以示对祖先的报答,并希望多多降福。全诗一章,一共七句。前三句写丰收年的状态,寓农夫长年辛劳的动态于丰收年景的静态中;后四句写因丰收而以丰收的果实祭祀神灵,以表感谢之意,并祈求神灵保佑。此诗主要运用赋法,
- "在老去的路上寻爱" 诗歌
晨妤儿
文|晨妤儿图片发自App每闭一次眼,睁开一次就会又老了一岁每做一次梦就会失忆在苏醒和沉睡里就迈向了新生命我想不睡觉了,永远不老过了18岁是19岁我还是又回到18岁年轮里我的爸爸,妈妈就会永远陪伴我我也不会学懂事理智也不会升华我是爸爸妈妈永远的小棉袄可是你,我为何而来世上在人间荡漾着,彷徨着或许我们来世是来报父母恩的寻"爱"梦,理想的生活向往人间的路,想下凡来遇见良人又或许你,我都是在排队等着孟婆给
- 【菊言菊语】和爱丽丝一起去“漫游”(五)
山中雏菊
思考:本节微课讲述了书中一些典故的来历。您对哪一个典故印象深刻?还有哪些书籍或诗词也引用了典故?今天的微课继续跟着爱丽丝一起去漫游,《爱丽丝漫游奇境记》荒诞不经的故事情节让全世界的人们都为之疯狂。书中引用大量典故,这是作者卡罗尔写作的又一特点。第三章《绕圈跑和尾巴》中征服者威廉;第五章《毛毛虫的劝告》中改编的诗歌;第六章《猪和胡椒》中“公爵”“柴郡猫”;第七章《疯狂的茶会》中“疯帽匠”“三月兔”“
- 夜色匆忙,暮暮是你
一诗一文
一诗一文每一天的原创诗歌和梦想,不要再和我擦肩而过得有那么一件事,你热爱,你坚持,你的人生有奔头,生活因此而紧凑。当趣味塞满你生活的角落,你也无暇去孤独。所以,如果可以,不妨寻找一件事,丰沛生命,把自己还给自己。——叶萱《南街廊桥》文/苏州姚群这是江南小镇的廊桥边,斜阳照在桥边斑驳的老墙上,木廊顶上覆盖着黛青小瓦,我看见三三两两的游人,肩膀抖落着几分疏离和淡漠。-身在南街,不起眼的廊桥,破旧衰败仿
- 七律• 晚秋
宋英宾
本人郑重声明:文章系原创首发,文责自负。飞扬诗词晚秋七律•晚秋霜重天寒露满坡,凉风一枕起悲歌。环村翠绿依依少,郊野枯黄渐渐多。四季轮回缘自在,兴衰荣辱任蹉跎。无情最是南飞雁,日暮云深逐浪波。银杏作者简介:宋英宾,笔名飞扬,石市栾城人。中华诗词协会、石家庄诗词协会会员,《华中文学》古诗词编辑,中国诗歌网认证诗人。作品散见于《诗刊》《诗歌中国》《诗渡》《华中文学》《齐鲁文学》等刊物平台。诗观:我心写我
- 次韵秦观『千秋岁·水边沙外』
摩羯星一号
金陵庚子之春,湖山雨霁延眺,子规深处烟如织——少游天外。乱石临溪退。杏李白,啼音碎。遥峰愁竹隐,剑气悬萝带。呈浓淡,酸风桑律明楼对。频问兰舟会。葵露堪倾盖。容色易,人何在。逦依湖上枕,闻道云山改。梅子雨,涂鸦满卷分香海。【附录】秦少游《千秋岁·水边沙外》水边沙外。城郭春寒退。花影乱,莺声碎。飘零疏酒盏,离别宽衣带。人不见,碧云暮合空相对。忆昔西池会。鹓鹭同飞盖。携手处,今谁在。日边清梦断,镜里朱颜
- DAY91 决定!
品贤
继续写下去,练笔是一种态度。也不过才百天,不该要求有什么结果和后果,就这么写下去好了。诗歌,小说,心理,法律都是可以写得东西。写出来的东西经过梳理,总比在脑子里自以为是要好。需要改进的是每天再多投入一些时间精力,百天以后文章质量要有提升!图片发自App
- 读贺新郎
光阴和遇见
贺新郎苏轼乳燕飞华屋,悄无人、桐阴转午,晚凉新浴。手弄生绡白团扇,扇手一时似玉。渐困倚、孤眠清熟。帘外谁来推绣户?枉教人梦断瑶台曲。又却是、风敲竹。石榴半吐红巾蹙,待浮花浪蕊都尽,伴君幽独。秾艳一枝细看取,芳心千重似束。又恐被、西风惊绿。若待得君来向此,花前对酒不忍触。共粉泪、两簌簌。译文:小燕子在大堂间欢快的飞来飞去,屋里静悄悄的,我看着飞来飞去的小燕子,十分惬意,梧桐树的影子渐渐地东移,太阳快
- 【冯钇嘉桐】上网课
磊磊的柠檬
昨天晚上7:30到8:30的诗会,我准时的去参加了。由于我上次的诗会是上麦分享了,所以说被评为优秀学生,会在诗会里展示,这时我的内心就是:好开森,好开森。(不是打错了,是一种很可爱的语言哦!)被评为优秀学生名单和优秀学校名单展示完后,就开始了我们今天的学习。开始老师讲了一下立夏有什么习俗,然后就开始学诗了。我们先学了一首名字叫《夏夜演唱会》的小诗歌,在学这首小诗歌的期间,我还有幸能够上麦分享的呢!
- 静逸先生之《临安知府王佐与建水紫陶》
陶冶斋
文/朱思宇王佐,字功载,号竹斋,江西吉水人,明宣德丁未进士,選庶吉士,授刑部主事,历员外郎,天顺间出守临安,至则抚夷獠,戒军卫,以德济威,军民咸戴之。事载《临安德政碑》。知府王佐与五显庙五显庙,自临安古城西北五余里,位于建水临安镇碗窑村中窑,百阶石梯而上。始建于大明朝天顺年,由时任临安知府王佐主持建造。后又历经明万历、天啟及清康熙、乾隆和民国与当代多次重修。乾隆年间由五显庙改为五龙寺,此寺多经周折
- 注读《两般秋雨盫随笔》卷三326:黄石斋断碑砚
酿酒匠
黄石斋断碑砚曾宾谷方伯于广陵市上,得一砚,系坡公题墨妙亭诗。断碑一片,广三寸七分,长三寸四分,存十六字,凡四行。一行曰“吴越胜事”,一行曰“书来乞诗”,一行曰“尾书溪藤”,一行曰“视昔过眼”。以背面作砚,右偏之上,刻断碑二隶字,下刻“道周”二字印篆,左刻竹垞铭曰:“身可污,心不辱,藏三年,化碧玉。”为八分书。〔试注〕1、黄石斋:黄道周(1585-1646)字幼平,或作幼玄,一字螭若,号石斋。漳浦(
- 2023-08-11
瘦不下来咋办
在喧嚣的世界里,我们总是难以心平气和,忙碌奔波,追求名利,却失去了内心的平和。但讽刺诗人,用诗歌唤醒我们的觉知,让我们重新审视内心,找到真正的自我。心平气和,是一种内心的宁静,远离世俗的纷扰,不被外界所影响。当我们学会控制情绪,不被欲望所左右,我们便能真正地感受到内心的平和。现代人的生活,充满了浮躁与焦虑,讽刺诗人,用诗歌揭示出现代人的内心困境。他们用文字刺破虚荣的泡影,戳穿谎言的伪装,让我们看到
- 2018-12-23
映余
印染着福字的古色的红灯笼挂在竹楼的梁上,映衬着竹屋里的气氛喜气洋洋,为室内增添了几分暖意!竹屋里的墙上挂着农家食材,仿佛到了农家小院,回到了园田。冬至节气,在古色古香的小竹屋里品尝着晶莹剔透的东北饺子,美食美景美极了!素馅~肉馅,蒸饺~煮饺,美味可口,美滋滋!
- [晓晖散文]诗从黎明中醒来
中国当代著名诗人晓晖
[晓晖散文]诗歌从黎明中醒来中国当代诗人晓晖上帝死了,拯救不了人类;生命与灵魂,肮脏与腐烂。诗歌死了,在今晚的黑夜;天空一片的尘埃,没有一丝生命;空气也变了混浊。在这个黑暗的世界里:我寻觅最后的一颗流星,那么的孤独;曾经照耀:五湖四海,今晚,只学会了沉默。月亮不在圆明,星光不在闪烁。所有的生命:遍体鳞伤,千穿百孔。诗歌的生命:一样死于黑暗,甚至腐烂;散发出霉味,让人窒息,休克。我想:寻找一个地方;
- 四书五经之《大学》1~为人君,止于仁;为人臣止于敬;为人子,止于孝;为人父,止于慈; 与国人交,止于信
相遇晚晴天
图片发自App《诗》云:“邦畿千里,维民所止。”《诗》云:“缗蛮黄鸟,止于丘隅。”子曰:“于止,知其所止,可以人而不如鸟乎?”《诗》云:“穆穆文王,於缉熙敬止!”为人君,止于仁;为人臣止于敬;为人子,止于孝;为人父,止于慈;与国人交,止于信。《诗》云:“瞻彼淇澳,菉竹猗猗。有斐君子,如切如磋,如琢如磨。瑟兮僴兮,赫兮喧兮。有斐君子,终不可喧兮。”“如切如磋”者,道学也。“如琢如磨”者,自修也。“瑟
- 诗歌鉴赏——构思立意技巧
棉麻布衣
1.起承转合:①“起”定基调:“起”句为一诗之首句,地位很重要,作用一般有三点:点题明旨,统领全诗,奠定基调;托物起兴,烘托铺垫,渲染映衬;状物叙事,描景铺陈,提供背景。如杜甫的《登高》:“风急天高猿啸哀,渚清沙白鸟飞回。无边落木萧萧下,不尽长江滚滚来。万里悲秋常作客,百年多病独登台。艰难苦恨繁霜鬓,潦倒新停浊酒杯。”②“起”而续“承”:“承”句与“起”句语意接近,关联极为密切。它不是对“起”句简
- ASM系列五 利用TreeApi 解析生成Class
lijingyao8206
ASM字节码动态生成ClassNodeTreeAPI
前面CoreApi的介绍部分基本涵盖了ASMCore包下面的主要API及功能,其中还有一部分关于MetaData的解析和生成就不再赘述。这篇开始介绍ASM另一部分主要的Api。TreeApi。这一部分源码是关联的asm-tree-5.0.4的版本。
在介绍前,先要知道一点, Tree工程的接口基本可以完
- 链表树——复合数据结构应用实例
bardo
数据结构树型结构表结构设计链表菜单排序
我们清楚:数据库设计中,表结构设计的好坏,直接影响程序的复杂度。所以,本文就无限级分类(目录)树与链表的复合在表设计中的应用进行探讨。当然,什么是树,什么是链表,这里不作介绍。有兴趣可以去看相关的教材。
需求简介:
经常遇到这样的需求,我们希望能将保存在数据库中的树结构能够按确定的顺序读出来。比如,多级菜单、组织结构、商品分类。更具体的,我们希望某个二级菜单在这一级别中就是第一个。虽然它是最后
- 为啥要用位运算代替取模呢
chenchao051
位运算哈希汇编
在hash中查找key的时候,经常会发现用&取代%,先看两段代码吧,
JDK6中的HashMap中的indexFor方法:
/**
* Returns index for hash code h.
*/
static int indexFor(int h, int length) {
- 最近的情况
麦田的设计者
生活感悟计划软考想
今天是2015年4月27号
整理一下最近的思绪以及要完成的任务
1、最近在驾校科目二练车,每周四天,练三周。其实做什么都要用心,追求合理的途径解决。为
- PHP去掉字符串中最后一个字符的方法
IT独行者
PHP字符串
今天在PHP项目开发中遇到一个需求,去掉字符串中的最后一个字符 原字符串1,2,3,4,5,6, 去掉最后一个字符",",最终结果为1,2,3,4,5,6 代码如下:
$str = "1,2,3,4,5,6,";
$newstr = substr($str,0,strlen($str)-1);
echo $newstr;
- hadoop在linux上单机安装过程
_wy_
linuxhadoop
1、安装JDK
jdk版本最好是1.6以上,可以使用执行命令java -version查看当前JAVA版本号,如果报命令不存在或版本比较低,则需要安装一个高版本的JDK,并在/etc/profile的文件末尾,根据本机JDK实际的安装位置加上以下几行:
export JAVA_HOME=/usr/java/jdk1.7.0_25  
- JAVA进阶----分布式事务的一种简单处理方法
无量
多系统交互分布式事务
每个方法都是原子操作:
提供第三方服务的系统,要同时提供执行方法和对应的回滚方法
A系统调用B,C,D系统完成分布式事务
=========执行开始========
A.aa();
try {
B.bb();
} catch(Exception e) {
A.rollbackAa();
}
try {
C.cc();
} catch(Excep
- 安墨移动广 告:移动DSP厚积薄发 引领未来广 告业发展命脉
矮蛋蛋
hadoop互联网
“谁掌握了强大的DSP技术,谁将引领未来的广 告行业发展命脉。”2014年,移动广 告行业的热点非移动DSP莫属。各个圈子都在纷纷谈论,认为移动DSP是行业突破点,一时间许多移动广 告联盟风起云涌,竞相推出专属移动DSP产品。
到底什么是移动DSP呢?
DSP(Demand-SidePlatform),就是需求方平台,为解决广 告主投放的各种需求,真正实现人群定位的精准广
- myelipse设置
alafqq
IP
在一个项目的完整的生命周期中,其维护费用,往往是其开发费用的数倍。因此项目的可维护性、可复用性是衡量一个项目好坏的关键。而注释则是可维护性中必不可少的一环。
注释模板导入步骤
安装方法:
打开eclipse/myeclipse
选择 window-->Preferences-->JAVA-->Code-->Code
- java数组
百合不是茶
java数组
java数组的 声明 创建 初始化; java支持C语言
数组中的每个数都有唯一的一个下标
一维数组的定义 声明: int[] a = new int[3];声明数组中有三个数int[3]
int[] a 中有三个数,下标从0开始,可以同过for来遍历数组中的数
- javascript读取表单数据
bijian1013
JavaScript
利用javascript读取表单数据,可以利用以下三种方法获取:
1、通过表单ID属性:var a = document.getElementByIdx_x_x("id");
2、通过表单名称属性:var b = document.getElementsByName("name");
3、直接通过表单名字获取:var c = form.content.
- 探索JUnit4扩展:使用Theory
bijian1013
javaJUnitTheory
理论机制(Theory)
一.为什么要引用理论机制(Theory)
当今软件开发中,测试驱动开发(TDD — Test-driven development)越发流行。为什么 TDD 会如此流行呢?因为它确实拥有很多优点,它允许开发人员通过简单的例子来指定和表明他们代码的行为意图。
TDD 的优点:
&nb
- [Spring Data Mongo一]Spring Mongo Template操作MongoDB
bit1129
template
什么是Spring Data Mongo
Spring Data MongoDB项目对访问MongoDB的Java客户端API进行了封装,这种封装类似于Spring封装Hibernate和JDBC而提供的HibernateTemplate和JDBCTemplate,主要能力包括
1. 封装客户端跟MongoDB的链接管理
2. 文档-对象映射,通过注解:@Document(collectio
- 【Kafka八】Zookeeper上关于Kafka的配置信息
bit1129
zookeeper
问题:
1. Kafka的哪些信息记录在Zookeeper中 2. Consumer Group消费的每个Partition的Offset信息存放在什么位置
3. Topic的每个Partition存放在哪个Broker上的信息存放在哪里
4. Producer跟Zookeeper究竟有没有关系?没有关系!!!
//consumers、config、brokers、cont
- java OOM内存异常的四种类型及异常与解决方案
ronin47
java OOM 内存异常
OOM异常的四种类型:
一: StackOverflowError :通常因为递归函数引起(死递归,递归太深)。-Xss 128k 一般够用。
二: out Of memory: PermGen Space:通常是动态类大多,比如web 服务器自动更新部署时引起。-Xmx
- java-实现链表反转-递归和非递归实现
bylijinnan
java
20120422更新:
对链表中部分节点进行反转操作,这些节点相隔k个:
0->1->2->3->4->5->6->7->8->9
k=2
8->1->6->3->4->5->2->7->0->9
注意1 3 5 7 9 位置是不变的。
解法:
将链表拆成两部分:
a.0-&
- Netty源码学习-DelimiterBasedFrameDecoder
bylijinnan
javanetty
看DelimiterBasedFrameDecoder的API,有举例:
接收到的ChannelBuffer如下:
+--------------+
| ABC\nDEF\r\n |
+--------------+
经过DelimiterBasedFrameDecoder(Delimiters.lineDelimiter())之后,得到:
+-----+----
- linux的一些命令 -查看cc攻击-网口ip统计等
hotsunshine
linux
Linux判断CC攻击命令详解
2011年12月23日 ⁄ 安全 ⁄ 暂无评论
查看所有80端口的连接数
netstat -nat|grep -i '80'|wc -l
对连接的IP按连接数量进行排序
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
查看TCP连接状态
n
- Spring获取SessionFactory
ctrain
sessionFactory
String sql = "select sysdate from dual";
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
String[] names = wac.getBeanDefinitionNames();
for(int i=0; i&
- Hive几种导出数据方式
daizj
hive数据导出
Hive几种导出数据方式
1.拷贝文件
如果数据文件恰好是用户需要的格式,那么只需要拷贝文件或文件夹就可以。
hadoop fs –cp source_path target_path
2.导出到本地文件系统
--不能使用insert into local directory来导出数据,会报错
--只能使用
- 编程之美
dcj3sjt126com
编程PHP重构
我个人的 PHP 编程经验中,递归调用常常与静态变量使用。静态变量的含义可以参考 PHP 手册。希望下面的代码,会更有利于对递归以及静态变量的理解
header("Content-type: text/plain");
function static_function () {
static $i = 0;
if ($i++ < 1
- Android保存用户名和密码
dcj3sjt126com
android
转自:http://www.2cto.com/kf/201401/272336.html
我们不管在开发一个项目或者使用别人的项目,都有用户登录功能,为了让用户的体验效果更好,我们通常会做一个功能,叫做保存用户,这样做的目地就是为了让用户下一次再使用该程序不会重新输入用户名和密码,这里我使用3种方式来存储用户名和密码
1、通过普通 的txt文本存储
2、通过properties属性文件进行存
- Oracle 复习笔记之同义词
eksliang
Oracle 同义词Oracle synonym
转载请出自出处:http://eksliang.iteye.com/blog/2098861
1.什么是同义词
同义词是现有模式对象的一个别名。
概念性的东西,什么是模式呢?创建一个用户,就相应的创建了 一个模式。模式是指数据库对象,是对用户所创建的数据对象的总称。模式对象包括表、视图、索引、同义词、序列、过
- Ajax案例
gongmeitao
Ajaxjsp
数据库采用Sql Server2005
项目名称为:Ajax_Demo
1.com.demo.conn包
package com.demo.conn;
import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;
//获取数据库连接的类public class DBConnec
- ASP.NET中Request.RawUrl、Request.Url的区别
hvt
.netWebC#asp.nethovertree
如果访问的地址是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree%3C&n=myslider#zonemenu那么Request.Url.ToString() 的值是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree<&
- SVG 教程 (七)SVG 实例,SVG 参考手册
天梯梦
svg
SVG 实例 在线实例
下面的例子是把SVG代码直接嵌入到HTML代码中。
谷歌Chrome,火狐,Internet Explorer9,和Safari都支持。
注意:下面的例子将不会在Opera运行,即使Opera支持SVG - 它也不支持SVG在HTML代码中直接使用。 SVG 实例
SVG基本形状
一个圆
矩形
不透明矩形
一个矩形不透明2
一个带圆角矩
- 事务管理
luyulong
javaspring编程事务
事物管理
spring事物的好处
为不同的事物API提供了一致的编程模型
支持声明式事务管理
提供比大多数事务API更简单更易于使用的编程式事务管理API
整合spring的各种数据访问抽象
TransactionDefinition
定义了事务策略
int getIsolationLevel()得到当前事务的隔离级别
READ_COMMITTED
- 基础数据结构和算法十一:Red-black binary search tree
sunwinner
AlgorithmRed-black
The insertion algorithm for 2-3 trees just described is not difficult to understand; now, we will see that it is also not difficult to implement. We will consider a simple representation known
- centos同步时间
stunizhengjia
linux集群同步时间
做了集群,时间的同步就显得非常必要了。 以下是查到的如何做时间同步。 在CentOS 5不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。 1)确认已经ntp程序包: # yum install ntp 2)配置时间源(默认就行,不需要修改) # vi /etc/ntp.conf server pool.ntp.o
- ITeye 9月技术图书有奖试读获奖名单公布
ITeye管理员
ITeye
ITeye携手博文视点举办的9月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。 9月试读活动回顾:http://webmaster.iteye.com/blog/2118112本次技术图书试读活动的优秀奖获奖名单及相应作品如下(优秀文章有很多,但名额有限,没获奖并不代表不优秀):
《NFC:Arduino、Andro