- “史家笔法”
琴韵无声
学《曹刿论战》,谈到了“史家笔法”。问学生们“史家笔法”的特点,没一名学生回答出来。一场大战,从固守到反攻胜利,描述的语言中,居然没有一个形容词,全是名词、动词、代词。对国王讲话,就这么干巴巴,唯一可能流露感情的只有一个感叹词:矣。《春秋》作为国史,对人物的肯定或者否定,是不能从文字上直接显露出来的。史家的原则是秉笔直书,忠于史实,“寓褒贬”于字里行间。写史人为尊者讳,为亲者讳,为贤者讳,每用一字
- 英语笔记--词悬浮笔记
幸运的numen
法则1:学习单词的深度(了解单词的内部逻辑)法则2:拓展单词的广度(前缀/后缀)法则3:复习单词的速度(思维导图)前缀:30个后缀:40个介词冠词连词感叹词名次动词形容词副词英语单词和中文从来不是一一对应东西:somethingdirectioncurse+lect(采集):e+lect字面含义:向外采集--采集出来引申含义:选出--选举,选修语境含义:被传出的--特殊人群,优越的,极好的elec
- 군요 군나感叹词
朕是暖男
●感叹句尾“네요”.表示感叹,這个女性用居多,語氣也較柔和基本结构为:动词、形容词+네요补充--去“요”的话就成为非敬语예쁘다-->예쁘네요춥다-->춥네요맵다-->맵네요*如尾音是"ㄹ",則要刪去"ㄹ",再配"네요"멀다-->머네요例:이옷이예쁘네요.(這件衫好漂亮啊!)언니넘예쁘네.(姐姐很漂亮呢!)이식당김치전가맵네요.(这个餐厅的泡菜煎饼好辣啊!)*********************
- 昆明.雨季
默默mono
又是雨季,四年前的此时,每天从茭菱路淌着雨水,走过一二一大街,去云大,找小伙伴们组团准备面试。一路上有各种小锅米线,铜锅洋芋饭,还有十元三把的鲜花,十元四个的火龙果,不时听到“咩~~~”这样的感叹词,第一次在弟妹家小区听到时还曾疑惑,昆明的小区居然还能养羊???那一整月,几乎每天都在下雨,某个飘雨的十点夜晚,走到一个十字路口迷路了,看到路灯下有俩高挑的漂亮姑娘在聊天,过去问路,姑娘笑了:我们也找不
- 工资卡
乐尽天真
刚踏进办公室里,就听见讨论声。原来是财务负责人在微信工作群里发布了工资银行卡要变更的消息,请大家及时办理。工资卡已经换了好几次了,大家难免有情绪。一直沉默不语的海出声了,不管怎样换,工资每月照常开,我弟的工资才开到今年4月份。大家面面相觑,在嗯,哎,呀的语气感叹词中,结束讨论,进入工作状态了。前一段时间,朋友圈中流传一张截图。是人民日报发表的网友感悟:献给所有的企业人。其中有一句话,感触特深:公司
- 小院记忆
菜市场大侠
一百个人心中有一百个哈姆雷特,自然一百个人心中有一百个童年,而那份童真又是那么的难以忘怀。童年是一个拟声词,叽叽喳喳,欢笑无处不在;童年是一个感叹词,咿咿呀呀,惊喜星罗棋布;童年是一个动词,叮叮当当,活力自始至终;童年更是一个形容词,无忧无虑,生气勃勃,天真烂漫,美好终生难忘。依然清晰地记得那个两米的土墙,那是我家的西院墙,毛主席他老人家说过“人间正道是沧桑”,然而我们依旧钟情于“旁门左道,翻墙而
- 最近发生最糟糕的事情,她有离婚的想法。更糟糕的是她给自己挖了坟墓
鱼哥游荡
她的一句话使我大彻大悟,竟然说……你想好了以后和平离婚!伤心欲绝……我最近遇到最糟糕的事情。坐在车里望着天空,眼泪流躺了在脸颊,呼吸变得沉重,嘴角抖动。隐隐约约发出“我我我靠”感叹词。心脏每跳一下都在负重,她的冷言把血液凝固了,周围安静了起来。我双手支撑了一下方向盘帮助疼痛的心脏缓解,胳膊变得酸沉,无法打开车门。只能低下头趴着,这感觉是初恋女友离开时带给我的感受,没想到10年后又一次被女人所伤,男
- D035+3组葛胖+《写作这回事》
葛胖
你可以写,你该去写,而且你如果足够勇敢,已经开始写了,就要坚持写下去。写作跟其他艺术创作一样,是神奇的生命之水。这水免费,所以畅饮吧。这本书读到了尾声,读带走叙事情节的文章,我的速度就会很慢,再说这本书,读起来真的有趣,就是在作者论写作的技巧时,粗鲁的感叹词,有时候让我不太舒适。回到我一开始,对这本书的期待,写作这回事,到底是怎么一回事?写作这回事是兴趣,是折磨,是拷问,也是实现经济自由的事!作者
- 《诗经》193-2小雅•节南山之什•十月之交(2)
无色生香
《十月之交》是一首政治怨刺诗。日月告凶,不用其行。四国无政,不用其良。彼月而食,则维其常;此日而食,于何不臧。日食月食示凶兆,不再遵循寻常道。全因天下没善政,空有贤才却不用。往常月食也曾有,习以为常心不扰。现今日食又出现,这是多么不吉祥。告凶:预告凶险、灭亡的征兆。用:遵循。行:轨道,规律,法则。四国:泛指天下。良:贤良。则:犹。常:正常。于:读作“吁”,感叹词。于何:多么。臧:善。《诗经》是中国
- 做个不合格的妈妈实在太太太爽了啊
自律时光
【香知蜜读1272】2019/06/09星期日荐书蜜友:书童珊珊文:艾小羊我不是一个合格的妈妈,在女儿几个月的时候我就知道。中午我推着婴儿车出门,太阳很大很毒,我跟小美都戴了帽子,但小美的帽子戴不住,一戴上去她就自己抓下来。抓下来就抓下来吧,我还能咋办?昂首挺胸地走在小公园里。一个素不相识的老奶奶看到,说这个妈妈自己戴着帽子,给伢光着脑袋,这么大的太阳……她用方言说的,中间有许多感叹词,每个感叹词
- 《诗经》193-5小雅•节南山之什•十月之交(5)
无色生香
《十月之交》是一首怨刺诗。抑此皇父,岂曰不时?胡为我作,不即我谋?彻我墙屋,田卒污莱。曰予不戕,礼则然矣。叹息一声这皇父,难道真没违农时?为何调我去服役,不肯先与我商议?拆我墙来毁我屋,田被水淹终荒芜。还说不是我残暴,礼法本来就如此。抑:通“噫”,感叹词。不时:不按时,不合时,此处“时”主要指农时。我作:作我,役使我。彻:毁坏。卒:尽,都。污莱:田地荒芜。污,积水;莱,古指荒废或轮休的田地。戕:残
- 非物质文化遗产合集——当涂民歌
中言说非物质文化遗产
非物质文化遗产——当涂民歌当涂民歌是流行于皖东长江两岸的各类民歌的统称,安徽省马鞍山市地方传统音乐,国家级非物质文化遗产之一。当涂民歌是当涂人民智慧的结晶,是劳动人民口头创作、口头演唱、口耳相传的文化表现形式的典型代表,经过历代文化人的艺术加工后,更具有了高度的历史价值和文化价值、艺术价值,是不可多得的音乐和语言艺术珍品。为表情达意,当涂民歌还多用象声词、感叹词做衬垫,一些关键性的名词、形容词也有
- 学了韩语之后,我……初学韩语的你也会这样吗?
允贤Y
随着我们对韩语学习的深入,发现在自己在不知不觉间就染上了很多“小毛病”之前一段时间有这么一则话题很受热议“学韩语后你染上了什么毛病”看完大家的回答,感觉有人在窥探我的生活啊!快来看看你有没有中招吧~@a同学:现在我最常用的感叹词是아이구...@B同学:上英语课做发表(?),图片上是锦鲤,我想问大家是不是很漂亮,脱口而出beautiful죠?@小苹果:被吓到的时候脱口而出的是:"어머!깜짝이야!"@
- 西班牙语学习:你知道这些感叹词有什么区别吗?
小辣条给你吃
Segúneldiccionarioacadémico,lainterjecciónsepuedeescribircontresgrafíasdistintas,aunqueeslamisma:hala,ala,alá.根据学术字典,感叹词可以写成三种形式,尽管实际上是一样的:hala,ala,alá.Sudefinicióntienecuatrosignificados:它有四种含义:1.Usa
- 读《小学英语语法》
亮晶晶的prewan
这是一本在三月份读的书,当时读来,觉得有用的地方还是蛮多的。毕竟日常中所用的英语并不太深,一般有个概念即可,因此作读书笔记。首先从词类来分。英语词语可以分为十大词类,分别是名词、数词、冠词、介词、形容词、副词、连词、动词和感叹词(感叹词在书中没有写到,会额外补充)。首先看名词。1,名词名词就是表示人或物,地点、情感及抽象概念,又分为普通名词和专有名词。简单来说,专有名词一般都要求首字母大写,普通名
- 提谷狄
暖洋洋_2e28
暖洋洋词/七绝一盏孤灯惹所思,回眸引出感叹词。儿时无有多零食,好友相交提谷荻。亲们小时候干过这活的来点赞一下,[呲牙]看看有谁最后一句不押韵但是为了初衷也就不做修改了,图片发自App图片发自App图片发自App
- <基础>-02-日语单词的词性与分类
你好~
日语
日语单词,按照词性可以分为动词、一类形容词、二类形容词、名词、代词、数词、副词、连体词、连词、感叹词、助词和助动词,共十二类词。其中,这十二类词性又可以分为两类:独立词和附属词。独立词本身可以单独构成句节,并且可以用在句子开端,主要表示事物的词称为独立词;附属词单词本身不能单独构成句节,只有接在独立词后才具有一定的意思。并且经常接在独立词后面使用,主要对独立词进行补充叙述或增添某种意义的词称为附属
- 换行
阳羽
终于还是不能肯定自己还能写点什么,呼吸在这一刻是凝固的,写了删删了写,换行换行。对写失去了欲望,也就是说现在写的这些只是为了发泄,之所以絮絮叨叨,是因为如果不絮絮叨叨就真的什么都没有了。如果用啊这一感叹词造句,会是,这是一个多么空白的夜晚。真是的,脑中已失去了任何欲望,人这一思想的动物,在此刻却变得如同牲畜了,吃饱了却没有思。
- 英语语法概括——单词
花官
今天开始我要重温一下英语语法,从最基础的语法内容开始,做一些读书笔记。So,Let'sgetstarted.英语语法分为四个结构:单词、短语、句型、语法。我们从单词说起。一、单词单词分为八大词类:名词、代词、形容词、动词、副词、介词、连词、和感叹词。1)名词表示人、地、事、物等的词叫名词。名词分为可数名词和不可数名词。名词前要加冠词a/an,不可数名词前要加不定冠词the,例如:abook,ana
- 《教学镜头速记》
夜阑如风
今天在13班教学《岳阳楼记》最后一段,这是本文的重点和难点。理解了这一段的议论,才能真正懂得范仲淹在文中表达出的旷达胸襟和政治抱负。文段开头有一个“嗟夫”,结尾有一个“噫”。我带着孩子们在这里下了一点细读的功夫,也不知道对不对。两处都是感叹号但表达的情感是不是一样呢?应该怎么翻译,怎么朗读呢?不少学生课前都做了预习,知道“嗟夫”解释成“唉”,“噫”解释成“啊”,第一处感叹词作者对迁客骚人“以物喜,
- 说出你的故事:《故事演说力》培训后感
candy_411d
人间四月天,尽是燕呢喃。在这春光大好的四月天,我没有心思去听燕子嘀咕什么,而是一早飞奔南山金融科技大厦。因为在那里,有美女、有帅哥、有好听的故事、有精彩的培训在等着我。话说很多培训课的场景都是这样的,学员在台下正襟危坐,讲师在台上叱咤风云,然而定睛一看,台下哈欠连连、睡倒一片。在《故事演说力》的培训现场,我唯一的感受就是“时间都去哪儿啦”!一天干货满满的培训,可以概括为两个感叹词——“WOW!”和
- D75|每一次第一次都是一个新的自己
叁菇凉Pan
激动地将1元钱给到店老板,看着他从冰箱里拿出一个火炬冰棍。迫不及待地打开纸袋,咬一口,巧克力和奶油融化在口中,混合的口感刚刚好,透心凉。“真好吃!”这是脑袋里唯一的感叹词!--这是第一次吃火炬冰淇淋。闷热的下午,头顶的电风扇呼呼咆哮着。同桌碰碰我胳膊,用一脸八卦的眼神看了一眼我的课桌抽屉:“刚才有人在你抽屉里放了个东西。”拿出来一看,是一个白色信封,里面工整得放了一张信纸(信纸是淡蓝色的花边,底图
- 俄语-词的种类
种花家一份子
俄语,他的词类有三个大类:实词、虚词、感叹词(不实不虚)。实词:名词、形容词、代词、副词、数词、动词。虚词:前置词、连接词、语气词。感叹词。俄语词的构成。俄语的词通常由前缀、词根、后缀、词尾。前缀:位于词的最前面。等同于给词的前面加上前置词一样。词根:词的核心部分,表示这个词的基本意思和思想。后缀:位于词根之后,词尾之前的词素。通常是为了发音好听或者是顺畅。词尾:位于后缀之后,表示词的某种语法意义
- 20200228/奇思妙语/嗯哦
行者葉
感谢关注的我,简单的书写生活随笔,百味人生,奇思妙语,有你有我,谢谢!1,交流的本质是沟通,沟通没有结果也就意味着交流没有意义。2,感叹词可以增加你的语气也可展现你的态度,对话不仅是双向的,也是平等的。3,宁缺勿滥的标准就是把心中的精英选出来,而一枝独秀的恩爱,往往参杂许多客观原因。4,你用柔情蜜意填补我空洞内心的虚空,没有准备的灵感,写下了我内心波动的感觉。5,耳旁嘘嘘的叮咛声,让我原本不平静的
- 20221121_1岁5个月的可可
Light_bed
1.可可昨天可以扶着墙,往上走两个台阶。本来在手脚并用,到三楼台阶处,突然就开始扶墙自己走,很出乎意料;2.有点心疼可可,有时她咬我或者打我一下,她就要自己拍一下自己脑袋。我不知道这个动作意味着什么,就自我理解为她在觉得自己的行为有错,在惩罚自己。有点小担心。3.现在可可会的词汇:爸爸,妈妈,爷爷,奶奶,姐姐,妹妹,弟弟,阿姨(有时候更像是感叹词),宝贝,背背,袜袜,哎呀(尤其是她推开厕所的门,看
- 重庆,再见!跌宕起伏的人生呐!
海绵星星的灯
哎!一看这个充满悲伤的感叹词就知道我又有经历了一次绝望!时间匆忙,让我来不及和“梦想”好好说说话!图片发自App“怎么办?!冰叔没有看见我的书封面!”我慌忙地走到左边的出口处对邱锅说到,当时感觉眼中整个世界都是模糊的!找不到邱锅,找不到任何人,只能回头看着冰叔,我急忙向站在左侧的书店人员求助,我拿起书,展开并指着封面对一个短头发的姐姐哀求到:“姐姐,您可不可以帮我给冰叔说一下叫他看一眼我的封面!”
- 10-09
小谢小谢爱吃螃蟹
每天都是新的一天。今天学了很多知识。Koc:英文全名程(KeyOpinionConsumer),指关键意见消费者。Kol:英文全名程(KeyOpinionLeader),指关键意见领袖者。画龙点睛:1.定位人群(通过身份标签增加代入感)。3.解释说明,增加说服力。4.补充亮点。5.赠送福利,附|赠|含前缀:感叹词:重磅、突发、爆料、颠覆。注意:控制比例、不要标题党。公众号排版技巧:排版让文章清晰整
- 歌中人 曲中意
发光的金豆
每当听到动听的歌,都会感叹词曲作者的才华横溢,歌曲更是百听不厌。一首好的歌曲,不仅洋洋盈耳,更能唱进人的心里,唤醒心底最深处的记忆。刚才无意中看到一段描述歌曲动听的话,把情景意都很绝妙的呈现出来了。写歌的人用了脑,唱歌的人用了心,听歌的人用了情,有故事的人流了泪。不怕音乐太好听,就怕歌曲入了心。初闻不识曲中意,再闻已是曲中人,既然已成曲中人,何必再听曲中曲。曲中轻忆梦中人,梦醒时分叹红尘,曲终人散
- 语言的起源与种类
小林杏奈
孩子说话是爸爸妈妈教的,爸爸妈妈说话是爸爸妈妈的爸爸妈妈教的“那么最早的原始人说话又是谁教的呢?这是个古老的语言学难题,科学家把它叫做语言的起源”问题。语言的起源和人类的起源一样久远。可是,人类用书面记录的语言材料只有几千年,在这之前上万年的语言情况我们几乎一点儿也不知道。所以至今所有关于语言起源的解释,都不过是一种假设。有人提出“感叹说”,认为语言起源于表达感情的感叹词有人提出“劳动喊声说”,认
- 凤鸟不至
月儿明_0311
【原文】子曰:“凤鸟(1)不至(2),河不出图(3),吾(4)已矣(5)乎(6)!”(《论语·子罕第九》)【注释】(1)凤鸟:天上的灵鸟。舜帝在位时凤凰飞来,周文王时鸣叫于岐山。(2)至:到来。(3)图:河图。远古时代伏羲氏看见河中的神兽龙马背负着河图出黄河,并根据此图画出了八卦。和凤鸟的出现一样,都是象征当时有圣王在世的祥瑞之兆。(4)吾:我。(5)已矣:停止。无法再继续。(6)乎:啊。感叹词。
- html
周华华
html
js
1,数组的排列
var arr=[1,4,234,43,52,];
for(var x=0;x<arr.length;x++){
for(var y=x-1;y<arr.length;y++){
if(arr[x]<arr[y]){
&
- 【Struts2 四】Struts2拦截器
bit1129
struts2拦截器
Struts2框架是基于拦截器实现的,可以对某个Action进行拦截,然后某些逻辑处理,拦截器相当于AOP里面的环绕通知,即在Action方法的执行之前和之后根据需要添加相应的逻辑。事实上,即使struts.xml没有任何关于拦截器的配置,Struts2也会为我们添加一组默认的拦截器,最常见的是,请求参数自动绑定到Action对应的字段上。
Struts2中自定义拦截器的步骤是:
- make:cc 命令未找到解决方法
daizj
linux命令未知make cc
安装rz sz程序时,报下面错误:
[root@slave2 src]# make posix
cc -O -DPOSIX -DMD=2 rz.c -o rz
make: cc:命令未找到
make: *** [posix] 错误 127
系统:centos 6.6
环境:虚拟机
错误原因:系统未安装gcc,这个是由于在安
- Oracle之Job应用
周凡杨
oracle job
最近写服务,服务上线后,需要写一个定时执行的SQL脚本,清理并更新数据库表里的数据,应用到了Oracle 的 Job的相关知识。在此总结一下。
一:查看相关job信息
1、相关视图
dba_jobs
all_jobs
user_jobs
dba_jobs_running 包含正在运行
- 多线程机制
朱辉辉33
多线程
转至http://blog.csdn.net/lj70024/archive/2010/04/06/5455790.aspx
程序、进程和线程:
程序是一段静态的代码,它是应用程序执行的蓝本。进程是程序的一次动态执行过程,它对应了从代码加载、执行至执行完毕的一个完整过程,这个过程也是进程本身从产生、发展至消亡的过程。线程是比进程更小的单位,一个进程执行过程中可以产生多个线程,每个线程有自身的
- web报表工具FineReport使用中遇到的常见报错及解决办法(一)
老A不折腾
web报表finereportjava报表报表工具
FineReport使用中遇到的常见报错及解决办法(一)
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、address pool is full:
含义:地址池满,连接数超过并发数上
- mysql rpm安装后没有my.cnf
林鹤霄
没有my.cnf
Linux下用rpm包安装的MySQL是不会安装/etc/my.cnf文件的,
至于为什么没有这个文件而MySQL却也能正常启动和作用,在这儿有两个说法,
第一种说法,my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动,
第二种说法,MySQL在启动时自动使用/usr/share/mysql目录下的my-medium.cnf文件,这种说法仅限于r
- Kindle Fire HDX root并安装谷歌服务框架之后仍无法登陆谷歌账号的问题
aigo
root
原文:http://kindlefireforkid.com/how-to-setup-a-google-account-on-amazon-fire-tablet/
Step 4: Run ADB command from your PC
On the PC, you need install Amazon Fire ADB driver and instal
- javascript 中var提升的典型实例
alxw4616
JavaScript
// 刚刚在书上看到的一个小问题,很有意思.大家一起思考下吧
myname = 'global';
var fn = function () {
console.log(myname); // undefined
var myname = 'local';
console.log(myname); // local
};
fn()
// 上述代码实际上等同于以下代码
m
- 定时器和获取时间的使用
百合不是茶
时间的转换定时器
定时器:定时创建任务在游戏设计的时候用的比较多
Timer();定时器
TImerTask();Timer的子类 由 Timer 安排为一次执行或重复执行的任务。
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定
- JDK1.5 Queue
bijian1013
javathreadjava多线程Queue
JDK1.5 Queue
LinkedList:
LinkedList不是同步的。如果多个线程同时访问列表,而其中至少一个线程从结构上修改了该列表,则它必须 保持外部同步。(结构修改指添加或删除一个或多个元素的任何操作;仅设置元素的值不是结构修改。)这一般通过对自然封装该列表的对象进行同步操作来完成。如果不存在这样的对象,则应该使用 Collections.synchronizedList 方
- http认证原理和https
bijian1013
httphttps
一.基础介绍
在URL前加https://前缀表明是用SSL加密的。 你的电脑与服务器之间收发的信息传输将更加安全。
Web服务器启用SSL需要获得一个服务器证书并将该证书与要使用SSL的服务器绑定。
http和https使用的是完全不同的连接方式,用的端口也不一样,前者是80,后
- 【Java范型五】范型继承
bit1129
java
定义如下一个抽象的范型类,其中定义了两个范型参数,T1,T2
package com.tom.lang.generics;
public abstract class SuperGenerics<T1, T2> {
private T1 t1;
private T2 t2;
public abstract void doIt(T
- 【Nginx六】nginx.conf常用指令(Directive)
bit1129
Directive
1. worker_processes 8;
表示Nginx将启动8个工作者进程,通过ps -ef|grep nginx,会发现有8个Nginx Worker Process在运行
nobody 53879 118449 0 Apr22 ? 00:26:15 nginx: worker process
- lua 遍历Header头部
ronin47
lua header 遍历
local headers = ngx.req.get_headers()
ngx.say("headers begin", "<br/>")
ngx.say("Host : ", he
- java-32.通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小(两数组的差最小)。
bylijinnan
java
import java.util.Arrays;
public class MinSumASumB {
/**
* Q32.有两个序列a,b,大小都为n,序列元素的值任意整数,无序.
*
* 要求:通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小。
* 例如:
* int[] a = {100,99,98,1,2,3
- redis
开窍的石头
redis
在redis的redis.conf配置文件中找到# requirepass foobared
把它替换成requirepass 12356789 后边的12356789就是你的密码
打开redis客户端输入config get requirepass
返回
redis 127.0.0.1:6379> config get requirepass
1) "require
- [JAVA图像与图形]现有的GPU架构支持JAVA语言吗?
comsci
java语言
无论是opengl还是cuda,都是建立在C语言体系架构基础上的,在未来,图像图形处理业务快速发展,相关领域市场不断扩大的情况下,我们JAVA语言系统怎么从这么庞大,且还在不断扩大的市场上分到一块蛋糕,是值得每个JAVAER认真思考和行动的事情
- 安装ubuntu14.04登录后花屏了怎么办
cuiyadll
ubuntu
这个情况,一般属于显卡驱动问题。
可以先尝试安装显卡的官方闭源驱动。
按键盘三个键:CTRL + ALT + F1
进入终端,输入用户名和密码登录终端:
安装amd的显卡驱动
sudo
apt-get
install
fglrx
安装nvidia显卡驱动
sudo
ap
- SSL 与 数字证书 的基本概念和工作原理
darrenzhu
加密ssl证书密钥签名
SSL 与 数字证书 的基本概念和工作原理
http://www.linuxde.net/2012/03/8301.html
SSL握手协议的目的是或最终结果是让客户端和服务器拥有一个共同的密钥,握手协议本身是基于非对称加密机制的,之后就使用共同的密钥基于对称加密机制进行信息交换。
http://www.ibm.com/developerworks/cn/webspher
- Ubuntu设置ip的步骤
dcj3sjt126com
ubuntu
在单位的一台机器完全装了Ubuntu Server,但回家只能在XP上VM一个,装的时候网卡是DHCP的,用ifconfig查了一下ip是192.168.92.128,可以ping通。
转载不是错:
Ubuntu命令行修改网络配置方法
/etc/network/interfaces打开后里面可设置DHCP或手动设置静态ip。前面auto eth0,让网卡开机自动挂载.
1. 以D
- php包管理工具推荐
dcj3sjt126com
PHPComposer
http://www.phpcomposer.com/
Composer是 PHP 用来管理依赖(dependency)关系的工具。你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer 会帮你安装这些依赖的库文件。
中文文档
入门指南
下载
安装包列表
Composer 中国镜像
- Gson使用四(TypeAdapter)
eksliang
jsongsonGson自定义转换器gsonTypeAdapter
转载请出自出处:http://eksliang.iteye.com/blog/2175595 一.概述
Gson的TypeAapter可以理解成自定义序列化和返序列化 二、应用场景举例
例如我们通常去注册时(那些外国网站),会让我们输入firstName,lastName,但是转到我们都
- JQM控件之Navbar和Tabs
gundumw100
htmlxmlcss
在JQM中使用导航栏Navbar是简单的。
只需要将data-role="navbar"赋给div即可:
<div data-role="navbar">
<ul>
<li><a href="#" class="ui-btn-active&qu
- 利用归并排序算法对大文件进行排序
iwindyforest
java归并排序大文件分治法Merge sort
归并排序算法介绍,请参照Wikipeida
zh.wikipedia.org/wiki/%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F
基本思想:
大文件分割成行数相等的两个子文件,递归(归并排序)两个子文件,直到递归到分割成的子文件低于限制行数
低于限制行数的子文件直接排序
两个排序好的子文件归并到父文件
直到最后所有排序好的父文件归并到输入
- iOS UIWebView URL拦截
啸笑天
UIWebView
本文译者:candeladiao,原文:URL filtering for UIWebView on the iPhone说明:译者在做app开发时,因为页面的javascript文件比较大导致加载速度很慢,所以想把javascript文件打包在app里,当UIWebView需要加载该脚本时就从app本地读取,但UIWebView并不支持加载本地资源。最后从下文中找到了解决方法,第一次翻译,难免有
- 索引的碎片整理SQL语句
macroli
sql
SET NOCOUNT ON
DECLARE @tablename VARCHAR (128)
DECLARE @execstr VARCHAR (255)
DECLARE @objectid INT
DECLARE @indexid INT
DECLARE @frag DECIMAL
DECLARE @maxfrag DECIMAL
--设置最大允许的碎片数量,超过则对索引进行碎片
- Angularjs同步操作http请求with $promise
qiaolevip
每天进步一点点学习永无止境AngularJS纵观千象
// Define a factory
app.factory('profilePromise', ['$q', 'AccountService', function($q, AccountService) {
var deferred = $q.defer();
AccountService.getProfile().then(function(res) {
- hibernate联合查询问题
sxj19881213
sqlHibernateHQL联合查询
最近在用hibernate做项目,遇到了联合查询的问题,以及联合查询中的N+1问题。
针对无外键关联的联合查询,我做了HQL和SQL的实验,希望能帮助到大家。(我使用的版本是hibernate3.3.2)
1 几个常识:
(1)hql中的几种join查询,只有在外键关联、并且作了相应配置时才能使用。
(2)hql的默认查询策略,在进行联合查询时,会产
- struts2.xml
wuai
struts
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache