- 名诗我译(伊丽莎白·布朗宁篇)——Sonnets From The Portuguese(34) 葡萄牙的十四行诗 第34首
臻念
译文:真念一思作者:伊丽莎白·布朗宁Withthesameheart,Isaid,I'llanswertheeAsthose,whenthoushaltcallmebymyname--Lo,thevainpromise!Isthesame,thesame,Perplexedandruffledbylife'sstrategy?Whencalledbefore,ItoldhowhastilyIdro
- 《微书话1018》231—240 作者 向明
向明的一期一会
231荷尔德林说:“在一个贫乏时代,诗人何为?”但在荷尔德林生活的年代(1770—1843年),成名诗人均是社会上的明星大腕。只因个人性格、疾病等,使他无法像席勒那样辉煌一时,成为“伟大的天才般的诗人”。有些矫情的荷尔德林,若活在当下中国,真不知要如何抱怨?恐怕连死的心都有了。232里尔克在《致奥尔弗斯的十四行诗》写道:“一件事是坚定不移的:我们每人走向和到达,我们所能到达的地方。”他51岁时死于
- 现代诗歌*邂逅/似此星辰同昨日~随笔
似此星辰同昨日
《邂逅》文l仙派狼王*星辰原创/十四行诗水向东流淌着古与今的邂逅日夜交织在一起轮转了四季变幻了冷暖飘飘荡荡的薄雾邂逅晨霞懒洋洋地暖绿草在追逐梦想渡口与红花凝望远方云彩铺就的锦路是春的诗阙写进了画里接住了奔赴的舟轮载着一船晨的风语轻柔被揽入港湾的怀中宿命中的邂逅2022年03月编辑修改
- 灵动:莎士比亚十四行诗(115)
火爆龙
图片发自App多么沉重地我在旅途上跋涉,当我的目的地(我倦旅的终点)唆使安逸和休憩这样对我说:“你又离开了你的朋友那么远!”那驮我的畜牲,经不起我的忧厄,驮着我心里的重负慢慢地走,仿佛这畜牲凭某种本能晓得它主人不爱快,因为离你远游:有时恼怒用那血淋淋的靴钉猛刺它的皮,也不能把它催促;它只是沉重地报以一声呻吟,对于我,比刺它的靴钉还要残酷,因为这呻吟使我省悟和熟筹:我的忧愁在前面,快乐在后头。
- 二十四行诗【诗歌】
亚宁
一棵树十几棵树满山坡的树绿得令人心旷神怡只想放歌亦或跳起舞步与两三知已醉他个一塌糊涂一朵云无数朵云满天空的云白得你就想飞升当一只鸟亦或化一缕清风然后融入虚空成为阳光的一部分当一棵树或成为一朵云自然之美兮你非成为而不能且让我写诗记录这一刻的体会二十四行文字不及一声长臂猿啼2021.6.7
- 少年的第十四行诗
Shawn影
星光再璀璨也追不上白昼,发黄的枫叶怎么也落不尽深冬。和很多对时间无概念的人一样,往往在眨眼的间隙,光阴竟然消逝的这样快。有去无回的旅行耳机里播放的永远是那几首歌,喜欢的书就那一本,要好的朋友就那几个……在余留的时间里,我也会因为某一章熟悉的旋律回到过去。十二岁的时候还是太年轻,只会为一件小事开心一天,也为记不住人的脸而懊恼;十六岁时多了几分激动,奔入高中,依旧和初中就认识的几个男孩当兄弟,每天的快
- 你有哪些收藏了很久的神仙句子和哲理小诗?
一诗一文
一诗一文每一天的原创诗歌和梦想,不要再和我擦肩而过我们准备着深深地领受,那些意想不到的奇迹,在漫长的岁月里忽然有,彗星的出现,狂风乍起。——冯至《十四行诗》《看得见生活的美好》文/以人为本一场雨洗净的云朵白绵绵的有着治愈心灵的温暖风推云淡一朵花端坐在枝头有着圣洁的温柔-摇落尘埃在苍翠里燃烧婆娑的光影隐约的花香都在一丝清凉里飘摇岁月如此静好只有擦亮眼睛看得见生活的美好才能成就心灵的富饶我开始真正爱自
- 十四行诗
中国当代著名诗人晓晖
十四行诗现代-晓晖我没有传说中的那么美好,但晓晖的作品值得你阅读。青春在我诗中留下了美丽,它惊艳了世间所有的繁华。我只要生活在这个世界上,就会有痛苦,但快乐更多。你要轻轻地抚摸我的灵魂,你才能聆听到生命的旋律。我是从大山走出来的孩子,赤脚在田野,看雄鹰飞过。我穿越千山万水寻找远方,远方,在远方无限的静美。路在脚下,远方在我左手,右手写下了抒情十四行诗。我们是中国诗人!(十四行诗)[中国]胡昆彬我们
- 十四行诗 十二 当我数着壁上报时的自鸣钟 - 威廉·莎士比亚
爱生活的欢欢
常想时间是一味良药,能让人自渡,再难忘的人或事,在时间面前终将释怀。光阴的巷口,谁没有过年少唇红齿白的时光,谁不曾走过青春的迷茫,谁没有过年少轻狂,谁没有经过命运的起起落落?生命中,总有个人曾陪你看过风景,总有双手曾温暖你前行的路,总有首歌曾让你听着就泪流满面,总有段文字曾让你不忍触碰,埋藏在心底。当有一天,站在人生的彼岸回头望,那些纯真的年月,那些沧桑的磨砺,都变成泛黄的记忆,终是感动了时光,也
- 2018-05-20
牛奶咕啾
你秋风里萧萧的玉树是一片音乐在我耳旁筑起一座严肃的庙堂,让我小心翼翼地走入;又是插入晴空的高塔在我的面前高高耸起,有如一个圣者的身体,升华了全城市的喧哗。你无时不脱你的躯壳,凋零里只看着你生长;在阡陌纵横的田野上我把你看成我的引导:祝你永生,我愿一步步化身为你根下的泥土。——冯至《十四行诗》
- 致林小娟十四行诗
中国当代著名诗人晓晖
致林小娟十四行诗[中国]胡昆彬我穿越了茫茫人海来到你的城市只为与你相遇我走遍了每个角落寻找关于你的踪迹这个城市很小却听不到你的消息没有消息,对我来说就是最好的消息时光清浅,随长多美只剩倾尽的思念祝你平安,一切随缘在另外一个城市能容纳你的渺小
- 爱的十四行诗
舒游
今天就是今天,负载着所有往日的重量,张着将成为明日的一切东西之翅;今天是海的南方,水的老年,崭新的一天建构完成已耗尽的一日的花瓣聚集在你的嘴上,高举向光,向月而昨天急步走下阴暗的小路我们因此忆起它那张逝去的脸。今天,昨天,明天走过,日子像燃烧的小牛被耗尽,我们的牛群等候着,来日无多,然而时间在你心中撒下了面粉,我的爱用特木科的泥造了个火炉:你是我灵魂每日的面包。--聂鲁达
- 十四行诗·抒怀
筱筠霜冷
我可是你心中的一个过客?卑微的像田野间的花朵。图片发自App不经意间映入你眼眸,繁华往事如水缓缓流着。图片发自App从你的美好世界中走过,你无言我亦无话可说。交心如今冷淡似冰雪,不知何年竟也曾热烈如火。你本可将我心中的花摧折,让它留在这里是为了什么?我们真的已成无牵的那个,还是在细细呵护脆弱的那颗,待到来年初春三月,再次绽放出美丽绚烂的花朵?图片发自App图片发自App
- 优美句子摘录,是你喜欢的样子
子奕先生
你是我灵魂每日的面包——《莎士比亚-爱的第十四行诗》大风从东吹到西,从北刮到南,无视黑夜和黎明,你所说的黎明究竟是什么意思——《海子-春天,十个海子》我爱上这尘世纷纷扰扰的相遇。不停重复俗气又沉重的春天。爱上这承受一切,又粉碎的决定——《余秀华,源》每个人在对方面前都在演戏,可谁也没有欺骗谁。——《茨威格,昨日之旅》用言辞表达爱就如一台有故障的发报机发送密码情报,总是不确定怎样才能被收到。——《阿
- 莎士比亚:十四行诗(翻译)
鹿宥宥
我该如何将你比作夏天呢你很可爱,很温婉狂风想把五月的蓓蕾摇落,留下一地遗憾夏天的足迹匆忙,人们该将如何追赶夏天虽然有时,当空托住的太阳炽烈地照射地面它那金光闪闪的表面也有偶然间被蒙上乌云的阴翳就像我们常常信奉的公平也会被意外谋划导致失败世上也没有永恒的鲜妍遍地,它有自己凋零的期限但是,我自相矛盾,属于你的长夏,绿叶茂盛死神终不能扼住你想要呼吸的咽喉当你在此篇以及其余千万篇诗歌中被写过只要人还都能呼
- 十四行诗
回首是天涯
庆祝中国共产党百年华诞今夜灯光无比璀璨把大江的激情点燃风拥巨浪载歌载舞喜庆党的百年华诞今夜山城注定不眠霓虹亲吻千古红岩革命烈士可得告慰盛世太平如你所愿今夜我心激起波澜泪光在眼眶中流转听党的话跟着党走我们初心坚定如磐唱支山歌给党听啊鲜艳的红旗飘万年
- 2022-07-18
素履之往矣
今天把《内闱》带在了身边,但是没有读。到了学校,抄了一首莎士比亚十四行诗,我发现纯英文的诗歌,我有的时候还是不太能够完全理解,非得查看了翻译后比对,才能理解深入,这可能也是阅读能力缺失造成的吧。,比如今天抄的第53首中,有这么一段:Speakofthespring,andfoisonoftheyear;Theonedothshadowofyourbeautyshow,Theotherasyourb
- 16年前,给春的十四行诗 (2006-08-22 20:20:182019-05-08
愚儿的格桑花儿开
)16年前,给立的十四行诗那个时候写的诗,是幼稚和可笑的,怎么可以叫着诗?但记录着我们的爱情的开始,在我心中就是最美的。(那天,我不知道他会来,却意外地听见了他对我的呼唤声)你终于来了,在嬉戏逗乐的人群中呼唤着我的名字那语调似乎平淡却让我感到亲切和动人谁能知道胆却的我满怀着欢喜又不知所措接受了这突如其来的振我心怀的无言可喻的幸福我怎么可以忘记在那宁静的夜晚一个美丽的梦就诞生在我们彼此的心田中虽然我
- [十四行诗·组诗]最后的告别
远方的小溪
一那一夜,知道你将要走,我躲在被窝里悄悄哭泣。窗外的风一点也不轻柔!夜已深,月光碎了一地。深爱着的人要走不能留,不停追问为何无能为力?安静的夜啊泪水不停流,心如刀割不住地想着你。我是花一朵开在未来中,你是养花人未待花开时。将爱的芬芳高挂在星空,轻轻地照着,双手合十。想着那过往的春夏秋冬,将你深深地拥抱在梦中。二每天放学后都去看看你,同你用晚餐,为你夹菜,就是想要和你呆在一起。心中默默地祈祷别太快。
- 改写一首十四行诗
千白莫
生活琐碎而繁杂以及艰难,可能有本时代的特征,也许人类世界里从来都不平静。偶遇一首莎士比亚的十四行诗,我不能完全理解莎翁的原意,但毫无疑问他和他的作品是️有意义和价值的。以我粗浅的理解和思维、思想方式,带有现代特质的、单一时代的和狭窄范围束缚的笔(键盘),改写一首他的诗:如果天下无新事,此刻的种种仍然在历史和今天中循环上演当人在苦心创造,却被动实现一个仿佛前世般的重担的重现却得不到历史回溯的温情关怀
- 360天,差点断更了!
格乃
今天打开,忽然收到一条消息:你昨天没有更新文章或更新文章字数不满100字,已自动使用复活卡,今天记得更新哦!(复活卡每隔6天才能再次使用,请留意哦)图片发自App我一头雾水,怎么可能,我昨天写了两首诗,总收一百多,怎么可能没更新呢?也会糊弄人吧?我赶紧打开昨天的两篇文章,一看,唉!好难过,我居然写了两首诗,一首三行诗很短26个字,够短!另一首十四行诗才98个字!?差两个字?这是要自杀的节奏啊!我从
- 致给胡延晖十四行诗
中国当代著名诗人晓晖
致给胡延晖十四行诗胡昆彬(现代)在你该奋斗的年华请不要去选择安逸坚守你童年的爱好去弹奏青春的旋律做一个健康的少年太阳将在你的左手做一个快乐的少年月亮将在你的右手如果你想摘下星星那么必须学会善良面对世界爱是智慧面对人生爱是力量世界是如此的美好用你的激情去燃烧
- 精典:莎士比亚十四行诗(58)
火爆龙
图片发自App我的爱加强了,虽然看来更弱;我的爱一样热,虽然表面稍冷:谁把他心中的崇拜到处传播,就等于把他的爱情看作商品。我们那时才新恋,又正当春天,我惯用我的歌去欢迎它来归,像夜莺在夏天门前彻夜清啭,到了盛夏的日子便停止歌吹。并非现在夏天没有那么惬意比起万籁静听它哀唱的时候,只为狂欢的音乐载满每一枝,太普通,意味便没有那么深悠。所以,像它,我有时也默默无言,免得我的歌,太繁了,使你烦厌。
- day25 你的光阴就是十四行诗
早安之晨
卞之琳《断章》你站在桥上看风景看风景人在桥上看你明月装饰了你的窗子你装饰了别人的梦《面朝大海春暖花开》海子从明天起,做一个幸福的人喂马、劈柴,周游世界从明天起,关心粮食和蔬菜我有一所房子,面朝大海,春暖花开从明天起,和每一个亲人通信告诉他们我的幸福那幸福的闪电告诉我的我将告诉每一个人给每一条河每一座山取一个温暖的名字陌生人,我也为你祝福愿你有一个灿烂的前程愿你有情人终成眷属願你在塵世獲得幸福我只願
- 死亡的十四行诗(一)
弦凌
为何在冰冷的江水钓起我的尸体然而一丝微笑咬在齿上或许死亡的刹那你的芳华落在眼前与心脏一起永久的定格我只是这个世间的游子在死亡前的一秒还抚摸着大桥上的铁栏杆寒冷,漆黑的魅影纠结着生命中难以启齿的柔弱然而晃荡的江水中是你的毒药,你的香水坠落只是记忆里再次的回眸
- 【爱你的二十四首十四行诗】之处暑
溢清l清玄空冥
处暑·三侯暑至此而止,止于深秋深处静好而,乡愁和相思皂角树样固执迎秋而浓而深而疼,刺和阳光一起温暖入药渗透月圆月缺,和风起云涌里的朝夕盈满守缺,云就低问了秋水无恙处暑的爱你一往而情深,长过长夏黄河流域风尘仆仆的赤子,灵魂坦荡根植于北方广阔的倔强,爱你处暑五谷丰登,山海间谷子高粱皆芳香四溢。拥你入怀,左边的风方可从容入秋荷处暑,右边的芙蓉结子成莲就爱了你的低首慕水知你心苦,专治我的心神不宁处暑石榴红
- 星空临慕
一树青桃
图片发自App300g宝虹细纹梵高~十四行诗临摹自知秋水彩(欢迎扩列q2512194903)
- 书,温柔的力量
丶灬深情
转载:猫柠去年春上,一个学生问我,老师您平常都读哪些书?我并没有急于回答她的问题,只是跟眼前的小姑娘推荐了奥地利作家伯恩哈德。我对她说,哈德的作品有一种力透纸背的刺痛感,逼迫你用略掺着几分感性的理性思维,审视你身处的社会和国家。我顺着她的话问下去,那你们平时都看点什么?她笑着说,莎士比亚和陀思妥耶夫斯基。是的,读书。没有耽美小说,没有红袖,没有青春疼痛,对十四行诗和《地下室手记》的寥寥数语让我对小
- 死亡的十四行诗(二)
弦凌
中山桥上没有人只有钢铁与沥青我是凌晨的一点踏在桥上得风冷漠的像是去年擦在脸上,冻住了泪水生命,何必让我选择了孤独却又去打扰一个熟睡的人毕竟那么温暖,那么动人爱情,你和黄河的水一样磅礴吗让我沉没难以逃脱就像尘埃掉落在雾霾中我如此轻薄黑夜定不会给予我安静那么喧嚣的江水就是归宿吧
- 考研日记
安其尔An
小学入学的第一天,所有人都和我说,高考很苦,学习生涯的每一天,我都觉得自己6:00起床,12:00睡觉,上一天的课很苦,我畏惧高考,认为学海无涯苦作舟,我抵抗高考,因为懒惰所以逃避苦难是我的天性,现在所有的考研人,过来人,教育机构仍在向我贩卖考研很苦的思想,他们或为了证明自己努力,或为了证明自己拼搏过,或许只是单纯的为了挣得一笔数量可观的学费,可即使所有人都说考研很苦,我也要把这段时间过成十四行诗
- Enum 枚举
120153216
enum枚举
原文地址:http://www.cnblogs.com/Kavlez/p/4268601.html Enumeration
于Java 1.5增加的enum type...enum type是由一组固定的常量组成的类型,比如四个季节、扑克花色。在出现enum type之前,通常用一组int常量表示枚举类型。比如这样:
public static final int APPLE_FUJI = 0
- Java8简明教程
bijian1013
javajdk1.8
Java 8已于2014年3月18日正式发布了,新版本带来了诸多改进,包括Lambda表达式、Streams、日期时间API等等。本文就带你领略Java 8的全新特性。
一.允许在接口中有默认方法实现
Java 8 允许我们使用default关键字,为接口声明添
- Oracle表维护 快速备份删除数据
cuisuqiang
oracle索引快速备份删除
我知道oracle表分区,不过那是数据库设计阶段的事情,目前是远水解不了近渴。
当前的数据库表,要求保留一个月数据,且表存在大量录入更新,不存在程序删除。
为了解决频繁查询和更新的瓶颈,我在oracle内根据需要创建了索引。但是随着数据量的增加,一个半月数据就要超千万,此时就算有索引,对高并发的查询和更新来说,让然有所拖累。
为了解决这个问题,我一般一个月会进行一次数据库维护,主要工作就是备
- java多态内存分析
麦田的设计者
java内存分析多态原理接口和抽象类
“ 时针如果可以回头,熟悉那张脸,重温嬉戏这乐园,墙壁的松脱涂鸦已经褪色才明白存在的价值归于记忆。街角小店尚存在吗?这大时代会不会牵挂,过去现在花开怎么会等待。
但有种意外不管痛不痛都有伤害,光阴远远离开,那笑声徘徊与脑海。但这一秒可笑不再可爱,当天心
- Xshell实现Windows上传文件到Linux主机
被触发
windows
经常有这样的需求,我们在Windows下载的软件包,如何上传到远程Linux主机上?还有如何从Linux主机下载软件包到Windows下;之前我的做法现在看来好笨好繁琐,不过也达到了目的,笨人有本方法嘛;
我是怎么操作的:
1、打开一台本地Linux虚拟机,使用mount 挂载Windows的共享文件夹到Linux上,然后拷贝数据到Linux虚拟机里面;(经常第一步都不顺利,无法挂载Windo
- 类的加载ClassLoader
肆无忌惮_
ClassLoader
类加载器ClassLoader是用来将java的类加载到虚拟机中,类加载器负责读取class字节文件到内存中,并将它转为Class的对象(类对象),通过此实例的 newInstance()方法就可以创建出该类的一个对象。
其中重要的方法为findClass(String name)。
如何写一个自己的类加载器呢?
首先写一个便于测试的类Student
- html5写的玫瑰花
知了ing
html5
<html>
<head>
<title>I Love You!</title>
<meta charset="utf-8" />
</head>
<body>
<canvas id="c"></canvas>
- google的ConcurrentLinkedHashmap源代码解析
矮蛋蛋
LRU
原文地址:
http://janeky.iteye.com/blog/1534352
简述
ConcurrentLinkedHashMap 是google团队提供的一个容器。它有什么用呢?其实它本身是对
ConcurrentHashMap的封装,可以用来实现一个基于LRU策略的缓存。详细介绍可以参见
http://code.google.com/p/concurrentlinke
- webservice获取访问服务的ip地址
alleni123
webservice
1. 首先注入javax.xml.ws.WebServiceContext,
@Resource
private WebServiceContext context;
2. 在方法中获取交换请求的对象。
javax.xml.ws.handler.MessageContext mc=context.getMessageContext();
com.sun.net.http
- 菜鸟的java基础提升之道——————>是否值得拥有
百合不是茶
1,c++,java是面向对象编程的语言,将万事万物都看成是对象;java做一件事情关注的是人物,java是c++继承过来的,java没有直接更改地址的权限但是可以通过引用来传值操作地址,java也没有c++中繁琐的操作,java以其优越的可移植型,平台的安全型,高效性赢得了广泛的认同,全世界越来越多的人去学习java,我也是其中的一员
java组成:
- 通过修改Linux服务自动启动指定应用程序
bijian1013
linux
Linux中修改系统服务的命令是chkconfig (check config),命令的详细解释如下: chkconfig
功能说明:检查,设置系统的各种服务。
语 法:chkconfig [ -- add][ -- del][ -- list][系统服务] 或 chkconfig [ -- level <</SPAN>
- spring拦截器的一个简单实例
bijian1013
javaspring拦截器Interceptor
Purview接口
package aop;
public interface Purview {
void checkLogin();
}
Purview接口的实现类PurviesImpl.java
package aop;
public class PurviewImpl implements Purview {
public void check
- [Velocity二]自定义Velocity指令
bit1129
velocity
什么是Velocity指令
在Velocity中,#set,#if, #foreach, #elseif, #parse等,以#开头的称之为指令,Velocity内置的这些指令可以用来做赋值,条件判断,循环控制等脚本语言必备的逻辑控制等语句,Velocity的指令是可扩展的,即用户可以根据实际的需要自定义Velocity指令
自定义指令(Directive)的一般步骤
&nbs
- 【Hive十】Programming Hive学习笔记
bit1129
programming
第二章 Getting Started
1.Hive最大的局限性是什么?一是不支持行级别的增删改(insert, delete, update)二是查询性能非常差(基于Hadoop MapReduce),不适合延迟小的交互式任务三是不支持事务2. Hive MetaStore是干什么的?Hive persists table schemas and other system metadata.
- nginx有选择性进行限制
ronin47
nginx 动静 限制
http {
limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_req_zone $binary_remote_addr zone=one:10m rate=5r/s;...
server {...
location ~.*\.(gif|png|css|js|icon)$ {
- java-4.-在二元树中找出和为某一值的所有路径 .
bylijinnan
java
/*
* 0.use a TwoWayLinkedList to store the path.when the node can't be path,you should/can delete it.
* 1.curSum==exceptedSum:if the lastNode is TreeNode,printPath();delete the node otherwise
- Netty学习笔记
bylijinnan
javanetty
本文是阅读以下两篇文章时:
http://seeallhearall.blogspot.com/2012/05/netty-tutorial-part-1-introduction-to.html
http://seeallhearall.blogspot.com/2012/06/netty-tutorial-part-15-on-channel.html
我的一些笔记
===
- js获取项目路径
cngolon
js
//js获取项目根路径,如: http://localhost:8083/uimcardprj
function getRootPath(){
//获取当前网址,如: http://localhost:8083/uimcardprj/share/meun.jsp
var curWwwPath=window.document.locati
- oracle 的性能优化
cuishikuan
oracleSQL Server
在网上搜索了一些Oracle性能优化的文章,为了更加深层次的巩固[边写边记],也为了可以随时查看,所以发表这篇文章。
1.ORACLE采用自下而上的顺序解析WHERE子句,根据这个原理,表之间的连接必须写在其他WHERE条件之前,那些可以过滤掉最大数量记录的条件必须写在WHERE子句的末尾。(这点本人曾经做过实例验证过,的确如此哦!
- Shell变量和数组使用详解
daizj
linuxshell变量数组
Shell 变量
定义变量时,变量名不加美元符号($,PHP语言中变量需要),如:
your_name="w3cschool.cc"
注意,变量名和等号之间不能有空格,这可能和你熟悉的所有编程语言都不一样。同时,变量名的命名须遵循如下规则:
首个字符必须为字母(a-z,A-Z)。
中间不能有空格,可以使用下划线(_)。
不能使用标点符号。
不能使用ba
- 编程中的一些概念,KISS、DRY、MVC、OOP、REST
dcj3sjt126com
REST
KISS、DRY、MVC、OOP、REST (1)KISS是指Keep It Simple,Stupid(摘自wikipedia),指设计时要坚持简约原则,避免不必要的复杂化。 (2)DRY是指Don't Repeat Yourself(摘自wikipedia),特指在程序设计以及计算中避免重复代码,因为这样会降低灵活性、简洁性,并且可能导致代码之间的矛盾。 (3)OOP 即Object-Orie
- [Android]设置Activity为全屏显示的两种方法
dcj3sjt126com
Activity
1. 方法1:AndroidManifest.xml 里,Activity的 android:theme 指定为" @android:style/Theme.NoTitleBar.Fullscreen" 示例: <application
- solrcloud 部署方式比较
eksliang
solrCloud
solrcloud 的部署其实有两种方式可选,那么我们在实践开发中应该怎样选择呢? 第一种:当启动solr服务器时,内嵌的启动一个Zookeeper服务器,然后将这些内嵌的Zookeeper服务器组成一个集群。 第二种:将Zookeeper服务器独立的配置一个集群,然后将solr交给Zookeeper进行管理
谈谈第一种:每启动一个solr服务器就内嵌的启动一个Zoo
- Java synchronized关键字详解
gqdy365
synchronized
转载自:http://www.cnblogs.com/mengdd/archive/2013/02/16/2913806.html
多线程的同步机制对资源进行加锁,使得在同一个时间,只有一个线程可以进行操作,同步用以解决多个线程同时访问时可能出现的问题。
同步机制可以使用synchronized关键字实现。
当synchronized关键字修饰一个方法的时候,该方法叫做同步方法。
当s
- js实现登录时记住用户名
hw1287789687
记住我记住密码cookie记住用户名记住账号
在页面中如何获取cookie值呢?
如果是JSP的话,可以通过servlet的对象request 获取cookie,可以
参考:http://hw1287789687.iteye.com/blog/2050040
如果要求登录页面是html呢?html页面中如何获取cookie呢?
直接上代码了
页面:loginInput.html
代码:
<!DOCTYPE html PUB
- 开发者必备的 Chrome 扩展
justjavac
chrome
Firebug:不用多介绍了吧https://chrome.google.com/webstore/detail/bmagokdooijbeehmkpknfglimnifench
ChromeSnifferPlus:Chrome 探测器,可以探测正在使用的开源软件或者 js 类库https://chrome.google.com/webstore/detail/chrome-sniffer-pl
- 算法机试题
李亚飞
java算法机试题
在面试机试时,遇到一个算法题,当时没能写出来,最后是同学帮忙解决的。
这道题大致意思是:输入一个数,比如4,。这时会输出:
&n
- 正确配置Linux系统ulimit值
字符串
ulimit
在Linux下面部 署应用的时候,有时候会遇上Socket/File: Can’t open so many files的问题;这个值也会影响服务器的最大并发数,其实Linux是有文件句柄限制的,而且Linux默认不是很高,一般都是1024,生产服务器用 其实很容易就达到这个数量。下面说的是,如何通过正解配置来改正这个系统默认值。因为这个问题是我配置Nginx+php5时遇到了,所以我将这篇归纳进
- hibernate调用返回游标的存储过程
Supanccy2013
javaDAOoracleHibernatejdbc
注:原创作品,转载请注明出处。
上篇博文介绍的是hibernate调用返回单值的存储过程,本片博文说的是hibernate调用返回游标的存储过程。
此此扁博文的存储过程的功能相当于是jdbc调用select 的作用。
1,创建oracle中的包,并在该包中创建的游标类型。
---创建oracle的程
- Spring 4.2新特性-更简单的Application Event
wiselyman
application
1.1 Application Event
Spring 4.1的写法请参考10点睛Spring4.1-Application Event
请对比10点睛Spring4.1-Application Event
使用一个@EventListener取代了实现ApplicationListener接口,使耦合度降低;
1.2 示例
包依赖
<p