- 谢谢你们,爱你们!
鹿游儿
昨天家人去泡温泉,二个孩子也带着去,出发前一晚,匆匆下班,赶回家和孩子一起收拾。饭后,我拿出笔和本子(上次去澳门时做手帐的本子)写下了1\2\3\4\5\6\7\8\9,让后让小壹去思考,带什么出发去旅游呢?她在对应的数字旁边画上了,泳衣、泳圈、肖恩、内衣内裤、tapuy、拖鞋……画完后,就让她自己对着这个本子,将要带的,一一带上,没想到这次带的书还是这本《便便工厂》(晚上姑婆发照片过来,妹妹累得
- 没想到,真没想到
一棵落花的树
生活中,每一件小事都蕴藏着他的道理。有些令你意外,却能让你收到更为意外的结果。那一次,我真没想到的事,让我收获了爱。记忆的雨飘落下来,扰乱了我平静的心湖。那是一次数学考试,我破天荒地考了“99”分。我不禁沾沾自喜,这成绩我可不容易得到,妈妈一定会好好表扬我的。回到家,我想妈妈得意的报出成绩,妈妈只是淡淡的说:“嗯,等会儿试卷拿给我看看。”做完作业,我把试卷拿给了妈妈。只见妈妈捧着试卷,眯着眼睛盯着
- 第九十章 真情
溪境
图片发自App图片发自App和雏田在一起的日子真的很开心。姐姐永远是最亲的最真的。佐助总来捣乱。小樱准备一盆水泼佐助。想到恋爱通告亦菲被泼水不免高兴。亦菲是最美的。没想到她也会有这种遭遇。也许不需要赚那么多钱。和家人在一起的日子真好。却轻易破碎。雏田的话语温软,依稀在耳边。她的微笑纯美温柔。喜欢温柔的哥哥,雏田就是这样啊。不知道雏田是喜欢男生还是女生。我都支持。过去门当户对。现在自由恋爱。想永远和
- 致知班毕业感言
婷遇见更好的自己
时间过得真快,回想起当初报名致良知学习平台的时候,只是怀着试试看的态度,做好了不行随时退出的准备。真没想到这一坚持就是一年,期间的坚持源于平台的魅力,源于一群志同道合的家人们的支持、鼓励,才能携手走到今天。此刻心里充满了无限的感恩,感恩平台所有志愿者老师的无我、大爱付出,是他们的这种精神一直在感召着我们,潜移默化的影响着我们,他们就是我们的标杆,一直引领着我们不断向前;感恩这些同行的兄弟姐妹们,我
- 2023-11-10
燕的呢喃
2023.11.10星期五天气晴昨天的风呼呼的,害怕被冻到今天早上索性就穿起了羽绒服,因为今天执勤,所以需要早起,需要早去,昨晚和你沟通今早上你跟着我一起去学校还是自己去上学,你说看看早起的情况。早上给你做的肉夹馍,你吃了一个,我以为你会自己去,没想到还是起床和我一起,为你点赞,虽然是六年级的大学生,但是毕竟还是小孩子还有小孩子的娇气和脾气,虽然怀着妹妹六个多月了,但是在我力所能及的范围,我还想去
- 最新小说《美女老婆种回家》吴敏霍小燕&全文阅读无删减
小说推书
最新小说《美女老婆种回家》吴敏霍小燕&全文阅读无删减主角:吴敏霍小燕简介:在我的老家农村倒是经常听到老人们说起这种事情,或是某人没生育能力,然后找个族亲的同辈来传宗接代。可以关注微信公众号【小北文楼】去回个书号【53】,即可免费阅读【美女老婆种回家】小说全文!晚上,我熬了半个通宵,做出了一个自我感觉很是完美的企划案,第二天我兴冲冲的来到公司打算交给经理请功,没想到刚到经理办公室门口,就听到了秘书小
- 小何姑娘,今天的小诗请签收(二百六十八)
池鱼见渊
我在等一个人,我不想这个故事是悲伤的。慢慢的要变的宽容,慢慢的学会体谅,慢慢的看的清楚更多的东西。我曾笃信缘分,后来见了你后就不敢信了,有些事情就是在你的手中。(一)《寻》一瞬间有多少的悲欢离合在产生不同的态度交织在了一起每个人都在寻找着刚好一生才能走完的路想要理想的闲逸安静心就不要处在喧闹的城市我们想要寻找到温柔就不要从他人不足的缝隙里寻找都找不到的(二)在黑夜里贩卖阳光本以为能大赚一笔没想到遇
- 21天|生如夏花组合《蔡康永的说话之道》
summer_8f83
【day12】今日阅读《蔡康永的说话之道》p1-p30这本书在前几年读过,当时没有留下深刻的印象,记忆里就是一个影视名人趁红出的一本书。前几天看到一位老铁推荐这本书,又找出来读一读,没想到读了以后跟以前相比有了很深刻的感悟和认同。会说话坚持太重要了,我觉得这本书叫跟《非暴力沟通》有异曲同工之处。“良言一句三冬暖”,“一样话百样说”所以,说话时候技巧的,是可以练习的。作者提示我们:每天我们说那么多话
- 致敬无名英雄!就在《无名》电影!
ffc7a15e23ae
“王一博股”乐华娱乐登陆港交所上市!万万没想到,开盘半小时大涨五成。上市首日开盘价5.6港元,上午最高时达到6.48元。王一博一跃成为股东,不愧是年轻有为,而最近他与梁朝伟领衔主演的《无名》更是登上热搜,领跑春节档!近日陈鲁豫采访《无名》导演程耳,称他之前不认识王一博,两个人仅仅见了一面,两个小时就迅速定下了彼此的合作,这一切都那么恰到好处。“鬼才”程耳还说,第一眼看见王一博,他身上的优雅力量感,
- 火箭少女Yamy出道最大敌意来自老板?遭遇职场PUA,该如何应对
柔力量
01从Yamy发的微博中我们可以知道,她虽然在网上总被人说“丑”、“年纪大”,但是她都会用作品说话来肯定自己却没想到这两年来公司老板徐明朝对她的态度忽冷忽热,两极分化十分严重甚至在员工大会上背着她和其他员工对她进行人身攻击。会议内容被好心的同事偷偷录下来给Yamy后,她忍受不了提出了解约却被老板以“情况了解,不要作死”回绝了这件事持续发酵,昨日19点,老板徐明朝也在公众平台发声信中态度相当诚恳,言
- 来访者总能给我们惊喜
梅飞瑟舞_935b
中原焦点中16坚持分享第299天20.3.30约练感悟,挑战二期第9周第1/2场,总239场连续两天的练习,没想到最后竟凑成了一场完整的咨询。昨天和今天对同一个话题进行了练习,昨天是主体,今天是讨论+延续,感谢小伙伴们的包容和接纳,本该轮流提问的练习,轮到我时,觉察到来访者情绪波动比较大,单独的提问完就把他放回原地怕会带来伤害,所以就更多的陪伴着他,倾听他的故事,进入他的脉络,尝试去理解他,共情他
- 【EI会议征稿通知】2024电子电路与电子技术国际学术研讨会(ECET 2024)
小鹿学姐
信息与通信量子计算5G
2024电子电路与电子技术国际学术研讨会(ECET2024)2024InternationalSymposiumonElectronicCircuitandElectronicTechnology2024电子电路与电子技术国际学术研讨会(ECET2024)将于2024年11月8-10日在中国·南京隆重召开。本次会议将集中讨论电子电路与电子技术的最新研究成果,旨在建立一个高水平的学术交流平台,以便领
- 2023年1月3日 星期二 天气晴 亲子日记(1483)
love_happy
昨天下午,豪宝发烧了,头疼,咳嗽,这是怕什么来什么,一直没敢出门,就想着平安健康的度过测试,寒假里再玩也不迟。没想到病毒偏偏这个时候来凑热闹,想想今天就要测试了,豪宝难免有些情绪波动,学了半年,复习接近一个月,就为这个测试做准备呢!如果不能以最佳状态投入其中,又怎甘心自己所做的努力!很快到了测试时间,七十分钟的时间,从开始到结束,我全程陪同,一个人坐在旁边,没人打扰,静静地做着题目,直到老师提醒还
- 平平无奇的逃命小天才carry全场,李春来凭啥全剧血条最长?
娱史通鉴
如果问我,最近印象最深刻的角色是哪个?我一定会说——李春来!刚刚收官的《龙岭迷窟》以豆瓣8.3分的高口碑持续发酵,如果你跟上潮流看了这部剧,一定会知道这个胆小的农民是谁。本来是冲着《鬼吹灯》系列的好口碑点开了这部剧,却万万没想到,竟然被一个在原著里出场几章就领盒饭的农民圈了粉;也万万没想到,胡明饰演的李春来成了新一届快乐源泉。作为胆小贪财的农民,李春来的出场就诠释了他的“怂”,以马大胆为首的古蓝十
- 素质炸裂 2
爱折腾电脑的Win10
本以为前几天我二姨奶来我家闹事就算了,没想到这么快又见面了。今天是星期天,中午还要去吃高价饭,美滋滋,但,那个**的二姨奶又来了,啊,我真高兴啊(放屁)。11:30左右,我刚改完卷子的错题,就听见砰砰砰三声跺门声,声音大的,我在我屋子里关上门就能听的一清二楚,还能感觉到我旁边的墙壁在震。然后就听见开门声,在就忽然听见有个人好像在吼,不会是哪个人突然过来找茬的吧?细想一下,原来是那个**二姨奶来了,
- 美好清晨191111——育儿育己:无规矩不成方圆
凝飞呀
图片发自App图片发自App图片发自App昨天因为催写作业而引发的事情,儿子哭了,我也流泪了。当时我很失望很难过,甚至觉得他这种行为不可原谅。没想到的是儿子马上意识到了自己的错误,主动给我写了一封信。当我看到第一句话,就泪流满面——原谅了他。其实我自己也有不对的地方……他说等待着我的回信。于是昨晚等女儿睡着后,从十点多写到两点多,把自己对他想说的话都写了出来。期待我们一起改掉坏习惯,共同进步!早上
- 《辣妻在上,新婚夜军爷急红眼》秦明月沈宴丞&全集目录-在线阅读
小说推书
《辣妻在上,新婚夜军爷急红眼》秦明月沈宴丞&全集目录-在线阅读主角:秦明月沈宴丞简介:秦明月上辈子遮掩美貌,贤良淑德,嫁给了队部当兵的沈宴丞。一个以为的是媒妁之言,一个却是因为走投无路。结果飞机爆炸,所有人都告诉明月,你丈夫死了。秦明月也是这么以为的,于是她从守活寡,变成了真的寡妇。没想到同父异母的妹妹却千里奔袭,去寻找‘姐夫’。等到她们回来的那天,明月母亲正准备下葬。她亲耳听到自己的妹妹说怀了他
- 如何有尊严的老去?
唯有美食与爱不可辜负
活了大半生,到了生无可恋,无所依附的时候,体体面面的离去,也是人生最大的圆满。一:今天在公交车上,一位70多岁的老妇人,面部浮肿,头上的白发蓬松且凌乱,拄着拐杖,佝偻着身子,蹒跚地坐在我的后排。就在老人擦过我身边的时候,一股浓烈的各种药味扑鼻而来,先前我并不在意,没想到随着车一路向前,这股浓烈的药味居然熏得人几近窒息,虽然捂着厚厚的口罩,依然挡不住这股浓烈灌进鼻中。我连忙打开侧面的玻璃,终于一股凉
- 差点没有日更
石头时代zy
刷完牙,躺在床上,我已经准备睡觉了,拿起手机准备最后外看看新闻,又点开了《》,才发现差点没有日更。想到原来我参加了日更挑战,根本原因就是想赚个专属徽章。目前只差两天,没想到越往后写越没有东西写,今天又忙了一天,到现在准备睡觉了也不知道该写些啥,只能勉强凑够百字来应付挑战吧!哈哈!没文化就是这样连每天写个一百字都挠破头皮,看来真得敲打敲打自己!
- 分手两年后,前男友又出现在我面前,让我再给他一次机会
花向暖情感故事
1、遇见今天我去某饭馆吃饭的时候,居然遇到了夏明丰。两年多不见,他成熟了,但是依然帅气,他说,“欣欣,终于等到你了。”原来,他是特意在这里等我的,他知道我喜欢来这里吃饭。他说,“我已经在这里等了三天了,如果今天还等不到你,我就打算放弃了,没想到你就来了,也许这就是缘份吧!”我心里五味杂陈,曾经的一幕幕在我脑海里呈现。我和夏明丰大学时是同学,那时,很多人追我,夏明丰只是其中一个。那时他对我特别好,只
- 为什么越来越多的女性开始重视学习和成长
温暖的小太阳2019
不知大家有没有发现这样一种现象:以前朋友圈的人喜欢秀恩爱,秀工作,秀娃,现在他们换了风格,开始秀学习了,秀自我反思和成长了。打开朋友圈一看,A秀去健身房锻炼的马甲线——坚持了三个月,汗水没有白流。B秀自己最近看的书——这个月看书3本,收获颇多,“人丑”就是要多读书,然后配上三本书的照片加自己的“丑照”。C分享自己当妈的经验——父母和孩子需要多沟通,本以为小孩要钱是为了买游戏机,没想到是今天母亲节,
- 哪有什么天选打工人,都是自己拼出来的!
破茧成长记
今天第一次在朋友圈看到“天选打工人”的字眼,憋不住好奇心,在网上搜索脑补了一下。天选打工人,指在当今防控措施下,怎么封都封不住打工路的人。有人小区被封,有人公司被封,有人上班路上被封。但有人冥冥之中就被上天选中,一路畅通无阻,你只管专心打工,其余的事情老天爷替你摆平。万万没想到,打工人若有“天选”加身,谁都无法阻挡赚钱的路,妖魔鬼怪的疫情只能退!退!退!我在郑州,因为疫情的反弹,公司正在上映电影《
- 愉快的一天
卡卡002
日子过得真快啊,暑假一个月快过去了。一直想写这个月的主题:我想听谁的分享,翻了一下家里的书柜,发现没有一本教育专家的理论!于是问了同事,其中一个同事说:“你可以去图书馆借啊!”对啊,我怎么没想到,况且到图书馆骑车也就5分钟。可是,我那尘封已久的借书卡应该放在学校?于是,同事又把她的图书卡借我的。下午,不顾烈日炎炎,直奔图书馆。一进图书馆,就看到正在专心阅读的人们,气氛安静而严肃。仿佛回到了大学时的
- 经历多次绝望之后,我才理解了什么是“顺其自然” | 来访者说
强迫症咨询师木木
很多“迫友”都是在青少年时期患病,以为是学习压力过大所致,考完试就好了,可往往事与愿违。小乐(化名)是一名大学生,初三的时候患上了强迫症,脑海里总是会不停想一个问题:“我以后的女朋友性格会不会像我同桌这样?”但他觉得不应该有这样的杂念,应该把百分之百的精力都集中在听课上,可越控制念头越多,痛苦不堪。他本以为是学习压力太大了,考上大学就好了,没想到上大学后情况更糟,常常感觉到崩溃。偶然的机会,小乐在
- 零时空间005*99天圆满/似此星辰同昨日~随笔
似此星辰同昨日
文l仙派狼王*星辰原创时间过得真快,一晃三个月就过去了。最没想到的是,我这么懒的人,到现在,居然把自己以前写的,那些杂七杂八的东西,整理得差不多了。写不是问题,好赖能够写出来,一说到改,头疼得厉害。再一个就是舍弃,但不是丢弃,怎么说都是我自己的作品。留着有空的时候看看,或许还能找到灵感呢!不知道别人怎么想的,对于写小文,我不是特别喜欢写,总觉得和考试的文章一样,写起来总是感觉不那么舒畅。我翻看以前
- 杨迪自曝飞机上尬聊张静初,“没话找话”真的这么难?
灯火阑珊dh
喜剧演员杨迪曾在综艺节目中自曝,他是个“自来熟”的人,无论遇到谁都可以尬聊起来。有一次他在飞机上偶遇张静初,趁着飞机颠簸的时候,他扶住对方的水杯搭讪:“静初姐你觉得飞机颠簸可不可怕?我非常害怕坐飞机,太吓人了!”没想到张静初淡淡地回了一句“生死有命。”按说这个气氛已经足够尴尬,一般人肯定会闭嘴了。但杨迪还是不放弃,追问“静初姐,你去杭州干什么?”对方回答去宣传自己的电影《富春》,但杨迪听成了“复出
- 莫名其妙
晋迪
昨天的发文,在11点28分的时候被告知:很抱歉您的文章《XX》,已转为仅自己可见,请您查看《为什么文章会被锁定?》,参考相关内容规定,如您仍有疑问,您可以申诉,或者将您的文章链接发送邮件到
[email protected],工作人员会在1/2个工作日内为您办理,感谢您的理解与支持!看到此消息,真的有种莫名其妙的感觉。前几天,曾经看到有简友说自己的文章被锁定,觉得这事离自己很远,没想到仅仅几天而已,这
- 37董三岁:珍惜当下
闻一闻就多
图片发自App一天的考试,规定的时间越来越短,时间越来越紧凑,原本想根本不可能完成,没想到也可以做到。“小心点,别烫到你。”我的模特对我说,旁边的模特很奇怪的问“你不是应该说不要烫到你吗?”“她不会烫到我的。”我的模特笑着说。很开心我的模特对我如此信任,最开始找到她,她戴着黑色的口罩遮着大半张脸,刚好走到柱子边找东西,就被我发现了。我没当过模特,同班同学去当模特,一天也没有吃饭,吃零食也不想吃。喝
- 盖世英雄
灯下看书
图片发自App我有两个名字,一个叫至尊宝,用来泡妞;另一个叫孙悟空,用来打架。只要那一天,我不拔出紫青宝剑,我就还是至尊宝,还和白晶晶在一些。当山贼其实很有趣,哪怕过路的不一定是凡人。我抢凡人,妖怪抢我,天经地义,没有什么好抱怨。我甚至爱上了白骨精,准备在水帘洞和她成亲。后来出了点小误会,我急着用月光宝盒去救她。我没有想到会遇到她,更没想到她会爱上我。世上能有几人比紫霞仙子貌美?就算容颜比她娇艳,
- 《相亲坐错桌,闪婚成了总裁夫人》安柠宴时琛&全集目录-在线阅读
九月文楼
《相亲坐错桌,闪婚成了总裁夫人》安柠宴时琛&全集目录-在线阅读主角:安柠宴时琛简介:不想被家里人逼着相亲的安柠,果断选择了闪婚。本以为两人不会有太多交集,没想到对方一次一次拯救她于水火。两颗同样孤独的心逐渐靠近。当敞开心扉的她得知男人的白月光回来,自知该退出了。安柠:宴先生,我们终止合约吧!宴时琛:宴太太,上了贼船就别想跑了。可关注微信公众号【九月文楼】去回个书号【357】,即可免费阅读【相亲坐错
- java线程Thread和Runnable区别和联系
zx_code
javajvmthread多线程Runnable
我们都晓得java实现线程2种方式,一个是继承Thread,另一个是实现Runnable。
模拟窗口买票,第一例子继承thread,代码如下
package thread;
public class ThreadTest {
public static void main(String[] args) {
Thread1 t1 = new Thread1(
- 【转】JSON与XML的区别比较
丁_新
jsonxml
1.定义介绍
(1).XML定义
扩展标记语言 (Extensible Markup Language, XML) ,用于标记电子文件使其具有结构性的标记语言,可以用来标记数据、定义数据类型,是一种允许用户对自己的标记语言进行定义的源语言。 XML使用DTD(document type definition)文档类型定义来组织数据;格式统一,跨平台和语言,早已成为业界公认的标准。
XML是标
- c++ 实现五种基础的排序算法
CrazyMizzz
C++c算法
#include<iostream>
using namespace std;
//辅助函数,交换两数之值
template<class T>
void mySwap(T &x, T &y){
T temp = x;
x = y;
y = temp;
}
const int size = 10;
//一、用直接插入排
- 我的软件
麦田的设计者
我的软件音乐类娱乐放松
这是我写的一款app软件,耗时三个月,是一个根据央视节目开门大吉改变的,提供音调,猜歌曲名。1、手机拥有者在android手机市场下载本APP,同意权限,安装到手机上。2、游客初次进入时会有引导页面提醒用户注册。(同时软件自动播放背景音乐)。3、用户登录到主页后,会有五个模块。a、点击不胫而走,用户得到开门大吉首页部分新闻,点击进入有新闻详情。b、
- linux awk命令详解
被触发
linux awk
awk是行处理器: 相比较屏幕处理的优点,在处理庞大文件时不会出现内存溢出或是处理缓慢的问题,通常用来格式化文本信息
awk处理过程: 依次对每一行进行处理,然后输出
awk命令形式:
awk [-F|-f|-v] ‘BEGIN{} //{command1; command2} END{}’ file
[-F|-f|-v]大参数,-F指定分隔符,-f调用脚本,-v定义变量 var=val
- 各种语言比较
_wy_
编程语言
Java Ruby PHP 擅长领域
- oracle 中数据类型为clob的编辑
知了ing
oracle clob
public void updateKpiStatus(String kpiStatus,String taskId){
Connection dbc=null;
Statement stmt=null;
PreparedStatement ps=null;
try {
dbc = new DBConn().getNewConnection();
//stmt = db
- 分布式服务框架 Zookeeper -- 管理分布式环境中的数据
矮蛋蛋
zookeeper
原文地址:
http://www.ibm.com/developerworks/cn/opensource/os-cn-zookeeper/
安装和配置详解
本文介绍的 Zookeeper 是以 3.2.2 这个稳定版本为基础,最新的版本可以通过官网 http://hadoop.apache.org/zookeeper/来获取,Zookeeper 的安装非常简单,下面将从单机模式和集群模式两
- tomcat数据源
alafqq
tomcat
数据库
JNDI(Java Naming and Directory Interface,Java命名和目录接口)是一组在Java应用中访问命名和目录服务的API。
没有使用JNDI时我用要这样连接数据库:
03. Class.forName("com.mysql.jdbc.Driver");
04. conn
- 遍历的方法
百合不是茶
遍历
遍历
在java的泛
- linux查看硬件信息的命令
bijian1013
linux
linux查看硬件信息的命令
一.查看CPU:
cat /proc/cpuinfo
二.查看内存:
free
三.查看硬盘:
df
linux下查看硬件信息
1、lspci 列出所有PCI 设备;
lspci - list all PCI devices:列出机器中的PCI设备(声卡、显卡、Modem、网卡、USB、主板集成设备也能
- java常见的ClassNotFoundException
bijian1013
java
1.java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory 添加包common-logging.jar2.java.lang.ClassNotFoundException: javax.transaction.Synchronization
- 【Gson五】日期对象的序列化和反序列化
bit1129
反序列化
对日期类型的数据进行序列化和反序列化时,需要考虑如下问题:
1. 序列化时,Date对象序列化的字符串日期格式如何
2. 反序列化时,把日期字符串序列化为Date对象,也需要考虑日期格式问题
3. Date A -> str -> Date B,A和B对象是否equals
默认序列化和反序列化
import com
- 【Spark八十六】Spark Streaming之DStream vs. InputDStream
bit1129
Stream
1. DStream的类说明文档:
/**
* A Discretized Stream (DStream), the basic abstraction in Spark Streaming, is a continuous
* sequence of RDDs (of the same type) representing a continuous st
- 通过nginx获取header信息
ronin47
nginx header
1. 提取整个的Cookies内容到一个变量,然后可以在需要时引用,比如记录到日志里面,
if ( $http_cookie ~* "(.*)$") {
set $all_cookie $1;
}
变量$all_cookie就获得了cookie的值,可以用于运算了
- java-65.输入数字n,按顺序输出从1最大的n位10进制数。比如输入3,则输出1、2、3一直到最大的3位数即999
bylijinnan
java
参考了网上的http://blog.csdn.net/peasking_dd/article/details/6342984
写了个java版的:
public class Print_1_To_NDigit {
/**
* Q65.输入数字n,按顺序输出从1最大的n位10进制数。比如输入3,则输出1、2、3一直到最大的3位数即999
* 1.使用字符串
- Netty源码学习-ReplayingDecoder
bylijinnan
javanetty
ReplayingDecoder是FrameDecoder的子类,不熟悉FrameDecoder的,可以先看看
http://bylijinnan.iteye.com/blog/1982618
API说,ReplayingDecoder简化了操作,比如:
FrameDecoder在decode时,需要判断数据是否接收完全:
public class IntegerH
- js特殊字符过滤
cngolon
js特殊字符js特殊字符过滤
1.js中用正则表达式 过滤特殊字符, 校验所有输入域是否含有特殊符号function stripscript(s) { var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“'。,、?]"
- hibernate使用sql查询
ctrain
Hibernate
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.hibernate.Hibernate;
import org.hibernate.SQLQuery;
import org.hibernate.Session;
import org.hibernate.Transa
- linux shell脚本中切换用户执行命令方法
daizj
linuxshell命令切换用户
经常在写shell脚本时,会碰到要以另外一个用户来执行相关命令,其方法简单记下:
1、执行单个命令:su - user -c "command"
如:下面命令是以test用户在/data目录下创建test123目录
[root@slave19 /data]# su - test -c "mkdir /data/test123" 
- 好的代码里只要一个 return 语句
dcj3sjt126com
return
别再这样写了:public boolean foo() { if (true) { return true; } else { return false;
- Android动画效果学习
dcj3sjt126com
android
1、透明动画效果
方法一:代码实现
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
View rootView = inflater.inflate(R.layout.fragment_main, container, fals
- linux复习笔记之bash shell (4)管道命令
eksliang
linux管道命令汇总linux管道命令linux常用管道命令
转载请出自出处:
http://eksliang.iteye.com/blog/2105461
bash命令执行的完毕以后,通常这个命令都会有返回结果,怎么对这个返回的结果做一些操作呢?那就得用管道命令‘|’。
上面那段话,简单说了下管道命令的作用,那什么事管道命令呢?
答:非常的经典的一句话,记住了,何为管
- Android系统中自定义按键的短按、双击、长按事件
gqdy365
android
在项目中碰到这样的问题:
由于系统中的按键在底层做了重新定义或者新增了按键,此时需要在APP层对按键事件(keyevent)做分解处理,模拟Android系统做法,把keyevent分解成:
1、单击事件:就是普通key的单击;
2、双击事件:500ms内同一按键单击两次;
3、长按事件:同一按键长按超过1000ms(系统中长按事件为500ms);
4、组合按键:两个以上按键同时按住;
- asp.net获取站点根目录下子目录的名称
hvt
.netC#asp.nethovertreeWeb Forms
使用Visual Studio建立一个.aspx文件(Web Forms),例如hovertree.aspx,在页面上加入一个ListBox代码如下:
<asp:ListBox runat="server" ID="lbKeleyiFolder" />
那么在页面上显示根目录子文件夹的代码如下:
string[] m_sub
- Eclipse程序员要掌握的常用快捷键
justjavac
javaeclipse快捷键ide
判断一个人的编程水平,就看他用键盘多,还是鼠标多。用键盘一是为了输入代码(当然了,也包括注释),再有就是熟练使用快捷键。 曾有人在豆瓣评
《卓有成效的程序员》:“人有多大懒,才有多大闲”。之前我整理了一个
程序员图书列表,目的也就是通过读书,让程序员变懒。 写道 程序员作为特殊的群体,有的人可以这么懒,懒到事情都交给机器去做,而有的人又可
- c++编程随记
lx.asymmetric
C++笔记
为了字体更好看,改变了格式……
&&运算符:
#include<iostream>
using namespace std;
int main(){
int a=-1,b=4,k;
k=(++a<0)&&!(b--
- linux标准IO缓冲机制研究
音频数据
linux
一、什么是缓存I/O(Buffered I/O)缓存I/O又被称作标准I/O,大多数文件系统默认I/O操作都是缓存I/O。在Linux的缓存I/O机制中,操作系统会将I/O的数据缓存在文件系统的页缓存(page cache)中,也就是说,数据会先被拷贝到操作系统内核的缓冲区中,然后才会从操作系统内核的缓冲区拷贝到应用程序的地址空间。1.缓存I/O有以下优点:A.缓存I/O使用了操作系统内核缓冲区,
- 随想 生活
暗黑小菠萝
生活
其实账户之前就申请了,但是决定要自己更新一些东西看也是最近。从毕业到现在已经一年了。没有进步是假的,但是有多大的进步可能只有我自己知道。
毕业的时候班里12个女生,真正最后做到软件开发的只要两个包括我,PS:我不是说测试不好。当时因为考研完全放弃找工作,考研失败,我想这只是我的借口。那个时候才想到为什么大学的时候不能好好的学习技术,增强自己的实战能力,以至于后来找工作比较费劲。我
- 我认为POJO是一个错误的概念
windshome
javaPOJO编程J2EE设计
这篇内容其实没有经过太多的深思熟虑,只是个人一时的感觉。从个人风格上来讲,我倾向简单质朴的设计开发理念;从方法论上,我更加倾向自顶向下的设计;从做事情的目标上来看,我追求质量优先,更愿意使用较为保守和稳妥的理念和方法。
&