- 学习有什么用
天天_27d6
朱会利焦点讲师班五期洛阳坚持分享第577天《学习有什么用》2018.06.06最近两年,一直在不断地寻找机会学习,也几乎把工作之余的闲暇时间都用在了学习之上,无论是阅读也好,心理学也罢,亦或者是其他方面的学习。可是,当有一天回过头去看的时候,当被问到学习有什么用的时候,的确也是需要自己深思一下的问题。也许有人会说,学了那么多,到头来你还不是一样的生活,一样的解决不了很多的问题,一样的会有各种各样不
- 2018.06.06
紫smile
焦点网络八期初级紫分享第187天由于在催眠中看到父母的房子,抓住我的心,所以这段时间往父母家跑的更勤下午上完第一节课,匆匆往家赶。今天是杜曲的集会,本以为好多卖家都在呢结果走到集市,空无一家,撤的干干净净。也是,大热的夏天,买的卖的都不会傻乎乎在日头下暴晒。走到熟悉的大门前,推门进入院内,静悄悄的,仔细听听,有空调的嗡嗡声。轻轻将屋门打开,父母在睡。我蹑手蹑脚出来,把小洗衣机收拾好,出了一身的汗。
- 2018.06.06第一组第4号72号
熊童子0
现实生活中,我为什么不开心。达不到喜悦、自在、平和的状态。其实很多原因就是放不下,我很多事情都放不下,我感觉说所有的事,我都放不下都不过分。仔细回想,我连自己做的事情都不允许。何况其他人那,有时候其他人的事与我无关,都会导致我内心难过,不愉快。这是我的近期的目标,全然的跟发生的事情在一起。跟自己的感受在一起,允许自己有情绪。
- 2018.06.06
紫smile
坚持分享第541天刚开始写分享从第一天开始,看到同一个圈子内的伙伴已经几百天甚至上千天,很是羡慕,好比我站在山脚下,他们已在山上离我很高很远,我仰望着他们,只看到他们努力攀登的背影。如今我的分享天数也是五百多天了,虽然有时是为了应付只有寥寥数语,可坚持到如今还是挺佩服自己的。今天早起,赶到目的地时提前将近一个小时,真好,昨晚迷迷糊糊不想写分享,正好补上。不必苛求自己的,只要记得写我的分享,晚一点应
- 374语文老师不在家
戴骁勇
2018.06.06周三昨天儿子就告诉我们,今天语文陈老师要去张店开会,班级的管理就交给李老师了。我对班主任老师不在,儿子班里同学们的表现很感兴趣。下午回来后,我就问儿子班里的情况,看看班级有没有发生一些变化。儿子倒是没有什么惊讶的,说一切都正常啊。仔细一问才知道,语文老师下午就回来了。上午是李老师带班,一切都正常。李老师老教师,陈老师二胎生育假期间,就是李老师带班,一切都在掌控之间。陈老师下午就
- AA 私房蛋糕 创业日记 29
AA私房蛋糕
2018.06.06星期三东莞长安雨小妹子9点多就倒头睡了,年轻就是不一样,没有那么多烦恼,天天可以睡如此多的觉,怪不得满脸都是胶原蛋白,肉嘟嘟的。今天上午上班心情还是没能平静,于是给自己找了半天的麻烦。直到下午翻看里面的一些文章才找回了心里安宁。有看到某些事情的自我见解,也有各种分享,含金量都很高,不得不佩服那些文笔好的人。看完就上JD,想买点书,来补充点能量。以前有这种情绪,第一时间想到的,唯
- 2018-06-06
舒畅姑娘
2018.06.06【富爸爸穷爸爸】1.我们唯一的,也是最重要的资产就是我们的头脑。如果收到良好的教育,他转瞬间就可以创造大量的财富。2.提高财商的另一个方面,就是让自己拥有更多的机会。你的财商越高,你就越能分辨一项交易是好还是坏。依靠你的智慧,你可以认出不利的交易,或者将一项不利的交易变成有利的交易。我学得越多,挣的钱也就越多。3.大部分人需要学习和掌握不止一项技能,只有这样他们的收入才能获得显
- 新工作给我带来思考
拂晓飞
2018.06.06上班第一天,早上五点半就起来了,并不是说自己很兴奋,只是刚到一个新环境,要用积极的态度,迎接新的工作。刚开始就是一些流程,比如录指纹、领取办公用品等,给我的感觉公司氛围很好,各司其职。这些是我选择的这家公司原因之一。之所以选择这家公司,当然是和以下原因分不开。1.成长。如果一份工作没有给带来能力的成长,那这份工作的价值就很低。在学习过梁宁产品课时,她讲了“点线面体”理论,每个人
- 2018-10-22
曼本竹心llm不良帅
2018.06.06今天回宁波,没来得及刷碗,没有去看发小的奶奶,祈福。工作日买不到票呀,一路曲折辗转到杭州,中途知道成绩出来,看了74,比上次有进步,不过名次一般般,本来准备赶8点的车了,打语音给颁哥,当时想买不到票就去投靠颁哥,华钊恰好又在,盛情难却,来蹭吃蹭喝,蹭住,哈哈。和颁哥也有大半年没见了,华钊也有三年没见了。久别重逢,朋友不问过去,前途,只问现在,就是当下的小饭馆,吃着可口的饭菜,大
- 写在领证两周年 | 嫁对人,就是人间值得
丢丢姑娘
012016.11.27——2020.06.06相恋1287天2018.06.06——2020.06.06.领证两周年。从G城到D城,从异地恋到步入婚姻再到有孩子,结婚两周年快乐啊,我亲爱的刘先生。何为喜欢?“脸红,心跳,不言语。”可否具体?“失眠,焦虑,常梦呓。”可否再具体?“余生全是你。”02《小王子》里说:“仪式感就是使某一天与其他日子不同,使某一个时刻与其他时刻不同。”其实仪式感对于我们而
- 墨—随笔(一)
王心墨
2018.04.22想家想那山头成片成片的翠绿,想和大海一起入睡与晨起。好友摄于连江长龙茶山好友摄于连江奇达村2018.05.30雨后清凉的风湿润的空气还杂夹着淡淡的栀子花香雨夜遇栀子花2018.06.06遇见有时候感动我们的或许是一个人,一座城,一个故事又或许是,一张照片晨跑·生机
- 2018.06.06
素锦_b3dd
1.保持内心的平静,从容,享受每一天的遇见。2.我们原本是富足的,不要被恐惧和担心毁掉美好的生活,我们是宇宙完美的孩子,奇迹美好会轻而易举的发生。3.所有的发生都是来祝福我们的,觉知这种美好,不要试图控制,交出控制权,随顺,顺其自然。4.世界和生活的样子就是我们心的样子,是我们的嘴巴说的,我们的心描绘的样子,我们是一切的导演,一切是梦,不要执着,尽情做梦,尽情玩耍。5.远离是非,不谈论是非,不拨弄
- 【问题记录】问题记录专用
王小二的王
【监听WebView点击事件】日期:2018.06.06问题描述:使用WebViewClient中的shouldOverrideUrlLoading(WebViewview,WebResourceRequestrequest)方法拦截WebView点击跳转事件在部分机型无效。问题原因:shouldOverrideUrlLoading(WebViewview,WebResourceRequestre
- 2018-06-06
韩喜文
【韩喜文2018.06.06星期三】好展馆让天下没有卖不出去的产品好展馆让天下没有不能传承的文化日精进:878企业要发展生存就必须不断创造创新实现价值增长才能立于不败之地
- 原创歌词《与自己的对话》
奚风_
《与自己的对话》我触碰到梦的感动要怎么才明白要怎么才明白是否要拥抱寒冬我盘坐在云端上空看着潮起潮落看着潮起潮落一瞬间风起云涌故事要说完了天要下起雨了我此刻在哪里呢与孤独寒暄着把没说的好好说说再见并不划算要用一生去怀念要用一生去怀念未免太过于悲观故事要说完了天要下起雨了我此刻在哪里呢与孤独寒暄着把没说的好好说奚风2018.06.06
- 2018.06.06(近日高考,休息三天)
Pheebs
琐事记1.我在接姑娘放学,低头看手机中……“六班六班,非同一般,展现自我,一路高攀!”听到口号声了……再抬头,没人了。说好了一起去读书会,她跑得比兔子还快……接人,没接到,挺闹心的。2.姑娘的仓鼠松松,买回来是金黄色的,现在一个月了,从头开始,变黑了!!!目前半黑半黄……得研究一下我都给它吃什么了:毛发变黑不是梦。大麦,燕麦,玉米,核桃,黑豆,红豆,绿豆。西瓜,苹果,圆白菜,胡萝卜,南瓜,小油菜,
- 告白与告别
一只支
2016.02.05,在这一天又迎来了无数新用户的注册,其中有一个并不起眼的ID。2018.06.06,这个ID前面加上了“签约作者”的头衔,幸运的成为了所谓的“大神”。“幸运”是谦辞,在这背后是100多篇文章和60多万的笔辍不耕,而这60多万字其中百分之九十都是我自己的清史连载《清朝三百年风起辽东》,这个数字意味着我两年中除了最基本必须的项目外放弃了其他本应该放松、娱乐、学习等时间,就连上课也忙
- 《七律一一为若晨侄女高考加油》
湘东以梦为马
《七律.为侄女若晨高考赠言》一一2018.06.06以梦为马意气风发鸿皓志,今天笔下锦来文。十年铸剑寒窗亮,玉桂蟾宫气自横。知晓天文通地理,题名殿榜是佳辰。丹墀锦绣珠簪履,几个才华比若晨。
- 学习记录
莫小西0213
2018.06.06工作内容:1.尝试解决前端开发手册,开发新功能,已经全局安装了gulp但是不能启动问题;尝试本地安装,重新全局安装,未解决;卸载gulp,重新安装gulp,依然不能启动,未解决;2.尝试搭建后端开发手册,测试与集成;按照流程搭建,能够通过http://localhost:8000/访问到正常界面;但是manager-service服务一直连不上数据库,启动不成功;重新拉取镜像,
- 跟着Hi复盘——度半Day137
度半32
复盘2018.06.06人情关埋头过坎,历事修心。我是一直在奔跑的度半。我们常说,中国实际上就是一个“关系”的社会,在一个“关系网”发达和大家都讲求“关系”的社会里,任何事情都逃脱不了关系网。这也就是人情关系。刚毕业那会,不谙世事,遇到因人情关系而造成的不公现象,会抱怨,感叹社会的不公。后来,接触多了,也就默认和接受这种现象。现在偶尔也会遇到身边人,利用人情关系,谋取一点蝇头小利。不愿意苟同这种行
- 6.6分享文字稿
卷Jane
2018.6.07卷复盘第207天2018.06.06分享文字稿:复盘的优劣哈喽,大家好,我是卷。我是一个八零后的二宝妈,在体制内工作。我在这个复盘群里已经有200多天了,算是这个群里比较早期的潜水员了。所以从年龄和复盘时间来说,我想我不能在这儿说我是个小伙伴的应该我是个大伙伴了。我现在潜伏在九组。刚刚前面的小伙伴提到,复盘本身是没有劣势的,因为复盘的人在形式、内容、复盘的状态等等方面有不同理解、
- 叶延珍焦点网络七期洛阳坚持分享293天(2018.06.06星期三)
叶子_6c11
今天听了两节公开课,收获挺大的,每个老师身上都有我们学习的地方。评课的过程中更让我感受到了站得角度不同,看待事情的角度也不同。站的高看得远。是我们经常挂在嘴边上的话。今天的评课也是如此,一个人站高了,看问题的角度也宽了。格局也就不一样。我们总是在不断的尝试中提高自己。就拿讲公开课来说,第一次讲时,面对许多听课老师,难免会紧张,而讲的多了,无论从课堂语言组织到课的整体设计,自然而然就觉得这是我们的生
- 你是年少的欢喜
六子tian
这件故事总结起来大概就是,曾经的他喜欢我,后来的我喜欢他,可是互相喜欢的我们之间,隔了整整一段错的时间。——2018.06.06图片发自App我想是否可以试着忘记你,毕竟回忆给不了我未来。——2018.05.21图片发自App今天又见你了,混出校门口去吃饭的我,却在不经意间的回头发现了你,目光相遇的那一刻,我急忙转头,希望你最好没看清我。出来去小卖部买水,却看见他们在门口,猜你肯定在里面,为了避免
- 陈威杰【感谢组】精进打卡2018.06.06
陈威杰
【日精进打卡第我137天】【知~学习】《六项精进》2遍共276遍《大学》2遍共276遍【经典名句分享】业精于勤,荒于嬉;行成于思,毁于随。【行~实践】一、修身:(对自己个人)1.跑步,打球,锻炼身体2、阅读稻盛和夫活法修身:(利他:为帮扶对像做的事)1.汇总月度进度修身:(爱的传递:给身边同事做的善事)1、精细化工作二、齐家:(对家庭和家人)1、跟妈妈聊天2、做家务,三、建功:(对工作)1、对接渠
- 2018.06.06
e124a242d15f
一、易腾海学经汇报:学经日期:2018年6月6日周三学经人员:海海和妈妈宝贝年龄:5岁11个月学经方法:137学经内容:1《易经》系辞上传5-6章2《幼学琼林》朋友宾主3《孟子》滕文公章句上二、生活随记早上爸爸准备出门,我唠叨爸爸昨天又忘记转账给我买奶粉呀。爸爸说明明转了呀。回看手机信息,我说没有看到一千块的记录呀。再看,呀呀呀是爸爸转多了反而一直觉得没转账。爸爸说‘真是的呀,赶紧补偿一个’好吧,
- 【张莉红 焦点解决初级班9期 重庆 坚持分享第102天2018.06.06】
Me_Lisa
这两天身体抱恙,多数时间待在医院里,但是心情还不至于阴霾,也许还是心理学的原因吧。在焦点的理念下,随时告诉自己要关注正向,即使负向的事情发生了,也积极从中找到正向,而现实真的也给了我好多正向:撑着去学校上课,同事看着疲惫的我,强迫让我去休息,把我的课上了;学生看着我手上的留置针,主动把凳子搬上来,并让我能讲就讲,不能讲他们自己安安静静的上自习;咨询的孩子跑过来牵着我,并告诉我,她英语考试得了年级第
- 张越【乐观组】精进打卡2018.06.06
哟哟切克闹come
【日精进打卡第137天】【知~学习】《六项精进》2遍共184遍《大学》2遍共182遍【经典名句分享】希望,只有和勤奋作伴,才能如虎添翼。【行~实践】一、修身:(对自己个人)练瑜伽。修身:(利他:为帮扶对像做的事)暂无帮扶对象。修身:(爱的传递:给身边同事做的善事)给同事开门。二、齐家:(对家庭和家人)一起散步,买菜。三、建功:(对工作)修改妇科首页、栏目页、文章页,修改外阴白斑网站一些内容。{积善
- 黄国金【反省组】精进打卡2018.06.06
黄国金
【日精进打卡第163天】【知~学习】背诵《六项精进》2遍共253遍背诵《大学》2遍共253遍••••••【经典名句分享】不想别人否定,自己就要更加努力。想都是问题,做才是答案。【行~实践】一、修身:(对自己个人)1、看书、按时休息2、锻炼身体修身:(对帮扶对像)1、2、修身:(利他:给身边的同事做的善事)1、2、二、齐家:(对家庭和家人)1、接送孩子上下学2、家人微信聊天三、建功:(对工作)1、新
- 好种子存入银行第18天2018.06.06 周三
Zi_玉
伴侣1、上午带着觉知主动承担起工作中的责任,回向给我的如意伴侣,有担当有责任心。2、帮助肖笛用心看木地板,站在她的角度希望帮助她选到最好的东西,为她找铺贴工人电话,回向给我的如意伴侣对我用心!3、上午带着觉知在100天伴侣种子群分享自己的心得,希望帮助他们种出和谐关系找到如意伴侣,回向给自己2018年8月17日前我的如意伴侣尽快来到我身边,并确定伴侣关系,关系和谐美好!财富1、一如既往地给爸妈存入
- 亲子日记94
任国旭妈妈
2018.06.06.星期三,天气晴下午下班回家,看到大宝在看电视,我就生气问他“你怎么在看电视啊,作业都完成了吗?”大宝说“妈妈,你忘了今天是星期三了,无作业日啊,老师留了很少的作业,放学回家我自己先上楼写作业了,奶奶在楼下哄弟弟,把作业都写完了,明天用的铅笔也削好了,我才打开电视的妈妈”,我说“奥,好孩子。晚饭的菜是老公炒的,炒了个橄榄,我尝着和妈妈炒的没什么区别,可大宝却说“爸爸,你炒的菜一
- Js函数返回值
_wy_
jsreturn
一、返回控制与函数结果,语法为:return 表达式;作用: 结束函数执行,返回调用函数,而且把表达式的值作为函数的结果 二、返回控制语法为:return;作用: 结束函数执行,返回调用函数,而且把undefined作为函数的结果 在大多数情况下,为事件处理函数返回false,可以防止默认的事件行为.例如,默认情况下点击一个<a>元素,页面会跳转到该元素href属性
- MySQL 的 char 与 varchar
bylijinnan
mysql
今天发现,create table 时,MySQL 4.1有时会把 char 自动转换成 varchar
测试举例:
CREATE TABLE `varcharLessThan4` (
`lastName` varchar(3)
) ;
mysql> desc varcharLessThan4;
+----------+---------+------+-
- Quartz——TriggerListener和JobListener
eksliang
TriggerListenerJobListenerquartz
转载请出自出处:http://eksliang.iteye.com/blog/2208624 一.概述
listener是一个监听器对象,用于监听scheduler中发生的事件,然后执行相应的操作;你可能已经猜到了,TriggerListeners接受与trigger相关的事件,JobListeners接受与jobs相关的事件。
二.JobListener监听器
j
- oracle层次查询
18289753290
oracle;层次查询;树查询
.oracle层次查询(connect by)
oracle的emp表中包含了一列mgr指出谁是雇员的经理,由于经理也是雇员,所以经理的信息也存储在emp表中。这样emp表就是一个自引用表,表中的mgr列是一个自引用列,它指向emp表中的empno列,mgr表示一个员工的管理者,
select empno,mgr,ename,sal from e
- 通过反射把map中的属性赋值到实体类bean对象中
酷的飞上天空
javaee泛型类型转换
使用过struts2后感觉最方便的就是这个框架能自动把表单的参数赋值到action里面的对象中
但现在主要使用Spring框架的MVC,虽然也有@ModelAttribute可以使用但是明显感觉不方便。
好吧,那就自己再造一个轮子吧。
原理都知道,就是利用反射进行字段的赋值,下面贴代码
主要类如下:
import java.lang.reflect.Field;
imp
- SAP HANA数据存储:传统硬盘的瓶颈问题
蓝儿唯美
HANA
SAPHANA平台有各种各样的应用场景,这也意味着客户的实施方法有许多种选择,关键是如何挑选最适合他们需求的实施方案。
在 《Implementing SAP HANA》这本书中,介绍了SAP平台在现实场景中的运作原理,并给出了实施建议和成功案例供参考。本系列文章节选自《Implementing SAP HANA》,介绍了行存储和列存储的各自特点,以及SAP HANA的数据存储方式如何提升空间压
- Java Socket 多线程实现文件传输
随便小屋
javasocket
高级操作系统作业,让用Socket实现文件传输,有些代码也是在网上找的,写的不好,如果大家能用就用上。
客户端类:
package edu.logic.client;
import java.io.BufferedInputStream;
import java.io.Buffered
- java初学者路径
aijuans
java
学习Java有没有什么捷径?要想学好Java,首先要知道Java的大致分类。自从Sun推出Java以来,就力图使之无所不包,所以Java发展到现在,按应用来分主要分为三大块:J2SE,J2ME和J2EE,这也就是Sun ONE(Open Net Environment)体系。J2SE就是Java2的标准版,主要用于桌面应用软件的编程;J2ME主要应用于嵌入是系统开发,如手机和PDA的编程;J2EE
- APP推广
aoyouzi
APP推广
一,免费篇
1,APP推荐类网站自主推荐
最美应用、酷安网、DEMO8、木蚂蚁发现频道等,如果产品独特新颖,还能获取最美应用的评测推荐。PS:推荐简单。只要产品有趣好玩,用户会自主分享传播。例如足迹APP在最美应用推荐一次,几天用户暴增将服务器击垮。
2,各大应用商店首发合作
老实盯着排期,多给应用市场官方负责人献殷勤。
3,论坛贴吧推广
百度知道,百度贴吧,猫扑论坛,天涯社区,豆瓣(
- JSP转发与重定向
百合不是茶
jspservletJava Webjsp转发
在servlet和jsp中我们经常需要请求,这时就需要用到转发和重定向;
转发包括;forward和include
例子;forwrad转发; 将请求装法给reg.html页面
关键代码;
req.getRequestDispatcher("reg.html
- web.xml之jsp-config
bijian1013
javaweb.xmlservletjsp-config
1.作用:主要用于设定JSP页面的相关配置。
2.常见定义:
<jsp-config>
<taglib>
<taglib-uri>URI(定义TLD文件的URI,JSP页面的tablib命令可以经由此URI获取到TLD文件)</tablib-uri>
<taglib-location>
TLD文件所在的位置
- JSF2.2 ViewScoped Using CDI
sunjing
CDIJSF 2.2ViewScoped
JSF 2.0 introduced annotation @ViewScoped; A bean annotated with this scope maintained its state as long as the user stays on the same view(reloads or navigation - no intervening views). One problem w
- 【分布式数据一致性二】Zookeeper数据读写一致性
bit1129
zookeeper
很多文档说Zookeeper是强一致性保证,事实不然。关于一致性模型请参考http://bit1129.iteye.com/blog/2155336
Zookeeper的数据同步协议
Zookeeper采用称为Quorum Based Protocol的数据同步协议。假如Zookeeper集群有N台Zookeeper服务器(N通常取奇数,3台能够满足数据可靠性同时
- Java开发笔记
白糖_
java开发
1、Map<key,value>的remove方法只能识别相同类型的key值
Map<Integer,String> map = new HashMap<Integer,String>();
map.put(1,"a");
map.put(2,"b");
map.put(3,"c"
- 图片黑色阴影
bozch
图片
.event{ padding:0; width:460px; min-width: 460px; border:0px solid #e4e4e4; height: 350px; min-heig
- 编程之美-饮料供货-动态规划
bylijinnan
动态规划
import java.util.Arrays;
import java.util.Random;
public class BeverageSupply {
/**
* 编程之美 饮料供货
* 设Opt(V’,i)表示从i到n-1种饮料中,总容量为V’的方案中,满意度之和的最大值。
* 那么递归式就应该是:Opt(V’,i)=max{ k * Hi+Op
- ajax大参数(大数据)提交性能分析
chenbowen00
WebAjax框架浏览器prototype
近期在项目中发现如下一个问题
项目中有个提交现场事件的功能,该功能主要是在web客户端保存现场数据(主要有截屏,终端日志等信息)然后提交到服务器上方便我们分析定位问题。客户在使用该功能的过程中反应点击提交后反应很慢,大概要等10到20秒的时间浏览器才能操作,期间页面不响应事件。
根据客户描述分析了下的代码流程,很简单,主要通过OCX控件截屏,在将前端的日志等文件使用OCX控件打包,在将之转换为
- [宇宙与天文]在太空采矿,在太空建造
comsci
我们在太空进行工业活动...但是不太可能把太空工业产品又运回到地面上进行加工,而一般是在哪里开采,就在哪里加工,太空的微重力环境,可能会使我们的工业产品的制造尺度非常巨大....
地球上制造的最大工业机器是超级油轮和航空母舰,再大些就会遇到困难了,但是在空间船坞中,制造的最大工业机器,可能就没
- ORACLE中CONSTRAINT的四对属性
daizj
oracleCONSTRAINT
ORACLE中CONSTRAINT的四对属性
summary:在data migrate时,某些表的约束总是困扰着我们,让我们的migratet举步维艰,如何利用约束本身的属性来处理这些问题呢?本文详细介绍了约束的四对属性: Deferrable/not deferrable, Deferred/immediate, enalbe/disable, validate/novalidate,以及如
- Gradle入门教程
dengkane
gradle
一、寻找gradle的历程
一开始的时候,我们只有一个工程,所有要用到的jar包都放到工程目录下面,时间长了,工程越来越大,使用到的jar包也越来越多,难以理解jar之间的依赖关系。再后来我们把旧的工程拆分到不同的工程里,靠ide来管理工程之间的依赖关系,各工程下的jar包依赖是杂乱的。一段时间后,我们发现用ide来管理项程很不方便,比如不方便脱离ide自动构建,于是我们写自己的ant脚本。再后
- C语言简单循环示例
dcj3sjt126com
c
# include <stdio.h>
int main(void)
{
int i;
int count = 0;
int sum = 0;
float avg;
for (i=1; i<=100; i++)
{
if (i%2==0)
{
count++;
sum += i;
}
}
avg
- presentModalViewController 的动画效果
dcj3sjt126com
controller
系统自带(四种效果):
presentModalViewController模态的动画效果设置:
[cpp]
view plain
copy
UIViewController *detailViewController = [[UIViewController al
- java 二分查找
shuizhaosi888
二分查找java二分查找
需求:在排好顺序的一串数字中,找到数字T
一般解法:从左到右扫描数据,其运行花费线性时间O(N)。然而这个算法并没有用到该表已经排序的事实。
/**
*
* @param array
* 顺序数组
* @param t
* 要查找对象
* @return
*/
public stati
- Spring Security(07)——缓存UserDetails
234390216
ehcache缓存Spring Security
Spring Security提供了一个实现了可以缓存UserDetails的UserDetailsService实现类,CachingUserDetailsService。该类的构造接收一个用于真正加载UserDetails的UserDetailsService实现类。当需要加载UserDetails时,其首先会从缓存中获取,如果缓存中没
- Dozer 深层次复制
jayluns
VOmavenpo
最近在做项目上遇到了一些小问题,因为架构在做设计的时候web前段展示用到了vo层,而在后台进行与数据库层操作的时候用到的是Po层。这样在业务层返回vo到控制层,每一次都需要从po-->转化到vo层,用到BeanUtils.copyProperties(source, target)只能复制简单的属性,因为实体类都配置了hibernate那些关联关系,所以它满足不了现在的需求,但后发现还有个很
- CSS规范整理(摘自懒人图库)
a409435341
htmlUIcss浏览器
刚没事闲着在网上瞎逛,找了一篇CSS规范整理,粗略看了一下后还蛮有一定的道理,并自问是否有这样的规范,这也是初入前端开发的人一个很好的规范吧。
一、文件规范
1、文件均归档至约定的目录中。
具体要求通过豆瓣的CSS规范进行讲解:
所有的CSS分为两大类:通用类和业务类。通用的CSS文件,放在如下目录中:
基本样式库 /css/core
- C++动态链接库创建与使用
你不认识的休道人
C++dll
一、创建动态链接库
1.新建工程test中选择”MFC [dll]”dll类型选择第二项"Regular DLL With MFC shared linked",完成
2.在test.h中添加
extern “C” 返回类型 _declspec(dllexport)函数名(参数列表);
3.在test.cpp中最后写
extern “C” 返回类型 _decls
- Android代码混淆之ProGuard
rensanning
ProGuard
Android应用的Java代码,通过反编译apk文件(dex2jar、apktool)很容易得到源代码,所以在release版本的apk中一定要混淆一下一些关键的Java源码。
ProGuard是一个开源的Java代码混淆器(obfuscation)。ADT r8开始它被默认集成到了Android SDK中。
官网:
http://proguard.sourceforge.net/
- 程序员在编程中遇到的奇葩弱智问题
tomcat_oracle
jquery编程ide
现在收集一下:
排名不分先后,按照发言顺序来的。
1、Jquery插件一个通用函数一直报错,尤其是很明显是存在的函数,很有可能就是你没有引入jquery。。。或者版本不对
2、调试半天没变化:不在同一个文件中调试。这个很可怕,我们很多时候会备份好几个项目,改完发现改错了。有个群友说的好: 在汤匙
- 解决maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported
xp9802
dependency
解决办法:在plugins之前添加如下pluginManagement,二者前后顺序如下:
[html]
view plain
copy
<build>
<pluginManagement