- 坚持抄书打卡第七天,掌握新技能的一天
爱读书的无业游民
我是爱读书的无业游民hjk,为什么是这个名字呢?因为我想做个无业游民,不上班还能够维持自己的生活开销!今天学会了如何解密pdf,对添加密码的pdf如何进行编辑操作,果然,遇到问题会激发自己学习的欲望,要不就一直没有学习的动力。抄书增长自己的学识,丰富自己的见闻,充实自己,让自己更优秀,同时善于分享,把一些我认为比较好的,有意义的语句分享给大家,如果帮到了大家,欢迎留言讨论!最近看得这本书是中村恒子
- 高瓴资本4季度减仓阿里,增持拼多多为第一重仓股,高瓴想干啥?
慕容随风
在国内资本市场上,高瓴资本堪称是国内资本市场的重要参与者,最近高瓴资本的持仓信息被公布,让人比较出乎意料的事情是,高瓴资本大规模减持阿里巴巴,却把拼多多增持为第一重仓股,高瓴资本的仓位变化到底意味着什么?从高瓴资本的变化之中我们看到了什么?一、高瓴减持阿里增持拼多多?根据华尔街见闻2月13日的报道,高瓴资本提交的四季度13F报告显示,其在当季增持9只股票,建仓19只个股,清仓13只个股,减持15只
- 随感
林中飞燕
晚上临睡前,小台灯的光辉洒满了整个卧室,二女儿已酣睡,大女儿边摘头上的发卡边说:"我感觉咱们家真温馨呢。”我听了甚是欣慰。一个温馨的家庭环境对孩子的成长是多么重要啊。但我也知道,有时我和她爸爸的一些口角肯定是破坏了温馨的家庭氛围,给孩子造成了不好的影响。我问:“你体会到被爱的感觉了吗?”“体会到了啊,我知道你们都很爱我。但我觉得作业不爱我。”女儿说话总是很幽默。还给我朗诵了她创作的诗歌:“作业难啊
- 爱需要表达,让对方知道
拽杖者
自己在卧铺车上的见闻。对面一个母亲带着三个孩子,一个姐姐、一个哥哥、和一个小妹子。哥哥和姐姐年龄相差不大,大概十二三的样子。妹妹大概有四岁,正是活跃的年龄。不得不羡慕啊!但这不是重点,重点是表达。对爱的表达,对事情的表达。姐姐总是问妹妹,到底是爱姐姐,还是爱妈妈?表达的方式就是亲亲,我第一次感觉亲亲,对表达爱意这么重要。对女孩这么重要。想到自己,不知如何与人亲近,如何表达自己的想法和爱慕。这是不是
- 【随感】2018-12-1:常知足,知不足
Natsuka
我们之所以不开心,之所以有很多烦恼,很大程度在于我们不知足。不知足,知不足,是一件好事,但是并非完全。昨天的不开心,一定程度是因为我想要改变,但是生活中很多事情并不是一蹴而就的,不能太过着急。所有的事情都要一个一个得来。跟大家分享一首歌:笔墨是小舟,这首歌是我所喜欢的80后水墨画家林曦老师创作的,同时也是她创办的暄桐教室教室的校歌。有喜欢传统文化,想学习写字画画的朋友,可以在网上搜索一下她。听着这
- 苏州一中见闻
沽河之畔
(一)讲课的老师下课了,我得空走一走苏州一中这座院落。四幢教学楼,坐北朝南,南面两幢,北面两幢,中间空地是学校正门对着的广场,广场中央立着一面照壁,照壁不仅仅是一面墙,而是园子正门的样子,中间是门两边是窗。门上有匾字,两边有门联。门前是水池,还栽种一簇簇灌木,水池里的水清澈,好像在流动。学生从西向的正门进入并走向东方,散落在南北教学楼里。最东面,有两栋门向西敞开的四层楼,分别是校史陈列馆和图书馆,
- 学校值班随感
双鱼女神经
前几天家委会组长在群里布置,轮到我们班在校门口值班,值班干什么呢,就是维持秩序,需要12个人,家长自愿报名。我看群里报名的人寥寥无几,我就报名了,然后请假值班。在校门口,听到家长把孩子送到校门口,有的家长说:“听话哦。”、有的说:“乖噢。”、有个老年人说:“加油噢!”我一般都说:“认真听讲噢。”大家一般说什么呢?欢迎交流。
- 重温三字经
花开叶落
宋朝·王应麟人之初,性本善。性相近,习相远。苟不教,性乃迁。教之道,贵以专。昔孟母,择邻处。子不学,断机杼。窦燕山,有义方。教五子,名俱扬。养不教,父之过。教不严,师之惰。子不学,非所宜。幼不学,老何为。玉不琢,不成器。人不学,不知义。为人子,方少时。亲师友,习礼仪。香九龄,能温席。孝于亲,所当执。融四岁,能让梨。弟于长,宜先知。首孝悌,次见闻。知某数,识某文。一而十,十而百。百而千,千而万。三才
- 老家大集随感
上善若水_81cd
图片发自App今天的大集,和往常的不太一样,人多了起来。车来车往,甚是拥挤。每次大集,都充满期待,但是每次期待都伴随着不知道该买什么。梁文道说过,最好的期望,就是不再期望。今天是腊八,过了腊八就是年。不知道从哪一年开始,对过年不再充满期待,是不是因为过年早已没了小时候的味道。小时候放鞭炮,期待过年的新衣服,期待拜年得到的礼物,虽然也得不到多少好礼物,期待过年才能吃的上的好吃的。如果,现在,你问我,
- 0418 一日工作随感
似水无痕_9819
1.不要质疑别的项目不了解别项目的前因后果,而且和别项目负责人不熟悉,不能贸然质疑或要求调整;不了解部门招标项目的潜规则,有些事需要看破不说破。2.甩锅要求业务人员提交需求文字版说明,需求人员直接回复可以电话交流,实时在线;(把球踢过来)技术人员回应,电话交流比较顺畅清晰,但就怕以为自己看图理解清楚了,而实际上理解错误,导致没有及时沟通,造成项目执行偏差。(再把球踢回去)3.主持会议明确会议目的,
- 2004-09-10教师节随感
蓟门闲客
教师节随感(一)借得教坛到庐阳,盛夏辞别飘零。作赋吟诗风雅事,园丁辛勤忙耕耘。感念泪沾巾。/只是平淡岁月,并非消磨青春。二十年前校园事,十二年后商海人。但留一份真。教师节随感(二)地角方台,连着万顷心田;墨池翰海,漂泊着一条小船。/那是一颗慧星,诉说激情,描绘灿烂,编织一个美丽的梦幻。/那是一束阳光,亲吻土地抚爱小苗对生命播种着春天。/二十年弹指一挥间,十二载用理想做帆。经别八岁,旧地新颜,流年几
- 急诊见闻两三件(一)
漫笔拾碎
今天是大年初七,开工了,所以对于我来说,这个春节差不多也就过完了……疫情原因,北漂多年的我也尝试了第一次在京过年,好在不是一个人,约好了异地的黑先生大年二十九那天会来北京一起过年,二十九那天调休了假期筹备过年了,也盼回了黑先生,买菜、购物、打扫还有一件需要他做的就是把老家寄来的一整只鸡剁成鸡块,结果……没错,剁手了!不是简单的剁手,是指甲连着肉一起剁掉了,等我赶到厨房时,触目惊心,剁下来的组织在案
- 一位智慧的妈妈 是孩子一生的财富
张布栋
——《妈妈知道怎么办》共读交流随感温柔如刚如果在现有的亲子教育类书籍中推荐一本,那我毫不犹豫会选择这本——《妈妈知道怎么办》!因为,在与利荣书友会的朋友们共读后,我从内心认可书中提到的理念,并会将书中讲到的方法运用在我与孩子的相处中。我坚信,这一选择的正确。与这本书的缘分,起源于王万石先生的推荐,他在朋友圈对这本书给与了至高无上的评价——认为这是目前亲子教育类书籍中最好的一本,没有之一!出于好奇,
- 追剧随感
白茶和风
这段时间电视剧《三十而已》特别火,我也是成千上万追剧者中的一个。刚才在剧中看到钟晓芹写的一段话,感同身受。“我觉得写作是这个世界上心灵最好的避难所,能写字是种运气,你的文字就是你铸起来的铜墙铁壁,在这里面可以展现最真实的自己,每天在这里面扎上几千个字的马步,人也稳了。”从小学开始,我就养成了写日记的习惯。一算至今已经几十年了。后来喜欢上写博客,现在又开始写。写作陪伴我度过了无数迷茫、无助、孤独的日
- 张咪第260天寄语
祭祀祭祀
图片发自App随感认知当下自己【道德经】第五十一章,道生之,道生成万物。道之尊,道的尊崇。故道生之,所以道生成万物。微笑是两个模特之间最短距离
- 你不断成长的结果,就是你终将被低估 —— 这是必然。2018-4-19,星期四,武汉-晴天
亲爱的_南_
【莜然❤️随感】~90-39~分享-你不断成长的结果,就是你终将被低估——这是必然。2018-4-19,星期四,武汉-晴天今天学习李笑来《通往财富自由之路》音频版的第32篇,今天打磨的概念是:时间买卖。【摘要】我们就是需要不断反刍自己的思想。所谓长期深入的思考,其实只不过是靠重复而已——这是很少有人真正了解却又公开的秘密。图片发自App【摘要】李笑来:今天的思考,只有一个,很简单,很重要,需要你反
- 住院见闻记2019-7-18
醒心可乐
住院倒计时起床:5:30就寝:10:30天气:阵雨心情:电影爆米花学习·信息·阅读听书《丝绸之路》健康·饮食·锻炼自从参加遇见训练营,还是第一次不打卡,让我的全勤有了瑕疵,在我的心里很难接受。可生活就是这样,你并不能总是掌控自己的时间,自己的生活。我不想给自己找任何借口,我也不想说因为要和爱人看电影,要临时住在妈妈家影响了我的原计划。但仔细思考,不能掌控自己的生活更深的原因其实是不想掌控,也不懂自
- 春节集市见闻
C18078黄俊豪阅读
图片发自App春节是中国最富有特色的传统节日,由虞舜时期兴起。春节指华夏传统历法夏历的元旦(与中国现行的公历元旦不同),农历正月初一,又称农历新年、大年、岁首、正旦、正月朔日,又叫阴历年,俗称过年、度岁、庆新岁。在中国民间,传统意义上的春节是指从腊月初八的腊祭或腊月二十三或二十四的祭灶,一直到正月十五,其中以除夕和正月初一为高潮。图片发自App年画(newyearpaintings)是中国画的一种
- 水润读书笔札 2
花香小札
罗兰是一位令人尊敬的有社会责任感的作家。常用简洁有感染力的文字启迪现在的人们。摘一些自己喜欢的小语及随感:快乐是一种美德,它不但表现自己对世界的欣赏与赞美,也给四周的人带来热情与轻盈。丨常暗示自己,快乐是心的主体,慢慢,快乐真就成为了常态。快乐不分内向、外向,是一种开心的状态,有时安静的时候心也是快乐的,常在读书、画画、听音乐时。快乐的秘诀是:让兴趣尽可能地扩张,对人对物的反应尽可能出自善意而不是
- 我见即我思第569天
若如初梘
我见:一个人成熟的标志之一就是,明白每天发生在自己身上的百分之九十九的事情对于别人而言根本毫无意义。——马克·鲍尔莱因(摘自句读中语录)我思:越是成长越是会明白一件事,那就是不管发生在自己身上的到底是什么样的事情大部分而言只对自己有意义,对别人来说那只是个故事或者说只是一段见闻罢了,与对方毫无瓜葛。我们每天都在发生各种各样的事情有好有坏,这个世界离了谁都不会停止,所以我们不要老是纠结于自己的事情为
- 2024博鳌新型电力系统国际论坛——电力系统与新能源技术创新论坛 (NPSIF 2024)
小鹿会议播报
会议征稿人工智能大数据能源云计算软件工程
2024博鳌新型电力系统国际论坛——电力系统与新能源技术创新论坛(NPSIF2024)2024BoaoNewPowerSystemInternationalForum-PowerSystemandNewEnergyTechnologyInnovationForum2023年3月22日至23日,2023年博鳌新型电力系统国际论坛在海南博鳌成功召开。论坛以“开放·合作·共享,推进能源绿色低碳发展”为主
- 报名工作随感
珙桐花的话
昨天早上六点多,带着发小开车去县城,她要给孩子报名,而我则是负责报名工作的老师之一。很尴尬啊,虽然我是寄宿制学校的老师,我却劝她不要这么早让孩子寄宿。也幸好,我们学校今年因为扩招学生过多,宿舍床位有限,一二年级学生不让住宿。而恰好,发小家的孩子上的是二年级。关于发小怎么教育孩子,我也只能提一些建议,并不敢奢求她全听。我深知她的不容易,孩子的教育也不是她一个人说了算。因为某些原因,她和前夫离婚了,大
- 坚持抄书打卡第十五天,认真学习的一天
爱读书的无业游民
我是爱读书的无业游民hjk,为什么是这个名字呢?因为我想做个无业游民,不上班还能够维持自己的生活开销!今天在学习一个软件,之前上学期间学得是另外一个版本,之后现在升级了,很多界面都不太一样了,结果没有相应的课程,自己也学的有点头大,所以时间投入要多一些,不过现在已经基本摸清了,功能都在,只是位置和叫法不同,自己多琢磨就好了,心静下来,慢慢学,慢慢来。抄书增长自己的学识,丰富自己的见闻,充实自己,让
- 读毛姆《面纱》随感一
沐阳年华
用两天的时间读完了毛姆的《面纱》,却用了好几天的时间不停地翻阅探索面纱的真相。这是一个表面上看起来非常庸俗而又老套的故事,实际上这是一部在虚伪的世界里揭开完美丝滑的面纱,赤裸裸的坦露出人性的本质和肮脏现实的巨作;是一部关于女性浴火重生般自我成长,觉醒,独立的故事。故事简介:虚荣貌美的大龄女子吉蒂,在一阵慌乱中嫁给了性格孤僻,聪明冷峻,毫无情趣的细菌学家沃尔特,他们在中国香港结婚。婚后妻子吉蒂出轨了
- 2018-8-4
grace2039
一、学习与实践1.付出不亚于任何人的努力2.要谦虚,不要骄傲3.要每天反省4.活着,就要感谢5.积善行,思利他6.不要有感性的烦恼二、今日分享今天一早就和儿子驱车到我公公和婆婆的墓地去祭拜,儿子这次回上海不到一个月,这是他记着一定要做的一件事。儿子从小是公公婆婆带大的,他对二位老人的感情很深。记得当年婆婆中风住在医院,儿子每次放假回到上海都是第二天就去医院,陪婆婆聊天,把他在外面的见闻讲给老人听,
- 随感
cs1205澍
苏菲的世界,楚门的世界,我的世界,仿佛感觉每个人的世界世界都只有自己一个人,开心或悲伤实际都一样,以前无法解释的事情,当沉浸在自己的世界时,无需言语,沉默就好,年龄或者是其他什么东西啊自然就诠释了,淡然了,宠辱不惊了,放开了,剩下的只有你自己了,好了…
- 今日随感丨休息一天反而没有进行创作
陈任性
今天在家休息一天,反而没有进行创作。昨晚久久都没有睡着。窗外是电闪雷鸣,风雨交加。在床上辗转难眠,想待这雨停歇。结果,这雨下了整整一夜。在雨声中,在雷声中,迷迷糊糊睡去。早上起床,看着那大雨没有丝毫停下的意思,我决定休息一天。本来以为今天有了很多时间,写出一篇文章没有问题,吃过午饭,结果昏昏欲睡。睡了几个小时后,起床就打算写一篇文章。坐在沙发上思前想后。却时不时拿起手机看看新闻,打开电视看看综艺,
- 过去随感(2)
酩酊不知醉
走走停停,形形色色。缘分万变,谁能明言。个中滋味,不觉尝个遍。我有苦乐未曾言,生而为人二十年。我其实没有在空间里怎么说自己的事情,一些比较平常的旅游,美食之类的,也没有说过太多生活中的琐事。最多只是平常的游戏。最多的大概是人的共情。一些孤独,一些所谓的变化,这些看着幼稚的人才会讲的东西。其实我早已不曾孤独了,或者说孤独换了个模样,我只是客观的说着这些,没有太多情感上的波澜。我有不少极好的朋友,纵然
- 一场大雨结束了这个忙碌的周末
MelonFang
#雨天生成的素材#上午是热烈迎面的太阳,下午成狂风暴雨的急作。车里拍了一张图,随感而来的言语。周末充实着,结束了。
- 《第七天》——最理想的乌托邦,最绝望的人间
6909fa8d85d2
《第七天》是余华的长篇小说,选择一个刚刚去世的死者“我”(杨飞)作为叙事者,由“我”讲述死后七天里的见闻与由之引起的往事。余华的小说一直充满社会关切,在《第七天》里,我们更是能够感受到纷至沓来的社会问题。《第七天》将目光聚焦于城市底层人民的生活,写他们的挣扎,欲望,迷失,还有残存的温情。由于“我”死后没有墓地,只能做个真正的孤魂野鬼,游荡在阴阳两界,在寻找栖息地的过程中,“我”遇到了一个又一个与我
- 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