- 名诗我译(伊丽莎白·布朗宁篇)——Sonnets From The Portuguese(34) 葡萄牙的十四行诗 第34首
臻念
译文:真念一思作者:伊丽莎白·布朗宁Withthesameheart,Isaid,I'llanswertheeAsthose,whenthoushaltcallmebymyname--Lo,thevainpromise!Isthesame,thesame,Perplexedandruffledbylife'sstrategy?Whencalledbefore,ItoldhowhastilyIdro
- 从《古从军行》中,感受行军之难之苦之哀
杰子贝儿
这是李颀,一位性格疏放超脱,厌薄世俗的唐代诗人,与王维、高适、王昌龄等著名诗人皆有来往,诗名颇高。这是一首读了心中感觉极其悲凉的诗,很多凄凉的行军影视剧浮在眼前,印在脑海里挥之不去,沉闷、悠远!李颀(690一751),字、号均不详,郡望赵郡(今河北赵县)人,家居河南颍阳(今河南登封)。唐玄宗开元二十三年(735)进士《唐才子传》卷二),官新乡尉。长期未得升迁,后弃官归隐。诗歌内容广泛,犹以边塞诗著
- 名诗我译(艾米莉·狄金森篇25)——through bramble(穿过荆棘)
臻念
译文:真念一思作者:艾米莉·狄金森Throughlaneitlay--throughbramble--Throughclearingandthroughwood--BandittioftenpassedusUponthelonelyroad.穿过遍布的巷陌,穿过荆棘--穿过林间空地,穿过树林--经常有匪徒在那偏僻孤寂的路上与我们擦肩而过Thewolfcamepeeringcurious--Theo
- 2022-07-11《纪德读书笔记》 [法] 安德烈·纪德 著 刘铮 选译
juneyale
书评:很早以前日记就是记录自己的想法,可以肆无忌惮的爱和欢喜,也可以无所顾忌的吐槽和嫌弃。比起那些为写作而写作的匠气文章,这种随笔式的读书笔记更有真人活气和真诚亲切。纪德对陀思妥耶夫斯基、王尔德、勃朗宁的偏爱,还有对法布尔和罗曼·罗兰在读书时对他们作品态度的改变都很有意思。书摘:1902年2月下旬对我来说,读一本书,即是与作者一起离开足足十五天。1903年5月我们大声朗读《少年》。初读的时候,我没
- 周涛:荒原之上的飞鹰与诗
嘉轩笔谈
周涛,生于1946年,当代著名诗人、散文家。祖籍山西,1955年迁居新疆,现任新疆作协副主席。代表作有诗集《神山》《野马群》,散文集《稀世之鸟》《游牧长城》,诗歌曾获解放军文艺奖,散文曾获第一届鲁迅文学奖。周涛先生在诗歌和散文创作都有一定成就,他的一些诗我还会抄录到本子上反复诵读学习,尽管知名度不高,但他仍然是一位值得推荐给读者们的作家。他笔下的新疆是绝大部分国内作家不曾着墨过的土地,从中原前去的
- 《长安三万里》观后感
张毅然
昨天,我和姐姐一起看了《长安三万里》看完之后我和姐姐都有所感触。首先是开头,是以高适抵抗吐蕃人,高是抵抗吐蕃人失败后弃城逃到了泸水关,后来监军程公公询问高是关于李白的故事。然后就是以高适的视角来你讲述李白以及一众诗人的故事,汇聚了盛唐以及安史之乱后的所有知名诗人,并从各种宴会表达了各个诗人的性格的不同,比如说李白豪放而不知后果,高适则是稳重而踏实,王维则是很清冷,其他的诗人也都很豪放。之后就讲述了
- 司空见惯
亲爱的毛毛同学
唐代著名诗人刘禹锡,在当苏州刺史时,曾到当地贵族李绅家作客。李绅曾任要职,官居“司空”(在唐代,这是掌管谏议的大官),人们尊称他做“李司空“,是一个有相当文学素养的人物。他看到刘禹锡来了,很是高兴,就设宴款待。席间,季绅高兴地把自己家的两名歌女叫唤出来,要她们给客人斟酒助兴。这两个歌女,又是引吭高歌又是轮番劝酒,灯光之下,她们越发显得美丽和妩媚了。刘禹锡几杯佳酿下肚,望着她们,情难自持,就吟诵了一
- 冠名诗与冠名联创作作者:李府钟(于紫禁城)
府钟
冠名诗与冠名联创作作者:李府钟(于紫禁城)广东奕佳建设工程有限公司大字:厚德载物广厦万间高瞻远东来紫气景若仙奕奕生辉前进路佳人才子舞翩跹建瓴高屋信是道设身取地民为先工欲善事必器利程绩达标凭科研有口皆碑能扛鼎限期开讲哲理篇公正廉洁守忠厚司晨阳光红漫天琴文(大字:建瓴高屋)琴心剑胆,洞悉世事胸襟阔;文武双辉,阅尽人情眼界宽。
- 王昌龄与南京
张漪纹
盛唐著名诗人王昌龄(698~756年),字少伯,江宁人,唐玄宗开元十五年(727年)考中进士后,曾一度出任江宁丞,与南京有着十分密切的关系。其诗作气势雄浑,手法细腻,缜密而思清,为古今七绝圣手,时称“诗家天子王江宁。”王昌龄在南京时,隐居青溪,即今之淮青桥、桃叶渡一带。清代中期,著名文人陈文述有《青溪访王龙标故居》诗云:“盛唐诗格压南朝,少伯风流久寂寥,我向青溪宫畔过,扬花明月忆龙标。紫裘换酒兴翩
- 2021-03-19 和老师发生冲突 自己的冲动
正明公
昨天早上要给妹妹带被子去学校,被子在后备箱里放着,结果还是忘了,拉回来之后想起来了,就给老师发微信说,老师一个电话打过来,说了高尔夫课程的事情,我就给老师提了意见,结果和老师说得不好,然后自己就和亲爱的商量说要给孩子退园,发现自己根本没有想好,去了之后,人家班主任和园长的态度很好,自己又有点动摇,还是不应该这样,没有想好之前,不要在盛怒之下做决定还浪费了一早上的时间,真是的,咳昨晚,朋友和媳妇最近
- 2023-05-27
夕窗
又是一个失眠的夜晚,半是思绪和激动(在某个时刻就激动起来不能自持),半是智齿发炎的疼痛。在床上翻腾了一会儿,懒得起来,不过只是睡着终归无趣,于是下来翻找眼镜和手机,寻思着也许能在鸟叫声中写点东西——不知为何,鸟三点多就开始叫了。这是很特别的一天,因为参加未名诗歌奖的活动,又认识了不少文学感觉极好、也充满对现实和他人关怀(一些细节)的同仁,获知有不少人和我一样,在思考着诗歌的困境,希望找到更好的表达
- 老病孤舟泊洞庭,两度绝唱葬平江
紫气东升
(转)岳阳楼下,洞庭湖边,有座“怀甫亭”。它深深寄托着岳阳人民对“诗圣”杜甫的敬仰和怀念。杜甫(712-770),字子美,生于河南巩县。远祖杜预为西晋名将、学者。祖父杜审言是武则天时膳部员外郎、著名诗人,父亲曾为兖州司马和奉天县令。杜甫对这个“奉儒守官,未坠素业”的家庭深感自豪,自称“七龄思即壮,开口咏凤凰。九龄书大字,有作成一囊”(《壮游》)。杜甫从小好学,到十四五岁,就出游翰墨场。从二十岁起,
- 陈东 王芳 乔迁新居冠名诗匾创作作者:李府钟(于紫禁城)
府钟
陈东王芳乔迁新居冠名诗匾创作作者:李府钟(于紫禁城)陈词华章书香门,东莅紫气燕舞春。王冠加冕上善者,芳卉兰馨福家临。
- 《微书话1018》231—240 作者 向明
向明的一期一会
231荷尔德林说:“在一个贫乏时代,诗人何为?”但在荷尔德林生活的年代(1770—1843年),成名诗人均是社会上的明星大腕。只因个人性格、疾病等,使他无法像席勒那样辉煌一时,成为“伟大的天才般的诗人”。有些矫情的荷尔德林,若活在当下中国,真不知要如何抱怨?恐怕连死的心都有了。232里尔克在《致奥尔弗斯的十四行诗》写道:“一件事是坚定不移的:我们每人走向和到达,我们所能到达的地方。”他51岁时死于
- 以许老的英译诗词,看诗圣杜甫的悲凉
丢失的可爱兔
杜甫是唐代著名的理实主义诗人,是我国古代著名诗人之一,被后人称为诗圣,与李白合称“李杜”,一生著作约有1500首诗歌被保留了下来,大多集于《杜工部集》。他的诗词以古体、律诗见长,风格多样。或气吞山河,如“会当凌绝顶,一览众山小”;或感情洋溢,如“李白一斗诗百篇,和安市上酒家眠”;或沉郁顿挫,如“安得广厦千万间,大庇天下寒士俱欢颜!”他的诗多涉及社会动荡、政治黑暗、人民疾苦,具有强烈的儒家仁爱精神和
- 名诗我译(鲁米篇39)
臻念
译文:真念一思作者:鲁米注:由于手头没有鲁米诗全集,选译排序为译者自编(五十八)IamsosmallIcanbarelybeseen.Howcanthisgreatlovebeinsideme?Lookatyoureyes.Theyaresmall,buttheyseeenormousthings.HowshouldIhelptheworldByunderstandingitAndhowshall
- 草书创作刘禹锡:气势雄浑,意境壮丽的《秋词》(书法:张德进)
金宝斋德进书法
唐代诗人刘禹锡刘禹锡是唐代中晚期著名诗人,有“诗豪”之称,中唐文学的代表人物之一。他的家庭是一个世代以儒学相传的书香门第。政治上主张革新,是王叔文派政治革新活动的中心人物之一刘禹锡的诗:洋溢在我们心头的,绝非什么悲凉的气息,我们随着诗人的“诗情”,借助诗人想象的翅膀,天马行空般驰骋于碧空之上。于是,鹤飞之冲霄,诗情之旷远,“实”和“虚”便融合在了一起,所获得的全然是一种励志冶情的美的感受并借黄鹤直
- 原创诗如何申请版权呢?
尚标知识产权
作为一名诗歌创作者,你可能希望自己的作品受到法律保护,以免被他人未经授权地使用。那么,原创诗如何申请版权呢?本文将为你详细介绍申请版权的步骤,让你的作品得到应有的尊重和保护。一、了解原创诗的版权保护对象我们需要明确原创诗的版权保护对象。根据我国《著作权法》的规定,文学作品(包括诗词、散文、小说等)的著作权人享有复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、
- 它是诗仙笔下千古留名的香炉,懂它的人非常少,来看看它是谁
彼岸初见
作为一个中国人,只要上完小学课程的,应该都学过并且背诵过这首千古名篇,它就是诗仙李白的《望庐山瀑布》:日照香炉生紫烟,遥看瀑布挂前川。飞流直下三千尺,疑是银河落九天。这首诗脍炙人口,更使江西庐山扬名海内外,名山名瀑与名人名诗相映成趣,山中有诗,诗中有山,两两相望,更使游人边游边学,边学边游。然而,我今天为什么要把这首诗拿出来和小伙伴们说说呢?原因是这样的,昨晚跟几位朋友喝酒,席间从尧舜禹汤聊到文武
- 百变大侦探梦归敦煌凶手复盘解析+答案剧透真相攻略结局
VX搜_奶茶剧本杀
本文为《梦归敦煌》剧本杀部分真相复盘剧透获取完整真相复盘只需两步①【微信搜索公众号id:jubensha142】(或者扫描上图二维码)②回复【梦归敦煌】即可查看获取哦[故事还原]三十五年前,当今圣上夺位,毒死先帝,鸩杀太子。太子一家仅有幼女余姚郡主萧婉媛活了下来,软禁宫中。萧婉媛幽居多年,独创剑器舞,教予宫廷舞者公孙娘子,其后风靡长安。凉国公世子李师循爱慕萧婉媛,写下名诗《剑器行》,却遭到老凉国公
- 2021-04-05
沧海波澄
中西方人对新冠病毒的反应有何不同?第一:中西方之间存在很大的文化差异,生死观不同,反映在意识形态的认知方面就有着更大的差别。华人,特别是中国人,对活着有着极大的依赖和依恋,俗话说“好死不如赖活着。”然而,在西方人的意识形态里,在他们流畅着的血液里却存在着比生命更珍贵的,那就是自由。就象匈牙利爱国诗人裴多菲的著名诗句所说的那样:“生命诚可贵,爱情价更高,若为自由故,两者皆可抛。”正因为如此,面对这次
- 2021-03-19
落羽华开
你看见的只是一个人独自无声的坐着,走着。但是你却无法想象那时他脑海里面的惊涛骇浪,可能他和平时一样,可能是他不想摘掉早就带好的面具。请你就在那看一会就走吧,那时的他,不愿被打扰。不愿和无奈,不舍但是没有办法可以挽救。那种冰天雪地里一见太阳就开始蒸发的暗恋,谁又能留住升华了的冰呢。心里寂静无声的话,就好了,但心里的十万个为什么,百万个想不通都堵在心头,便是他寂静无声的原因吧。
- 画家白占君——妙笔生花 画中有诗
小爱书画
艺术简介白占君,名炎辰,别号金石斋主,河北邢台人。1955年生于和阳王氏书画世家。自幼酷爱书画,深得著名诗·、书、画三绝艺术家大哥王同辰、五哥王晶辰真传。擅长人物、山水、工艺美术设计。1985年在中央工艺美术学院学习期间,曾受著名漓江山水大师白雪石先生亲受白家山水。工艺美术设计从师温练昌、李永平、崔栋良、林乐成等著名大师亲授。《色彩、设计》两幅作品已作为中央工艺美术学院讲学教材。现为:国家一级美术
- 《七律·长征》教学反思
天高云淡_10303
第二单元的学习内容开启了,本单元的学习主题是重温革命岁月,让学生了解历史,把历史的声音留在心里,对学生进行爱国主义教育,体会文章中作者的爱国情怀。本单元的第一课,便是毛泽东的有名诗篇《七律长征》,这是孩子们第一次接触毛泽东的诗词,也是我第一次跟孩子们一起学习毛泽东诗词,所以在上课之前,我进行了精心的备课准备。课堂上,通过课件向学生们介绍了毛泽东,介绍了红军和长征,介绍了这首诗词的写作背景,还介绍了
- 关于【协和礼拜堂】
SeventhBoaers
1966年,漂泊了大半辈子的林语堂定居台湾,把生命中最后一个家安在了台北阳明山仰德大道二段141号。1969年1月9日,阳明山林家花园的客厅里,一对喜烛点燃了。这一天,是林语堂廖翠凤夫妇结婚50周年纪念日。林语堂送给廖翠凤一个勋章,上铸“金玉缘”三字,并刻有詹姆斯·惠特坎·李莱的名诗《老情人》。林语堂将其译成中文五言诗:“同心相牵挂,一缕情依依;岁月如梭逝,银丝鬓已稀;幽冥倘异路,仙府应凄凄;若欲
- 旧电影感想日志《妖猫传》2017/12/22
丘神
《妖猫传》,陈凯歌真文人,多少梦回唐朝都拍得丝丝入扣。来自日本人心中的大唐盛世,一段简单而凄厉的安史之乱,六宫粉黛无颜色的杨玉环,从此君王不早朝的唐玄宗,一袭白衣正年少的白鹤少年,此恨绵绵无绝期的白居易,三千名诗在一身的李白…大唐在梦中长恨,长恨成了歌。视觉系电影,多少有点夸张的剧情,为音乐和画面而醉,不断拍打起对万邦来朝的盛世中国的想念,裙间,酒里,屋檐,月下,都是唐的风流唐的诗,都是天长地久有
- 2021-03-19 - 草稿
浩齐妈妈
也许,我真的成了,你最讨厌的人了。你讨厌我的犹豫,讨厌我的在意,讨厌我做不到云淡风轻。以后,我可能不知道怎么面对你?也许,我和你的相遇,你觉得很累了吧!我又做不到,和你说再见。珍惜现在吧!恍若昨日,但愿只是昨天,明天会好的。
- 余秀华,你是女人的骄傲
姝姝妮的童话
脑瘫诗人余秀华,她的诗风在诗坛上一直褒贬不一。尽管她的诗风不是我所喜欢的,可她自强自立的人生,敢爱敢恨的勇气却令我钦佩不矣。上帝是公平的,他为你关上一扇门的同时一定会为你打开一扇窗。余秀华是不幸的,出生时倒产、缺氧而造成脑瘫,使其行动不便,说起话来口齿不清。可她又是幸运的,她天资聪明,她还有一对伟大的父母,用尽他们全部的爱为其遮风挡雨,令她有一个安稳的生活。一个脑瘫女孩成长为一名诗人,其中的艰辛可
- 暑假经典书单系列:每一句都想抄下来的唯美诗集
车先生平台
诗歌,是生命的精华。所以小编认为,我们的生活需要诗,并不一定是为了成为一名诗人。而是因为诗歌,可以增加我们灵魂的重量。1《海涅诗选》作者:{德}海因里希.海涅《海涅诗选》是著名德国诗人海因里希·海涅的诗歌精选集,诗集精选了其1816年到1855年创作的数百首诗歌作品。前期主要以爱情、理想及信念为主题,具有浪漫主义特点,而后期则偏重于社会现实,运用夸张的讽刺、离奇的譬喻、民间的传说、个人的幻想、风趣
- 中国易经文化馆馆长冯志亮讲《不一样的国学》:他是大汉朝最有权势的大臣,在无意中发明了一种服饰流传至今
京南文艺
冯志亮,笔名禾子尼,号渤海居士,1980年出生于河北秦皇岛,现居北京,北京大学特聘教授。冯志亮先生是著名品牌推广人、姓氏文化学者、姓名学专家、当代著名诗人、修谱师、网络新闻营销奠基人和发展者。冯志亮先生是中国易经文化馆馆长,中华百家姓博物馆馆长,中华姓氏研究院院长,北京姓氏文化馆馆长,北京风水博物馆馆长。冯志亮先生现担任华夏易经研究会副会长兼北京分会会长,中华儒学研究会副会长,中国炎黄文化研究会副
- PHP如何实现二维数组排序?
IT独行者
二维数组PHP排序
二维数组在PHP开发中经常遇到,但是他的排序就不如一维数组那样用内置函数来的方便了,(一维数组排序可以参考本站另一篇文章【PHP中数组排序函数详解汇总】)。二维数组的排序需要我们自己写函数处理了,这里UncleToo给大家分享一个PHP二维数组排序的函数:
代码:
functionarray_sort($arr,$keys,$type='asc'){
$keysvalue= $new_arr
- 【Hadoop十七】HDFS HA配置
bit1129
hadoop
基于Zookeeper的HDFS HA配置主要涉及两个文件,core-site和hdfs-site.xml。
测试环境有三台
hadoop.master
hadoop.slave1
hadoop.slave2
hadoop.master包含的组件NameNode, JournalNode, Zookeeper,DFSZKFailoverController
- 由wsdl生成的java vo类不适合做普通java vo
darrenzhu
VOwsdlwebservicerpc
开发java webservice项目时,如果我们通过SOAP协议来输入输出,我们会利用工具从wsdl文件生成webservice的client端类,但是这里面生成的java data model类却不适合做为项目中的普通java vo类来使用,当然有一中情况例外,如果这个自动生成的类里面的properties都是基本数据类型,就没问题,但是如果有集合类,就不行。原因如下:
1)使用了集合如Li
- JAVA海量数据处理之二(BitMap)
周凡杨
java算法bitmapbitset数据
路漫漫其修远兮,吾将上下而求索。想要更快,就要深入挖掘 JAVA 基础的数据结构,从来分析出所编写的 JAVA 代码为什么把内存耗尽,思考有什么办法可以节省内存呢? 啊哈!算法。这里采用了 BitMap 思想。
首先来看一个实验:
指定 VM 参数大小: -Xms256m -Xmx540m
- java类型与数据库类型
g21121
java
很多时候我们用hibernate的时候往往并不是十分关心数据库类型和java类型的对应关心,因为大多数hbm文件是自动生成的,但有些时候诸如:数据库设计、没有生成工具、使用原始JDBC、使用mybatis(ibatIS)等等情况,就会手动的去对应数据库与java的数据类型关心,当然比较简单的数据类型即使配置错了也会很快发现问题,但有些数据类型却并不是十分常见,这就给程序员带来了很多麻烦。
&nb
- Linux命令
510888780
linux命令
系统信息
arch 显示机器的处理器架构(1)
uname -m 显示机器的处理器架构(2)
uname -r 显示正在使用的内核版本
dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI)
hdparm -i /dev/hda 罗列一个磁盘的架构特性
hdparm -tT /dev/sda 在磁盘上执行测试性读取操作
cat /proc/cpuinfo 显示C
- java常用JVM参数
墙头上一根草
javajvm参数
-Xms:初始堆大小,默认为物理内存的1/64(<1GB);默认(MinHeapFreeRatio参数可以调整)空余堆内存小于40%时,JVM就会增大堆直到-Xmx的最大限制
-Xmx:最大堆大小,默认(MaxHeapFreeRatio参数可以调整)空余堆内存大于70%时,JVM会减少堆直到 -Xms的最小限制
-Xmn:新生代的内存空间大小,注意:此处的大小是(eden+ 2
- 我的spring学习笔记9-Spring使用工厂方法实例化Bean的注意点
aijuans
Spring 3
方法一:
<bean id="musicBox" class="onlyfun.caterpillar.factory.MusicBoxFactory"
factory-method="createMusicBoxStatic"></bean>
方法二:
- mysql查询性能优化之二
annan211
UNIONmysql查询优化索引优化
1 union的限制
有时mysql无法将限制条件从外层下推到内层,这使得原本能够限制部分返回结果的条件无法应用到内层
查询的优化上。
如果希望union的各个子句能够根据limit只取部分结果集,或者希望能够先排好序在
合并结果集的话,就需要在union的各个子句中分别使用这些子句。
例如 想将两个子查询结果联合起来,然后再取前20条记录,那么mys
- 数据的备份与恢复
百合不是茶
oraclesql数据恢复数据备份
数据的备份与恢复的方式有: 表,方案 ,数据库;
数据的备份:
导出到的常见命令;
参数 说明
USERID 确定执行导出实用程序的用户名和口令
BUFFER 确定导出数据时所使用的缓冲区大小,其大小用字节表示
FILE 指定导出的二进制文
- 线程组
bijian1013
java多线程threadjava多线程线程组
有些程序包含了相当数量的线程。这时,如果按照线程的功能将他们分成不同的类别将很有用。
线程组可以用来同时对一组线程进行操作。
创建线程组:ThreadGroup g = new ThreadGroup(groupName);
&nbs
- top命令找到占用CPU最高的java线程
bijian1013
javalinuxtop
上次分析系统中占用CPU高的问题,得到一些使用Java自身调试工具的经验,与大家分享。 (1)使用top命令找出占用cpu最高的JAVA进程PID:28174 (2)如下命令找出占用cpu最高的线程
top -Hp 28174 -d 1 -n 1
32694 root 20 0 3249m 2.0g 11m S 2 6.4 3:31.12 java
- 【持久化框架MyBatis3四】MyBatis3一对一关联查询
bit1129
Mybatis3
当两个实体具有1对1的对应关系时,可以使用One-To-One的进行映射关联查询
One-To-One示例数据
以学生表Student和地址信息表为例,每个学生都有都有1个唯一的地址(现实中,这种对应关系是不合适的,因为人和地址是多对一的关系),这里只是演示目的
学生表
CREATE TABLE STUDENTS
(
- C/C++图片或文件的读写
bitcarter
写图片
先看代码:
/*strTmpResult是文件或图片字符串
* filePath文件需要写入的地址或路径
*/
int writeFile(std::string &strTmpResult,std::string &filePath)
{
int i,len = strTmpResult.length();
unsigned cha
- nginx自定义指定加载配置
ronin47
进入 /usr/local/nginx/conf/include 目录,创建 nginx.node.conf 文件,在里面输入如下代码:
upstream nodejs {
server 127.0.0.1:3000;
#server 127.0.0.1:3001;
keepalive 64;
}
server {
liste
- java-71-数值的整数次方.实现函数double Power(double base, int exponent),求base的exponent次方
bylijinnan
double
public class Power {
/**
*Q71-数值的整数次方
*实现函数double Power(double base, int exponent),求base的exponent次方。不需要考虑溢出。
*/
private static boolean InvalidInput=false;
public static void main(
- Android四大组件的理解
Cb123456
android四大组件的理解
分享一下,今天在Android开发文档-开发者指南中看到的:
App components are the essential building blocks of an Android
- [宇宙与计算]涡旋场计算与拓扑分析
comsci
计算
怎么阐述我这个理论呢? 。。。。。。。。。
首先: 宇宙是一个非线性的拓扑结构与涡旋轨道时空的统一体。。。。
我们要在宇宙中寻找到一个适合人类居住的行星,时间非常重要,早一个刻度和晚一个刻度,这颗行星的
- 同一个Tomcat不同Web应用之间共享会话Session
cwqcwqmax9
session
实现两个WEB之间通过session 共享数据
查看tomcat 关于 HTTP Connector 中有个emptySessionPath 其解释如下:
If set to true, all paths for session cookies will be set to /. This can be useful for portlet specification impleme
- springmvc Spring3 MVC,ajax,乱码
dashuaifu
springjquerymvcAjax
springmvc Spring3 MVC @ResponseBody返回,jquery ajax调用中文乱码问题解决
Spring3.0 MVC @ResponseBody 的作用是把返回值直接写到HTTP response body里。具体实现AnnotationMethodHandlerAdapter类handleResponseBody方法,具体实
- 搭建WAMP环境
dcj3sjt126com
wamp
这里先解释一下WAMP是什么意思。W:windows,A:Apache,M:MYSQL,P:PHP。也就是说本文说明的是在windows系统下搭建以apache做服务器、MYSQL为数据库的PHP开发环境。
工欲善其事,必须先利其器。因为笔者的系统是WinXP,所以下文指的系统均为此系统。笔者所使用的Apache版本为apache_2.2.11-
- yii2 使用raw http request
dcj3sjt126com
http
Parses a raw HTTP request using yii\helpers\Json::decode()
To enable parsing for JSON requests you can configure yii\web\Request::$parsers using this class:
'request' =&g
- Quartz-1.8.6 理论部分
eksliang
quartz
转载请出自出处:http://eksliang.iteye.com/blog/2207691 一.概述
基于Quartz-1.8.6进行学习,因为Quartz2.0以后的API发生的非常大的变化,统一采用了build模式进行构建;
什么是quartz?
答:简单的说他是一个开源的java作业调度框架,为在 Java 应用程序中进行作业调度提供了简单却强大的机制。并且还能和Sp
- 什么是POJO?
gupeng_ie
javaPOJO框架Hibernate
POJO--Plain Old Java Objects(简单的java对象)
POJO是一个简单的、正规Java对象,它不包含业务逻辑处理或持久化逻辑等,也不是JavaBean、EntityBean等,不具有任何特殊角色和不继承或不实现任何其它Java框架的类或接口。
POJO对象有时也被称为Data对象,大量应用于表现现实中的对象。如果项目中使用了Hiber
- jQuery网站顶部定时折叠广告
ini
JavaScripthtmljqueryWebcss
效果体验:http://hovertree.com/texiao/jquery/4.htmHTML文件代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网页顶部定时收起广告jQuery特效 - HoverTree<
- Spring boot内嵌的tomcat启动失败
kane_xie
spring boot
根据这篇guide创建了一个简单的spring boot应用,能运行且成功的访问。但移植到现有项目(基于hbase)中的时候,却报出以下错误:
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.Lif
- leetcode: sort list
michelle_0916
Algorithmlinked listsort
Sort a linked list in O(n log n) time using constant space complexity.
====analysis=======
mergeSort for singly-linked list
====code======= /**
* Definition for sin
- nginx的安装与配置,中途遇到问题的解决
qifeifei
nginx
我使用的是ubuntu13.04系统,在安装nginx的时候遇到如下几个问题,然后找思路解决的,nginx 的下载与安装
wget http://nginx.org/download/nginx-1.0.11.tar.gz
tar zxvf nginx-1.0.11.tar.gz
./configure
make
make install
安装的时候出现
- 用枚举来处理java自定义异常
tcrct
javaenumexception
在系统开发过程中,总少不免要自己处理一些异常信息,然后将异常信息变成友好的提示返回到客户端的这样一个过程,之前都是new一个自定义的异常,当然这个所谓的自定义异常也是继承RuntimeException的,但这样往往会造成异常信息说明不一致的情况,所以就想到了用枚举来解决的办法。
1,先创建一个接口,里面有两个方法,一个是getCode, 一个是getMessage
public
- erlang supervisor分析
wudixiaotie
erlang
当我们给supervisor指定需要创建的子进程的时候,会指定M,F,A,如果是simple_one_for_one的策略的话,启动子进程的方式是supervisor:start_child(SupName, OtherArgs),这种方式可以根据调用者的需求传不同的参数给需要启动的子进程的方法。和最初的参数合并成一个数组,A ++ OtherArgs。那么这个时候就有个问题了,既然参数不一致,那