- 情绪觉察日记第37天
露露_e800
今天是家庭关系规划师的第二阶最后一天,慧萍老师帮我做了个案,帮我处理了埋在心底好多年的一份恐惧,并给了我深深的力量!这几天出来学习,爸妈过来婆家帮我带小孩,妈妈出于爱帮我收拾东西,并跟我先生和婆婆产生矛盾,妈妈觉得他们没有照顾好我…。今晚回家见到妈妈,我很欣赏她并赞扬她,妈妈说今晚要跟我睡我说好,当我们俩躺在床上准备睡觉的时候,我握着妈妈的手对她说:妈妈这几天辛苦你了,你看你多利害把我们的家收拾得
- 四章-32-点要素的聚合
彩云飘过
本文基于腾讯课堂老胡的课《跟我学Openlayers--基础实例详解》做的学习笔记,使用的openlayers5.3.xapi。源码见1032.html,对应的官网示例https://openlayers.org/en/latest/examples/cluster.htmlhttps://openlayers.org/en/latest/examples/earthquake-clusters.
- 2018-12-16
宝妈林秀云
2018年12月16日星期日天气晴本来今天是要参加读经班的,小宝贝昨天晚上突然发烧了,所以就没办法参加。同时今天也是小宝贝的生日,因为发烧她爸爸就不买蛋糕给她过生日了。就给她买了榴莲披萨当蛋糕。姐姐还为她做了生日贺卡,这个生日贺卡姐姐可是花了很长时间才完成的。吃完披萨准备上楼了,这时杨欣也想跟我们一起上楼,就被奶奶叫住说:“不要上楼了要准备睡觉了”。本来我想小宝贝可能会吵着跟杨欣一起玩。出乎我的意
- 2021-02-13
琛周
今天ori居然在车站跟我说,自己要离婚还以为是开玩笑,md,这才大年初一呢虽然我也不把过年当回事这一年或者说,自2020年以来仿佛一切的事儿都变得顺了不少爆裂的事儿合肥的事儿等等上天发牌的事儿我觉得我脑子还是挺好使的我这些年的确没缺过钱可能做成一个事儿以后,往后也不会缺了头疼所谓当局者迷,就是我给自己安排工作的时候,懒得动给助理安排工作的时候,神神叨叨。淦
- 继续《时光音乐会》
湘梅子
平安夜,与我无关。晚饭后陪孙子玩,直到他入睡。回家,看期待的周五《时光音乐会》。今天的庄主是郁可唯。出道十多年,竟然为影视唱了八十多首歌。她的歌声很温暖,有时还很空灵,声音处理很细腻,听起来很享受。原来《知否,知否》是她原唱,当时电视剧很火,歌我也学会了。我也喜欢她的《路过人间》歌友们谈笑风生,我这个观众也不时会心笑着。每次看完这个节目,总是意犹未尽。也只有这个节目,我先生有兴趣跟我一起看完,还总
- “愿你,戒酒也戒她。”
钟斯
你以荨麻疹为幌子,向全世界宣布,从今以后你不能再喝酒了,你要戒酒。你的朋友们,觉得你的健康最重要,所以大力支持,商量着以后谁都不能再劝你酒。可是,你转身就在夜深人静时独自痛饮,然后在意识涣散中发了疯地想她。你知道这样不对,但你难以自制。我一直觉得,你是那种“衣履风流,潇洒潇洒去了”的人,所以,当你跟我说你难受的时候,我还是有一些诧异的。我不知道,什么样的事情能让如此洒脱的你难受。当我问及的时候,你
- 《前夫如龙》王昊江琼(独家小说)精彩TXT阅读
海边书楼
《前夫如龙》王昊江琼(独家小说)精彩TXT阅读主角:王昊江琼简介:离婚那天,她视他如泥土。谁曾想,消息一出,天下震动!可关注微信公众号【风车文楼】去回个书号【203】,即可免费阅读【前夫如龙】全文!江芸并未听出华少龙声音里的冷漠,依旧一脸笑容道:“是啊,那个废物哪儿配得上我姐?这些年,我姐对他仁至义尽了。以后,华少爷可以多跟我姐接触接触,只有华少爷这样的人,才配得上我姐啊!”江琼低着头,微微有些娇
- 收益,收益,还是收益
格局AUTOMAN
邻居是一个卖早餐的小夫妻,除了过年,每天他们都要凌晨起床,准备明早要卖的东西。在今年偶尔的一次聊天中,他跟我讲去年没有赚什么钱,大部分都补贴家用了。这么勤劳的他,在今年该如何提高盈利或是收益呢?我觉得他们可以用如下方法:1.减少成本。也就是偷工减料,或者用便宜的东西。不太建议用这种方法,客户体验会变差。2.提高售价。在不降低产品质量的情况下,也是个办法。但是要结合竞争情况,有无替代品。3.开拓新的
- python简单好玩的编程代码,python有哪些好玩的代码
2301_81900439
pygamepython开发语言
大家好,小编来为大家解答以下问题,20行python代码的入门级小游戏,python有什么好玩的代码嘛,今天让我们一起来看看吧!哈喽铁子们表弟最近在学Python,总是跟我抱怨很枯燥无味,其实,他有没有认真想过,可能是自己学习姿势不对?比方说,可以通过打游戏来学编程!今天给大家分享100个Python小游戏,一定要收藏!1、简易飞机大战飞机大战相信大家都玩过吧,非常简单有意思的游戏,咱们通过Pyt
- 2022-04-07
静待花开1975
昨天因为收作业的事情狠狠批评了四班的三个课代表,其中一个觉得很委屈,直接要跟我撂挑子了,经我软硬兼施,又撤回了辞职的决定。今天早读课,刚进教室,发现作业就已经整整齐齐交上来,而且已经开始组织早读了。下午收积累本,也是很快就有了结果。看来,适当的批评还是有必要的,出错不怕,怕的是不吸取经验教训,一错再错。
- 努力不需要仪式感
宇韩叔叔
在一次踏青活动中,我认识了彩虹,一个皮肤很白的小美女。她对自己的外形不太满意,一米六的身高,体重接近130斤。听说我是一个跑步爱好者,她马上加微信,希望每天能跟我一起晨跑,锻炼出一个好身材。我满口答应,承诺每天电话催她起床,到约定地点一起跑。第一天见面,彩虹让我眼前一亮:崭新的运动服、高束的马尾辫、箍在大臂上的手机袋,浑身上下都透着一股踌躇满志的精气神。我开始跟她讲路线和跑步要领,她却摆摆手示意我
- 女儿今天期末考试,紧张得要命
Ailsa_a73a
女儿今天期末考试,昨晚回来以后爸爸就和他一起在复习,我看到他一直坐在桌面前复习了一个多小时,看来他是真的很在乎这次期末考试,也许老师在给他们施压,我和爸爸无形之中也给他很多压力。早上起床,我做了她平时最爱喝的黑米粥,还有冻粑,这两样都是她最爱吃的,可是起床了以后根本就没有食欲。她说:妈妈,我不想吃,我吃不下去。刚开始起床的时候,她跟我讲:妈妈,我肚子有点不舒服。我说:你是怎么了?要不要喝点温开水?
- 是我共情能力太差,还是这世间压根就没有感同身受?
五月儿要努力
老妈时不时的跟我说起他们妯娌之间的事情,还有老爸他们兄弟间的大事小事。每次老妈和我说起他们之间的一些事情的时候总是显得很气愤。尤其是说到和利益有关的东西的时候更是如此。而我除了做好一个听众我真的不知道如何去发表意见,这样也好让老妈知道我是有在认真听他讲。转念一想,我能说什么呢?我压根不知道事情的来龙去脉。我发表看法有什么意义呢?想想罢了。我还是喜欢做一个安静的听众。如果是你,你会如何处理呢?
- 小乌龟 第16章 小粉和妈妈一起上班
佐佑不分
文/佐佐今天小乌龟想跟妈妈一起上班,可是妈妈说:“不行,你还小,不能跟我一起。等你小学毕业了,读了初中高中大学研究生,研究生毕业,你就可以跟妈妈一起上班啦。”小粉说:“那要等到什么时候啊?我想现在就跟你去体验一下。”妈妈说:“好吧,今天就带你去一次,下次就不准再去了。如果再去的话,你上班的时候就忘记妈妈怎么来教育你的,你就白去了一趟了,知道吗?”她说:“知道啦,知道啦,明天早上把我也叫上去看看你班
- 今天长见识了
屏幕上的指尖
今天在孙总的带领下,我们一行6人去体验了一下真正的果园子,今天不但对海南热带水果有了更多的发现,原来在吃但不知道他们的长相,今天眼见为实了,过了一把瘾!话说从路上开始,真的长见识了,孙总跟我们介绍说,我们今天要去的果园,是一个65岁的朋友,姓周,我们叫他周总,孙总是怎么认识他的呢?12年前他开发的“金色鳌苑”楼盘的土地是周总卖给他们的,周总现在种水果,300亩土地,种满了各种水果,我们一边听一边很
- 2023-07-18
phlovehx
琪琪宝宝我特别希望我们能走到最后,能够陪你很久很久,我不会跟别的女孩子搞暧昧,你吃醋了不能悠在心里,你很温柔很体贴也很努力爱我,遇见你说我最幸运的事,最甜的事就是和你在一起以后的日子里不论发生什么事我都不会离开你,因为我知道我不会遇见第二个你了,我会给你我所有的疼爱不让你难过不让你受委屈,宝宝你要是有什么不开心的事情要跟我说,要是吃醋了就更应该和我说,什么事都不要憋在心里,你的喜怒哀乐任何心情对我
- 洪陵日记029
羊绒衫大王洪陵
洪叶羊绒说-今日记029今天周末,早上带着洪曼妮去工厂附近的草莓园摘草莓去了,算是兑现了之前答应她的,我现在要答应她什么事情,她会跟我击掌,表示要兑现答应的事情。然后她会经常提醒我中午一个在头条加我微信咨询微掌柜代理的事情,我看了他的朋友圈,2018年俩条,2017年不超过5条,我连是男是女都无法分别,头像也是个风景照。在网上做生意尤其是在微信端卖产品,我觉得一个真人头像还是很有必要的。我告诉他先
- 如何使用并提高批判性思考能力?
颍水书生
学会一个技能的最好办法就是不断的使用,学英语如此、学游泳如此、学吉他也是如此。作人类最核心的技能,学会思考的最重要的方法不是学,而是不断的对心智的积极运用。如何使用心智,则是一个相对不容易的事情,因为思考结果的没有明显的反馈,不像游泳,换气、泳姿、游的速度这些都是可以量化,水平的高低,很容易考评,甚至一眼就能看出来。不过不容易也未必是无章可循,就像我们在读书时那样,可以先来个摸底考试,看看自己水平
- 有故事的皮同学
小傻同学
没有安全感真的是很多女生的通病。今天朋友跟我说,她最近总是会故意说一些气话,去试探男朋友心里到底还有没有自己。她说她总感觉男朋友会突然离开,心里很不踏实,也没多少信心走下去了。都说女生的第六感是最准的,尤其是在恋爱的时候,那些你感受到的不在乎可能都是真的。晚安真的当离开一个人以后,才发现原来自己的记忆力那么好,只记得他的好。死撑面子要自尊,等到聊天窗口再也跳不出他的消息才知道自己任性,其实谁都不想
- 【寒假日记】3《打羽毛球》
袁杉杉
今天是大年初五是阳光明媚的一天,我和爸爸在外婆家打羽毛球。我先开始发球,我把球向上抛,拿羽毛球拍用力一拍,球向爸爸那边飞去,爸爸看见了用力一拍,球向我这边飞过来,我没怎么注意,球跟我擦肩而过了,落在了地上,妈妈告诉我们:“一号一分,二号零分,一号暂时领先。”我听了非常不服气,下定决心要赢爸爸。接着又开始了第二局的竞争,爸爸先发球,爸爸把球向上抛,拿羽毛球用力一拍,球向我这边飞来了,我见了用力一拍,
- 树枝独钓+树叶书签
观自在007
小女子贾晴山,今年6岁,小学一年级,小荷才露尖尖角,谁敢来立?扎死个瓜娃儿。(就是这么狠!嘿嘿~~)下面这篇文章,是我授权我的老爸帮我写滴——老爸水平有限,大家凑合着看吧,嘿嘿。某日,下午放学后,老爸也下班回到小区,我让老爸到小区时,在楼下给我打电话,我从窗户里跟爸爸打声招呼,然后,就飞奔到楼下去接爸爸。这样让老爸跟我在楼下玩一会儿~~玩着玩着,我发现一根很弯很弯的树枝,几乎弯了90°;太好了,这
- 2022-12-26
向日葵的执着
每日一省(第279篇)孩子元月5号就要期末考试了。这几天辅导他写作业的过程中,发现有很多知识都掌握的不牢固,于是我难免就有些写着急了。我的态度和语气都写满了焦虑和紧张不安,孩子也被训的不知所措。今天晚上吃过饭后,我们又开始了复习,面对孩子惨兮兮的学习效果,压抑了几天的不满情绪瞬间爆发,一阵狂风暴雨之后,我发现孩子看我的眼神变了(他的眼中充满了愤怒和恐惧),跟我说话的语气也不一样了(充满了不屑和无奈
- 在职四战考研3day
MM加油女孩
今日已完成考研任务:与教务处老师联系,学习怎么正确使用书籍;看333教育综合大纲;日总结:下午下班后与教务处老师联系,老师跟我讲了资料的正确使用方式,心里也有了大概的思路——根据老师提供的教材,我第一轮需要用到的资料就是一本通+网课,书籍只作为辅助对象,倘若网课里的内容听懂了,老师说书籍就可以不看了。第二轮复习:就是网课+自己构建思维导图,并尝试做333教育综合的主观题;第三轮复习:背诵客观题起码
- 婚姻中,男人的这三种行为,是他变心的征兆
S的魔镜
婚姻中男人有这几种行为,一定是变心了,要注意了前两天,读者@佩佩跟我私信说,自打结婚之后,老公像变了一个人一样,不再像以前那么体贴了,每次跟他沟通都很不耐烦,后来才知道,原来老公有了外遇,是他公司的同事,现在小三怀孕了,老公要跟她离婚。佩佩说,早知道他会变心,当初就不应该答应他的求婚。可谁又能想得到,当初以为自己嫁给了爱情,结果却把自己锁进了婚姻的牢笼。都说人生三大事,入学、择业、婚姻。入学决定了
- 2021-08-26
shali
8.26-159今天是开学前学校组织的培训会议,因为大多是其他学科中考阅卷经验交流和班主任的班级管理交流,说实话真是听不进去,感觉与自己没大有关系,所以求知欲不是很强。会后分管校长找到我,跟我交流一下这学期的工作。第一,新换的校长对我们的课间操提出了较高的要求,要学习一套健身操来代替广播体操,进行课间操锻炼。并且因为七年级今年教体局要求不进行军训了,学习健身操要提上日程,开学后即可进行健身操的学习
- 2023-09-05
29205a86a46a
昨天下午放学,小女儿跟我一起来到学校。路上,正好遇见学生放学,我说在这个路上说不定能偶遇姐姐,她就在路边等着,一直等了半个小时也没见着,还想去姐姐班级看看。我说不要去了,你想姐姐了吗?她说是的。我说我也想姐姐了,但咱去了会影响他们上课的。于是,没有去找她。晚上,我工作的时候,让小女儿在办公室写作业。但是一直到九点多,她还有不少没写完。准备回家时候,却发现她不在办公室,赶紧去找她,找了两圈,没找到,
- 换一个人结婚,你的婚姻就会好吗?
安澜秀
同学群有个人发出一个帮忙抢票的链接。我一看这个链接就是我一开始以为可以抢票,并且用这个抢票抢了一个星期也没有结果的。我着急得很,把我现在抢票的方法给他。硬要我帮忙抢票。我很好奇你不是回家去广西做什么?得知我在福建鞋厂又问我这里有没有妹子。我就是那种打破砂锅问到底的,他也不介意跟我讲他们夫妻俩的事。结婚七年了,七年之痒啊!现在是处于离婚的边缘。同学认为对她老婆还可以,那只是他个人认为。这次就想买票去
- 人际关系的基本技巧
禾鸟heniao
我觉得你也肯定跟我一样,对于人际关系的处理方面有很深的困惑,总是搞不清楚在哪个场合应该说些什么或者做些什么,才更合适。经过很久很久的寻找以及自我的探索,我觉得一定要遵循以下几个方面:第一,不要批评,不要指责,不要抱怨。如果你恰好是一个项目的小经理,在你之前不小心做错事情,或者说他已经尽可能做到最好,却仍然出了错的时候,你一定不要第一时间就去责骂他,而是站在他的角度去想一想,他该有多么的指,自责以及
- 懂事的姑娘,加油
我是小小吖
新同事小姑娘,年龄跟我刚好相差一轮,我们属同一个生肖。这几天她的感情遇到了一些小矛盾,在办公室跟她爸妈视频的时候聊天哭了。我能做的只有给她递上纸巾,待她冷静下来,跟爸妈关掉视频,她给我讲了她的故事。从小她就生活中很坚强,学习上很努力。跟大部分孩子一样,希望毕业后找一份好工作,挣到足够多的钱,有一套自己的房子,可以接父母一起住。有一份属于自己的幸福。毕业两年了,她觉得自己在寻找的幸福路上让父母操心了
- 看《绝望主妇》学英语
高雅_1f79
第四季第九集剧集连接https://www.imeiju.cc/Play/3543-1-8.html单词1.tendverbUS/tend/1)tendverb(BELIKELY)趋向;倾向于[I]tobelikelytohappenortohaveaparticularcharacteristicoreffect:Wetendtoeatathome.Childrentendtobelikethe
- java责任链模式
3213213333332132
java责任链模式村民告县长
责任链模式,通常就是一个请求从最低级开始往上层层的请求,当在某一层满足条件时,请求将被处理,当请求到最高层仍未满足时,则请求不会被处理。
就是一个请求在这个链条的责任范围内,会被相应的处理,如果超出链条的责任范围外,请求不会被相应的处理。
下面代码模拟这样的效果:
创建一个政府抽象类,方便所有的具体政府部门继承它。
package 责任链模式;
/**
*
- linux、mysql、nginx、tomcat 性能参数优化
ronin47
一、linux 系统内核参数
/etc/sysctl.conf文件常用参数 net.core.netdev_max_backlog = 32768 #允许送到队列的数据包的最大数目
net.core.rmem_max = 8388608 #SOCKET读缓存区大小
net.core.wmem_max = 8388608 #SOCKET写缓存区大
- php命令行界面
dcj3sjt126com
PHPcli
常用选项
php -v
php -i PHP安装的有关信息
php -h 访问帮助文件
php -m 列出编译到当前PHP安装的所有模块
执行一段代码
php -r 'echo "hello, world!";'
php -r 'echo "Hello, World!\n";'
php -r '$ts = filemtime("
- Filter&Session
171815164
session
Filter
HttpServletRequest requ = (HttpServletRequest) req;
HttpSession session = requ.getSession();
if (session.getAttribute("admin") == null) {
PrintWriter out = res.ge
- 连接池与Spring,Hibernate结合
g21121
Hibernate
前几篇关于Java连接池的介绍都是基于Java应用的,而我们常用的场景是与Spring和ORM框架结合,下面就利用实例学习一下这方面的配置。
1.下载相关内容: &nb
- [简单]mybatis判断数字类型
53873039oycg
mybatis
昨天同事反馈mybatis保存不了int类型的属性,一直报错,错误信息如下:
Caused by: java.lang.NumberFormatException: For input string: "null"
at sun.mis
- 项目启动时或者启动后ava.lang.OutOfMemoryError: PermGen space
程序员是怎么炼成的
eclipsejvmtomcatcatalina.sheclipse.ini
在启动比较大的项目时,因为存在大量的jsp页面,所以在编译的时候会生成很多的.class文件,.class文件是都会被加载到jvm的方法区中,如果要加载的class文件很多,就会出现方法区溢出异常 java.lang.OutOfMemoryError: PermGen space.
解决办法是点击eclipse里的tomcat,在
- 我的crm小结
aijuans
crm
各种原因吧,crm今天才完了。主要是接触了几个新技术:
Struts2、poi、ibatis这几个都是以前的项目中用过的。
Jsf、tapestry是这次新接触的,都是界面层的框架,用起来也不难。思路和struts不太一样,传说比较简单方便。不过个人感觉还是struts用着顺手啊,当然springmvc也很顺手,不知道是因为习惯还是什么。jsf和tapestry应用的时候需要知道他们的标签、主
- spring里配置使用hibernate的二级缓存几步
antonyup_2006
javaspringHibernatexmlcache
.在spring的配置文件中 applicationContent.xml,hibernate部分加入
xml 代码
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
<prop key="hi
- JAVA基础面试题
百合不是茶
抽象实现接口String类接口继承抽象类继承实体类自定义异常
/* * 栈(stack):主要保存基本类型(或者叫内置类型)(char、byte、short、 *int、long、 float、double、boolean)和对象的引用,数据可以共享,速度仅次于 * 寄存器(register),快于堆。堆(heap):用于存储对象。 */ &
- 让sqlmap文件 "继承" 起来
bijian1013
javaibatissqlmap
多个项目中使用ibatis , 和数据库表对应的 sqlmap文件(增删改查等基本语句),dao, pojo 都是由工具自动生成的, 现在将这些自动生成的文件放在一个单独的工程中,其它项目工程中通过jar包来引用 ,并通过"继承"为基础的sqlmap文件,dao,pojo 添加新的方法来满足项
- 精通Oracle10编程SQL(13)开发触发器
bijian1013
oracle数据库plsql
/*
*开发触发器
*/
--得到日期是周几
select to_char(sysdate+4,'DY','nls_date_language=AMERICAN') from dual;
select to_char(sysdate,'DY','nls_date_language=AMERICAN') from dual;
--建立BEFORE语句触发器
CREATE O
- 【EhCache三】EhCache查询
bit1129
ehcache
本文介绍EhCache查询缓存中数据,EhCache提供了类似Hibernate的查询API,可以按照给定的条件进行查询。
要对EhCache进行查询,需要在ehcache.xml中设定要查询的属性
数据准备
@Before
public void setUp() {
//加载EhCache配置文件
Inpu
- CXF框架入门实例
白糖_
springWeb框架webserviceservlet
CXF是apache旗下的开源框架,由Celtix + XFire这两门经典的框架合成,是一套非常流行的web service框架。
它提供了JAX-WS的全面支持,并且可以根据实际项目的需要,采用代码优先(Code First)或者 WSDL 优先(WSDL First)来轻松地实现 Web Services 的发布和使用,同时它能与spring进行完美结合。
在apache cxf官网提供
- angular.equals
boyitech
AngularJSAngularJS APIAnguarJS 中文APIangular.equals
angular.equals
描述:
比较两个值或者两个对象是不是 相等。还支持值的类型,正则表达式和数组的比较。 两个值或对象被认为是 相等的前提条件是以下的情况至少能满足一项:
两个值或者对象能通过=== (恒等) 的比较
两个值或者对象是同样类型,并且他们的属性都能通过angular
- java-腾讯暑期实习生-输入一个数组A[1,2,...n],求输入B,使得数组B中的第i个数字B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]
bylijinnan
java
这道题的具体思路请参看 何海涛的微博:http://weibo.com/zhedahht
import java.math.BigInteger;
import java.util.Arrays;
public class CreateBFromATencent {
/**
* 题目:输入一个数组A[1,2,...n],求输入B,使得数组B中的第i个数字B[i]=A
- FastDFS 的安装和配置 修订版
Chen.H
linuxfastDFS分布式文件系统
FastDFS Home:http://code.google.com/p/fastdfs/
1. 安装
http://code.google.com/p/fastdfs/wiki/Setup http://hi.baidu.com/leolance/blog/item/3c273327978ae55f93580703.html
安装libevent (对libevent的版本要求为1.4.
- [强人工智能]拓扑扫描与自适应构造器
comsci
人工智能
当我们面对一个有限拓扑网络的时候,在对已知的拓扑结构进行分析之后,发现在连通点之后,还存在若干个子网络,且这些网络的结构是未知的,数据库中并未存在这些网络的拓扑结构数据....这个时候,我们该怎么办呢?
那么,现在我们必须设计新的模块和代码包来处理上面的问题
- oracle merge into的用法
daizj
oraclesqlmerget into
Oracle中merge into的使用
http://blog.csdn.net/yuzhic/article/details/1896878
http://blog.csdn.net/macle2010/article/details/5980965
该命令使用一条语句从一个或者多个数据源中完成对表的更新和插入数据. ORACLE 9i 中,使用此命令必须同时指定UPDATE 和INSE
- 不适合使用Hadoop的场景
datamachine
hadoop
转自:http://dev.yesky.com/296/35381296.shtml。
Hadoop通常被认定是能够帮助你解决所有问题的唯一方案。 当人们提到“大数据”或是“数据分析”等相关问题的时候,会听到脱口而出的回答:Hadoop! 实际上Hadoop被设计和建造出来,是用来解决一系列特定问题的。对某些问题来说,Hadoop至多算是一个不好的选择,对另一些问题来说,选择Ha
- YII findAll的用法
dcj3sjt126com
yii
看文档比较糊涂,其实挺简单的:
$predictions=Prediction::model()->findAll("uid=:uid",array(":uid"=>10));
第一个参数是选择条件:”uid=10″。其中:uid是一个占位符,在后面的array(“:uid”=>10)对齐进行了赋值;
更完善的查询需要
- vim 常用 NERDTree 快捷键
dcj3sjt126com
vim
下面给大家整理了一些vim NERDTree的常用快捷键了,这里几乎包括了所有的快捷键了,希望文章对各位会带来帮助。
切换工作台和目录
ctrl + w + h 光标 focus 左侧树形目录ctrl + w + l 光标 focus 右侧文件显示窗口ctrl + w + w 光标自动在左右侧窗口切换ctrl + w + r 移动当前窗口的布局位置
o 在已有窗口中打开文件、目录或书签,并跳
- Java把目录下的文件打印出来
蕃薯耀
列出目录下的文件文件夹下面的文件目录下的文件
Java把目录下的文件打印出来
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年7月11日 11:02:
- linux远程桌面----VNCServer与rdesktop
hanqunfeng
Desktop
windows远程桌面到linux,需要在linux上安装vncserver,并开启vnc服务,同时需要在windows下使用vnc-viewer访问Linux。vncserver同时支持linux远程桌面到linux。
linux远程桌面到windows,需要在linux上安装rdesktop,同时开启windows的远程桌面访问。
下面分别介绍,以windo
- guava中的join和split功能
jackyrong
java
guava库中,包含了很好的join和split的功能,例子如下:
1) 将LIST转换为使用字符串连接的字符串
List<String> names = Lists.newArrayList("John", "Jane", "Adam", "Tom");
- Web开发技术十年发展历程
lampcy
androidWeb浏览器html5
回顾web开发技术这十年发展历程:
Ajax
03年的时候我上六年级,那时候网吧刚在小县城的角落萌生。传奇,大话西游第一代网游一时风靡。我抱着试一试的心态给了网吧老板两块钱想申请个号玩玩,然后接下来的一个小时我一直在,注,册,账,号。
彼时网吧用的512k的带宽,注册的时候,填了一堆信息,提交,页面跳转,嘣,”您填写的信息有误,请重填”。然后跳转回注册页面,以此循环。我现在时常想,如果当时a
- 架构师之mima-----------------mina的非NIO控制IOBuffer(说得比较好)
nannan408
buffer
1.前言。
如题。
2.代码。
IoService
IoService是一个接口,有两种实现:IoAcceptor和IoConnector;其中IoAcceptor是针对Server端的实现,IoConnector是针对Client端的实现;IoService的职责包括:
1、监听器管理
2、IoHandler
3、IoSession
- ORA-00054:resource busy and acquire with NOWAIT specified
Everyday都不同
oraclesessionLock
[Oracle]
今天对一个数据量很大的表进行操作时,出现如题所示的异常。此时表明数据库的事务处于“忙”的状态,而且被lock了,所以必须先关闭占用的session。
step1,查看被lock的session:
select t2.username, t2.sid, t2.serial#, t2.logon_time
from v$locked_obj
- javascript学习笔记
tntxia
JavaScript
javascript里面有6种基本类型的值:number、string、boolean、object、function和undefined。number:就是数字值,包括整数、小数、NaN、正负无穷。string:字符串类型、单双引号引起来的内容。boolean:true、false object:表示所有的javascript对象,不用多说function:我们熟悉的方法,也就是
- Java enum的用法详解
xieke90
enum枚举
Java中枚举实现的分析:
示例:
public static enum SEVERITY{
INFO,WARN,ERROR
}
enum很像特殊的class,实际上enum声明定义的类型就是一个类。 而这些类都是类库中Enum类的子类 (java.l