- 2018-10-02
王海博
今日体验,今天下午没什么事,去理发,之前理发一直在一家夫妻店,干了十多年了,在那里理发理了9年从来没有换过地方。可是最近把店转出去了。再次去就没有了同样的感觉。不舒服!找核心,企业想做大,一定是客户希望你做大。最幸福的事儿是被需要。转身用,稳健前行,创新,适当变革,企业要革命,做对社会有意义的企业!社会责任。
- 2018-10-02
任西东
这两天在写我的小说,我尝试着想到哪儿写到哪儿,尽量不去读已经写下来的东西,初步的目的,我只是想把它写完。我怕对自己要求太高,我会失去完成它的信心。我分析了一下自己的不足,还是细节描写不够,对自己所写之事的真实性连自己都心存怀疑。看来,没有相关的生活阅历,对于写好一个特定题材的小说还真是一个硬伤。有时我们看一部电视剧,也会看到剧情有明显的虚假的、不合理的部分,这也不影响它的热播。凡事追求完美,那么只
- 写作是成名的最好方式(2018-10-02)
写作的技巧
网络成名很容易?但是成名也不代表有真正的实力,但是任何成名的人都有着超越我们的能力,否则成名的就是我们了,而不是他们了。扭扭屁股,拍拍脸,拉长大腿,这个有实力吗?看起来没有什么,可是,你看看这些小视频的浏览量,你就会咋舌。是不是觉得简单,现在的人真是太无聊了,这个有什么好看的。你是不是觉得自己也可以拍出爆款?可是你拍拍试试,没人看。这些扭扭屁股的背后,是被人一次次的策划,一次次的头脑风暴的结果。做
- 【2018-10-02】条件随机场
BigBigFlower
条件随机场:给定随机变量x条件下,随机变量y的马尔科夫随机场。设X和Y是随机变量,P(Y|X)是在给定X的条件下Y的条件概率分布,若随机变量Y构成一个由无向图G=(V,E)表示的马尔科夫随机场,即满足马尔科夫性:w~v(与v连接的所有w)线性链条件随机场线性链条件随机场的参数形式:tk边上的特征函数,sl节点上的特征函数条件随机场的概率计算问题前向-后向算法定义前向向量:递推公式:定义后向向量:前
- 2018-10-02
阿立立哥
图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App今天是玩的最后一天主要是去九大湖城市待久了,见到猪都特别开心!!跑跑猪即将离开神农架了,不能互呼吸贼好的空气了特产还没有解决~睡觉睡觉明天打卡发朋友圈
- 2018-10-02
60张梦琪
今天我爸爸我妈妈还有我妹妹去奶奶家送我小妹妹的了,我们在家还摘石榴了,我们又回到盐山,然后我妈妈又带我上大楼了,还买了好多奶,好多好吃的,然后回到家里以后又去买衣服的了,在大楼上没有看到好看的衣服,我们去商业街买的。
- 2018-10-02六项精进打卡
万里晴空_498b
一、学习与实践1.付出不亚于任何人的努力2.要谦虚,不要骄傲3.要每天反省4.活着,就要感谢5.积善行,思利他6.不要有感性的烦恼二、今日分享今天一家人去大娘家,然后我们跟土匪下乡一样,能摘的都摘了一遍,最后走的时候大娘家还赠予了一些家禽及蔬菜,真的很感谢!
- 2018-10-02
Anne玉
姓名:周玉霞六项精进:327期反省二组学员公司:浙江意威服饰有限公司【日精进打卡第324天】【知~学习】《六项精进》1遍共376遍《六项精进》通篇0遍共18遍《大学》0遍共423遍【经典名句分享】志不立,天下无可成之事。【行~实践】一、修身:涵养内在以及修养外在。二、齐家:家和万事兴,回家看望住院的奶奶,弟弟、弟妹、小侄子一起吃中饭,跟老爸一起医院照顾;跟爱人沟通。三、建功:给奶奶洗头、洗脚、剪脚
- 2018-10-02
哥安忒
关于现在这里的夜总让我感到非常舒适,游离在夜之间,大家都看不到,只有我凭着意识呼吸过话,而这多跟我没关系,跟这里的夜也没关系。因为我是意识。
- 理财型保险值不值得购买? 2018-10-02
老萧杂谈
湘潭中心不买也要看的懂得理财型保险三种理财险的不同方面1、保障2、赚钱3、账户一、理财型保险的三种类型新型保险:具备理财功能保障+投资种类:分红险万能险投资连结险三种类型的差别:1、保障分红险保额固定万能险和投资连结险可以更改保额的。消费险也无法更改保额。2、赚钱分红险有固定收益,分红取决于保险公司经营状况万能险保证最低收益投资连结险啥都没有,亏损也是有可能的。希望本金安全就选分红险和万能险。3、
- 2018-10-02
涓涓流水_672f
2018.10.2星期二晴亲子日记第303天昨晚写日记的时候已经是11点多了,说实话眼皮已经抬不起来了,心里想要不明天再写?反正明天有时间,当看到群里的家人记录下假期的美好时,就决定一定要写完,可是今天早上一看,真是让我哭笑不得,上句不接下句的不说,还有一个英语单词在里面,当时心里都凉凉的了,怎么这么粗心大意,这让看日记的家人如何理解啊,真是辜负了家人的支持,以后一定改正!今天大女儿去济南看望姥姥
- 2018-10-02
丁妞森娃
【2018年10月2日第81天】俗话说看孩子最不显功,真的是——宅在家里一天木出门,转来转去,家里还是那个乱样子。森宝一直特别喜欢挖土机,这两天又迷上了割麦机,还会说“割…麦机…割豆”,跟爷爷待的久了。今儿晚上读的是安东尼布朗的《我爸爸》,这本也是经典,小家伙一直静静地听了三遍才换了另外几本,其实是书里面的配图最能吸引他。还拿着其中的一本《猜猜这是谁的蛋》一边递给我一边说:“妈妈,读读”。哎呀喂,
- 2018-10-02
唯一的one
随着年纪渐长,你会逐渐明白,财富、名誉、地位都会随着时间的流逝而逐渐不再为人所称道,可是一个让人信任的朋友,一段倾心相交的关系,一句坚持无悔的诺言,和一颗热爱生活的心,这些看起来微不足道的东西或许才是更重要的。所谓身体和灵魂总有一个要在路上,是因为,生命的意义原本就在于追逐和寻找,如果不常出去走一走,你会以为你看到的、听到的、想到的就是整个世界的全部。在遇见对的人之前你会遇见很多无关甚至错的人;在
- 2018-10-02
归州游子
图片发自App图片发自App图片发自App图片发自App图片发自App图片发自Ap
- 2018-10-02
Roy等风来
关于大学生交际关系的看法之前谈对于大学生活的理解时我就谈到过,大学其实是一个小型的类社会。就拿江安校区来讲,商业化程度虽然不及都市,但俨然已经有了一个社会所应拥有的具体措施和基本雏形。既然我们生活在这个小社会中,交际就是不可避免的一个话题。买东西,上课,住宿,读书,恋爱,其实都是交流关系的一部分。交流架构起了我们的大学生活,准确的说,是我们的生活。一个自闭的人很难有所成就,于是科学家送他们去社会工
- 2018-10-02午餐——排骨炖贝贝瓜,宝宝的辅食,老年人的美味,还能促进新陈代谢哦
就爱做点菜
贝贝南瓜的营养价值每100克贝贝南瓜含蛋白质0.6克,脂肪0.1克。碳水化合物5.7克,粗纤维1.1克,灰分0.6克,钙10毫克,磷32毫克,铁0.5毫克,胡萝卜素0.57毫克,核黄素0.04毫克,尼克酸0.7毫克,抗坏血酸5毫克。此外,还含有瓜氨素、精氨酸、天门冬素、葫芦巴碱、腺瞟吟、葡萄糖、甘露醇、戊聚糖、果胶等。它的甜度较高,果肉粉糯,作为宝宝辅食食材,或者给牙口不好的老年人制作餐食,也都很
- 2018-10-02
梦境由心生
这个星期我觉得自己过的不是很充实,总觉得什么也没学到。让我在脑海中找那些已经有些灰暗的星星,还是有些困难的。但有时仔细找找,还是可以找到的。首先,我第一个要找的是语文这颗星星。第二周的语文,我影响最深,因为在此之前我还没有把《水浒传》读完。也没有读透彻。所以有时候老师讲的都有些不懂,同学们讲的故事情节有些记不太清了,但我还是想尽力跟随着大家的脚步,也想让老师在上课时多提问我,不论我会与不会,我希望
- 2018-10-02
复明的瞎子
前几天去探望月子中的闺蜜,我到的时候她正在和小宝宝互动,看起来特别的温馨,我就问她:“晋升为妈妈什么感觉,看着宝宝那么可爱,是不是想时时刻刻抱着不撒手?”闺蜜回答我:“初当妈妈感觉很幸福,确实想一直抱着他,但现实不允许。”我有点不理解,她接着跟我说:“小宝宝身体比较脆弱,有两个阶段家长是不能常抱的,会影响他正常发育,所以再想抱也要忍着。”那么,是哪两个阶段不能抱呢?一、3个月之前十月怀胎不容易,所
- 2018-10-02
鼎馨蓝天
我眼睁睁地看着这一幕,看着他那死不瞑目的眼神,想到我以后会经常看见这样一幕幕的,一股电流从我的头皮划过,我不禁问自己,这样的苟且真的能心安理得吗?我的眼神渐渐开始变得淡漠,周围的人如同毒蛇,不断吞噬着我的良知。
- 2018-10-02晚餐——金针菇日本豆腐,促进生长和儿童大脑发育的好食材
就爱做点菜
秋天天高气爽,不免有些干燥,来一份金针菇日本豆腐,好吃的你停不下来药效研究发现,金针菇能有效地增强人体的生物活性,促进体内新陈代谢,有利于食物中各种营养素的吸收和利用。促进生长和智力发育金针菇含有较齐全的人体必需氨基酸,其中赖氨酸和精氨酸的含量尤其丰富,且含锌量比较高,对智力发育,尤其是对儿童的身高和智力发育有良好的促进作用。金针菇,增强机体抗癌机能,金针菇还有一种名为朴菇素的物质,经药理实验证明
- outlive 2018-10-02
薄荷巧克力_
outlive2018-10-02outliveoutlive:liveorlastlongerthan比……活得长outlive后面不加介词,直接加对象,表示比谁活得长Heoutlivedhiswife."Wedon'twanttooutliveourchildren,"saidMrsRoberts.outliveone'susefulness……不再有用了/形同虚设/没有用后面可以加人,表示某
- 2018-10-02
清风徐来安自在
今天我生日,真开心。独自一人去治疗眼睛;独自一人去补习英语;独自一人去锻炼健身。也许人生也是独自一人的路我大了不需要人陪了?也许是的。
- 保险规划案例分析 2018-10-02
老萧杂谈
保险规划案例分析一、帽帽的保险规划案例前情提要:意外险重疾险健康医疗险寿险保险的基本原则回顾:第一、先保障,后理财。先大人,后小孩。优先经济支柱第二、先搞定能够应付意外、疾病、死亡三大风险的保险产品,再考虑养老,多少资产匹配多少,保额与保费,量力而行,保险组合有比没有强。有钱再提额。第三、在预算充足的情况下优先选择终身型产品。帽帽的保险配置:帽帽:91年生26岁单身每月收入6000元年收入8万左右
- 2018-10-02 Jupyter Notebook environment anaconda3 error
AK蜗牛
image.png运行anaconda3Jupyternotebook时提示环境错误:"EnvironmentLocationNotFound:Notacondaenvironment:/home/xxx/.conda/envs/anaconda3"conda版本4.4以后会出现,可以通过以下修复:Thisisaconfirmedbuginnb_condaforcondaversion>=4.4:
- 2018-10-02
风花留雪
胡卫平焦点网络九期西平坚持分享第220天.2018.10.02.难得秋高气爽、阳光明媚,难得今天我休息,我们一家三口陪老爸去汉口看望生病的大伯,难得孝顺的儿子拉住姥爷跨过警戒线看火车来了没有,难得懂事儿子帮姥爷提着沉重的旅行包把我们送到18号车厢,难得老爸身体健康,还能提动沉重的旅行包,难得儿子有学习的意识,背了一书包的作业去武汉,在我们的劝说下也没有舍得放下一本,他愿意背就让他背吧,说明他想更好
- 2018-10-02
华英雄_712d
2018-10-2姓名:郭祥华组别:315期六项精进努力一组【日精进打卡第320】【知~学习】背诵《六项精进》5遍共1530遍。背诵《大学》5遍共1530遍。干法:“比昨天更进一步”“全力过好今天这一天”“能力要用将来进行时”经典美句佛家也说:心魔即魔,心佛即佛。有时现状并不让我们满意,但我们很难改变他人或是要求他人,我们只能通过改变自己来影响他人;我们更不能抱怨环境,因为“环境是结果,思想是原因
- 2018-10-02晚间日记
歆喜
今日达成目标1.完成九月份的账目2.核对门店入库日报3.完成当日库存盘货并查找原因4.带李亚新熟悉日常工作,学会做盘货今日小结1.9月份的工作未能及时完成,拖到10月2日上午才完成,拖延症导致效率太低。2.1号开始盘货,今天正式盘货能将货盘对无误。3.李亚新能够打包独立完成,今天能将打包时间缩短至14单36分钟。
- 2018-10-02
春藤绕树
黄河走东溟,白日落西海。逝川与流光,飘忽不相待。春容舍我去,秋发已衰改。人生非寒松,年貌岂长在。吾当乘云螭,吸景驻光彩。
- 2018-10-02 回家
创意邦杨洋
今天要回安庆,下午15:15发车,21:40到达。订票的时候,发现10月01日的票都没有了,到合肥的票也没有,10-02的票也没了,只有10-03的票,过了2天发现一张10-02直达安庆的票,赶紧买下来。阳光和杨夫人0908就回去了,杨夫人0922生日,阳光0924生日,0924还是中秋节,也没有陪在他们身边。回去快一个月了,甚是想念。恨不得早点飞到他们身边。早上10km,用630的配速,不敢加速
- 2018-10-02
_LX
日子为何不快乐。烦恼的太多,想开的太少,追求的太多,满足的太少,在乎的太多,看淡的太少。心本就不大,装满了愁绪,就盛不下快乐。感情为何会疼痛。情若一动,心分两半,一半是你,一半是他。从此,笑不再自主,泪不再自控,心不再由己。疼,证明你动了情,疼,说明你上了心。生活为何难抉择。什么都想要,什么都不舍。应选你所爱,爱你所选。择而不悔,事过无怨。身体为何太疲惫。生而为人,无人不累,无人不难。一些人一声不
- ASM系列五 利用TreeApi 解析生成Class
lijingyao8206
ASM字节码动态生成ClassNodeTreeAPI
前面CoreApi的介绍部分基本涵盖了ASMCore包下面的主要API及功能,其中还有一部分关于MetaData的解析和生成就不再赘述。这篇开始介绍ASM另一部分主要的Api。TreeApi。这一部分源码是关联的asm-tree-5.0.4的版本。
在介绍前,先要知道一点, Tree工程的接口基本可以完
- 链表树——复合数据结构应用实例
bardo
数据结构树型结构表结构设计链表菜单排序
我们清楚:数据库设计中,表结构设计的好坏,直接影响程序的复杂度。所以,本文就无限级分类(目录)树与链表的复合在表设计中的应用进行探讨。当然,什么是树,什么是链表,这里不作介绍。有兴趣可以去看相关的教材。
需求简介:
经常遇到这样的需求,我们希望能将保存在数据库中的树结构能够按确定的顺序读出来。比如,多级菜单、组织结构、商品分类。更具体的,我们希望某个二级菜单在这一级别中就是第一个。虽然它是最后
- 为啥要用位运算代替取模呢
chenchao051
位运算哈希汇编
在hash中查找key的时候,经常会发现用&取代%,先看两段代码吧,
JDK6中的HashMap中的indexFor方法:
/**
* Returns index for hash code h.
*/
static int indexFor(int h, int length) {
- 最近的情况
麦田的设计者
生活感悟计划软考想
今天是2015年4月27号
整理一下最近的思绪以及要完成的任务
1、最近在驾校科目二练车,每周四天,练三周。其实做什么都要用心,追求合理的途径解决。为
- PHP去掉字符串中最后一个字符的方法
IT独行者
PHP字符串
今天在PHP项目开发中遇到一个需求,去掉字符串中的最后一个字符 原字符串1,2,3,4,5,6, 去掉最后一个字符",",最终结果为1,2,3,4,5,6 代码如下:
$str = "1,2,3,4,5,6,";
$newstr = substr($str,0,strlen($str)-1);
echo $newstr;
- hadoop在linux上单机安装过程
_wy_
linuxhadoop
1、安装JDK
jdk版本最好是1.6以上,可以使用执行命令java -version查看当前JAVA版本号,如果报命令不存在或版本比较低,则需要安装一个高版本的JDK,并在/etc/profile的文件末尾,根据本机JDK实际的安装位置加上以下几行:
export JAVA_HOME=/usr/java/jdk1.7.0_25  
- JAVA进阶----分布式事务的一种简单处理方法
无量
多系统交互分布式事务
每个方法都是原子操作:
提供第三方服务的系统,要同时提供执行方法和对应的回滚方法
A系统调用B,C,D系统完成分布式事务
=========执行开始========
A.aa();
try {
B.bb();
} catch(Exception e) {
A.rollbackAa();
}
try {
C.cc();
} catch(Excep
- 安墨移动广 告:移动DSP厚积薄发 引领未来广 告业发展命脉
矮蛋蛋
hadoop互联网
“谁掌握了强大的DSP技术,谁将引领未来的广 告行业发展命脉。”2014年,移动广 告行业的热点非移动DSP莫属。各个圈子都在纷纷谈论,认为移动DSP是行业突破点,一时间许多移动广 告联盟风起云涌,竞相推出专属移动DSP产品。
到底什么是移动DSP呢?
DSP(Demand-SidePlatform),就是需求方平台,为解决广 告主投放的各种需求,真正实现人群定位的精准广
- myelipse设置
alafqq
IP
在一个项目的完整的生命周期中,其维护费用,往往是其开发费用的数倍。因此项目的可维护性、可复用性是衡量一个项目好坏的关键。而注释则是可维护性中必不可少的一环。
注释模板导入步骤
安装方法:
打开eclipse/myeclipse
选择 window-->Preferences-->JAVA-->Code-->Code
- java数组
百合不是茶
java数组
java数组的 声明 创建 初始化; java支持C语言
数组中的每个数都有唯一的一个下标
一维数组的定义 声明: int[] a = new int[3];声明数组中有三个数int[3]
int[] a 中有三个数,下标从0开始,可以同过for来遍历数组中的数
- javascript读取表单数据
bijian1013
JavaScript
利用javascript读取表单数据,可以利用以下三种方法获取:
1、通过表单ID属性:var a = document.getElementByIdx_x_x("id");
2、通过表单名称属性:var b = document.getElementsByName("name");
3、直接通过表单名字获取:var c = form.content.
- 探索JUnit4扩展:使用Theory
bijian1013
javaJUnitTheory
理论机制(Theory)
一.为什么要引用理论机制(Theory)
当今软件开发中,测试驱动开发(TDD — Test-driven development)越发流行。为什么 TDD 会如此流行呢?因为它确实拥有很多优点,它允许开发人员通过简单的例子来指定和表明他们代码的行为意图。
TDD 的优点:
&nb
- [Spring Data Mongo一]Spring Mongo Template操作MongoDB
bit1129
template
什么是Spring Data Mongo
Spring Data MongoDB项目对访问MongoDB的Java客户端API进行了封装,这种封装类似于Spring封装Hibernate和JDBC而提供的HibernateTemplate和JDBCTemplate,主要能力包括
1. 封装客户端跟MongoDB的链接管理
2. 文档-对象映射,通过注解:@Document(collectio
- 【Kafka八】Zookeeper上关于Kafka的配置信息
bit1129
zookeeper
问题:
1. Kafka的哪些信息记录在Zookeeper中 2. Consumer Group消费的每个Partition的Offset信息存放在什么位置
3. Topic的每个Partition存放在哪个Broker上的信息存放在哪里
4. Producer跟Zookeeper究竟有没有关系?没有关系!!!
//consumers、config、brokers、cont
- java OOM内存异常的四种类型及异常与解决方案
ronin47
java OOM 内存异常
OOM异常的四种类型:
一: StackOverflowError :通常因为递归函数引起(死递归,递归太深)。-Xss 128k 一般够用。
二: out Of memory: PermGen Space:通常是动态类大多,比如web 服务器自动更新部署时引起。-Xmx
- java-实现链表反转-递归和非递归实现
bylijinnan
java
20120422更新:
对链表中部分节点进行反转操作,这些节点相隔k个:
0->1->2->3->4->5->6->7->8->9
k=2
8->1->6->3->4->5->2->7->0->9
注意1 3 5 7 9 位置是不变的。
解法:
将链表拆成两部分:
a.0-&
- Netty源码学习-DelimiterBasedFrameDecoder
bylijinnan
javanetty
看DelimiterBasedFrameDecoder的API,有举例:
接收到的ChannelBuffer如下:
+--------------+
| ABC\nDEF\r\n |
+--------------+
经过DelimiterBasedFrameDecoder(Delimiters.lineDelimiter())之后,得到:
+-----+----
- linux的一些命令 -查看cc攻击-网口ip统计等
hotsunshine
linux
Linux判断CC攻击命令详解
2011年12月23日 ⁄ 安全 ⁄ 暂无评论
查看所有80端口的连接数
netstat -nat|grep -i '80'|wc -l
对连接的IP按连接数量进行排序
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
查看TCP连接状态
n
- Spring获取SessionFactory
ctrain
sessionFactory
String sql = "select sysdate from dual";
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
String[] names = wac.getBeanDefinitionNames();
for(int i=0; i&
- Hive几种导出数据方式
daizj
hive数据导出
Hive几种导出数据方式
1.拷贝文件
如果数据文件恰好是用户需要的格式,那么只需要拷贝文件或文件夹就可以。
hadoop fs –cp source_path target_path
2.导出到本地文件系统
--不能使用insert into local directory来导出数据,会报错
--只能使用
- 编程之美
dcj3sjt126com
编程PHP重构
我个人的 PHP 编程经验中,递归调用常常与静态变量使用。静态变量的含义可以参考 PHP 手册。希望下面的代码,会更有利于对递归以及静态变量的理解
header("Content-type: text/plain");
function static_function () {
static $i = 0;
if ($i++ < 1
- Android保存用户名和密码
dcj3sjt126com
android
转自:http://www.2cto.com/kf/201401/272336.html
我们不管在开发一个项目或者使用别人的项目,都有用户登录功能,为了让用户的体验效果更好,我们通常会做一个功能,叫做保存用户,这样做的目地就是为了让用户下一次再使用该程序不会重新输入用户名和密码,这里我使用3种方式来存储用户名和密码
1、通过普通 的txt文本存储
2、通过properties属性文件进行存
- Oracle 复习笔记之同义词
eksliang
Oracle 同义词Oracle synonym
转载请出自出处:http://eksliang.iteye.com/blog/2098861
1.什么是同义词
同义词是现有模式对象的一个别名。
概念性的东西,什么是模式呢?创建一个用户,就相应的创建了 一个模式。模式是指数据库对象,是对用户所创建的数据对象的总称。模式对象包括表、视图、索引、同义词、序列、过
- Ajax案例
gongmeitao
Ajaxjsp
数据库采用Sql Server2005
项目名称为:Ajax_Demo
1.com.demo.conn包
package com.demo.conn;
import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;
//获取数据库连接的类public class DBConnec
- ASP.NET中Request.RawUrl、Request.Url的区别
hvt
.netWebC#asp.nethovertree
如果访问的地址是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree%3C&n=myslider#zonemenu那么Request.Url.ToString() 的值是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree<&
- SVG 教程 (七)SVG 实例,SVG 参考手册
天梯梦
svg
SVG 实例 在线实例
下面的例子是把SVG代码直接嵌入到HTML代码中。
谷歌Chrome,火狐,Internet Explorer9,和Safari都支持。
注意:下面的例子将不会在Opera运行,即使Opera支持SVG - 它也不支持SVG在HTML代码中直接使用。 SVG 实例
SVG基本形状
一个圆
矩形
不透明矩形
一个矩形不透明2
一个带圆角矩
- 事务管理
luyulong
javaspring编程事务
事物管理
spring事物的好处
为不同的事物API提供了一致的编程模型
支持声明式事务管理
提供比大多数事务API更简单更易于使用的编程式事务管理API
整合spring的各种数据访问抽象
TransactionDefinition
定义了事务策略
int getIsolationLevel()得到当前事务的隔离级别
READ_COMMITTED
- 基础数据结构和算法十一:Red-black binary search tree
sunwinner
AlgorithmRed-black
The insertion algorithm for 2-3 trees just described is not difficult to understand; now, we will see that it is also not difficult to implement. We will consider a simple representation known
- centos同步时间
stunizhengjia
linux集群同步时间
做了集群,时间的同步就显得非常必要了。 以下是查到的如何做时间同步。 在CentOS 5不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。 1)确认已经ntp程序包: # yum install ntp 2)配置时间源(默认就行,不需要修改) # vi /etc/ntp.conf server pool.ntp.o
- ITeye 9月技术图书有奖试读获奖名单公布
ITeye管理员
ITeye
ITeye携手博文视点举办的9月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。 9月试读活动回顾:http://webmaster.iteye.com/blog/2118112本次技术图书试读活动的优秀奖获奖名单及相应作品如下(优秀文章有很多,但名额有限,没获奖并不代表不优秀):
《NFC:Arduino、Andro