- 想明白这个问题,你才能写下去
文自拾
春节放假的时候,又有一天梦见她,第二天她冒着漫天大雪,傻傻地跑来见我。她说,见见傻傻的我,天很冷,心很暖。她回去后,我写了一篇文章,题目叫——从此梦中只有你。我们没在一起的很长一段时间里,她都在我的心底,一次次出现在我的梦里。我对她说,在一起之前,是胆小且闷骚,在一起之后,我变得不要脸了。不要脸的——去爱你。那文章没写完,火车上,给她看了。我有点小失望,花了好几个小时写,她分分钟就看完,很希望她逐
- 2018-12-29
枫叶红时总多离别
2018年12月29日星期六昨天老师就告诉我们,今天下午不用上课,是图书漂流活动会。我觉得很兴奋,好期待。到了下午,我帮好忙就到外面去买书,刚一出去,就有一大帮的大哥哥、大姐姐围着我问要不要买书,买一本书送一颗糖。我看到了一本《小老虎比上树》的书,问大姐姐多少钱,大姐姐说这本书原价13块,现在便宜4块钱也就是9块钱卖给你,我就把一张10块钱给她找,她找了我一块钱。我现在想想我今天只带了10块钱,现
- 2023-07-24
DXZHY
很2023年7月24号星期天,今天呢一早我就去开店,淋完花我就赶去了中心联谊,感谢中心联谊过程当中,他们在唱诵读者上面1.一边流泪,感觉自己的内在灵魂太长,时间没有得到这样了,所以一边唱手一边在流泪,我分不清楚自己是感动了,还是被呼唤的灵魂所能看到,但我就是哭了,泪流满面,我全身细胞在放松,最后我们荣耀完了之后,我打包了一部分回来,我发现我是挺真爱想摸的,然而。那我们商量好之后,他要做出一些违背我
- 《谁动了我的奶酪》:人生没危机感,真的不行
金征
这几天心里一直闷闷不乐,因为工作调动,很不开心。恰好这时看了斯宾塞.约翰逊的《谁动了我的奶酪》这本书心中释然了。《谁动了我的奶酪》书说讲了两只老鼠嗅嗅和匆匆以及两个小矮人哼哼和唧唧,他们共同在迷宫中寻找奶酪。当找到一大堆奶酪时,大家都很高兴。嗅嗅和匆匆虽然天天来这里吃奶酪,可他们没有忘记沿途看看观察,当奶酪减少时,他们立马寻找下一个有奶酪的地方。哼哼和唧唧则心安理得天天来此享受奶酪,奶酪减少也没发
- 鸟语可否成诗
ZHOU春雨
图片发自App不论鸟语可否成诗,但有一点,珍藏一份天真无邪的快乐,仅此而已——题记那年的小阳春窗下的一株桃树蓄满了花骨朵尽情地在眼里妩媚着童稚心的音符飞上了树梢各种鸟语深情的歌唱风将快乐传递的好远柔柔的,呼吸间能感觉甜蜜鸟语很准时早早来到窗前叫醒还未睁眼的梦硬是要教我学它们天籁的鸟语树上一群鸟唤着地上一群小伙伴我们相视而立傻傻的,愣愣的就这样,哈哈开始了一天的互动鸟儿在树上张罗飞来蹦去,叽叽喳喳小
- 面朝大海 | 天气渐渐转凉,是时候去马来西亚避一避了!
鄧蒙
美人鱼岛的海浪丹绒亚路的日落尺寸夸张的老虎虾马来西亚华人亲切的普通话原住民小孩毫不设防的微笑亚庇街头的榴莲香前无古人好吃的桔子冰和椰子布丁…这里就是沙巴沙巴是“天堂中的天堂”它能满足每种旅行者的欲望它有你想要的一切美好沙巴有哪些值得去的地方?▼丹绒亚路海滩丹绒亚路海滩是亚庇享受海风、欣赏夕阳的绝佳观景点,据说这里的夕阳美景是世界上最漂亮的地方之一。“亚路”指的是木麻黄,顾名思义这里一定耸立着无数木
- 晨语问安2020年4月3日
求索大伟
『晨语问安4.3』问题,就是事物的矛盾,那里没有解决的矛盾,哪里就有问题的存在。问题,可以说是无处不在,无时不有,无人能免,更是无人可挡。一般的认知下,问题是作为消极、负面的存在,一向被人们所厌恶,犹如过街老鼠人人喊打;同时,问题也蕴含着巨大的推动力和昭示力,牵动着我们走向更好美好的明天。工作上问题的存在,意味着自身还存在着很大的不足,或者能力不够,或者方法不多,或者方式不灵活,一旦把挡在眼前的问
- 故事:蟾蜍斗老鼠,蟾蜍胜利,本以为事情已结束,却出现一道黑影
星尘讲故事
第5章(前面章节在后面)今年的大年初一是我最轻松的一年,只给大爷爷磕了一个头,这个年就算过完了。回到家中,天还没亮,儿子还在睡觉,我把羽绒服脱下来,又重新躺在了床上,前几个小时发生的一切,让我感觉那么的不真实。若不是手指头有点疼,我还真的以为是做了一个梦。迷迷糊糊中,有人在摇晃我,我以为是儿子醒了,立马坐了起来,结果发现是婶子来了。“小胖,你黄二叔让我来喊你,让你给帮帮忙!”婶子有些不好意思地说道
- 天气又热了
莲子陪儿子走过小学
上周连续下雨一个礼拜,温度在25度左右,最喜欢这样的天气。春天和秋天不冷不热,每个人都应该很喜欢。然而最近两天温度又上升了,32度,都说秋老虎很猛烈。的确让人受不了。老公休息两天,做全身检查。我给看店。有点温风的时候还好,如果没有一点风,可让人吃不消。真不知道老公是如何熬过一年又一年,一个夏天又一个夏天。此时才懂得,你所谓的岁月静好,是因为有爱人替我负重前行。如果没有爱人,我不会生活得那么轻松。想
- 本是天上物,怎奈心术不正被贬下界
梦想在清晨
小偷不论在过去或是现在都是让人痛恨。小偷顾名思义如过街老鼠一般。故而有地也称其地老鼠。要说很久以前,有个叫李宝才的人。好吃懒做,坑蒙拐骗无恶不作。尤其是喜欢偷,要说兔子还不吃窝边草,可街坊的村民几乎都被他偷过。有句话说:坏事做多,总是会得报应的。这天,李宝才又在街上跟螃蟹一般的横来横去。贼眉鼠眼在一个个路过的人身上瞄,企图寻找出一条大鱼。一个财主似的老头在一帮下人的拥护中朝这边走来。李宝才顿时眼睛
- 小老鼠皮皮和大地瓜之间的故事(八)
无尽之城
大土洞里黑漆漆的什么都看不清,只听到皮皮大声呼救的声音和它呼啦呼啦在水里挣扎的声音,因着天太冷,坑里的水冰冰凉,皮皮大声呼叫的声音里都能听到它上下牙齿打架的声音。娇娇不用想就知道皮皮现在身上有多冷,皮皮现在的心情有多麽的着急又无助。怕皮皮的喊叫挣扎声再把那只凶恶的大鸟给招来,娇娇只能趴在黑漆漆的大坑边缘一边小声的安慰皮皮一边嘱咐皮皮千万不要再大喊大叫了,小心会惊扰到那只凶神恶煞的大鸟。听娇娇这麽一
- 玉苍之南:普洱茶生茶好还是熟茶好?解析熟茶和生普的优缺点2020-08-25
茶鬼人生
普洱茶生茶好还是熟茶好?很多新手茶友,对于普洱茶生茶、熟茶,经常是“傻傻分不清楚”。那么,这二者究竟哪个更好呢?新鲜的茶叶采摘后以自然的方式陈放,未经过渥堆发酵处理为生茶。生茶茶性较烈,刺激,新制或陈放不久的生茶有苦味,涩味,汤色较浅或黄绿,生茶可清热去火,适合夏天喝。而且长期收藏具有时间越长,品质越佳的特点。普洱茶在制作过程中经过渥堆发酵使茶性趋向温和,称为熟茶。熟普具有温和的茶性,可以暖胃,茶
- 2019-05-04
夏目岳七
又遇见她了,可是感觉自己好笨,明明好想跟她说话呀,可是又不知道说什么,就傻傻的坐在离她那么近的位置,却不敢靠近,笨死了,撩汉的时候那功夫去哪里了?气死了,好想跟她说话,啊啊啊啊,气死了,这么好的机会,也真是缘分,第二次遇见了耶
- #开始记日记#1101《潘金莲的饺子》
董克平日记
2020/02/11星期二北京翻完《植物在丝绸的路上穿行》,开始看《潘金莲的饺子》。这本书是作者李舒送给我的,当时看了一下,直到今天重新拿出来再看。230多页,一天看完了。以前买过山东画报出版社出的《金瓶梅饮食谱》,看过后也就忘记了。去济南的时候,王老虎还请我吃过一餐金瓶梅宴,那餐饭真的很难吃,而且还不情色。人生乐事食色为大,这餐金瓶梅宴既不好吃也不色情,除了记住武大郎炊饼、潘金莲咸菜之外,不记得
- 老虎来了啊:为什么大家都知道打工不赚Q,可是都还在打工?
老虎来了啊
为什么大家都知道打工不赚Q,可是都还在打工?因为绝大多数打工人的一生的时间,都在被贫穷这件事无休止地追刹。因为绝大多数打工人很多都意识不到,自己除了打工还可以有别的选择。因为绝大多数打工人不仅没有多少积蓄,还要背着几十万甚至几百万的房贷车贷。因为绝大多数打工人只要停下来,就要为下个月的衣食住行犯愁,就要为孩子的各项消费犯愁。因为绝大多数打工人很难存下一笔可以支撑自己长时间生存的积蓄,只要工资一断,
- 感恩日记
叶汀
我很感恩连日的麻烦,焦虑,纠结,暴躁,疲劳,困顿,谢谢她们,终会过去,可以为她们停留,但不会深陷其中,长镜头往回看,都是傻傻可爱的自己,感恩!我很感恩前世今生的轮回,我虽忆不起完整的前世,只有零星碎片,其中有一个碎片记忆就是我披头散发被吊打的满脸是血,还有一个碎片记忆是我身着古装在大自然里玩耍,还有一些就很模糊很模糊了,但从这几个碎片来看我现在能理解我为啥那么胆小害怕了,队友深知我的胆小,从未离开
- 让家教更有效的七大定律
海韵互联
家庭是孩子的第一所学校,家长是孩子第一任老师。如何科学的进行家庭教育,你真的知道吗?今天我们一起来学习七大心理效应,运用科学的方法进行有效的家教。罗森塔尔效应罗斯塔尔做过一个著名的实验,他把小白鼠随机分成两组:A组和B组,并且告诉A组的饲养员说,这组老鼠非常聪明;同时又告诉B组的饲养员这一组的老鼠智力一般。几个月后,两组老鼠进行穿越迷宫测试,A组竟然真的比B组聪明,它们能够先走出迷宫找到食物。这一
- 一百封书信
洁永
希望你说的再见,不是代表着再也不见。《第一封》我还在原地,傻傻的等你回来。《第二封》只要身边有你,无论富贵与否,我都是世上最幸福的人。《第三封》红尘有你,我只要隐隐地能够感觉得到你在我的世界里的存在,我就能信心十足、精神百倍地去做好每天的每一件事。我懂得了,应该说我更加懂得了,爱一个人就应该不计较付出不计较收获,无怨无悔,始终真心真意。《第四封》我,只在做一件事的时候才会想你,那就是呼吸。《第五封
- “第一步”“下一步”“再一步”“每一步”
雅州国明
工作中,我们要高度重视“第一步”。举棋要落子,走路要抬脚。《道德经》云,一生二,二生三,三生万物。没有“一”,就没有“二”,就不能接二连三。重视“第一步”,这是因为,如果不迈开第一步,那就只停留在想和说上,没法落到行和做上,老鼠给猫戴铃铛,你讨论千万遍,可能都找不出答案,但其并非无解,我们要树立“有解思维”,把外部因素、其他要素考虑进来,问题就迎刃而解,“借刀杀人”、“君子善假于物”之类的方法很多
- 有些东西终于名正言顺的时候, 反而失去了意义
小卿药师
小时候拍照片,很喜欢"V"的手势,傻傻的喊"yeah",或者捣乱给别人做个兔子耳朵。大学了,不好意思摆"V"的手势了,觉得好傻,却又没什么新想法,局促不安不知道手放哪里好。于是,懂了,成长,我们要开始戒掉很多习惯,而用来替代一时还没有找到。中学下了晚自习,浩浩荡荡一大群同学结伴骑车回家,聊天,飙车,大喊,为了多闹一会,绕点远也甘愿。大学下了课,回寝室的回寝室,忙工作的去忙工作,陪女友的忙着接女友。
- python 中 Class(类)的详细说明
炸膛坦客
python学习笔记python深度学习
Class类用来描述具有相同的属性和方法的对象的集合。它定义了该集合中每个对象所共有的属性和方法。对象是类的实例。一个人(身高:一米八)要吃饭、喝水、睡觉;一只老虎(体重:300斤)要奔跑、洗澡、捕猎。一、名词定义类(Class):用来描述具有相同的属性和方法的对象的集合。它定义了该集合中每个对象所共有的属性和方法。对象是类的实例。方法:类中定义的函数。类变量:类变量在整个实例化的对象中是公用的。
- 2018-08-14
合岩悦色
亲子日记---13昨天晚饭后我们全家坐在沙发上聊天,聊得正兴时,儿子带着小侄子从卧室出来,一脸严肃的样子,对着我们说:“请大家保持安静,我今天当老师,教硕硕(小侄子的名字)表演老虎拜师傅。”说完后瞬速跑回卧室,全家人瞬间安静下来,看到儿子领着小侄子又从卧室出来,边走边说:“走上小舞台,演出精彩来,走上小舞台,演出精彩来.....”走到我们坐的正对面后,又自报幕:“请大家欣赏《老虎拜师傅》,一棵松树
- 随记│放假22日
Silence的小茶馆
放假第二十二天哇,今天天气还可以啦,相比于昨晚太阳更大些呢,当然也就更热点啦,不过不出门其实就没有这么多烦恼噢!好吧会出门还是老规矩做核酸啦。恩一天天的待在家里还是得出门走走。又是很懒散的一天呀,这可真是“老虎不在家,猴子称霸王”呢,哈没有妈妈的约束,咱就是说相当的懒散,上午吧全程都在看《向往的生活》,诶这种真是不能看,一看就是说非常上头,就一集一集比连续剧还得劲,真的这样不行呢,还是得控制住我自
- 高考第一天的某些情绪
纹_左
我是带着一点情绪写的这篇文章,不过只是针对一小部分人的某些行为,如果触及某些人的逆鳞,先说一声抱歉。这两天不排除我牙疼引起情绪的波动,天气热蚊子多并且人不舒服,那就是老虎的屁屁谁摸谁死,谁惹我谁不痛快。正式参加高考医疗保障的第一天,因为头天夜班,晚上睡觉在凌晨三四点,早上七点就起来把事情处理完毕,看时间差不多八点,拿了一盒奶就匆匆下楼,然后拿着急救箱就坐着单位的车出发。因为九点开考,提前五十分进场
- 绘本讲师训练营【55期】7/21阅读原创《14只老鼠大搬家》
吉吉_1027
55006林文喆《14只老鼠大搬家》是一套融合自然之美与亲情之爱的世界经典图画书,在日本已经畅销20余年,总销量突破5000万册。在这个由爷爷、奶奶、爸爸、妈妈和十个孩子组成大家庭中,十四只老鼠团结合作,其乐融融。它们年龄、个性、能力都不同。为了生活他们团结合作,发挥特长、互相照顾,齐心协力克服种种困难,过着和谐美满的家庭生活。这种不畏生活艰难、勇于自己动手,热爱自己家庭的态度,是现代都市儿童的最
- 要知道,这几类人,老天赏饭吃,再差也能苦去福来
舒山有鹿
01战国·韩非《韩非子·扬权》:“使鸡司夜,令狸执鼠,皆用其能,上乃无事。”让公鸡去守夜,让狸猫去看管老鼠,都是各自发挥它们的才能,那天下就相安无事了。人尽其用,各尽其才,这是每个人乃至整个社会最好的情况。只要你做好了本分,将自己的才华运用到合适的领域当中,那我们不就能发展了吗?一个人,之所以不能发展,就是因为他们没有把才华运用到适合自己的地方。一个人,之所以能够发展,就是因为他们将才华发挥到了极
- 可爱的小猫
程烁菡妈妈
我最喜欢的小动物是小猫,有时候它懒洋洋的样很可爱。它喜欢在人们的裤腿上蹭蹭,特别有意思。它也是我们的好朋友,它能帮助人们抓住可恶的老鼠,是我们的大功臣。
- 向着目标更进一步Day6
陶陶妈妈在努力
原创今天只吃了早餐和晚餐,并且都保持七分饱,拒绝零食。有点习惯了这种方式,不像开始几天感觉那么饿了。督促孩子做了语文默写练习册,英语卷子,和读书大笔记,最开心的是我们不但玩了小人老虎枪和斗兽棋,还想起了五子棋这个游戏,大家玩得都很开心。孩子正是换牙的时候,有个门牙要掉了,没法吃饭,我心想着帮她拽下来,可是真要动手,一点也使不出劲,没等弄,心先疼得厉害,真是比对自己下手还难啊,最后只有放弃了。早上把
- 我是一只偷听的老鼠
7a6c4089f381
今天练习完成,我不开心的回了家,对爸爸妈妈和年迈的爷爷奶奶说:“唉!自从威利巴尔德登基后,除了反复练习还是反复练习,现在和比起以前那是多么不自由,我们连自个的权利也没了,万一大花猫真的来了,大家也不照样被吃掉,这样练了又练又有什么用?”亲爱的宝贝,我们之前也有想过,可你想想你叔叔菲利普她被威利巴尔德又强壮又有力的尾巴,把你叔叔打成什么样,连我也不敢想象,妈妈难过的说,我这样家人不注意偷偷的溜了出来
- 老鼠的诗
喜马ma
图片发自App老鼠的诗精灵鼠小弟里的老鼠怎么可能让人创造出鼠目寸光贼眉鼠眼这样的成语
- 关于旗正规则引擎规则中的上传和下载问题
何必如此
文件下载压缩jsp文件上传
文件的上传下载都是数据流的输入输出,大致流程都是一样的。
一、文件打包下载
1.文件写入压缩包
string mainPath="D:\upload\"; 下载路径
string tmpfileName=jar.zip; &n
- 【Spark九十九】Spark Streaming的batch interval时间内的数据流转源码分析
bit1129
Stream
以如下代码为例(SocketInputDStream):
Spark Streaming从Socket读取数据的代码是在SocketReceiver的receive方法中,撇开异常情况不谈(Receiver有重连机制,restart方法,默认情况下在Receiver挂了之后,间隔两秒钟重新建立Socket连接),读取到的数据通过调用store(textRead)方法进行存储。数据
- spark master web ui 端口8080被占用解决方法
daizj
8080端口占用sparkmaster web ui
spark master web ui 默认端口为8080,当系统有其它程序也在使用该接口时,启动master时也不会报错,spark自己会改用其它端口,自动端口号加1,但为了可以控制到指定的端口,我们可以自行设置,修改方法:
1、cd SPARK_HOME/sbin
2、vi start-master.sh
3、定位到下面部分
- oracle_执行计划_谓词信息和数据获取
周凡杨
oracle执行计划
oracle_执行计划_谓词信息和数据获取(上)
一:简要说明
在查看执行计划的信息中,经常会看到两个谓词filter和access,它们的区别是什么,理解了这两个词对我们解读Oracle的执行计划信息会有所帮助。
简单说,执行计划如果显示是access,就表示这个谓词条件的值将会影响数据的访问路径(表还是索引),而filter表示谓词条件的值并不会影响数据访问路径,只起到
- spring中datasource配置
g21121
dataSource
datasource配置有很多种,我介绍的一种是采用c3p0的,它的百科地址是:
http://baike.baidu.com/view/920062.htm
<!-- spring加载资源文件 -->
<bean name="propertiesConfig"
class="org.springframework.b
- web报表工具FineReport使用中遇到的常见报错及解决办法(三)
老A不折腾
finereportFAQ报表软件
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、repeated column width is largerthan paper width:
这个看这段话应该是很好理解的。比如做的模板页面宽度只能放
- mysql 用户管理
墙头上一根草
linuxmysqluser
1.新建用户 //登录MYSQL@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password) values(‘localhost’,'jeecn’,password(‘jeecn’));//刷新系统权限表mysql>flush privileges;这样就创建了一个名为:
- 关于使用Spring导致c3p0数据库死锁问题
aijuans
springSpring 入门Spring 实例Spring3Spring 教程
这个问题我实在是为整个 springsource 的员工蒙羞
如果大家使用 spring 控制事务,使用 Open Session In View 模式,
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.
- 百度词库联想
annan211
百度
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RunJS</title&g
- int数据与byte之间的相互转换实现代码
百合不是茶
位移int转bytebyte转int基本数据类型的实现
在BMP文件和文件压缩时需要用到的int与byte转换,现将理解的贴出来;
主要是要理解;位移等概念 http://baihe747.iteye.com/blog/2078029
int转byte;
byte转int;
/**
* 字节转成int,int转成字节
* @author Administrator
*
- 简单模拟实现数据库连接池
bijian1013
javathreadjava多线程简单模拟实现数据库连接池
简单模拟实现数据库连接池
实例1:
package com.bijian.thread;
public class DB {
//private static final int MAX_COUNT = 10;
private static final DB instance = new DB();
private int count = 0;
private i
- 一种基于Weblogic容器的鉴权设计
bijian1013
javaweblogic
服务器对请求的鉴权可以在请求头中加Authorization之类的key,将用户名、密码保存到此key对应的value中,当然对于用户名、密码这种高机密的信息,应该对其进行加砂加密等,最简单的方法如下:
String vuser_id = "weblogic";
String vuse
- 【RPC框架Hessian二】Hessian 对象序列化和反序列化
bit1129
hessian
任何一个对象从一个JVM传输到另一个JVM,都要经过序列化为二进制数据(或者字符串等其他格式,比如JSON),然后在反序列化为Java对象,这最后都是通过二进制的数据在不同的JVM之间传输(一般是通过Socket和二进制的数据传输),本文定义一个比较符合工作中。
1. 定义三个POJO
Person类
package com.tom.hes
- 【Hadoop十四】Hadoop提供的脚本的功能
bit1129
hadoop
1. hadoop-daemon.sh
1.1 启动HDFS
./hadoop-daemon.sh start namenode
./hadoop-daemon.sh start datanode
通过这种逐步启动的方式,比start-all.sh方式少了一个SecondaryNameNode进程,这不影响Hadoop的使用,其实在 Hadoop2.0中,SecondaryNa
- 中国互联网走在“灰度”上
ronin47
管理 灰度
中国互联网走在“灰度”上(转)
文/孕峰
第一次听说灰度这个词,是任正非说新型管理者所需要的素质。第二次听说是来自马化腾。似乎其他人包括马云也用不同的语言说过类似的意思。
灰度这个词所包含的意义和视野是广远的。要理解这个词,可能同样要用“灰度”的心态。灰度的反面,是规规矩矩,清清楚楚,泾渭分明,严谨条理,是决不妥协,不转弯,认死理。黑白分明不是灰度,像彩虹那样
- java-51-输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
bylijinnan
java
public class PrintMatrixClockwisely {
/**
* Q51.输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
例如:如果输入如下矩阵:
1 2 3 4
5 6 7 8
9
- mongoDB 用户管理
开窍的石头
mongoDB用户管理
1:添加用户
第一次设置用户需要进入admin数据库下设置超级用户(use admin)
db.addUsr({user:'useName',pwd:'111111',roles:[readWrite,dbAdmin]});
第一个参数用户的名字
第二个参数
- [游戏与生活]玩暗黑破坏神3的一些问题
comsci
生活
暗黑破坏神3是有史以来最让人激动的游戏。。。。但是有几个问题需要我们注意
玩这个游戏的时间,每天不要超过一个小时,且每次玩游戏最好在白天
结束游戏之后,最好在太阳下面来晒一下身上的暗黑气息,让自己恢复人的生气
&nb
- java 二维数组如何存入数据库
cuiyadll
java
using System;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace WindowsFormsApplication1
{
- 本地事务和全局事务Local Transaction and Global Transaction(JTA)
darrenzhu
javaspringlocalglobaltransaction
Configuring Spring and JTA without full Java EE
http://spring.io/blog/2011/08/15/configuring-spring-and-jta-without-full-java-ee/
Spring doc -Transaction Management
http://docs.spring.io/spri
- Linux命令之alias - 设置命令的别名,让 Linux 命令更简练
dcj3sjt126com
linuxalias
用途说明
设置命令的别名。在linux系统中如果命令太长又不符合用户的习惯,那么我们可以为它指定一个别名。虽然可以为命令建立“链接”解决长文件名的问 题,但对于带命令行参数的命令,链接就无能为力了。而指定别名则可以解决此类所有问题【1】。常用别名来简化ssh登录【见示例三】,使长命令变短,使常 用的长命令行变短,强制执行命令时询问等。
常用参数
格式:alias
格式:ali
- yii2 restful web服务[格式响应]
dcj3sjt126com
PHPyii2
响应格式
当处理一个 RESTful API 请求时, 一个应用程序通常需要如下步骤 来处理响应格式:
确定可能影响响应格式的各种因素, 例如媒介类型, 语言, 版本, 等等。 这个过程也被称为 content negotiation。
资源对象转换为数组, 如在 Resources 部分中所描述的。 通过 [[yii\rest\Serializer]]
- MongoDB索引调优(2)——[十]
eksliang
mongodbMongoDB索引优化
转载请出自出处:http://eksliang.iteye.com/blog/2178555 一、概述
上一篇文档中也说明了,MongoDB的索引几乎与关系型数据库的索引一模一样,优化关系型数据库的技巧通用适合MongoDB,所有这里只讲MongoDB需要注意的地方 二、索引内嵌文档
可以在嵌套文档的键上建立索引,方式与正常
- 当滑动到顶部和底部时,实现Item的分离效果的ListView
gundumw100
android
拉动ListView,Item之间的间距会变大,释放后恢复原样;
package cn.tangdada.tangbang.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import andr
- 程序员用HTML5制作的爱心树表白动画
ini
JavaScriptjqueryWebhtml5css
体验效果:http://keleyi.com/keleyi/phtml/html5/31.htmHTML代码如下:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="UTF-8" >
<ti
- 预装windows 8 系统GPT模式的ThinkPad T440改装64位 windows 7旗舰版
kakajw
ThinkPad预装改装windows 7windows 8
该教程具有普遍参考性,特别适用于联想的机器,其他品牌机器的处理过程也大同小异。
该教程是个人多次尝试和总结的结果,实用性强,推荐给需要的人!
缘由
小弟最近入手笔记本ThinkPad T440,但是特别不能习惯笔记本出厂预装的Windows 8系统,而且厂商自作聪明地预装了一堆没用的应用软件,消耗不少的系统资源(本本的内存为4G,系统启动完成时,物理内存占用比
- Nginx学习笔记
mcj8089
nginx
一、安装nginx 1、在nginx官方网站下载一个包,下载地址是:
http://nginx.org/download/nginx-1.4.2.tar.gz
2、WinSCP(ftp上传工
- mongodb 聚合查询每天论坛链接点击次数
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
/* 18 */
{
"_id" : ObjectId("5596414cbe4d73a327e50274"),
"msgType" : "text",
"sendTime" : ISODate("2015-07-03T08:01:16.000Z"
- java术语(PO/POJO/VO/BO/DAO/DTO)
Luob.
DAOPOJODTOpoVO BO
PO(persistant object) 持久对象
在o/r 映射的时候出现的概念,如果没有o/r映射,就没有这个概念存在了.通常对应数据模型(数据库),本身还有部分业务逻辑的处理.可以看成是与数据库中的表相映射的java对象.最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合.PO中应该不包含任何对数据库的操作.
VO(value object) 值对象
通
- 算法复杂度
Wuaner
Algorithm
Time Complexity & Big-O:
http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o
http://bigocheatsheet.com/
http://www.sitepoint.com/time-complexity-algorithms/