- 叠音词的妙用
生死不离_76da
叠音词的应用往往给人可爱,生动的感觉,比如,流水潺潺,猪猪侠。在生活中,我们一般用叠音词来哄小孩,比如:来,吃饺饺(饺子),吃包包(包子),看车车(汽车),可能因为小孩刚学说话,学起叠音词比较容易,因为就是同音念两遍而已。国庆回家,妈妈哄小孙子,吃卷卷(馒头),吃豆豆(豆腐,不解),吃晒晒(山药),感觉很有趣。汽车过来了,我会让他靠边边,开车出去玩会说坐车车,当然还会举高高。
- 建立系统
写写停停
Echo说要建立系统,把零碎化的东西成系统。这个真的很赞。自己最近涉猎的东西很多,可是好像当时收获很大,可是事后却总也记不清楚。2019年,沉下心来,去沉淀。现在认准猎头这条路,那就走下去,管TM的豁出去了。这一年任务很艰巨,2019年1月也过去了大半。这一年最主要的任务是1、猎头系统掌握;2、职业规划学习;3、专升本。一、猎头系统学习。8点哄睡时间可以听一下微分享9:00-9:30看小密圈,Ec
- 2023-11-13
梁渌淳
日记186跟着弟弟哭今天子艺小姨家的弟弟到医院打预防针,弟弟刚满一个月,打预防针时疼得大哭。在一旁看着的子艺,看见弟弟哭也跟着哭起来,并且怎么哄也哄不好,最后还是等弟弟停止了哭声,她才停止了哭。2003年12月6日日记187说三个字最近一个多月,子艺进步不小,这不今天又开始非常清楚的说三个字。邻居的奶奶教子艺一首儿歌“看大戏”,其中有句“爸爸去,妈妈去”,说的次数多了,其他的子艺还不会说,但这两句
- 女性在婚姻中不能放弃自我成长
谢家牛牛
我们不得不承认,婚姻有时候是很现实和很功利的。势均力敌才能并肩而行,共同进步才能举案齐眉。“我喜欢你,是因为你身上有一种很美好的东西。”,“我开始讨厌你,也是因为你身上的美好一点点消散。”是啊,喜欢时,爱你爱得无可救药,不喜欢时,就要一拍两散。婚姻中的双方,如果有一方不懂得自我成长,跟不上对方前进的步伐,导致婚姻中的二人步调不一致,那他俩的婚姻状况就会变得令人堪忧。眼见我事业一路高升,你却越来越安
- 对不起,我没那么爱你
燕返衔花
爱你是从第一眼起对不起,那是我在骗你其实我偷看你很多次才确定是你你的美丽无与伦比对不起,那是我在哄你非你莫属的天下第一是在我心里你是我一生的最爱对不起,我没那么爱你生我养我的父母至亲然后才是你一个万年太过遥远一个明天还要等待爱你现在那么一起
- 焦灼解决不了问题
臭小妈妈
又到一年考研时。最近心情焦虑不安,一个人想分作几个人使,一个人工作,一个人在家哄孩子做家务,还有一个人努力实现理想,可是现实是,一个人只要工作了就哄不了孩子,做不了家务,理想在一边空置着,无法实现,只能一次次于梦醒时分,空落一阵唏嘘。但心里知道,即使空自唏嘘一年,万年,也实现不了愿望,只能趁着时光还少,还有机会,尽早努一把力,一眼看到头的生活实在是虚度光阴,富不了丢不掉的鸡肋生活要尽早弃掉,不然温
- 未来的你,我的朋友
轻抚清晨
朋友,未来的你会是什么样呢请不要在清晨拥挤的地铁中迷失如果那样请你买票回家你的梦灿烂如初阳亲长劝你回家乡你好像没有说话可你的不甘能被理解:你想闯一闯等到哪一天你经历够多,也许就决定卸下过重的包袱找个牵手旅游的人没有再拜访那座空城也无人知晓你曾爱得深沉人生苦短胜似泡制一杯咖啡越苦越成熟但别把自己搅得老态龙钟——《未来的你,我的朋友》轻抚清晨
- 2019-03-08
出不染
阴有雨转多云上午的时候妈妈尝试了把红薯泥加在面里做馒头,还有胡萝卜泥加在面里做小笼包,小家伙还是很喜欢吃小笼包的,想着我也要学着做包子才行呢。下午的时候给小家伙剃头发,小家伙一直盯着理发器,一放到头上就开始哭闹,拿玩具哄也分散不了小家伙的注意力,我就抱着他想他能平静下来,结果一听到理发器的声音还是会转头去寻找。尝试了几次后还是决定先放弃了,和孩子玩儿了点别的,然后趁着他的注意力在茶几上的果皮、喷瓶
- 《雨过天晴》——你的声音永远都是最温暖的所在
南宫小千
今天的天气用这首歌来形容再合适不过。“雨过~应该就会天晴吧~一知道痛就应该珍惜了啊,恋爱中~有人被打垮~有人长大~你还~爱我吗?你爱我吗?”歌曲一开头的那段清唱真的是让人爱得不要不要的。品冠的声音又温暖又柔和,就好像是一束阳光穿透云层,越过繁茂的枝叶,洒落在头顶上。这也是我当初去KTV的必点曲目。都好多年没去过KTV了,当年还是很fashion的一件事呢。现在据说北京的钱柜也就剩下一家店了。也好,
- 随笔之六十三
hh1895
今天大宝哭了,觉得那么突然,让我心疼。虽然他说没什么,但是我知道他的失落。于是我耐心跟他讲解为什么在小宝快睡着的时候一定要安静,不能突然想到什么就跑来告诉我,可以等小家伙睡熟之后再详细的说。为什么小家伙被吵醒之后会更加难哄,为什么爸爸妈妈在他被吵醒后会有那种无奈的表情。但是当我告诉他他自己当年的表现以及当时全家对于他的小心翼翼时,大宝便释怀了。对于孩子来说,自身的经历比较具有说服力。无论是家长还是
- 越早知道越好的12条恋爱真理
白小白加雪碧
第一、让你步入婚姻的不应该是年龄,而是两情相悦;第二、永远葆有20%的神秘感,不要急切地想让对方了解你的喜好、脾气和经历;毫无保留的女生,就像是一瓶能够轻易被看透的矿泉水,就像是一场被提前剧透的电影,掐灭了想让人深入了解、看到结局的念头。第三、珍惜那些会在你遇到挫折、心情不好的时候,给你讲道理的男生吧,相比于那些不分三七二十一、只知道甜言蜜语哄你的人,他们才是真正想和你携手一生的人。因为想要帮助你
- 老公说,宁愿干家务活,也不愿意带娃!
做个行动派1981
1每当我在带娃和做家务之间让老公选择的时候,他必然毫不犹豫的选择做家务。因为做家务,只需要付出体力劳动就可以。而照顾还是,是对体力和心力的双重考验。尤其面对一个哭闹不止怎么也哄不好的娃时,你真的想变出三头六臂、想拥有36计、72变,用来搞定一个熊孩子。所以,在中国或者说亚洲社会,丧偶式育儿这么多年,连带孩子都是难题,让爸爸们选择做全职奶爸,对他们而言不亚于去攀登喜马拉雅山吧。2新西兰女总理杰辛达•
- 生活偶尔乱七八糟却依旧会让心境保持着那份平静澄澈
佳依我心
好不容易盼来的周末,却是一场淅淅沥沥的夏雨!真的不想辜负这来之不易的周末啊,希望下午的自己能够有一个好一点的选择!今日的晨起,本来纯粹的读书时光,结果又被小女儿的醒来被迫中断,使得它们的安静也随之成为了泡影!不过因为自己是真的特别宝贵自己的晨起时光,所以就一边哄着孩子一边用手机去源源不断获取文字的力量!看着怀里的小女儿,再看看手中的文字,瞬间感觉哪一个都在自己的心中占据着不可忽视的地位!文字是我余
- 日精进 第59天
宋成良
敬爱得李老师,智慧得班主任,亲爱得跃友们:大家好!我是来自30号青岛直路房产的宋成良。今天是我得日精进行动第59天,给大家分享我今天得进步,我们互相勉励,携手前行。每天进步一点点,距离成功便不远。1、比学习:2019,少一些浮躁,踏踏实实的走好每一步。不要怕走弯路,走过弯路,才更确信当初最想要的是什么。努力奋斗,哪怕每一天都很难,可一年一年会越来越容易。如果这世界上真有奇迹,那只是努力的另一个名字
- 这半年,我老了10岁
夏玫小墨
自从生完宝宝这半年来,我觉得我老了十岁。有了宝宝以后,每天都过得相当充实,她哭了,快去哄她,她拉了尿了,快去给她换尿布,她不高兴了,绞尽脑汁想尽办法,让她停止哭泣,晚上,还要起夜喂奶,换尿布。半年了,我没有睡过一个自然醒的安稳觉。想想曾经,自己是多么的幸福。初为人母,孩子的事情,让我忙的手忙脚乱的,对于自己的皮肤疏于保养,还自我感觉比较年轻。今天,洗完澡,一个想法在脑海里一闪而过,好久没有做面膜了
- 【幸福日记】2021.3.13 NO.38
情商财商在线
【健康与效能】1.早睡早起22:30-7:352.幸福打卡日记38次。【关系与休闲】1.老俩口恩爱散步又采购。2.与红姐沟通生日事宜。3.帮花姐挑选春装。4.宝回家,了解学校情况,并疏导赋能。【事业与财务】1.无2.核对帐户余额。【学习与体验】1.尝试与俊宝相亲相爱相处。2.轻食排毒续上。3.QG学习打卡2次。【今日要事】1.做了棒骨面,有颜有料有好评。2.陪伴家人。
- 今天阴,很困
菊小赵
今天没有蓝天,很困。有点想我的宝宝,不知道醒了没有,昨晚两点四十四醒了一次,尿片不怎么正,衣服裤子,睡袋都是他的尿,给他换完,我准备先上个厕所再哄睡他,结果他爸爸怕他哭就逗他,结果逗兴奋了半天睡不着,我假装睡着了,他也就头贴着我自己睡着了。昨晚把闹钟又调早了十分钟,可以说是超级恐怖啊,闹钟响了决定再睡二十分钟,闹钟再次响起,我还想再睡一会儿,五点五十了,再困也得赶紧起床了,因为我决定做大巴车了。胡
- 小情绪
流浪的三宝
妹妹开始日夜颠倒。白天呼呼大睡,晚上眼睛乌溜溜地转。傲娇的小宝贝一醒来就要抱着,不抱就放肆大哭,和白天的温柔大相径庭。白天的小天使,晚上变成了小恶魔。怎么办呢?求抱抱,求喝奶,求关注……每次我都记下时间,看看每晚妹妹醒来的时间有什么差别。记了几次,发现还挺有规律的。一般是两三个小时醒一次。不过有时精神特别好,醒来要玩好几个小时,不管怎么哄,怎么喂都不管用,只能坐起来抱着,直到慢慢入睡。有时抱着抱着
- 67篇,8.15号
李启瑞妈妈日记
星期四,阴转晴早晨起床,做好饭,就给老三穿衣服,洗脸,能完这一套,就叫启瑞和姐姐起来吃饭,今天太阳公公终于露出笑脸了,被子可以晒晒,衣服也要重洗一下。送启瑞上学我就在他昨晚玩的地方溜达了一遍,因为启瑞昨晚拿着手机玩,把手机丢了,溜了一圈也没找到,没办法启瑞也是心情很不好,很不高兴,也没说他。启瑞走了,把老三哄睡觉了,我回到家又找了找沙发,和床,也没有手机,心想,不找了,可能是真的拿出去丢了。我洗完
- 写作界的火云邪神,一篇标题甩出来,打破你的思维定势
晓菲悦读
砍柴书院&写作营丹老师在开营的时候说:“作为五年的新媒体编辑,在接下来的这一个月的时间里,我能为大家提供的帮助是,关于写作的建议,文章的优化,以及思维力的变化。”丹老师的每一节课都有趣、有料,有浅显易懂的理论,有恰如其分的例子。让我们在欢乐轻松的氛围中听的懂,学的会。4月27日上的是标题课——《如何写出不影响调性,又能打开概率高的标题》(上课前,教导主任“小鹿波比”就喊我们:“今晚上有热情的互动,
- 《红楼梦》第三十五回 白玉钏亲尝莲叶羹 黄金莺巧结梅花络
沿海拾贝
第二天一早,宝钗赶回家中探望母亲,说起昨晚的事,不禁又哭了。随后母女俩一齐进园来看宝玉。正遇上贾母风姐等人。宝玉要吃荷叶莲蓬汤,风姐便命做十来碗大家吃,贾母说她拿宫中钱做人情,她自告奋勇做东道,银子在她账上领。汤烧好后,王夫人命玉钏儿送去。见到她,宝玉想起她姐姐金钏儿的不幸,又伤心又惭愧,千方百计哄她说话,并让她也喝了一口汤。刚才同玉钏儿一起前来的还有宝钗的丫头莺儿,因为宝玉求她打几根络子。莺儿不
- 夏夜窗台
书倩
图片发自App灯已经睡了车依旧执拗的走着哄——,哄——留下些风的畏惧声紧张了两天的窗帘第一次被拨弄着彼此分开月已经倦了分分半半的露出红透了半边的脸星星不像车子那样隐了身子,聪明的藏在了,月的身后叶已经烦了受尽了白日的煎熬被那似有似无的风挑逗着,招引着哗——哗——哗仿佛只有雨,才能替他们说尽心里的怨我在窗台边上倚着窗,听着这些直到那月,变了脸直到那叶,引了雨才肯回去,回去熬尽了那极难的夜。文/静雅默
- 【产品思维05-2】产品要顺应用户的潜意识
龙姑娘Long
昨天上海007的7月7日践行日活动圆满结束。因主动上台分享幸运地获得了覃杰赠送的《给忙碌者的天体物理学》在图书流转活动里收下了吴队长的《认知入围》因为没有错过这次活动,认识了很多有趣有料有力量的灵魂……感恩和你们相遇,祝愿所有人都能幸福美好今天继续来看看潜意识的巨大魔力。潜意识在上篇文章中,我们了解了好产品经理和好销售之间的区别。前者是不能开启用户的思考,后者是突破用户的防御。好产品迎合用户潜意识
- 不是尽力而为,而是拼尽全力
娟娟的院子
1今天的效率是比较低的,儿子起的超早,四点多就起床了,然后一直没有睡,上午补觉补了两个多小时然后抱儿子,时间就飞快的溜走了,下午研究scratch,研究了一半然后开始看宝贝儿,接着张璐过来聊工作的事事情,然后又一直哄儿子,不知不觉就到晚上十一点了,心里有些力不从心,每天一千字这几天好像在例行公事,没有质量保证,而且还经常熬到一两点才能完事儿,像是流水账,一点都不满意······2时间是个好东西,好
- 2020-7-19晨间日记
听筠一席话
今天是什么日子起床:6.00就寝:22.30天气:雨心情:还好纪念日:别墅哄趴叫我起床的不是闹钟是梦想年度目标及关键点:硕士论文本月重要成果:读书今日三只青蛙/番茄钟读书成功日志-记录三五件有收获的事务读书线上产品说明会财务检视人际的投入开卷有益-学习/读书/听书健康与饮食今日步数:2493今日锻炼:今日饮食:好习惯打卡早起,日记,读书
- 写在父亲节前夕
霏霏跃跃
图片发自App这两天真的有些崩溃,先是昨天晚上,老爸接到三叔电话,让我去接妹妹,我二话不说就拒绝了,我的理由是,要哄孩子睡觉,我一个女性出门不方便。当时我的情绪有点激烈。因为从早晨醒来到晚上,我一刻都没有停,我感觉真是太累了,还是老妈做好饭叫我吃的,当时三姨正好来窜门,给我们拿来粽子,老爸感觉下不来台,就批评了我的态度。其实我意识到了自己的态度有问题,但长期积累的对老爸的不满也在那一刻爆发了。在我
- 相聚又分离(三)
潇清妩玉
文/潇清妩毓告辞下楼,车底下的气球早已不见。到家发现两个大厨都热得光了膀子,哈哈。二宝吵着要玩具,妹妹哄他这儿没有好玩的,回家再买。怪兽竟然闭着门没有出来,早这么用功学习就好了。也不晓得有没有出来打招呼?幸好都是自己家人,没人怪罪。饭菜已经准备得差不多,让爹和妹夫先喝着,反正阿臭也喝不多。八宝鱼饭已经蒸好,喊怪兽出来吃饭。怪兽和娘吃一个,妹妹娘三个吃一个,我用勺子尝几口就好。佛手瓜我本想脆炒,阿臭
- 【生活点滴】急性肠胃炎,又来!
缘来是你的园园
昨晚哄女儿睡觉的时候只觉得头有点痛,有点不太舒服。可没想到半小时之后,肚子开始痛起来,同时又开始干呕。我心想不会是肠胃炎吧,又来!!!这才过多久,然后回想晚上吃的食物,可晚上只是吃的粥啊!紧接着越来越不对劲,赶紧喝了杯温水。然后呕吐的感觉越来越强,我在卫生间守着马桶!那时候老公正在跟朋友语音聊天,估计听到动静,问我怎么了。我只说肚子痛,然后,我想上厕所。一开始没有拉肚子,可是上完厕所肚子越来越痛,
- “我变胖后,男朋友对我的感情变了。世上还有真正的爱情吗?”
曼熳心理
文/曼熳一个网友发出疑问:“因为近期服用一种药物,身体发胖了,男朋友的感情也变了,这个世上,还有真爱吗?”01这个世上有真爱,但有错爱的人。王敏佳,陈鹏,李想。三个人是初中同学,相似的“孤儿”命运,让他们之间的感情很深。随着三个人长大成人,爱情的种子也在他们的心中萌芽。王敏佳热情奔放,活泼美丽。陈鹏和李想也都学有所成。陈鹏,心中对王敏佳爱得热烈,他拉着王敏佳的手在校园奔跑的画面,给人的感觉是:他对
- 2023-01-27
乌漆嘛黑哎呦喂
有时候觉得孩子真是来讨债的,老妹黑白颠倒不起床,老姨哄着骂着都不管用,最后叫急眼了,老妹竟然扇自己耳光。我听着都害怕,可能真的也就自己妈忍受得了了。心疼老姨,把老妹和老弟弟妹一起带到大庆玩耍。可能天太冷了,加上吃鸭爪爪时候喝冰大窑着凉了,射箭的时候老妹开始胃疼,买药喝了还是难受,没办法大家只好结束射箭带着他一起去锐姐家,一顿照顾,睡着了。终于轻松了一会儿。锐姐家亲戚来了,我们在那,人家待着不自在,
- Spring4.1新特性——综述
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- Schema与数据类型优化
annan211
数据结构mysql
目前商城的数据库设计真是一塌糊涂,表堆叠让人不忍直视,无脑的架构师,说了也不听。
在数据库设计之初,就应该仔细揣摩可能会有哪些查询,有没有更复杂的查询,而不是仅仅突出
很表面的业务需求,这样做会让你的数据库性能成倍提高,当然,丑陋的架构师是不会这样去考虑问题的。
选择优化的数据类型
1 更小的通常更好
更小的数据类型通常更快,因为他们占用更少的磁盘、内存和cpu缓存,
- 第一节 HTML概要学习
chenke
htmlWebcss
第一节 HTML概要学习
1. 什么是HTML
HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,它规定了自己的语法规则,用来表示比“文本”更丰富的意义,比如图片,表格,链接等。浏览器(IE,FireFox等)软件知道HTML语言的语法,可以用来查看HTML文档。目前互联网上的绝大部分网页都是使用HTML编写的。
打开记事本 输入一下内
- MyEclipse里部分习惯的更改
Array_06
eclipse
继续补充中----------------------
1.更改自己合适快捷键windows-->prefences-->java-->editor-->Content Assist-->
Activation triggers for java的右侧“.”就可以改变常用的快捷键
选中 Text
- 近一个月的面试总结
cugfy
面试
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46753275
前言
打算换个工作,近一个月面试了不少的公司,下面将一些面试经验和思考分享给大家。另外校招也快要开始了,为在校的学生提供一些经验供参考,希望都能找到满意的工作。 
- HTML5一个小迷宫游戏
357029540
html5
通过《HTML5游戏开发》摘抄了一个小迷宫游戏,感觉还不错,可以画画,写字,把摘抄的代码放上来分享下,喜欢的同学可以拿来玩玩!
<html>
<head>
<title>创建运行迷宫</title>
<script type="text/javascript"
- 10步教你上传githib数据
张亚雄
git
官方的教学还有其他博客里教的都是给懂的人说得,对已我们这样对我大菜鸟只能这么来锻炼,下面先不玩什么深奥的,先暂时用着10步干净利索。等玩顺溜了再用其他的方法。
操作过程(查看本目录下有哪些文件NO.1)ls
(跳转到子目录NO.2)cd+空格+目录
(继续NO.3)ls
(匹配到子目录NO.4)cd+ 目录首写字母+tab键+(首写字母“直到你所用文件根就不再按TAB键了”)
(查看文件
- MongoDB常用操作命令大全
adminjun
mongodb操作命令
成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令,只是MongoDB没有创建数据库的命令,但有类似的命令 如:如果你想创建一个“myTest”的数据库,先运行use myTest命令,之后就做一些操作(如:db.createCollection('user')),这样就可以创建一个名叫“myTest”的数据库。
一
- bat调用jar包并传入多个参数
aijuans
下面的主程序是通过eclipse写的:
1.在Main函数接收bat文件传递的参数(String[] args)
如: String ip =args[0]; String user=args[1]; &nbs
- Java中对类的主动引用和被动引用
ayaoxinchao
java主动引用对类的引用被动引用类初始化
在Java代码中,有些类看上去初始化了,但其实没有。例如定义一定长度某一类型的数组,看上去数组中所有的元素已经被初始化,实际上一个都没有。对于类的初始化,虚拟机规范严格规定了只有对该类进行主动引用时,才会触发。而除此之外的所有引用方式称之为对类的被动引用,不会触发类的初始化。虚拟机规范严格地规定了有且仅有四种情况是对类的主动引用,即必须立即对类进行初始化。四种情况如下:1.遇到ne
- 导出数据库 提示 outfile disabled
BigBird2012
mysql
在windows控制台下,登陆mysql,备份数据库:
mysql>mysqldump -u root -p test test > D:\test.sql
使用命令 mysqldump 格式如下: mysqldump -u root -p *** DBNAME > E:\\test.sql。
注意:执行该命令的时候不要进入mysql的控制台再使用,这样会报
- Javascript 中的 && 和 ||
bijian1013
JavaScript&&||
准备两个对象用于下面的讨论
var alice = {
name: "alice",
toString: function () {
return this.name;
}
}
var smith = {
name: "smith",
- [Zookeeper学习笔记之四]Zookeeper Client Library会话重建
bit1129
zookeeper
为了说明问题,先来看个简单的示例代码:
package com.tom.zookeeper.book;
import com.tom.Host;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.ZooKeeper;
import org.apache.zookeeper.Wat
- 【Scala十一】Scala核心五:case模式匹配
bit1129
scala
package spark.examples.scala.grammars.caseclasses
object CaseClass_Test00 {
def simpleMatch(arg: Any) = arg match {
case v: Int => "This is an Int"
case v: (Int, String)
- 运维的一些面试题
yuxianhua
linux
1、Linux挂载Winodws共享文件夹
mount -t cifs //1.1.1.254/ok /var/tmp/share/ -o username=administrator,password=yourpass
或
mount -t cifs -o username=xxx,password=xxxx //1.1.1.1/a /win
- Java lang包-Boolean
BrokenDreams
boolean
Boolean类是Java中基本类型boolean的包装类。这个类比较简单,直接看源代码吧。
public final class Boolean implements java.io.Serializable,
- 读《研磨设计模式》-代码笔记-命令模式-Command
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* GOF 在《设计模式》一书中阐述命令模式的意图:“将一个请求封装
- matlab下GPU编程笔记
cherishLC
matlab
不多说,直接上代码
gpuDevice % 查看系统中的gpu,,其中的DeviceSupported会给出matlab支持的GPU个数。
g=gpuDevice(1); %会清空 GPU 1中的所有数据,,将GPU1 设为当前GPU
reset(g) %也可以清空GPU中数据。
a=1;
a=gpuArray(a); %将a从CPU移到GPU中
onGP
- SVN安装过程
crabdave
SVN
SVN安装过程
subversion-1.6.12
./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-openssl=/
- sql 行列转换
daizj
sql行列转换行转列列转行
行转列的思想是通过case when 来实现
列转行的思想是通过union all 来实现
下面具体例子:
假设有张学生成绩表(tb)如下:
Name Subject Result
张三 语文 74
张三 数学 83
张三 物理 93
李四 语文 74
李四 数学 84
李四 物理 94
*/
/*
想变成
姓名 &
- MySQL--主从配置
dcj3sjt126com
mysql
linux下的mysql主从配置: 说明:由于MySQL不同版本之间的(二进制日志)binlog格式可能会不一样,因此最好的搭配组合是Master的MySQL版本和Slave的版本相同或者更低, Master的版本肯定不能高于Slave版本。(版本向下兼容)
mysql1 : 192.168.100.1 //master mysq
- 关于yii 数据库添加新字段之后model类的修改
dcj3sjt126com
Model
rules:
array('新字段','safe','on'=>'search')
1、array('新字段', 'safe')//这个如果是要用户输入的话,要加一下,
2、array('新字段', 'numerical'),//如果是数字的话
3、array('新字段', 'length', 'max'=>100),//如果是文本
1、2、3适当的最少要加一条,新字段才会被
- sublime text3 中文乱码解决
dyy_gusi
Sublime Text
sublime text3中文乱码解决
原因:缺少转换为UTF-8的插件
目的:安装ConvertToUTF8插件包
第一步:安装能自动安装插件的插件,百度“Codecs33”,然后按照步骤可以得到以下一段代码:
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a30980927
- 概念了解:CGI,FastCGI,PHP-CGI与PHP-FPM
geeksun
PHP
CGI
CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。
CGI可以用任何一种语言编写,只要这种语言具有标准输入、输出和环境变量。如php,perl,tcl等。 FastCGI
FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不
- Git push 报错 "error: failed to push some refs to " 解决
hongtoushizi
git
Git push 报错 "error: failed to push some refs to " .
此问题出现的原因是:由于远程仓库中代码版本与本地不一致冲突导致的。
由于我在第一次git pull --rebase 代码后,准备push的时候,有别人往线上又提交了代码。所以出现此问题。
解决方案:
1: git pull
2:
- 第四章 Lua模块开发
jinnianshilongnian
nginxlua
在实际开发中,不可能把所有代码写到一个大而全的lua文件中,需要进行分模块开发;而且模块化是高性能Lua应用的关键。使用require第一次导入模块后,所有Nginx 进程全局共享模块的数据和代码,每个Worker进程需要时会得到此模块的一个副本(Copy-On-Write),即模块可以认为是每Worker进程共享而不是每Nginx Server共享;另外注意之前我们使用init_by_lua中初
- java.lang.reflect.Proxy
liyonghui160com
1.简介
Proxy 提供用于创建动态代理类和实例的静态方法
(1)动态代理类的属性
代理类是公共的、最终的,而不是抽象的
未指定代理类的非限定名称。但是,以字符串 "$Proxy" 开头的类名空间应该为代理类保留
代理类扩展 java.lang.reflect.Proxy
代理类会按同一顺序准确地实现其创建时指定的接口
- Java中getResourceAsStream的用法
pda158
java
1.Java中的getResourceAsStream有以下几种: 1. Class.getResourceAsStream(String path) : path 不以’/'开头时默认是从此类所在的包下取资源,以’/'开头则是从ClassPath根下获取。其只是通过path构造一个绝对路径,最终还是由ClassLoader获取资源。 2. Class.getClassLoader.get
- spring 包官方下载地址(非maven)
sinnk
spring
SPRING官方网站改版后,建议都是通过 Maven和Gradle下载,对不使用Maven和Gradle开发项目的,下载就非常麻烦,下给出Spring Framework jar官方直接下载路径:
http://repo.springsource.org/libs-release-local/org/springframework/spring/
s
- Oracle学习笔记(7) 开发PLSQL子程序和包
vipbooks
oraclesql编程
哈哈,清明节放假回去了一下,真是太好了,回家的感觉真好啊!现在又开始出差之旅了,又好久没有来了,今天继续Oracle的学习!
这是第七章的学习笔记,学习完第六章的动态SQL之后,开始要学习子程序和包的使用了……,希望大家能多给俺一些支持啊!
编程时使用的工具是PLSQL