- 2018-11-01
秋天的一片落叶_dfa7
一瞬间,春天已经到来,早春时节,春天的湖水初涨,水面刚刚与湖岸齐平,白云重重叠叠,同湖面上的波浪连成一片,看上去,浮云很低,映出山石林木的倒影,几只早莺飞回来了,都在找着适合自己的屋子,大概是初春,还有点儿冷,都争着抢着到向阳的树上去,一个个好似再说:“别抢我的,一边去,这是我找到的……”而燕子也从南方飞回来,在找着合适的地方搭建属于自己的小窝。在田野上,还有那些杂乱,等待着含苞待放的花,开放的花
- 云移的ScalersTalk第四轮新概念朗读持续力训练Day008 2018-11-01
云移达己达人行动中
练习材料:lesson24Itcouldbeworse任务配置:L0+L1知识笔记:4、'Everyone'slosingmoneythesedays,'hesaid.days可以指“时期,时代”,如inhisboyhooddays(在他的童年时代)。thesedays指“现今”用进行时态取代一般现在时,在英文是一种修辞方法,表示不满,一种感情。5、Hestartedtocomplainabout
- 2018-11-01
0eeea79f2fc1
一年一度的万圣节又要到来了,万圣节是西方国家的传统节日。这一夜也是一年中最“闹鬼”的一夜,所以也叫“鬼节”。不过人家的鬼节和我们的传统“鬼节”不一样,我们的传统七月半鬼节主要是烧纸祭祀先人为主,且在阴历七月半的这天晚上,气氛一般都是弄得很恐怖,大人也不断提醒小朋友们不能外出,以免撞鬼。所以我们七月半的鬼节在小朋友们最喜爱的节日中基本上排不上名次。而西方的鬼节——万圣节就不一样了,奇装异服、南瓜灯、
- 《老子》笔记23 2018-11-01
海上明月共
第二十六章[原文]重为轻根,静为躁君。是以君子终日行不离辎重,虽有荣观,燕处超然。奈何万乘之主,而以身轻天下?轻则失根,躁则失君。[译文]厚重是轻率的根本,静定是躁动的主宰。因此君子终日行走,不离开载装行李的车辆,虽然有美食胜景吸引着他,却能安然处之。为什么大国的君主,还要轻率躁动以治天下呢?轻率就会失去根本;急躁就会丧失主导。[心解]“静”、“重”,评“轻”、“躁”,是一对矛盾,立身处世,甚至一
- 2018-11-01
浅梦沫熙
听孩子的感受爸爸可以花点时间密切观察一下他的小女儿。他可能会注意到爱丽丝撅着的小嘴、颤抖的下巴,以及开始盈满眼眶的狙花。他可以问爱丽丝—要带着真正的兴趣——她有什么感受。如果她因为年龄太小而说不清楚自己的感受,他可以问她是否认为爸爸不爱她。爱丽丝或许会用话语(或非语言信号)来作回应,让爸爸知道他理解对了。他可以问爱丽丝当时为什么把水洒到地上。她可能会解释说“水是自己洒出来的”,或者“是我不小心”。
- 2018-11-01
Appreciationli
娃昨晚到现在发烧了,不严重,但明显食欲不振,黏人。现在睡了,哄娃睡着刚要起身,娃在半睡半醒中说妈妈去拉粑粑了?我马上说嗯嗯。娃今晚睡了个香甜美梦。图片发自App
- 2018-11-01(霄)
18郎师门
关于“农村公共管理”的课程论文,一开始确定的题目是农田水利资金管理存在的问题及对策,看了相关文献后大部分都是期刊,很多都是找一个地区的农田水利资金管理进行研究,没有那方面数据感觉比较难写,不好动笔。然后想尝试用ppp模式解决农田水利资金中的政府投资大但效率不高,民营企业参与意愿度不高等方面问题,虽然国家近几年大力支持ppp模式,但ppp模式运用比较少且效率不高,这方面主题不知道写什么好(目前想的是
- 2018-11-01
小伟小伟小伟
图片发自App今天学习了什么?不要把自己的观念思想强加于人,要明白自我的观念信念是如何形成的。
- 2018-11-01
陈渼茜
自从学习了黄裕棠老师的易经文字弟子班,感觉我们中国的文化真的是博大精深啊,不是三言两语就能说出来的伟大!回到家又马不停蹄地给自己改名字:算龙脉,人升天,天克地,轻松财,还要数字全吉,另外还要丰财格,还要五行全…总共要4,50个条件都符合才算好名字!取出来发群里,让大家帮我验收,黄老师说可以!我心里沾沾自喜…但想想又不对、应该要多取几个做对比,做测试才对啊!然后决定第二天接着取,但是怎么也取不出来。
- 2018-11-01
李子涵_3296
吾乃永生一族以血为食,以昼为夜光明是对吾辈的诅咒永生是对吾辈的折磨如若可以,愿用不死之身,换取那片温暖---Angela
- 2018-11-01
坑哇
思想:万事开头难!确实,一件事情在刚开始的时候,许许多多可知的不可知的问题和困难横亘在我们面前,使得我们千头万绪。本周开发青岛到宁夏的汽车运输专线碰到了我从事业务工作以来最大的挑战,运输过程的风险怎么冲抵,有同事建议转包给其他承运人。我是从心底不愿意这么处理,我们港口散货汽车运输业务面临的是转型发展的问题,不是个别业务进行风险转嫁的问题,要不要利用开发这个线路进行试点转型突破,我现在也有点拿不定主
- 2018-11-01
光年Fineyoga
今天学习了一下,非常重要的事,就是大表哥说的靠山山会倒靠人人会跑人家做事的时候一定要学会自立不能有想靠着别人怎么样的想法,因为别人不可能一直会帮助你在一在二不再别人能帮助你一次两次,但他始终是别人的,不是自己的,但有一天别人不太帮助你的时候还是一无所有,所以人只有自己不断地学习,不断地完善,自己才能让自己变得更加优秀。
- 2018-11-01六波罗蜜
郝凡
图片发自App布施、持戒、忍辱、精进、禅定、般若布施是给予你所拥有的事物,持戒是善待他人,忍辱是放下嗔怒,精进是增长一切美德的喜悦之情,禅定是全神贯注,远离烦恼,般若助你决定何谓真理,慈悲是一种融合了对众生之爱的高度智识。布施带来财富,美好的世界来自持戒;忍辱带来美好,卓越的成就来自精进;禅定带来宁静,自由来自般若;慈悲成就我们所有的愿望。
- 2018-11-01
TAO1202
2018-11-01六项精进打卡努力一组姓名:简彦涛单位:上海日朗门窗有限公司六项精进397期学员【日精进打卡第151天】【知~学习】《六项精进大纲》1遍共148遍《大学开篇》1遍共148遍【经典名句分享】付出不亚于任何人的努力【行~实践】一、修身今日步数13118步二、齐家跟家人视频通话三、建功:做了产品首检{积善}:发愿从2018年5月27日起1年内做善事。今日1善,累计151善。【省~觉悟】
- 2018-11-01持续学习在路上...
陈永玲1
自从加入了晨读群这个大家庭之后,我就觉得自己的时间越来越宝贵了,一天除了上班,做家务余下的时间就是学习相关的了,感觉自己每一天过得很充实.我一定要有序的坚持持续的学习下去,先做好自己,相信我的孩子一定有所改变.虽然孩子现在还不能在所有的时间里都能完全的接纳我,那我就先无条件的接纳她吧.今天在群中看到有发"这个世界上自然环境和社会环境对孩子的影响再深,都比不过父母的脸色对孩子的影响"记得昨天我假装高
- 2018-11-01
静_8ec3
感恩我自己今天去帮爸爸妈妈做了饭,哇,真是太棒了。感恩爸爸妈妈对我的爱,及时关心儿子,还帮着喂猫咪,我觉得自己真的好幸福。感恩可爱的猫咪给我带来欢乐,让我不再觉得孤单。感恩我的猪儿忍耐我不好的情绪,对我不离不弃,时刻不忘关心我。感恩魏老师心怀大度,一个人守着科室,然后让我可以安心的去练车。感恩我的教练师傅对我的帮助和关心支持,也感恩自己练车不在状态,却没有着急上火。感恩自己积极的心态,相信儿子一定
- 2018-11-01
攀登的玉米妈
小钰最近跟我吐槽他们英文老师发音不标准,我都惊呆了。说的还真在理,她说把pineapple发成了penapple,其实就是i发的不够饱满。我觉得英语还真是得趁早学,这么大的孩子模仿能力超强,根本不用给她讲什么连读,弱读,直接用CD洗脑就行了。小钰现在每天开始注重自己的形象了,昨儿晚上就抱怨,为什么秋衣穿了两天了还不给换,还说外套的拉锁特别脏了,得洗洗。每天早晨梳辫的皮筋也必须两根的颜色给搭配上,唉
- 2018-11-01 星期四 晴
锴博麻麻
农历九月估计是个好月份,家里好几个人过生日,他姑姑是上周六有事没赶回去,他爸爸是昨天,在北京赶不回来,不过大人都没赶上,这周六给锴博姐姐过,顺便捎上他爸爸和姑姑一起过,生日对于孩子们还是充满期待的!自从锴博上周美术课学了剪纸,最近几天写完作业都一直沉浸在其中,他的书桌上、地上到处是各种杰作,还都舍不得扔,最后都被他收在了一个小盒子里,看似很珍贵。得知爸爸和姑姑还有姐姐生日,今天写完作业就开始忙乎生
- 2018-11-01
D6_李晓红Dorothy
【昨日三只青蛙】【今日三只青蛙】买菜借一本英文书抄写或默写一段英文【90天践行目标】读三本英文原著每日一篇英文小文【其他要做的事】听书帮Alex考虑化学补习【感恩分享】昨晚又去了培训,看着不多的几个人兴奋的分享,有人同学同乐,一点都不孤独。学习、成长是幸福的!要想的还是如何学以致用,活学活用。小儿子很好学,学习对他也是其乐融融,看着为买到一本便宜的二手书欢快雀跃的宝贝,我的心也飞扬起来。大儿子说最
- 设置共享后其他计算机无法访问,Win7局域网共享设置疑难大全(无法访问,没有访问权限,看不到共享电脑)...
東宵來影
设置共享后其他计算机无法访问
2018-11-01大家都知道在设置网络共享的时候需要在网络和共享中心,把密码保护给关闭了才可以,但是一些朋友反馈遇到Win7无法关闭共享密码,关闭密码保护共享保存不了的问题,不管如何设置,一点保存打开还是一样,那么如何解决呢?总的来说有以下几个方面需要...2018-10-071061错误是我们在设置电脑共享时经常遇到的错误,这个错误通常在我们共享网络时出现,很多朋友不知道如何解决,其实这个问题
- 2018-11-01
桔梗花蕾
图片发自App既然相遇了,那就好好相处,就算终有一散,那也要感谢曾经拥有。用优雅的心相遇,用包容的心相处,用感恩的心告别,无论如何,都是一段美好的人生经历。
- 2018-11-01
心月Ulianyoga
事实有真假,观点无对错。就是理解别人的观点,但是不去评判它的对错,尊重他,这会给咱们省去很多不必要的麻烦。在与顾客交流中少用一些“我认为”“我觉得”这样的词,很少人会喜欢听别人的观点,会更喜欢用一个事实来举例然后问一句“你觉得呢”,这样会更拉进距离。今天学习的这段很有意思,以后听别人说他的观点时候就不会总想怼回去了,先表示理解,但不代表我认同你的观点,然后给出正确信息,嘻嘻…
- 2018-11-01
小笨鱼王月
关系需要互补,但要在好的关系中互补,才能健康发展。人和人的角色就像拼图,我们不能做了所有,只能是大家共同操作。所以不要把所有不该自己做的也做了,这样导致会有一部分人无事可做,形成懒惰!
- 2018-11-01
墨亦365
我们不能永远站在台下观看,我们不能总是仰望别人,我们不能总是看着别人活成了我们想要的样子,而只会报怨自己的无能。总要相信自己,相信别人可以,我也可以。别人可以为什么我们不可以。
- 2018-11-01接口测试&自定义变量
YW祥
一、功能测试get1.传输位置请求行(url里面传参,?分隔)传输格式键值对3.请求头设置post传输位置请求正文传输格式键值对jsonxml请求头设置(Content-type)键值对(application/x-www-form-urlencoded)image.pngjson(application/json)image.pngxml(text/xml)image.png二、jmeter接口
- 2018-11-01
Tufeng
这是起点,这是一直以来,我对懦弱自己的一次最大挑战,从今天起,我每天都将记录自己的所感所无,无论它是淫荡的、肮脏的还是善良的、美好的。昨天晚上在床上朦朦胧胧地看着蒋方舟的东京一年,我一直不能忘记我买这本书的理由:是那大段的对于色情不加掩饰的表达,之前看到他们参加圆桌派,最早也许是看个热闹,后来渐渐发现,圆桌派和其他节目的差别在于,知识分子,在表达观点的时候是非常有主见的,并且很固执地坚持自己的感悟
- 2018-11-01
陈博宇_ca53
(第七篇)天空(陈博宇)修改稿1大自然中的美景无处不在,有芬芳四溢的鲜花,有生机勃勃的小草......可你欣赏过那迷人的夕阳吗?今天我就目睹了它美丽的风姿。起初,太阳像一个燃烧的火球,金光四射。它的光芒是那么强烈,那么刺眼,好似千万根绣花针直射你的眼睛,呆呆地看了它三四秒钟。啊,受不了啦,太刺眼啦!我赶紧躲开那刺眼的光芒,转头看那绿色的庄稼,可眼前一片模糊。趁我不注意,淘气的太阳便向下滑了一截。不
- 2018-11-01
Ann_1156
小孩子在生气伤心的时候总有糖果来使他们破涕为笑。大人们呢?大人们在伤心生气的时候也会有"糖果"给他们带来安慰,只不过这"糖果"是升级版的了。
- 2018-11-01
是高洁啊
在发展团队过程中,无论是小主管还是带领大型团队的主管,一路走来,皆会产生诸多困惑与疑问:有的晋升为主管后,常感觉力不从心;有的则在团队发展遭遇瓶颈后,因苦无良方而导致团队逐渐萎缩;尤其是新主管,由于缺乏团队管理经验,时常陷入手足无措的困境中,更有甚至对自己的能力产生怀疑.....那在面对这些团队发展中所遇到的难题时,主管该怎么去做?如果你还是毫无头绪、一筹莫展那么,请来细看!《好主管是学习来的》成
- 2018-11-01
丹keepbetter
特殊而又平凡的一天每逢新月新年这种有仪式感的日子,总会有些许重新做人的想法,挣扎了半天要不要唠唠叨叨,还是决定及时留存自己的心声。最近一些宝贵生命的离去,不只是惋惜,而是警醒,人生无常,且行且珍惜。生命的意义看过《活着》之后,第一次心里开始打问号,人活着是为了什么?意义是什么?但也顶多是心里装着问号跟随时间麻木的走着,没想明白过也没探索过。如今走到人生分叉路口,这个问号又蹦出来。上周末朋友+战友很
- 强大的销售团队背后 竟然是大数据分析的身影
蓝儿唯美
数据分析
Mark Roberge是HubSpot的首席财务官,在招聘销售职位时使用了大量数据分析。但是科技并没有挤走直觉。
大家都知道数理学家实际上已经渗透到了各行各业。这些热衷数据的人们通过处理数据理解商业流程的各个方面,以重组弱点,增强优势。
Mark Roberge是美国HubSpot公司的首席财务官,HubSpot公司在构架集客营销现象方面出过一份力——因此他也是一位数理学家。他使用数据分析
- Haproxy+Keepalived高可用双机单活
bylijinnan
负载均衡keepalivedhaproxy高可用
我们的应用MyApp不支持集群,但要求双机单活(两台机器:master和slave):
1.正常情况下,只有master启动MyApp并提供服务
2.当master发生故障时,slave自动启动本机的MyApp,同时虚拟IP漂移至slave,保持对外提供服务的IP和端口不变
F5据说也能满足上面的需求,但F5的通常用法都是双机双活,单活的话还没研究过
服务器资源
10.7
- eclipse编辑器中文乱码问题解决
0624chenhong
eclipse乱码
使用Eclipse编辑文件经常出现中文乱码或者文件中有中文不能保存的问题,Eclipse提供了灵活的设置文件编码格式的选项,我们可以通过设置编码 格式解决乱码问题。在Eclipse可以从几个层面设置编码格式:Workspace、Project、Content Type、File
本文以Eclipse 3.3(英文)为例加以说明:
1. 设置Workspace的编码格式:
Windows-&g
- 基础篇--resources资源
不懂事的小屁孩
android
最近一直在做java开发,偶尔敲点android代码,突然发现有些基础给忘记了,今天用半天时间温顾一下resources的资源。
String.xml 字符串资源 涉及国际化问题
http://www.2cto.com/kf/201302/190394.html
string-array
- 接上篇补上window平台自动上传证书文件的批处理问卷
酷的飞上天空
window
@echo off
: host=服务器证书域名或ip,需要和部署时服务器的域名或ip一致 ou=公司名称, o=公司名称
set host=localhost
set ou=localhost
set o=localhost
set password=123456
set validity=3650
set salias=s
- 企业物联网大潮涌动:如何做好准备?
蓝儿唯美
企业
物联网的可能性也许是无限的。要找出架构师可以做好准备的领域然后利用日益连接的世界。
尽管物联网(IoT)还很新,企业架构师现在也应该为一个连接更加紧密的未来做好计划,而不是跟上闸门被打开后的集成挑战。“问题不在于物联网正在进入哪些领域,而是哪些地方物联网没有在企业推进,” Gartner研究总监Mike Walker说。
Gartner预测到2020年物联网设备安装量将达260亿,这些设备在全
- spring学习——数据库(mybatis持久化框架配置)
a-john
mybatis
Spring提供了一组数据访问框架,集成了多种数据访问技术。无论是JDBC,iBATIS(mybatis)还是Hibernate,Spring都能够帮助消除持久化代码中单调枯燥的数据访问逻辑。可以依赖Spring来处理底层的数据访问。
mybatis是一种Spring持久化框架,要使用mybatis,就要做好相应的配置:
1,配置数据源。有很多数据源可以选择,如:DBCP,JDBC,aliba
- Java静态代理、动态代理实例
aijuans
Java静态代理
采用Java代理模式,代理类通过调用委托类对象的方法,来提供特定的服务。委托类需要实现一个业务接口,代理类返回委托类的实例接口对象。
按照代理类的创建时期,可以分为:静态代理和动态代理。
所谓静态代理: 指程序员创建好代理类,编译时直接生成代理类的字节码文件。
所谓动态代理: 在程序运行时,通过反射机制动态生成代理类。
一、静态代理类实例:
1、Serivce.ja
- Struts1与Struts2的12点区别
asia007
Struts1与Struts2
1) 在Action实现类方面的对比:Struts 1要求Action类继承一个抽象基类;Struts 1的一个具体问题是使用抽象类编程而不是接口。Struts 2 Action类可以实现一个Action接口,也可以实现其他接口,使可选和定制的服务成为可能。Struts 2提供一个ActionSupport基类去实现常用的接口。即使Action接口不是必须实现的,只有一个包含execute方法的P
- 初学者要多看看帮助文档 不要用js来写Jquery的代码
百合不是茶
jqueryjs
解析json数据的时候需要将解析的数据写到文本框中, 出现了用js来写Jquery代码的问题;
1, JQuery的赋值 有问题
代码如下: data.username 表示的是: 网易
$("#use
- 经理怎么和员工搞好关系和信任
bijian1013
团队项目管理管理
产品经理应该有坚实的专业基础,这里的基础包括产品方向和产品策略的把握,包括设计,也包括对技术的理解和见识,对运营和市场的敏感,以及良好的沟通和协作能力。换言之,既然是产品经理,整个产品的方方面面都应该能摸得出门道。这也不懂那也不懂,如何让人信服?如何让自己懂?就是不断学习,不仅仅从书本中,更从平时和各种角色的沟通
- 如何为rich:tree不同类型节点设置右键菜单
sunjing
contextMenutreeRichfaces
组合使用target和targetSelector就可以啦,如下: <rich:tree id="ruleTree" value="#{treeAction.ruleTree}" var="node" nodeType="#{node.type}"
selectionChangeListener=&qu
- 【Redis二】Redis2.8.17搭建主从复制环境
bit1129
redis
开始使用Redis2.8.17
Redis第一篇在Redis2.4.5上搭建主从复制环境,对它的主从复制的工作机制,真正的惊呆了。不知道Redis2.8.17的主从复制机制是怎样的,Redis到了2.4.5这个版本,主从复制还做成那样,Impossible is nothing! 本篇把主从复制环境再搭一遍看看效果,这次在Unbuntu上用官方支持的版本。 Ubuntu上安装Red
- JSONObject转换JSON--将Date转换为指定格式
白糖_
JSONObject
项目中,经常会用JSONObject插件将JavaBean或List<JavaBean>转换为JSON格式的字符串,而JavaBean的属性有时候会有java.util.Date这个类型的时间对象,这时JSONObject默认会将Date属性转换成这样的格式:
{"nanos":0,"time":-27076233600000,
- JavaScript语言精粹读书笔记
braveCS
JavaScript
【经典用法】:
//①定义新方法
Function .prototype.method=function(name, func){
this.prototype[name]=func;
return this;
}
//②给Object增加一个create方法,这个方法创建一个使用原对
- 编程之美-找符合条件的整数 用字符串来表示大整数避免溢出
bylijinnan
编程之美
import java.util.LinkedList;
public class FindInteger {
/**
* 编程之美 找符合条件的整数 用字符串来表示大整数避免溢出
* 题目:任意给定一个正整数N,求一个最小的正整数M(M>1),使得N*M的十进制表示形式里只含有1和0
*
* 假设当前正在搜索由0,1组成的K位十进制数
- 读书笔记
chengxuyuancsdn
读书笔记
1、Struts访问资源
2、把静态参数传递给一个动作
3、<result>type属性
4、s:iterator、s:if c:forEach
5、StringBuilder和StringBuffer
6、spring配置拦截器
1、访问资源
(1)通过ServletActionContext对象和实现ServletContextAware,ServletReque
- [通讯与电力]光网城市建设的一些问题
comsci
问题
信号防护的问题,前面已经说过了,这里要说光网交换机与市电保障的关系
我们过去用的ADSL线路,因为是电话线,在小区和街道电力中断的情况下,只要在家里用笔记本电脑+蓄电池,连接ADSL,同样可以上网........
 
- oracle 空间RESUMABLE
daizj
oracle空间不足RESUMABLE错误挂起
空间RESUMABLE操作 转
Oracle从9i开始引入这个功能,当出现空间不足等相关的错误时,Oracle可以不是马上返回错误信息,并回滚当前的操作,而是将操作挂起,直到挂起时间超过RESUMABLE TIMEOUT,或者空间不足的错误被解决。
这一篇简单介绍空间RESUMABLE的例子。
第一次碰到这个特性是在一次安装9i数据库的过程中,在利用D
- 重构第一次写的线程池
dieslrae
线程池 python
最近没有什么学习欲望,修改之前的线程池的计划一直搁置,这几天比较闲,还是做了一次重构,由之前的2个类拆分为现在的4个类.
1、首先是工作线程类:TaskThread,此类为一个工作线程,用于完成一个工作任务,提供等待(wait),继续(proceed),绑定任务(bindTask)等方法
#!/usr/bin/env python
# -*- coding:utf8 -*-
- C语言学习六指针
dcj3sjt126com
c
初识指针,简单示例程序:
/*
指针就是地址,地址就是指针
地址就是内存单元的编号
指针变量是存放地址的变量
指针和指针变量是两个不同的概念
但是要注意: 通常我们叙述时会把指针变量简称为指针,实际它们含义并不一样
*/
# include <stdio.h>
int main(void)
{
int * p; // p是变量的名字, int *
- yii2 beforeSave afterSave beforeDelete
dcj3sjt126com
delete
public function afterSave($insert, $changedAttributes)
{
parent::afterSave($insert, $changedAttributes);
if($insert) {
//这里是新增数据
} else {
//这里是更新数据
}
}
 
- timertask
shuizhaosi888
timertask
java.util.Timer timer = new java.util.Timer(true);
// true 说明这个timer以daemon方式运行(优先级低,
// 程序结束timer也自动结束),注意,javax.swing
// 包中也有一个Timer类,如果import中用到swing包,
// 要注意名字的冲突。
TimerTask task = new
- Spring Security(13)——session管理
234390216
sessionSpring Security攻击保护超时
session管理
目录
1.1 检测session超时
1.2 concurrency-control
1.3 session 固定攻击保护
 
- 公司项目NODEJS实践0.3[ mongo / session ...]
逐行分析JS源代码
mongodbsessionnodejs
http://www.upopen.cn
一、前言
书接上回,我们搭建了WEB服务端路由、模板等功能,完成了register 通过ajax与后端的通信,今天主要完成数据与mongodb的存取,实现注册 / 登录 /
- pojo.vo.po.domain区别
LiaoJuncai
javaVOPOJOjavabeandomain
POJO = "Plain Old Java Object",是MartinFowler等发明的一个术语,用来表示普通的Java对象,不是JavaBean, EntityBean 或者 SessionBean。POJO不但当任何特殊的角色,也不实现任何特殊的Java框架的接口如,EJB, JDBC等等。
即POJO是一个简单的普通的Java对象,它包含业务逻辑
- Windows Error Code
OhMyCC
windows
0 操作成功完成.
1 功能错误.
2 系统找不到指定的文件.
3 系统找不到指定的路径.
4 系统无法打开文件.
5 拒绝访问.
6 句柄无效.
7 存储控制块被损坏.
8 存储空间不足, 无法处理此命令.
9 存储控制块地址无效.
10 环境错误.
11 试图加载格式错误的程序.
12 访问码无效.
13 数据无效.
14 存储器不足, 无法完成此操作.
15 系
- 在storm集群环境下发布Topology
roadrunners
集群stormtopologyspoutbolt
storm的topology设计和开发就略过了。本章主要来说说如何在storm的集群环境中,通过storm的管理命令来发布和管理集群中的topology。
1、打包
打包插件是使用maven提供的maven-shade-plugin,详细见maven-shade-plugin。
<plugin>
<groupId>org.apache.maven.
- 为什么不允许代码里出现“魔数”
tomcat_oracle
java
在一个新项目中,我最先做的事情之一,就是建立使用诸如Checkstyle和Findbugs之类工具的准则。目的是制定一些代码规范,以及避免通过静态代码分析就能够检测到的bug。 迟早会有人给出案例说这样太离谱了。其中的一个案例是Checkstyle的魔数检查。它会对任何没有定义常量就使用的数字字面量给出警告,除了-1、0、1和2。 很多开发者在这个检查方面都有问题,这可以从结果
- zoj 3511 Cake Robbery(线段树)
阿尔萨斯
线段树
题目链接:zoj 3511 Cake Robbery
题目大意:就是有一个N边形的蛋糕,切M刀,从中挑选一块边数最多的,保证没有两条边重叠。
解题思路:有多少个顶点即为有多少条边,所以直接按照切刀切掉点的个数排序,然后用线段树维护剩下的还有哪些点。
#include <cstdio>
#include <cstring>
#include <vector&