- 人与人之间的相遇,是天意,人与人之间的分离,常在人为。
雨墨笔谈
人际关系,是我们生活中不可或缺的一部分。然而,如何与他人和谐相处,维系友情和爱情,却是一门艺术,需要智慧、耐心去领悟。不强求才是人与人之间最舒服的相处方式。这一理念代表着我们与世界相处的智慧,也是我们与他人建立持久友情和幸福感情的关键。理解与尊重人际关系中,理解和尊重是金科玉律。当我们能够以开放的心态去理解他人,不仅可以减少冲突,还可以建立更深刻的关系。正如有这样一句话说到:“你无法选择你的亲人,
- 三维人生
墨尽言
这是我第一篇文章,说实在的,我也不知道该写点什么。其实在这里,永远都都有比自己强的人,也都会有后来居上者。其实,这又怎样?我们总有别人没有经历过的人生,总有别人不熟悉的技能。最近,我试着把个人努力思考的方向转换至另一面,我暂且将它称之为“三维人生”。何为三维人生呢?相信大家都听说过三维这个词吧,一般通常指的是空间上的三维(也可以自行百度一下),那因为我经常接触到三维软件。在软件中,会给你标示出一个
- 分享欲的重要性
玺晴
不管是亲情、友情还是爱情,我觉得分享欲还是蛮重要的,当你开始对一个人逐渐没有了分享的欲望,其实也意味着你们的关系正在逐渐疏远,或许是已经疏远了。毕业后呢,W和N是我联系最多的两个人,我们几乎每天都会聊天,聊的内容并不是什么大事,都是一些琐碎的事情,或是一些情绪化的东西。例如,W去面试的时候被放鸽子了,她提前到了那家公司,却被通知已经不招人了,于是呢,她向我吐槽这家公司,为了面试她化了妆,坐了差不多
- 《头脑特工队》电影复盘
中航国旅阿萍
《头脑特工队》讲述了小女孩莱莉的成长过程。图片发自App电影向我们描述了两个世界:外部世界:可爱的小女孩莱莉出生在明尼苏达州一个平凡的家庭中,从小她在*父母的呵护下长大,脑海中保存着无数美好甜蜜的回忆。因为爸爸的工作变动而举家搬到旧金山,脏乱的新家、陌生的校园环境、逐渐失落的友情都让莱莉无所适从,她的负面情绪逐渐累积,内心美好的世界渐次崩塌。内部大脑世界五个小人儿乐乐,忧忧,厌厌,怕怕和怒怒有各自
- 动态生成的html元素绑定click事件
.NET跨平台
Jquery及其组件htmljquery
第一篇博客,开启技术博客的生涯,欢迎大家批评指教(坚信妹子也可以做好程序猿)今天想说帮公司做项目的时候遇到的一个小问题,动态添加html元素以后再去事件监听出问题。在实际开发中会遇到要给动态生成的html元素绑定触发事件的情况。就是上面的一张表格要动态实现添加行,然后序列号还要随着增加,当删除的时候序列号依旧是按顺序排列。刚开始使用jQuery的on方法来解决,但是发现一个问题会出现事件绑定很多次
- 男女之间有纯友谊吗?
爱吃樱桃de小丸子
昨晚看到一档节目谈论到“男女之间是否有纯友谊”,大家意见各不相同。睡前我又想到这个问题,其实这已经是个很老掉牙的话题了,但是它却好像永远都不会过时,异性之间的关系真的是一种很巧妙的存在,单身的时候,过于亲密,会遭受白眼,恋爱的时候,过于亲密,更会惹来非议,而异性交往这个度,对于不同人又有不同的定义。也许程又青和李大仁让很多人认为所谓纯友谊其实是为了掩饰内心那一份早已超出友情的情感,但其实感情里面是
- 大总裁小娇妻
回忆女孩安玖璃
第一篇:出遇,蒂晏城她叫唐洛初,唐家的千金小姐,唐家人的掌上明珠,她上边有两个哥哥唐明黎,唐晟堰,一般的人家都喜欢男生,她父亲却喜欢女孩,原因是长得像妈妈……从小被捧在手心里的小公主却喜欢上了A市的“恶魔”帝晏城全市不全球的人几乎都怕他,但是他的容貌也会让人不自觉的喜欢上他,洛初也不例外,回忆那一天洛初和朋友莫小北一起在他的商店里逛街时两人不自觉的对上了眼,洛初红着脸低着头,他从洛初的身边擦肩而过
- 2022年11月20日日记
Sinceyang杨
周日,多云转晴(21~28℃)1、打卡①早(9:15):蒸玉米②午(12:45):米饭、青椒腊肠炒香菇、炒娃娃菜③晚(18:53):四季豆炒鸡蛋、炒花菜、鸡汤泡饭④加:冰糖橙、麻辣鸭脖、雪饼、蛋黄卷、圣女果、甘蔗2、独白日复一日的上班,打工人唯有晚上下班和周末的时间才真正属于自己,这也是熬夜的主要原因之一。一定会有一份热烈的爱情与真诚的友情和平淡的亲情一样,至死不渝。今晚妈妈给我打视频电话,问我她
- 巨人的陨落
水馨
图片发自App保守地说,巨人的陨落是一部非常有意思的书。记得上次看书看到茶饭不思夜不能寐是基督山伯爵。一战背景,(普及世界历史呢,什么法国大革命啊普法战争啊一战爆发的导火索啊等等)各国当时的情势,面对战争时不同阶级的人心,亲情爱情友情在面对“世界末日”就要到来时种种传神的变化……通过形形色色的人的心路历程具象了世界历史中重要的一段,感觉真够费心的啊——将历史如此清晰地通过情节呈现出来,战争的残酷这
- 看得见的与看不见的(转)
老度2080
巴斯夏是十九世纪中期法国经济学家。他将经济学理论与行文的机智、雄辩这两者完美地结合在一起,文章充满了有趣的寓言、辛辣的反讽、机智的辩论,阅读他的文章,本身是一种愉悦。这篇发表于1850年的《看得见的与看不见的》,正是巴斯夏最有名的文章之一。北大教授薛兆丰在其“法律经济学”课程上,次次都指定为第一篇必读文章,称此文思想是经济学思维区别于其他思维的根基。诺奖得主哈耶克曾经这样评价本文:从来没有人用这么
- 观影《长津湖》随想:我们都是创伤累累成长中,我们即创伤本身
王明鹏
电影《长津湖》让更多人重拾抗美援朝这段历史,之前写过4篇观影随想,几乎没有涉及具体电影情节,原因在于电影本身属于艺术加工,从中获益才是观影目的。梳理这4篇涂鸦文字,主题分别如下:1、正视创伤,不回避创伤痛苦。“真的猛士敢于正视淋漓的鲜血,敢于直面惨淡的人生”,我们都经历过创伤,敢于正视才是心理健康表现,先写了第一篇观影《长津湖》随想:为有牺牲多壮志,敢叫日月换新天!。2、认识创伤,创伤不可避免。“
- 《高手教师》阅读分享(四)
河南麦子的书写
三、与家长并肩作战家校合作,共同助力孩子成长。那在家校合作方面,我们要注意什么?能做什么呢?这一辑有三篇文章。第一篇是关于如何管理家长微信群的问题。现在使用家长微信群,很方便老师发送通知,反馈在校信息什么的。现在微信群也可能成为令老师烦恼的地方,毕竟人有百口,想法不一。魏老师认为,微信群怎么管理,这是一门教育学。建群之前,想清楚为什么要建微信群?便于老师发布信息分享讨论。想明白之后,就可以生成相应
- 2019-04-07
华英雄_712d
2019-4-7姓名:郭祥华组别:315期六项精进努力一组【日精进打卡第475】【知~学习】背诵《六项精进》2遍共2032遍。背诵《大学》2遍共2032遍。活法:“喜欢燃起热情”“战胜自我向前进,人生大变样”经典语句:遇人多了就知道友情的可贵,遇事多了就知道理解的可贵;失败多了就知道心态的可贵,成功多了就知道勇气的可贵;矛盾多了就知道胸怀的可贵,不顺眼多了就知道修养的可贵;恭维多了才知道真诚的可贵
- 不管是友情还是爱情都请学会及时止损
猜猜我的是什么名字
跟一朋友聊天听他说:他女朋友总是对他爱理不理给她钱的时候很开心,没钱给的时候就生气,回信息也慢了。盼着过年的时候,想让她跟我回家过年,顺便见见父母,她说得把说好的彩礼钱都给完才跟我回。抱怨说现在自己活的很累,几年了都这样,赚的钱都不够给她。关键是从她那里几乎没得到什么关心和爱。你说这段感情我该不该继续啊?其实在我们生活中这样的例子并不少见,明明觉得两个人不合适了,还继续拖着不分手,大概是幻想有朝一
- 真正好的关系 都自带分寸感
小绿逗
有句话说得好:“永远不要把友情放在一个不可思议的高度上,有些朋友就是在一个阶段带给自己美好东西的人,互相享受而不要互相捆绑。”真正好的关系,往往都自带分寸感。娱乐圈里,黄渤、徐峥、宁浩被称为“中国影坛最牛铁三角”,3个人能保持深厚的友谊,就是因为他们都特别懂得分寸感。2011年,宁浩想要拍《黄金大劫案》,徐峥很中意影片中男主角这个角色。但宁浩觉得徐峥不合适,就拒绝了徐峥,然后徐峥就再也没有提过这件
- C++线程、多线程教程详解(全网最全、示例最多、最详细)(第一篇)
shuai_258
c++c++全套攻略c++多线程c++
目录A、线程/多线程基础一、C++11创建线程的几种方式1.1使用函数指针1.2使用lambda表达式1.3使用成员函数1.4使用可调用对象(Functor)二、定义一个线程类三、join()与detach()的详细用法及区别3.1join()的用法3.2detach()的用法3.3join()与detach()的区别总结四、std::this_thread4.1、主要功能std::this_th
- 2020年还有11天就要结束了,你今年干了些什么?
是只彼得兔
一、为什么要复盘?a)让自己的成长有迹可循;b)每年都有进步和收获,成长曲线整体保持向上;c)保持动态平衡,让生命之花绽放得更漂亮。二、整体复盘a)年度关键词:自我突破、爱妹妹、阅读、运动、成长b)整体打分:7分c)十大突破:第一次对妈妈说“我爱你”、去北京见董卿、带妹妹一起去长沙旅游、学而思社区运营15天、坚持锻炼一个月、阅读量增加、瘦到93斤、开通公众号并发表第一篇文章、每月存钱100元、干兼
- 一首打油诗
yt_monkey
最近才知道,也不断会,写点东西,但是从未发出来过,多数是在微信群交流。偶然间看到有朋友发今日长缨在手,何时缚住苍龙?的对句,一时感慨就打了点油。这算我在的第一篇文章吧。只是没想到会是一首打油诗。昔年舞文弄墨,决然投笔从戎。今日长缨在手,何时缚住苍龙?老来情味已减,空对别酒流年。目断秋霄落雁,醉来时响空弦。稼轩已归尘土,神采亦藏胸间。日月乾坤虽换,代代薪火相传。碧血丹心履善,难酬蹈海英雄。偶忆往昔忠
- Day 145 二上| 喜欢热闹,更喜欢安静…
榴小轩妈妈正念养育日记
二年级生活第145天,1月23日,周日。在小姨家住了两天,今天中午回了家。热热闹闹地度过了两天,回到家后有种久违的清净。下午,儿子习惯性读了(经典,文言文,三本儿歌,典范英语,预习了数学一个章节)。我和他下了一盘五子棋,小家伙进步很多。明天全家去泡温泉,开心呢!2021年1月23日,我在上写了第一篇文章,同时参加了日更。今天是2022年1月23日,整整的一年了。虽然每天像流水账一样,但有意思的是:
- 《独孤残缺》第一百六十三章:赴死的友情
卧龙镇吟
看着雪地上的那两个字,翠玉寒的脸上浮现出一种难以形容的笑意,她的脸部肌肉并没有任何的移动,但是看上去却的确是在笑的,也许就连她自己都没有发觉自己在笑,就算发觉了,也不清楚自己为什么会笑。其实她应该笑的,能够安全的逃离出那个令她充满了屈辱和压抑的牢笼,毕竟是件值得高兴的事,可是她突然收敛起笑容,眼中露出凶恶的光,表情狰狞的露出了雪白的牙齿。她应该恨,李默天辜负了她的一片真心,被一个自己深爱的人玩弄了
- 有时候,深夜的放声痛哭,是对自己最好的倾诉
椰子水了没
这是我在的第一篇文章,想在一个没人认识和知道我的地方调整自己,重新开始。深夜2:30,刚刚放声痛哭完。我是一个身高160不到,体重140斤的姑娘。我是一个在国外留学读本科,学习计算机专业的理工科姑娘。我是一个来自享有江南水乡美誉的苏州姑娘。也许这三个条件放在一起会显得很不搭,但是这就是我,一个浑身充满着纠结气息的不协调姑娘。也许我先天性地缺少主观的感官神经,更确切地说,是缺少更细腻的感官神经。对于
- 心,空荡荡
木子朱子
图片发自作者拍摄年少时,心空荡荡的时候,是看不到前路的方向,看不清梦想,识不清爱情,或是没有了友情。那时,心空荡荡也无妨,青春给了我们时间去放纵,试错,是青春赋予我们权力和成长的机遇。成年后,心空荡荡的时候,多半是疲惫无神的时候,这时,世间事多已看透,不为情困也不为未来烦恼。心似乎装了全世界,累了,就放下,于是,换来心空荡荡,乐得轻松。
- 爱上特种兵:关于生死,这部剧都告诉了我们哪些真相
薇芥子
文/薇芥子关注薇芥子,俗世红尘中,与你共同品味情感故事。本以为《爱上特种兵》中,甜美爱情才是主线,没想到,剧情打破甜剧规律,剧中人频繁经历生死,前行的路上,不断有人死去,无论是自杀也好,牺牲也好,每个离开的人都是一条鲜活的生命,背后都有珍惜他的家人和朋友。但是编剧没有因为他们的亲情,爱情和友情,而给他们圆满的结局,而是戳破套路,将残酷的真实摆在人们面前,虽然痛,但亦使人清醒。张一驰说,生死之外无大
- 2018-12-08
嘉木野子
朦胧诗集「女人和花瓣」第一辑,第一篇踏上出了故障的船甲心被海水正在侵蚀远远望见抛硬币的女人版权所有,翻版必究未完待续……
- 新年开工大吉之初七何总分享
王大生
亲爱的各位亲友:亲爱的各位合伙:何珊给微信里所有兄弟姐妹们拜年了[合十]祝愿你们:在新的一年里:事业上能找到可以合作的伙伴;在感情方面能得到知音知己;在工作方面能得到领导同亊的认可;在友情上结交到正能量的朋友获得精神营养;选择到好的平台融入到好的团队,能收获最大的财富获得安全感;选对人做对亊不做无用功;能与智者为伍与德者结伴;成为德商联盟—天方夜谈平台的主人,在甘文苏拍—东方文宝文化自信的引领下,
- 以“读”攻毒21天焕新读书活动孙慧霞打卡第一天
孙慧霞shx
《鬼谷子》是一部集纵横家、兵家、道家、仙家、阴阳家等思想于一体的理论著作,本书对原作做了精当而晓畅的注释与翻译,每篇皆附有提要以解析、导读,并精选了古今中外颇具代表性的案例,涵盖管理、商场、职场、处事等各个领域,逐篇阐释、解读,用精彩纷呈的故事呈现鬼谷子的智慧谋略,今天读了第一篇捭阖,共17页,[为人处世]三思而行-别让愤怒之火毁了自己;[管理谋略]虚虚实实-郑国不确定的迷局;[商战博弈]周密贵微
- 新年的第一个工作日
乐乐无忧66
今天是2020年1月2日(周四),天气晴朗。零上4°不冷。今天是2020的第一个工作日,又是腊八节。看到朋友圈发的说的特别好:往事清零,万物更新;2020,万事都要全力以赴,不念过往,不畏将来!!加油今天是腊八节,天气小幅升温,下巴不掉,感到温暖。熬了一碗腊八粥送给你。一碗腊八粥,混合百种情,千种味,红枣似亲情,暖在心田,莲子似友情,知在心灵,桂圆似爱情,暖在心间,红豆伴相思,送去对你的思念和祝福
- 2022.3.22亲子阅读与绘本赏析《亲爱的小鱼》
珊瑚4点早起自律达人
绘本《亲爱的小鱼》推荐理由法国绘本大师安德烈·德昂的经典绘本,被誉为“打造梦幻世界的魔术师”,通过一只猫和一条小鱼之间的感人故事,让读者体会到浓浓的爱情、亲情和友情,非常适合亲子共读,以故事为媒介,让爱在彼此之间流动故事简介一只猫养了一条小鱼,每天喂它吃好吃的,给它一个甜蜜的吻;小鱼越来越大,鱼缸已无法满足它的生长,于是猫把它带到大海边,让它自由地游来游去猫十分想念小鱼,坐在岛上日夜等待,还把自己
- 别在无所谓的人身上浪费时间
姚姚读书
有些时候,我们会被所谓朋友情困住,我们想把每个朋友经营好,但是你会发现,并不是每个人都值得你浪费时间把他当做朋友。你也许会发现,你把他当朋友,但是他做的事情确不是一个真正朋友应该做的,你就会陷入怀疑,我还要不要和这样的朋友继续下去。比如,他觉得你的付出是理所应当,会无限制的向你索取,却不懂得回报,或者只是利用你去达到他的目的,如果你发现这样的结果,那就果断选择,面对这样的“朋友”,最好的方法就是敬
- 捷美商学院课后分享
暖暖园
今天是捷美商学院的第四课,今天开始写我的第一篇分享,今天学习了3个课时,主要是说行动教练,以及在最后看了一场电影:光荣之路。说的是一支球队的夺冠路程,以前看这种类似的电影,我的关注度都会在球员如何辛苦的练习与付出,这次学习了行动教练以后我感触人生与成长之路能遇到一个好的导师与上司是多么的幸运。回想自己在平时的工作当中与下属的一些沟通与交流存在很多的问题,缺少很多正能量。这是我需要改进的。这些课程是
- web前段跨域nginx代理配置
刘正强
nginxcmsWeb
nginx代理配置可参考server部分
server {
listen 80;
server_name localhost;
- spring学习笔记
caoyong
spring
一、概述
a>、核心技术 : IOC与AOP
b>、开发为什么需要面向接口而不是实现
接口降低一个组件与整个系统的藕合程度,当该组件不满足系统需求时,可以很容易的将该组件从系统中替换掉,而不会对整个系统产生大的影响
c>、面向接口编口编程的难点在于如何对接口进行初始化,(使用工厂设计模式)
- Eclipse打开workspace提示工作空间不可用
0624chenhong
eclipse
做项目的时候,难免会用到整个团队的代码,或者上一任同事创建的workspace,
1.电脑切换账号后,Eclipse打开时,会提示Eclipse对应的目录锁定,无法访问,根据提示,找到对应目录,G:\eclipse\configuration\org.eclipse.osgi\.manager,其中文件.fileTableLock提示被锁定。
解决办法,删掉.fileTableLock文件,重
- Javascript 面向对面写法的必要性?
一炮送你回车库
JavaScript
现在Javascript面向对象的方式来写页面很流行,什么纯javascript的mvc框架都出来了:ember
这是javascript层的mvc框架哦,不是j2ee的mvc框架
我想说的是,javascript本来就不是一门面向对象的语言,用它写出来的面向对象的程序,本身就有些别扭,很多人提到js的面向对象首先提的是:复用性。那么我请问你写的js里有多少是可以复用的,用fu
- js array对象的迭代方法
换个号韩国红果果
array
1.forEach 该方法接受一个函数作为参数, 对数组中的每个元素
使用该函数 return 语句失效
function square(num) {
print(num, num * num);
}
var nums = [1,2,3,4,5,6,7,8,9,10];
nums.forEach(square);
2.every 该方法接受一个返回值为布尔类型
- 对Hibernate缓存机制的理解
归来朝歌
session一级缓存对象持久化
在hibernate中session一级缓存机制中,有这么一种情况:
问题描述:我需要new一个对象,对它的几个字段赋值,但是有一些属性并没有进行赋值,然后调用
session.save()方法,在提交事务后,会出现这样的情况:
1:在数据库中有默认属性的字段的值为空
2:既然是持久化对象,为什么在最后对象拿不到默认属性的值?
通过调试后解决方案如下:
对于问题一,如你在数据库里设置了
- WebService调用错误合集
darkranger
webservice
Java.Lang.NoClassDefFoundError: Org/Apache/Commons/Discovery/Tools/DiscoverSingleton
调用接口出错,
一个简单的WebService
import org.apache.axis.client.Call;import org.apache.axis.client.Service;
首先必不可
- JSP和Servlet的中文乱码处理
aijuans
Java Web
JSP和Servlet的中文乱码处理
前几天学习了JSP和Servlet中有关中文乱码的一些问题,写成了博客,今天进行更新一下。应该是可以解决日常的乱码问题了。现在作以下总结希望对需要的人有所帮助。我也是刚学,所以有不足之处希望谅解。
一、表单提交时出现乱码:
在进行表单提交的时候,经常提交一些中文,自然就避免不了出现中文乱码的情况,对于表单来说有两种提交方式:get和post提交方式。所以
- 面试经典六问
atongyeye
工作面试
题记:因为我不善沟通,所以在面试中经常碰壁,看了网上太多面试宝典,基本上不太靠谱。只好自己总结,并试着根据最近工作情况完成个人答案。以备不时之需。
以下是人事了解应聘者情况的最典型的六个问题:
1 简单自我介绍
关于这个问题,主要为了弄清两件事,一是了解应聘者的背景,二是应聘者将这些背景信息组织成合适语言的能力。
我的回答:(针对技术面试回答,如果是人事面试,可以就掌
- contentResolver.query()参数详解
百合不是茶
androidquery()详解
收藏csdn的博客,介绍的比较详细,新手值得一看 1.获取联系人姓名
一个简单的例子,这个函数获取设备上所有的联系人ID和联系人NAME。
[java]
view plain
copy
public void fetchAllContacts() {
 
- ora-00054:resource busy and acquire with nowait specified解决方法
bijian1013
oracle数据库killnowait
当某个数据库用户在数据库中插入、更新、删除一个表的数据,或者增加一个表的主键时或者表的索引时,常常会出现ora-00054:resource busy and acquire with nowait specified这样的错误。主要是因为有事务正在执行(或者事务已经被锁),所有导致执行不成功。
1.下面的语句
- web 开发乱码
征客丶
springWeb
以下前端都是 utf-8 字符集编码
一、后台接收
1.1、 get 请求乱码
get 请求中,请求参数在请求头中;
乱码解决方法:
a、通过在web 服务器中配置编码格式:tomcat 中,在 Connector 中添加URIEncoding="UTF-8";
1.2、post 请求乱码
post 请求中,请求参数分两部份,
1.2.1、url?参数,
- 【Spark十六】: Spark SQL第二部分数据源和注册表的几种方式
bit1129
spark
Spark SQL数据源和表的Schema
case class
apply schema
parquet
json
JSON数据源 准备源数据
{"name":"Jack", "age": 12, "addr":{"city":"beijing&
- JVM学习之:调优总结 -Xms -Xmx -Xmn -Xss
BlueSkator
-Xss-Xmn-Xms-Xmx
堆大小设置JVM 中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制;系统的可用虚拟内存限制;系统的可用物理内存限制。32位系统下,一般限制在1.5G~2G;64为操作系统对内存无限制。我在Windows Server 2003 系统,3.5G物理内存,JDK5.0下测试,最大可设置为1478m。典型设置:
java -Xmx355
- jqGrid 各种参数 详解(转帖)
BreakingBad
jqGrid
jqGrid 各种参数 详解 分类:
源代码分享
个人随笔请勿参考
解决开发问题 2012-05-09 20:29 84282人阅读
评论(22)
收藏
举报
jquery
服务器
parameters
function
ajax
string
- 读《研磨设计模式》-代码笔记-代理模式-Proxy
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/*
* 下面
- 应用升级iOS8中遇到的一些问题
chenhbc
ios8升级iOS8
1、很奇怪的问题,登录界面,有一个判断,如果不存在某个值,则跳转到设置界面,ios8之前的系统都可以正常跳转,iOS8中代码已经执行到下一个界面了,但界面并没有跳转过去,而且这个值如果设置过的话,也是可以正常跳转过去的,这个问题纠结了两天多,之前的判断我是在
-(void)viewWillAppear:(BOOL)animated
中写的,最终的解决办法是把判断写在
-(void
- 工作流与自组织的关系?
comsci
设计模式工作
目前的工作流系统中的节点及其相互之间的连接是事先根据管理的实际需要而绘制好的,这种固定的模式在实际的运用中会受到很多限制,特别是节点之间的依存关系是固定的,节点的处理不考虑到流程整体的运行情况,细节和整体间的关系是脱节的,那么我们提出一个新的观点,一个流程是否可以通过节点的自组织运动来自动生成呢?这种流程有什么实际意义呢?
这里有篇论文,摘要是:“针对网格中的服务
- Oracle11.2新特性之INSERT提示IGNORE_ROW_ON_DUPKEY_INDEX
daizj
oracle
insert提示IGNORE_ROW_ON_DUPKEY_INDEX
转自:http://space.itpub.net/18922393/viewspace-752123
在 insert into tablea ...select * from tableb中,如果存在唯一约束,会导致整个insert操作失败。使用IGNORE_ROW_ON_DUPKEY_INDEX提示,会忽略唯一
- 二叉树:堆
dieslrae
二叉树
这里说的堆其实是一个完全二叉树,每个节点都不小于自己的子节点,不要跟jvm的堆搞混了.由于是完全二叉树,可以用数组来构建.用数组构建树的规则很简单:
一个节点的父节点下标为: (当前下标 - 1)/2
一个节点的左节点下标为: 当前下标 * 2 + 1
&
- C语言学习八结构体
dcj3sjt126com
c
为什么需要结构体,看代码
# include <stdio.h>
struct Student //定义一个学生类型,里面有age, score, sex, 然后可以定义这个类型的变量
{
int age;
float score;
char sex;
}
int main(void)
{
struct Student st = {80, 66.6,
- centos安装golang
dcj3sjt126com
centos
#在国内镜像下载二进制包
wget -c http://www.golangtc.com/static/go/go1.4.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.4.1.linux-amd64.tar.gz
#把golang的bin目录加入全局环境变量
cat >>/etc/profile<
- 10.性能优化-监控-MySQL慢查询
frank1234
性能优化MySQL慢查询
1.记录慢查询配置
show variables where variable_name like 'slow%' ; --查看默认日志路径
查询结果:--不用的机器可能不同
slow_query_log_file=/var/lib/mysql/centos-slow.log
修改mysqld配置文件:/usr /my.cnf[一般在/etc/my.cnf,本机在/user/my.cn
- Java父类取得子类类名
happyqing
javathis父类子类类名
在继承关系中,不管父类还是子类,这些类里面的this都代表了最终new出来的那个类的实例对象,所以在父类中你可以用this获取到子类的信息!
package com.urthinker.module.test;
import org.junit.Test;
abstract class BaseDao<T> {
public void
- Spring3.2新注解@ControllerAdvice
jinnianshilongnian
@Controller
@ControllerAdvice,是spring3.2提供的新注解,从名字上可以看出大体意思是控制器增强。让我们先看看@ControllerAdvice的实现:
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Co
- Java spring mvc多数据源配置
liuxihope
spring
转自:http://www.itpub.net/thread-1906608-1-1.html
1、首先配置两个数据库
<bean id="dataSourceA" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close&quo
- 第12章 Ajax(下)
onestopweb
Ajax
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- BW / Universe Mappings
blueoxygen
BO
BW Element
OLAP Universe Element
Cube Dimension
Class
Charateristic
A class with dimension and detail objects (Detail objects for key and desription)
Hi
- Java开发熟手该当心的11个错误
tomcat_oracle
java多线程工作单元测试
#1、不在属性文件或XML文件中外化配置属性。比如,没有把批处理使用的线程数设置成可在属性文件中配置。你的批处理程序无论在DEV环境中,还是UAT(用户验收
测试)环境中,都可以顺畅无阻地运行,但是一旦部署在PROD 上,把它作为多线程程序处理更大的数据集时,就会抛出IOException,原因可能是JDBC驱动版本不同,也可能是#2中讨论的问题。如果线程数目 可以在属性文件中配置,那么使它成为
- 推行国产操作系统的优劣
yananay
windowslinux国产操作系统
最近刮起了一股风,就是去“国外货”。从应用程序开始,到基础的系统,数据库,现在已经刮到操作系统了。原因就是“棱镜计划”,使我们终于认识到了国外货的危害,开始重视起了信息安全。操作系统是计算机的灵魂。既然是灵魂,为了信息安全,那我们就自然要使用和推行国货。可是,一味地推行,是否就一定正确呢?
先说说信息安全。其实从很早以来大家就在讨论信息安全。很多年以前,就据传某世界级的网络设备制造商生产的交