- 虚张声势
六月荷清香
绵绵密密的细雨不间断地下个不停,给这初冬的天气添了几份清冷和寂寥。午后的菜市场内没有一个顾客光顾,几个分肉的屠户望着案板上那些没有分完的肉,还在期待着来一个主顾将它们一起买走。贩卖小菜的女人一边漫不经心地择着菜,一边不时打个哈欠,这样的时光正是好睡觉的时候,可是一天的工作没有完成,还是要坚守岗位。喜欢开玩笑的屠户不时说几句黄段子,调侃着胖胖的卖鸡老板娘,大家说说笑笑着以打发这无聊的时光。张屠户打了
- 2022-02-15
百味人生摆渡人
习惯她和他在谈恋时,就吵架,有时吵的还很厉害,不像其他恋人,恋爱期间有说不完的情话,享受不尽的温情,珍惜在一块的每一分每一秒。分手也分了无数次,不知怎的,就是没有分开。不见面时,特想见面,见了面时,说不了几句,又就开始吵,吵的次数多了,连他们自己也说不清值不值得吵,为什么吵。她妈妈说,这孩子从小就性格倔强。他爸爸说,这孩子从小就性格固执。想想其实也没什么大事。为吃什么吵为穿什么吵为说什么吵……日子
- 2021-07-26
前方的前方
做最好的自己说起来挺可笑的,在很久久以前,我给自己做过很多很多的承诺。这个承诺就是,做最好的自己。但是,怎样去做,才能成为最好的自己,心中从来没有建立起一个清晰的概念。随着时间的流逝,慢慢的感觉到感觉到这个承诺离自己好象越来越远,那个心中最好的自己,一点一点的开始变的模糊起来。直到有一天,在给儿子打电话的时候,说给儿子的几句话,突然让我感觉到,随着时光无声划过,很多东西,已慢慢的成为了光荫的故事。
- 毕业论文附录一般都写什么?大学生写论文是干嘛用的
写个原创论文
人工智能深度学习AI写作chatgpt论文阅读
毕业论文的附录通常包含一些在正文中不便于展示或详细阐述的内容,但对理解论文整体又具有重要意义的资料。具体来说,附录可能包含以下内容:AI论文,免费大纲,10分钟3万字,查重高于15%退费,支持数据图表!!AIPaperPass-AI论文写作指导平台AIPaperPass是AI原创论文写作平台,免费千字大纲,5分钟生成3万字初稿,提供答辩汇报ppt、开题报告、任务书等,40篇真实中英文知网参考文献,
- 2023思想日记-1
心颐
22年底被朱晓平老师种草,被他对每一个人的那份耐心所打动。每天早晨听他的直播,结尾读一首小诗,唱几句。满满的能量补给,又燃起了对生活的热情与希望。很幸运年末直播间抽奖时,中了一本他的签名书《青少年品格必修课》。这也是我第一次在直播间中奖。且在新年的第一天元旦节收到!迫不及待打开,老师在上面写了“舍得”并附上签名。心情或许就像那些追星的粉丝一样,得到偶像的签名莫名欣喜!每当在工作或生活中遇到难题时,
- 每日几句:十月的最后一天(2021年10月31日)
辛苦快乐
这是一个欢快的十月,我们共同度过了阳光明媚的黄金周。这又是一个低沉的十月,我们遭遇了德尔塔的突然袭击。十月将过,病毒的幽灵尚未散去,城市那么安静,人们大都宅在家里,街上的商铺闭门歇业,微信圈里全是有关疫情的信息,想吃的牛肉面暂时无法吃到。就这样,与时间为伴,与生活为伴,也与时间赛跑,与病毒较量。期待着,一切归于常态,迎来阳光明媚如初。
- 《与爱逆行》二十九
阿依迪
二十九蝴蝶理论喜迎奥运的热浪催开了2008年春天火红的花朵。Z大奥运开幕式入场式引导员的选拔也进入了白热化阶段,向天已经冲进了前四,离全国集训只有一步之遥了。她忙得更是见不到人影了。我没事的时候就到她宿舍楼下舍管大妈的小屋门口坐等,这样向天经过的时候,可以和她说上几句话。这天晚上,舍管大妈递给我一个饭盒:“你是等向天的吧,我该换班了,她回来的时候你把这个交给她吧。”打开看里面是饺子,心想向天人缘真
- 无休止唠叨让孩子伤害更大—冯琴
莫123123
——读《做成功妈妈》分享在生活中,许多父母往往寄予自己的孩子过高的期望,总希望孩子处处听话,事事遂心。所以,一见到孩子就忍不住提醒几句,劝说几句,指点孩子的不足,经常性的重复说教便成了唠叨。唠叨孩子不要丢三落四,指责孩子犯错太多,抱怨孩子不争气等,这些让孩子不爱听的话很容易激起他的逆反心理。唠叨得多了,孩子大了就会夺门而出。唠叨往往是跟指责、批评、报怨联系在一起的,有时甚至讽刺挖苦,让孩子感到厌烦
- prometheus中step或resolution的含义
iceman1952
prometheus
prometheus官方文档对resolution的解释真是语焉不详,只有下面寥寥几句话Queryingexamples|PrometheusSubqueryReturnthe5-minuterateofthehttp_requests_totalmetricforthepast30minutes,witharesolutionof1minute.rate(http_requests_total[
- 让一个男人崩溃到底有多容易?
糖墩儿_
帝都,夜已深,4个许久未见面的90后男人,在一个僻静的小餐馆,喝酒聊天。聊着聊着,有人怒发冲冠,一连干了好几杯;有人表情管理已经失去控制,想大哭一场;有人躲到角落接了个电话,一脸无奈地想要离开;有人全程只说了简短的几句话,瞬间震惊全场。他们身上究竟发生了什么呢?往下看1.秃然:英年早秃,经常加班,很凶的那种。我的领导不到下班点,不组织开会,开完会事儿也接二连三地来了,不加班活儿就干不完。一周5个方
- 岐路,还能回头吗?
奋发_09ba
昨晚小奋与女儿视频通话,女儿4岁机灵可爱,非常的聪明。小奋心中始终能够肯定小姑娘长大一定很有出息,与女儿视频完以后,小奋与前妻婉婷语音聊了几句。希望婉婷能够带着女儿过来玩两天。小奋的邀请婉婷拒绝了,而且婉婷看起来非常的生气,小奋看到了婉婷满满的不满和怨言。小奋心中知道,自己没有婉婷说的那种想法,但又无法辩驳,因为这一切都是小奋造成的。称呼婉婷前妻小奋觉得似乎有些不恰当,虽然两个人已经离婚,但小奋没
- 如何看待害死猫的好奇心
咸淡两由之
西方社会有一句谚语,好奇心害死猫。据说,西方传说中猫有九条命,怎么都不会死去,而最后恰恰是死于自己的好奇心,可见好奇心有时候是多么的可怕!好奇心害死猫其实呢,并非是真的讲就是好奇心把猫杀死了,而是说好奇心是可能会使自己丧命的!在实际的用法当中一般也并没有丧命那么严重,但起码是在告诫人们对任何实物保持好奇心都要有一定的限度,否则就会有潜在的危险。然而,现实生活中,要想有进步,就要勇于创新,要想有创新
- qdwqdwqw
二进制掌控者
c++
作者主页:作者主页本篇博客专栏:C++创作时间:2024年6月20日最后:十分感谢你可以耐着性子把它读完和我可以坚持写到这里,送几句话,对你,也对我:1.一个冷知识:屏蔽力是一个人最顶级的能力,任何消耗你的人和事,多看一眼都是你的不对。2.你不用变得很外向,内向挺好的,但需要你发言的时候,一定要勇敢。正所谓:君子可内敛不可懦弱,面不公可起而论之。3.成年人的世界,只筛选,不教育。4.自律不是6点起
- 关于癸酉本红楼梦我们还能说些什么?
超甜吖
看到好多人还在研究石头记的作者和成书年代,那我就来说几句吧。石头记这一底稿必定成书于明朝,但是经过多人的润色。“曹雪芹”很可能是最后一个也是最出色的润色者。首先,正文第一回的,甲戌眉批(甲辰夹批)写到:【写出南直召祸之实病】。南直,即南直隶,是明代的行政区域划分的名称,应天府直属。清朝改为了江南省,不可能还称呼“南直”。第二,元春入宫选秀,最开始做的是女官,即凤藻宫尚书。女官制度沿袭到明朝,清朝没
- 《爱心与教育》金句摘抄(一)
教育行走林
最近在看李镇西老师的《爱心与教育》,感觉有很多需要摘抄的经典教育“金句”,今天和大家分享几句:1缺乏爱的教育,是伪教育,它用爱取代一切,也不可能有真正的教育。教师还要有职业精神,要有民主与平等的现代意识,要有渊博的学科素养和厚重的文化底蕴,一句话,要有不可替代的专业能力。2教育之爱应该是充满民主精神的爱,民主的核心是对人的尊重。因此,充满民主的爱同样意味着尊重。尊重学生的人,尊重学生的情感,尊重学
- 过年
听月_
都说过年很重要,我看也没那么重要。几声鞭炮,几句过年好,年,就过去了。也只不过是形式上的美罢了谁不愿意在震聋了耳的鞭炮声中图清静一顿年夜饭,几通电话就是年重要的是感情,其实,还有思念其实说这些又有什么用重要的只不过是个“年”字儿
- 晨间日记
哈哈哈哈_aa9d
昨天下午下午单位里又检查了。主任向我要几乎没有一点使用价值的作业,我反驳了她几句,现在想想真的是我自己话多,领导的标准自然是我们这些普通人不能反驳的。当时的自己应该沉默……何必较真。
- 在写作时遇到瓶颈期怎么办?
一鸣0202
写作初期,经常会遇到所谓的瓶颈,比如,找不到话题,不知道写什么;有时好不容易有了灵感,兴冲冲地拿起笔来些,可开头写了几句没话说了;再有甚者,写完了打算发出去的时候,却又迟疑起来:万一写不好人家笑话怎么办?这也完全是我刚开始写作时候的状态。每当出现这种情况时,我总是去翻翻书,或者自己的读书笔记,也或者起身和别人聊天。但最管用的办法是打开别人的作品,认真研读——是研读,不是泛读!说说方法,也许对你有所
- 先努力优秀,再大方拥有
关关谈写作
文/关关图/网络今日吃中午饭,老姑父与我谈起结婚对象的事儿。老姑父问,:“二,你是想找什么条件呢,我给你参谋参谋。”我不说话。老姑父紧接着说:“首先得看人品,其次是房子,工作。”我还是不说话。老姑父接着说:“你今年26了,不敢挑了,过了今年就是别人挑你了。”老姑父最后又说了几句话让我深思。1.如果这个男生人品可以,正式工作,有房子,那他要求的结婚对象会是什么呢?会看上你吗?2.如果这个男生有房子车
- 女人难,为人儿媳难上难。
素墨无痕
下楼去提个货,商场收货的师傅况师他的老婆大着嗓门叨叨。听了几句,大意是况师的老妈,她的婆婆,有点轻微的老年痴呆。生活呢几乎能自理,偶尔犯糊涂。况嫂一天也是天天与况师一起收货发货,大件小件的搬,现在有了腰椎间盘突出,况师去年也是腰筋劳损,几乎太重的拿不动了。生活也是蛮艰辛的。况嫂说回去不管怎么累,都要经理婆婆有没有吃饭,衣裤有没有脏,脏了就给她换干净的,这样侍候很久了。我想白天要工作赚钱,一时疏忽还
- 正视差异,接受现实
鄢中堡
一句有钱有什么了不起,似乎抹平了差距,去掉了钱这个竞争维度。再几句XX了不起,就去掉了更多维度,最后变成了,你虽然如何如何,但是在某方面是不如我的。这句话的逻辑底层,是想证明自己和别人一样好,甚至自己在某方面更好。最后妥妥的自我安慰,避免陷入了认知失调,也失去了进步的可能。成长就是从正视这些差异,接受自己和别人有差距的现实开始的。不抱怨,不找借口,真正的看见别人的好,去思考别人为何会和自己有差距。
- 明日惊蛰
素面lhw
今天学生表现异常,正心生奇怪,一翻日历,原来明日惊蛰,瞬间恍然大悟,找到了答案。今天带学生外出参观,我们班学生一向以安静著称,什么时候班里都一片寂静,鸦雀无声。所以今天出去我也就简单嘱咐了几句,没想到孩子们仿佛得了话唠,三个一群,五个一堆儿,总想凑在一起聊。连走路都走不成两路了,一堆儿一堆儿地走,总在提醒,也不见效。但在外面也不好对他们嚷嚷,所以也就多提醒几次。参加活动过程中孩子们表现还是不错,一
- 会当凌绝顶,一览众山小。
AUSKING黄东启
昨天从外面回来,正好看到一个停车位,但上面停了几辆小黄车,我把车停在路边,正准备去把那几辆自行车挪走,迎面开来一辆车,马上冲到那几辆自行车前,下来一个女孩,就要去搬那自行车,我心里有点别扭,问了一句,你是想停这里吗?那女孩连看都没看我,大模大样的说,对啊。我心里有点搓火,但忍住了,我说,好吧,你停吧。我去找了另一个车位。这要在以前,我可能就会理论几句,如果对方还嘴,我可能就会骂了,一点教养没有!朋
- 一切都是来检测自己的定力!
亲爱的蓉儿
人来这个世间,所有的一切,都是看自己当下的这一念,能否去接纳和包容,如果容不了别人的几句不好听的话,就说明自己的心不够大,同时真正有点成就的人根本就没有时间去关注你,会说你的人就是不如你的人,才会有这么多时间去诋毁你!同时时间这么宝贵,还有太多事没有完成,哪有那么时间浪费在没必要的事上!祝福你我心如浩瀚宇宙一般,可以承载一切,包容万物,此生才不悔矣!图片发自App图片发自App图片发自App
- 老无所依
默浅儿
寒露一过,天黑的更早了。等到多数人吃过晚饭出门散步时,天几乎已经黑透了。退休前在医院做护士长的张建芳,自从退休以后,多数人便称她张大姐。多年的护士工作,使她养成了极为健康的作息规律,信奉“饭后走百步,不用进药铺”的养生观念。然而今天,张大姐的散步却不同往日。尽管天色已安全暗了下来,但也正到了华灯初上的时候。路上散步的人大多都认识,平常的张大姐总会不时跟相熟的人聊上几句,可是今天她总觉大家看她的眼神
- 3DSMAX中英文对比大全(从A-Z分类)
weixin_30587927
人工智能uijava
AAbsoluteModeTransformType-in绝对坐标方式变换输入Absolute/RelativeSnapToggleMode绝对/相对捕捉开关模式ACISOptionsACIS选项Activate活动;激活ActivateAllMaps激活全部贴图ActivateGrid激活栅格。激活网格ActivateGridObject激活网格对象;激活网格物体ActivateHomeGrid
- 日更以来的反思,有三怕三不怕
老可是个传说
1.不怕写不好,就怕不动笔有很多次,感觉没有思路,也没有什么话题,只是为了应付日更,不得不提笔写上几句。写着写着,就找到了话题,思路也越来越清晰。有了创作的愿望和想法,就要及时动笔。否则,也只能是一个愿望和想法。可能你文笔生涩、词不达意、表述混乱,甚至写了一堆东西,却不知所云。不过不要紧,人开始学走路的时候都是磕磕绊绊、跌跌撞撞的。只要坚持走下去,正常走路远没有我们想象的那么难。如果因为刚学习走路
- 值得与不值得
若冰_68765
午饭后和好久不见的一个朋友微聊几句,谈起各自的近况,颇有感慨。她还说起她们公司一个同事因业务上各种不顺,最近又与女朋友分手了,于是就从17楼纵身跃下,结束了32岁的生命,他发的最后一条微信朋友圈只有五个字“人间不值得!”听朋友讲完这个事之后,真心对她这个同事感到惋惜,32岁,大好的年华,就这么去了,虽然不知道他经历了哪些挫折,但再大的挫折也不至于放弃生命啊!提到“人间不值得”这个梗,记得最早是出于
- 救夫日记,爱一定是这世间最大的能量
桑小茸
说来惭愧,在的日更似乎总会断更。但是从今天开始,我每天都会来更新。。。不为别的,只愿我想在这个世界给我和亲爱的他留下点什么。。。他不是别人,正是我现在的丈夫。他是我微信朋友圈里从来不晒的人,我几乎没有想过要在我的朋友圈里分享和他有关的信息。但是他从来又是那个最包容我的人,包容我的敏感,多疑,又时而不着调的那些情绪。他也是最爱逗我的人,几乎每天都要和我开玩笑,不让我每天骂他几句就特难受。他做得一手好
- 花为你开,花为我开
如果zhj
周三,“花为你开,**朗读会”第三课如期举行,我也如期而至。图片发自App缘由其实,参加一个训练班,提高自己的普通话水平,这个念头由来已久了。三十年前念卫校时,有次室友的朋友来玩,交谈了几句,问我:“你是**人吧?”哇,当时觉得好佩服人家,人家说因为工作关系,走的地方多了听的话多了。后来,我才意识到,我们那疙瘩人的普通话,i/e、u/uo不分是特色,一开口就揭开了地域标签。浓浓的家乡味,一直存在于
- 遍历dom 并且存储(将每一层的DOM元素存在数组中)
换个号韩国红果果
JavaScripthtml
数组从0开始!!
var a=[],i=0;
for(var j=0;j<30;j++){
a[j]=[];//数组里套数组,且第i层存储在第a[i]中
}
function walkDOM(n){
do{
if(n.nodeType!==3)//筛选去除#text类型
a[i].push(n);
//con
- Android+Jquery Mobile学习系列(9)-总结和代码分享
白糖_
JQuery Mobile
目录导航
经过一个多月的边学习边练手,学会了Android基于Web开发的毛皮,其实开发过程中用Android原生API不是很多,更多的是HTML/Javascript/Css。
个人觉得基于WebView的Jquery Mobile开发有以下优点:
1、对于刚从Java Web转型过来的同学非常适合,只要懂得HTML开发就可以上手做事。
2、jquerym
- impala参考资料
dayutianfei
impala
记录一些有用的Impala资料
1. 入门资料
>>官网翻译:
http://my.oschina.net/weiqingbin/blog?catalog=423691
2. 实用进阶
>>代码&架构分析:
Impala/Hive现状分析与前景展望:http
- JAVA 静态变量与非静态变量初始化顺序之新解
周凡杨
java静态非静态顺序
今天和同事争论一问题,关于静态变量与非静态变量的初始化顺序,谁先谁后,最终想整理出来!测试代码:
import java.util.Map;
public class T {
public static T t = new T();
private Map map = new HashMap();
public T(){
System.out.println(&quo
- 跳出iframe返回外层页面
g21121
iframe
在web开发过程中难免要用到iframe,但当连接超时或跳转到公共页面时就会出现超时页面显示在iframe中,这时我们就需要跳出这个iframe到达一个公共页面去。
首先跳转到一个中间页,这个页面用于判断是否在iframe中,在页面加载的过程中调用如下代码:
<script type="text/javascript">
//<!--
function
- JAVA多线程监听JMS、MQ队列
510888780
java多线程
背景:消息队列中有非常多的消息需要处理,并且监听器onMessage()方法中的业务逻辑也相对比较复杂,为了加快队列消息的读取、处理速度。可以通过加快读取速度和加快处理速度来考虑。因此从这两个方面都使用多线程来处理。对于消息处理的业务处理逻辑用线程池来做。对于加快消息监听读取速度可以使用1.使用多个监听器监听一个队列;2.使用一个监听器开启多线程监听。
对于上面提到的方法2使用一个监听器开启多线
- 第一个SpringMvc例子
布衣凌宇
spring mvc
第一步:导入需要的包;
第二步:配置web.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi=
- 我的spring学习笔记15-容器扩展点之PropertyOverrideConfigurer
aijuans
Spring3
PropertyOverrideConfigurer类似于PropertyPlaceholderConfigurer,但是与后者相比,前者对于bean属性可以有缺省值或者根本没有值。也就是说如果properties文件中没有某个bean属性的内容,那么将使用上下文(配置的xml文件)中相应定义的值。如果properties文件中有bean属性的内容,那么就用properties文件中的值来代替上下
- 通过XSD验证XML
antlove
xmlschemaxsdvalidationSchemaFactory
1. XmlValidation.java
package xml.validation;
import java.io.InputStream;
import javax.xml.XMLConstants;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schem
- 文本流与字符集
百合不是茶
PrintWrite()的使用字符集名字 别名获取
文本数据的输入输出;
输入;数据流,缓冲流
输出;介绍向文本打印格式化的输出PrintWrite();
package 文本流;
import java.io.FileNotFound
- ibatis模糊查询sqlmap-mapping-**.xml配置
bijian1013
ibatis
正常我们写ibatis的sqlmap-mapping-*.xml文件时,传入的参数都用##标识,如下所示:
<resultMap id="personInfo" class="com.bijian.study.dto.PersonDTO">
<res
- java jvm常用命令工具——jdb命令(The Java Debugger)
bijian1013
javajvmjdb
用来对core文件和正在运行的Java进程进行实时地调试,里面包含了丰富的命令帮助您进行调试,它的功能和Sun studio里面所带的dbx非常相似,但 jdb是专门用来针对Java应用程序的。
现在应该说日常的开发中很少用到JDB了,因为现在的IDE已经帮我们封装好了,如使用ECLI
- 【Spring框架二】Spring常用注解之Component、Repository、Service和Controller注解
bit1129
controller
在Spring常用注解第一步部分【Spring框架一】Spring常用注解之Autowired和Resource注解(http://bit1129.iteye.com/blog/2114084)中介绍了Autowired和Resource两个注解的功能,它们用于将依赖根据名称或者类型进行自动的注入,这简化了在XML中,依赖注入部分的XML的编写,但是UserDao和UserService两个bea
- cxf wsdl2java生成代码super出错,构造函数不匹配
bitray
super
由于过去对于soap协议的cxf接触的不是很多,所以遇到了也是迷糊了一会.后来经过查找资料才得以解决. 初始原因一般是由于jaxws2.2规范和jdk6及以上不兼容导致的.所以要强制降为jaxws2.1进行编译生成.我们需要少量的修改:
我们原来的代码
wsdl2java com.test.xxx -client http://.....
修改后的代
- 动态页面正文部分中文乱码排障一例
ronin47
公司网站一部分动态页面,早先使用apache+resin的架构运行,考虑到高并发访问下的响应性能问题,在前不久逐步开始用nginx替换掉了apache。 不过随后发现了一个问题,随意进入某一有分页的网页,第一页是正常的(因为静态化过了);点“下一页”,出来的页面两边正常,中间部分的标题、关键字等也正常,唯独每个标题下的正文无法正常显示。 因为有做过系统调整,所以第一反应就是新上
- java-54- 调整数组顺序使奇数位于偶数前面
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
import ljn.help.Helper;
public class OddBeforeEven {
/**
* Q 54 调整数组顺序使奇数位于偶数前面
* 输入一个整数数组,调整数组中数字的顺序,使得所有奇数位于数组的前半部分,所有偶数位于数组的后半
- 从100PV到1亿级PV网站架构演变
cfyme
网站架构
一个网站就像一个人,存在一个从小到大的过程。养一个网站和养一个人一样,不同时期需要不同的方法,不同的方法下有共同的原则。本文结合我自已14年网站人的经历记录一些架构演变中的体会。 1:积累是必不可少的
架构师不是一天练成的。
1999年,我作了一个个人主页,在学校内的虚拟空间,参加了一次主页大赛,几个DREAMWEAVER的页面,几个TABLE作布局,一个DB连接,几行PHP的代码嵌入在HTM
- [宇宙时代]宇宙时代的GIS是什么?
comsci
Gis
我们都知道一个事实,在行星内部的时候,因为地理信息的坐标都是相对固定的,所以我们获取一组GIS数据之后,就可以存储到硬盘中,长久使用。。。但是,请注意,这种经验在宇宙时代是不能够被继续使用的
宇宙是一个高维时空
- 详解create database命令
czmmiao
database
完整命令
CREATE DATABASE mynewdb USER SYS IDENTIFIED BY sys_password USER SYSTEM IDENTIFIED BY system_password LOGFILE GROUP 1 ('/u01/logs/my/redo01a.log','/u02/logs/m
- 几句不中听却不得不认可的话
datageek
1、人丑就该多读书。
2、你不快乐是因为:你可以像猪一样懒,却无法像只猪一样懒得心安理得。
3、如果你太在意别人的看法,那么你的生活将变成一件裤衩,别人放什么屁,你都得接着。
4、你的问题主要在于:读书不多而买书太多,读书太少又特爱思考,还他妈话痨。
5、与禽兽搏斗的三种结局:(1)、赢了,比禽兽还禽兽。(2)、输了,禽兽不如。(3)、平了,跟禽兽没两样。结论:选择正确的对手很重要。
6
- 1 14:00 PHP中的“syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM”错误
dcj3sjt126com
PHP
原文地址:http://www.kafka0102.com/2010/08/281.html
因为需要,今天晚些在本机使用PHP做些测试,PHP脚本依赖了一堆我也不清楚做什么用的库。结果一跑起来,就报出类似下面的错误:“Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/kafka/test/
- xcode6 Auto layout and size classes
dcj3sjt126com
ios
官方GUI
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html
iOS中使用自动布局(一)
http://www.cocoachina.com/ind
- 通过PreparedStatement批量执行sql语句【sql语句相同,值不同】
梦见x光
sql事务批量执行
比如说:我有一个List需要添加到数据库中,那么我该如何通过PreparedStatement来操作呢?
public void addCustomerByCommit(Connection conn , List<Customer> customerList)
{
String sql = "inseret into customer(id
- 程序员必知必会----linux常用命令之十【系统相关】
hanqunfeng
Linux常用命令
一.linux快捷键
Ctrl+C : 终止当前命令
Ctrl+S : 暂停屏幕输出
Ctrl+Q : 恢复屏幕输出
Ctrl+U : 删除当前行光标前的所有字符
Ctrl+Z : 挂起当前正在执行的进程
Ctrl+L : 清除终端屏幕,相当于clear
二.终端命令
clear : 清除终端屏幕
reset : 重置视窗,当屏幕编码混乱时使用
time com
- NGINX
IXHONG
nginx
pcre 编译安装 nginx
conf/vhost/test.conf
upstream admin {
server 127.0.0.1:8080;
}
server {
listen 80;
&
- 设计模式--工厂模式
kerryg
设计模式
工厂方式模式分为三种:
1、普通工厂模式:建立一个工厂类,对实现了同一个接口的一些类进行实例的创建。
2、多个工厂方法的模式:就是对普通工厂方法模式的改进,在普通工厂方法模式中,如果传递的字符串出错,则不能正确创建对象,而多个工厂方法模式就是提供多个工厂方法,分别创建对象。
3、静态工厂方法模式:就是将上面的多个工厂方法模式里的方法置为静态,
- Spring InitializingBean/init-method和DisposableBean/destroy-method
mx_xiehd
javaspringbeanxml
1.initializingBean/init-method
实现org.springframework.beans.factory.InitializingBean接口允许一个bean在它的所有必须属性被BeanFactory设置后,来执行初始化的工作,InitialzingBean仅仅指定了一个方法。
通常InitializingBean接口的使用是能够被避免的,(不鼓励使用,因为没有必要
- 解决Centos下vim粘贴内容格式混乱问题
qindongliang1922
centosvim
有时候,我们在向vim打开的一个xml,或者任意文件中,拷贝粘贴的代码时,格式莫名其毛的就混乱了,然后自己一个个再重新,把格式排列好,非常耗时,而且很不爽,那么有没有办法避免呢? 答案是肯定的,设置下缩进格式就可以了,非常简单: 在用户的根目录下 直接vi ~/.vimrc文件 然后将set pastetoggle=<F9> 写入这个文件中,保存退出,重新登录,
- netty大并发请求问题
tianzhihehe
netty
多线程并发使用同一个channel
java.nio.BufferOverflowException: null
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:183) ~[na:1.7.0_60-ea]
at java.nio.ByteBuffer.put(ByteBuffer.java:832) ~[na:1.7.0_60-ea]
- Hadoop NameNode单点问题解决方案之一 AvatarNode
wyz2009107220
NameNode
我们遇到的情况
Hadoop NameNode存在单点问题。这个问题会影响分布式平台24*7运行。先说说我们的情况吧。
我们的团队负责管理一个1200节点的集群(总大小12PB),目前是运行版本为Hadoop 0.20,transaction logs写入一个共享的NFS filer(注:NetApp NFS Filer)。
经常遇到需要中断服务的问题是给hadoop打补丁。 DataNod