- 《感恩日志》第八天
祖乐
1.感恩武老师给姑娘朋友的宝宝起了名字。2.感恩张淑珍老师及时发的红包让我和杜姐能按时听课学习。3.感恩今天所有的遇见
- 离奇的投毒案(七)
蜗居山人
(接上文)庭审很快开始了,李妹坐在旁听席的第一排,她想看看丈夫到底是不是害死儿女的凶手。公诉人宣读起诉书后,审判长询问张春对起诉书指控的犯罪事实是否承认,张春矢口否认,当庭翻供。李妹心中一阵得意:“我早就判断丈夫不是凶手!刑警队弄错了,这下看武队长如何收场!这可是公开审理。”审判长问:“你怎么在公安机关承认犯罪事实呢?”“他们刑讯逼供,没有办法我只能承认。”李妹心里嘟囔:“俺丈夫爱我和孩子胜过爱他
- 樊登读书人是如何学习的?
恒如止水
2021年11月10号早晨听书。这本书听完樊登老师的解读后,我觉得有必要自己好好的复盘写下来,真正想写的时候才发现我记住的没多少,那就按照叶武斌老师的说法,烂开始好结果,能记下多少复述多少,写下自己的感悟。人是如何学习的呢?第一点蝌蚪和鱼的故事,当蝌蚪变成青蛙后,告诉于外边的人是什么样的?牛是长什么样的?而与认为就是鱼身子,然后下面长了两条角,这样的样子是人。鱼的身体形状,它的鳍变成了4条腿,这样
- 《论语》日日谈 34期
wuhuaping9807
《论语》日日谈第34期本章为《论语》:公冶长篇第八章【原文】孟武伯问:“子路仁乎?”子曰:“不知也。”又问。子曰:“由也,千乘之国,可使治其赋也。不知其仁也。”“求也何如?”子曰:“求也,千室之邑,百乘之家,可使为之宰也①,不知其仁也。、赤也何如②?”子曰:“赤也,束带立于朝,可使与宾客言也。不知其仁也。”【注释】①宰:古代县、邑一级的行政长官。卿大夫的家臣也叫宰。②赤:公西赤,字子华,孔子的学生
- 90天读书分享76——家为什么会伤人
韧2018
图片发自App今天分享的书籍是《家为什么会伤人》,作者是武志红,著名的心理学家,畅销书作家。本书是讲述中国家庭的文化的一些缺陷造成的种种不良后果,我将分享书中家庭和婚姻中的误区和正确的做法。由于我们在家庭和婚姻中没有采取正确做法,走入了误区,会给婚姻和家庭带来巨大的伤害,而且这种伤害会可能会对子女造成影响,会不断延续下去,造成悲剧的反复发生。现在来看看婚姻中存在误区:第一个误区是不以夫妻关系为家庭
- 谜之梦境
晴雨风
昨晚做了个奇怪的梦好多好多人,一眼望不到头的那种。前后左右都是人,我被簇拥在其中慢慢向前走。一直走到一个好像下山的台阶处,台阶左右和向下无限延伸。每个台阶一上隔几米就有一个人站在那里,他们在有节奏的一起鼓掌。我的心情好激动,这么盛大的场面难得一见。随着欢呼在掌声中的人群向台阶下面走去,远处有一条大河,很宽,各种鲜艳的绿色知是水还是什么。会随着风一漾一漾的。在最前面的人已经到了河里,他们依旧向前走。
- 尔勋禄攸
双髻山府正堂
《曹全碑》全碑释文:碑阳君讳全,字景完,敦煌效谷人也,盖周胄,武秉乾机,翦伐殷商,既尔勋,禄攸同,封弟叔振铎于曹国,因氏焉,秦汉之际,曹参夹辅王室,世宗廓土斥竟,子孙迁于雍州之郊,分止右扶风,或在安定,或处武都,或居陇西,或家敦煌,枝分叶布,所在为雄,君高祖父敏,举孝廉,武威长史,巴郡朐忍令,张掖居延都尉,曾祖父述,孝廉,谒者,金城长史,夏阳令,蜀郡西部都尉,祖父凤,孝廉,张掖属国都尉丞,右扶风隃
- 2023-10-26
Eltonpeople
文化通史121今日启发:Elton:第八章中世文化的初兴第一节幕府体制与公武二元文化的确立镰仓幕府在日本历史上,平安时代末期,出现平氏和源氏两大武士集团。首先平氏取代贵族而获得了政权,但仍沿袭贵族政治。平氏与源氏两大武士集团之间不断发生战争。源赖朝于1180年奉以仁王之旨令,举兵讨伐平氏,经过富士川、一谷、坛浦等战役,最终推翻了平氏政权。源赖朝夺取政权后,在地方领主的武力支持下,在镰仓地方初步建立
- 11月9日
三里湖畔
上午十点多,赶到墨玉县人民广场,参加消防活动。其实就是捧场,顺便接受消防知识的教育。收获还是有的,知道119的含义,还看了几出不太应景的节目,其中《总书记的回信》的音乐情景剧和一个军武很是吸引人,展示了墨玉县文工团的实力。《总书记的回信》这首歌去年暑假就出来了,去年九月底也是在这个广场上,我们参加万人庆国庆的活动时已经看过,当时以及现在看都很受感触。活动结束后,补发了十一的慰问品(没买东西,发了一
- 武夷山之旅:天游峰
三七会萍海临风
天游峰来武夷山必爬的一座山峰。也称武夷山第一险峰。它海拔408.8米,共有484个台阶。相传是彭祖活到848岁时,殷纣王拿到长寿秘诀后想杀害彭祖。彭祖便逃到闽地武夷山,隐居在天游峰,后生二子取名彭武和彭夷。二子孝顺,为方便父亲上下山,凿出了848个台阶。天游峰有不走回头路的说法。前锋地势陡峭险峻,有几段路几乎是直上直下,需手足并用方可安全抵达。因整座山峰不高,爬着不累,但因建在悬崖峭壁上,整个攀爬
- 韦世豪比肩武磊 留洋指日可待 捧杀国足未来该叫停了
体坛消息
尤记得当年武磊出国前,网上争议不断。当时还曾写过多篇文章期待武磊留洋。如今武磊在西甲表现平平,尽管没有特别亮眼的成绩,但当时的热度可以说是无人能及。尽管争议颇多,但是武磊留洋之旅带着无数期盼和关注的。财大气粗的恒大如今恒大的韦世豪再次站在了国内球迷的眼前。恒大队的球衣数量一直庞大,实力也在中超可以说是无人能出其右。无论是的当初的潜力股球员,还是后面规划球员,都让很多人感叹,真是有钱任性,哪个俱乐部
- 【学习笔记】武志红心理学—潜意识决定命运
万万千千
冰山一角什么构成了我们的命运?命运是由我们的显意识和潜意识来决定的。我们可以用一张图做一个比喻。看过“冰山一角”图片的都知道,潜意识就是水面以下的部分,显意识是水面以上的部分,从体积来看,潜意识占了大部分,而显意识只是冰山一角,纵向来看,庞大的潜意识支撑着冰山一角的显意识,才得以让冰山漂浮在水面。延伸到我们的人生,我们对自己显意识层面的想法很容易感知到,所以我们会说这是“我”自己做的选择。而潜意识
- 易效能时间管理小结(一)
草莓丸子_1892
图片发自App图片发自App图片发自App管理大师德鲁克说:时间是一个人最稀缺的资源,人人都需要时间管理。两天的时间管理线下课,心得体会:一、课前准备:1、听喜马拉雅FM叶武滨老师《时间管理100讲》《时间管理进阶课》做笔记、写思维导图。2、购买的装备(跑步、电子设备…),以新的面貌改变。让生活充满仪式感!3、分享时间管理到身边的小伙伴,用生命影响生命。也就是所谓的输出倒逼输入。二、领悟了“五大思
- 意外惊喜
阳光氧气_2950
今天莫名其妙的进了一个群,是得到武志红老师开设的心理学习群。建群的是英语学习小组里的小伙伴。之前因为英语学习我们两个加了微信号,偶然看到他发了一个动态说想要找一起学习经济学的朋友,于是我组建了一个学习经济学和金融学的群。因为没有强制性学习的制度,目前这位小伙伴一直坚持每天更新一篇专栏,为他的持续点赞。倒是他要组建心理学习小组的事儿完全不知情,是进入群里以后发现,他在朋友圈发布了一条扫码入群的英雄帖
- 冈田武彦与《王阳明大传》
ea41e0427fde
《王阳明大传》单单是序就有三个版,本书原作者是日本冈田武彦先生,由中国学生钱明译过来。王阳明是中国人,但他的著作却被日本人深为研究,在日本盛行后传回中国,正如序二里说的:阳明学失于吾国而求诸异邦。冈田武彦先生是阳明精神的虔诚践行者,写王阳明大传这套书,历时25年。而看完他对阳明学的贡献,不得不敬佩!1989年3月,由冈田先生发起在日本全国筹集300万日元资助的绍兴县王阳明墓修复工程训练竣工,同年4
- 《鹈鹕之梦》剧本杀复盘/凶手/剧透/真相/答案/攻略
VX搜_小燕子复盘
为了你获得更好的游戏体验,本文仅显示《鹈鹕之梦》剧本杀部分真相复盘,获取完整真相复盘只需两步①【微信关注公众号:集美复盘】②回复【鹈鹕之梦】即可查看获取哦﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎1、剧本杀《鹈鹕之梦》角色介绍这是一个颠覆传统认知的情感还原立意本且剧本的呈现方式也是非常创新的,对于老玩家来说,整个眼前一亮体验角色:莲首先夸夸作者的文笔,作为一个
- 【找到北】真经就是跟着有道的人听话照做直接进入
风来花就开
毛竹:长卿武堂的家人们,大家上午好!昨天分享了什么?卍普缘趙齐卍:不要急毛竹:感谢大家的积极回复!你们一听一答,也叫入道要从细微处培养自己入道的感觉!今天,我们就用这十位家人的表达,先生讲一句真经!那先生以前讲的不是真经吗?那是根据你们的思维模式,为了让你们听得懂的绕经!就像你们说英语,先生必须说英语,不能说汉语,大家才能听懂所以,先生告诉你们的,其实很多,你们都不能在分院分享你们要分享的是绕经,
- 当看到青翼福王那一刻,我知道《斗破苍穹》住在萧炎体内的另一个灵魂肯定是张无忌!
渔樵煮江谈
2018年9月3日,也就是昨天《斗破苍穹》真人版终于开播了。虽然此前萌叔并没有真正读完过《斗破苍穹》小说,但毕竟也是当年身边许多小伙伴的青春记忆,耳濡目染难免受到一些熏陶。然而这两年来各种翻拍、小说改编,远点的如《择天记》、《诛仙》,近点的隔壁的《武动乾坤》等等,都是槽点满满,让原著党们趁兴而来,失望而归。斗破苍穹宣传海报所以早已经看够了各种狗血、翻车的萌叔,对《斗破苍穹》的期待,当然是吐槽啦。本
- 19《沁园春•雪》
easy阿朱
《沁园春·雪》作者毛泽东(1936年2月)北国风光,千里冰封,万里雪飘。望长城内外,惟余莽莽;大河上下,顿失滔滔。山舞银蛇,原驰蜡象,欲与天公试比高。须晴日,看红装素裹,分外妖娆。江山如此多娇,引无数英雄竞折腰。惜秦皇汉武,略输文采;唐宗宋祖,稍逊风骚。一代天骄,成吉思汗,只识弯弓射大雕。俱往矣,数风流人物,还看今朝。【注释译文】沁园春:词牌名,又名“东仙”“寿星明”“洞庭春色”等。双调,一百十四
- 阀门定位器
ZHD18060503853
单片机嵌入式硬件
阀门定位器:(福克斯波罗,YTC,山武)PLC:(西门子,施耐德,ABB,AB,三菱,欧姆龙)泵阀:(威格士,哈威,伊顿,阿托斯)传感器:(倍加福,西克,伦茨,巴鲁夫,易福门,图尔克,安川)编码器:(海德汉,堡盟,亨士乐)西门子:罗宾康,6AG1模块,6FC5851数控软件,3UF电机保护器,数控卡件,烟气分析仪霍尼韦尔:微动开关,测厚仪配件,麦克森燃烧ABB:DCS,张力控制器,压力计,机器人配
- A20B-8002-0020发那科
ZHD18060503853
自动化
阀门定位器:(福克斯波罗,YTC,山武)PLC:(西门子,施耐德,ABB,AB,三菱,欧姆龙)泵阀:(威格士,哈威,伊顿,阿托斯)传感器:(倍加福,西克,伦茨,巴鲁夫,易福门,图尔克,安川)编码器:(海德汉,堡盟,亨士乐)西门子:罗宾康,6AG1模块,6FC5851数控软件,3UF电机保护器,数控卡件,烟气分析仪霍尼韦尔:微动开关,测厚仪配件,麦克森燃烧ABB:DCS,张力控制器,压力计,机器人配
- 鬼影重重 第十二章 新的一天
王室蚊子
武龙云的宿舍八个床位,分上下两层,四个人,书籍睡上面,四人睡下面。清晨,他站在窗户前,和镜子面对面,看着镜子里的自己。个子不算高,脸微胖,想想穆子柔,感觉自己和她在一块儿,就像鲜花插在牛粪上,不过话说回来,牛粪不就是让鲜花插的吗?况且还这么大一坨,自己虽然不帅,也算可爱吧!他做了个可爱的表情。身材也还算可以吧。他瞅瞅身体,举手展示了肱二头肌,敞开胸怀,看了看胸,又做了几个健美的动作。还不错。武龙云
- 《万道武仙祖》第四十四章
香蕉苯蛋
五天时间,眨眼即过,楚玉今日便要启程前往遥远的北道学院,带的东西不多,由文叔亲手打造的三棱刺,材料是二级豪猪的背刺,货币是不用带的,在这个国家上有通用钱庄,可以直接在北道学院附近的钱庄提款。楚玉的娘亲还特意给他装了一盒楚家的附近最好的土壤,烘干处理过,据说如此能治水土不服,除此之外也没有什么好说的了。吃过午饭后,楚家大院上,多了一个车队,也就五辆车而已,但是拉车的竟然是五只二级魔兽,这种魔兽称为独
- 一串葡萄
ca2408595bb7
一串葡萄有島武郎翻译王志镐一僕は小さい時に絵を描(か)くことが好きでした。僕の通(かよ)っていた学校は横浜(よこはま)の山(やま)の手(て)という所にありましたが、そこいらは西洋人ばかり住んでいる町で、僕の学校も教師は西洋人ばかりでした。そしてその学校の行きかえりにはいつでもホテルや西洋人の会社などがならんでいる海岸の通りを通るのでした。通りの海添いに立って見ると、真青(まっさお)な海の上に軍艦だ
- 李白之《梦游天姥吟留别 》欣赏
楚楚52
梦游天姥吟留别/别东鲁诸公唐·李白海客谈瀛洲,烟涛微茫信难求,越人语天姥,云霞明灭或可睹。天姥连天向天横,势拔五岳掩赤城。天台四万八千丈,对此欲倒东南倾。我欲因之梦吴越,一夜飞度镜湖月。湖月照我影,送我至剡溪。谢公宿处今尚在,渌水荡漾清猿啼。脚著谢公屐,身登青云梯。半壁见海日,空中闻天鸡。千岩万转路不定,迷花倚石忽已暝。熊咆龙吟殷岩泉,栗深林兮惊层巅。云青青兮欲雨,水澹澹兮生烟。列缺霹雳,丘峦崩摧
- 文子【智慧人.物】福建的两个少林寺
文子智慧之旅
一路往前走,向海出走。泉州的南少林寺也好,莆田的南少林也好,宋代中原河南的出家人和在家人也是向海出走,登封嵩山带来了以武修行的少林传承,兴建了寺庙。洛阳带来勤劳致富的生存法则,留下跨过内海的洛阳桥。
- 武志红心理97/333 锤炼你的自我效能感
曼曼_异想
美国心理学家班杜拉提出了“自我效能感”的概念,他说:自我效能感就是,人们对自身能否利用所拥有的技能去完成某项工作行为的自信程度。换句话说,就是人们对自己是否能行的自信程度。在家庭教育中,孩子越小,越是培养自我效能感的好时机。最佳的做法是,让孩子独立去完成他力所能及的事情。当他不断通过自己的努力做成一件事时,他的自我效能感就不断地得到增强,他会更加自信。这样,在他遇到更大的挑战时,他就会有信心和力量
- 魂穿综武:武当祖师爷出山了(张三丰穿越)热门武侠全文阅读
云轩书阁
魂穿综武:武当祖师爷出山了(张三丰穿越)热门武侠全文阅读主角:张三丰简介:一睁眼我穿越到了综武世界,成了武当派祖师爷张三丰。正值张翠山被五大门派逼的自裁。关注微信公众号【旺精灵】去回个书號【8227】,即可阅读【魂穿综武:武当祖师爷出山了】小说全文!第10章:离开树林之后,霍山来到了一个隐秘的山洞之中。“怎么样?张真人可同意了?”刚进山洞,几个蒙面人缓缓走出,其中一人开口问道。霍山摇了摇头,并没有
- 毁掉一段婚姻的,从来不是三观不合
恋爱解忧舍
这世上,大多数人都热衷于求同,热衷改变对方昨天在知乎上看到一个提问:结婚多年的夫妻因三观不合每天吵架,自动分居三年,为了孩子强行绑在一起没离婚,可是她才30岁,未来的路很长,到底该不该离婚?点赞最高的回答是:“人与人最远的距离是三观,朋友三观不合可以少来往,夫妻三观不合就太痛苦了。建议用自己的方式及时止损,彼此改变或者离婚。”1先给大家讲两段婚姻吧!阿娟和阿武是自由恋爱,因为每天乘坐同一辆班车上班
- 梦塔雪迷城同人之逃离梦塔 二
泡泡国漫漫研社
文/泡泡圈漫评团东宫冰羽“什么,你法术竟然晋级了?”艾妙妙错愕。“你才知道啊,我现在已经比你厉害多了。”武伽偏着头。“你,我才不怕你,就算你晋级又能怎么样!”“大小姐不服输啊,那就继续啊!”“你……别以为我怕了你了,再来,洋伞枪,哈!”“还不服输吗,那就别怪我不客气了,警拐。”突然他们消失了,一阵风似的,只留下漫天冰雪。“切~逃走了吗,真是无语了,还说要继续。”武伽无奈地抖抖肩。“颜一!你干嘛呢,
- 如何用ruby来写hadoop的mapreduce并生成jar包
wudixiaotie
mapreduce
ruby来写hadoop的mapreduce,我用的方法是rubydoop。怎么配置环境呢:
1.安装rvm:
不说了 网上有
2.安装ruby:
由于我以前是做ruby的,所以习惯性的先安装了ruby,起码调试起来比jruby快多了。
3.安装jruby:
rvm install jruby然后等待安
- java编程思想 -- 访问控制权限
百合不是茶
java访问控制权限单例模式
访问权限是java中一个比较中要的知识点,它规定者什么方法可以访问,什么不可以访问
一:包访问权限;
自定义包:
package com.wj.control;
//包
public class Demo {
//定义一个无参的方法
public void DemoPackage(){
System.out.println("调用
- [生物与医学]请审慎食用小龙虾
comsci
生物
现在的餐馆里面出售的小龙虾,有一些是在野外捕捉的,这些小龙虾身体里面可能带有某些病毒和细菌,人食用以后可能会导致一些疾病,严重的甚至会死亡.....
所以,参加聚餐的时候,最好不要点小龙虾...就吃养殖的猪肉,牛肉,羊肉和鱼,等动物蛋白质
- org.apache.jasper.JasperException: Unable to compile class for JSP:
商人shang
maven2.2jdk1.8
环境: jdk1.8 maven tomcat7-maven-plugin 2.0
原因: tomcat7-maven-plugin 2.0 不知吃 jdk 1.8,换成 tomcat7-maven-plugin 2.2就行,即
<plugin>
- 你的垃圾你处理掉了吗?GC
oloz
GC
前序:本人菜鸟,此文研究学习来自网络,各位牛牛多指教
1.垃圾收集算法的核心思想
Java语言建立了垃圾收集机制,用以跟踪正在使用的对象和发现并回收不再使用(引用)的对象。该机制可以有效防范动态内存分配中可能发生的两个危险:因内存垃圾过多而引发的内存耗尽,以及不恰当的内存释放所造成的内存非法引用。
垃圾收集算法的核心思想是:对虚拟机可用内存空间,即堆空间中的对象进行识别
- shiro 和 SESSSION
杨白白
shiro
shiro 在web项目里默认使用的是web容器提供的session,也就是说shiro使用的session是web容器产生的,并不是自己产生的,在用于非web环境时可用其他来源代替。在web工程启动的时候它就和容器绑定在了一起,这是通过web.xml里面的shiroFilter实现的。通过session.getSession()方法会在浏览器cokkice产生JESSIONID,当关闭浏览器,此
- 移动互联网终端 淘宝客如何实现盈利
小桔子
移動客戶端淘客淘寶App
2012年淘宝联盟平台为站长和淘宝客带来的分成收入突破30亿元,同比增长100%。而来自移动端的分成达1亿元,其中美丽说、蘑菇街、果库、口袋购物等App运营商分成近5000万元。 可以看出,虽然目前阶段PC端对于淘客而言仍旧是盈利的大头,但移动端已经呈现出爆发之势。而且这个势头将随着智能终端(手机,平板)的加速普及而更加迅猛
- wordpress小工具制作
aichenglong
wordpress小工具
wordpress 使用侧边栏的小工具,很方便调整页面结构
小工具的制作过程
1 在自己的主题文件中新建一个文件夹(如widget),在文件夹中创建一个php(AWP_posts-category.php)
小工具是一个类,想侧边栏一样,还得使用代码注册,他才可以再后台使用,基本的代码一层不变
<?php
class AWP_Post_Category extends WP_Wi
- JS微信分享
AILIKES
js
// 所有功能必须包含在 WeixinApi.ready 中进行
WeixinApi.ready(function(Api) {
// 微信分享的数据
var wxData = {
&nb
- 封装探讨
百合不是茶
JAVA面向对象 封装
//封装 属性 方法 将某些东西包装在一起,通过创建对象或使用静态的方法来调用,称为封装;封装其实就是有选择性地公开或隐藏某些信息,它解决了数据的安全性问题,增加代码的可读性和可维护性
在 Aname类中申明三个属性,将其封装在一个类中:通过对象来调用
例如 1:
//属性 将其设为私有
姓名 name 可以公开
- jquery radio/checkbox change事件不能触发的问题
bijian1013
JavaScriptjquery
我想让radio来控制当前我选择的是机动车还是特种车,如下所示:
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"><
- AngularJS中安全性措施
bijian1013
JavaScriptAngularJS安全性XSRFJSON漏洞
在使用web应用中,安全性是应该首要考虑的一个问题。AngularJS提供了一些辅助机制,用来防护来自两个常见攻击方向的网络攻击。
一.JSON漏洞
当使用一个GET请求获取JSON数组信息的时候(尤其是当这一信息非常敏感,
- [Maven学习笔记九]Maven发布web项目
bit1129
maven
基于Maven的web项目的标准项目结构
user-project
user-core
user-service
user-web
src
- 【Hive七】Hive用户自定义聚合函数(UDAF)
bit1129
hive
用户自定义聚合函数,用户提供的多个入参通过聚合计算(求和、求最大值、求最小值)得到一个聚合计算结果的函数。
问题:UDF也可以提供输入多个参数然后输出一个结果的运算,比如加法运算add(3,5),add这个UDF需要实现UDF的evaluate方法,那么UDF和UDAF的实质分别究竟是什么?
Double evaluate(Double a, Double b)
- 通过 nginx-lua 给 Nginx 增加 OAuth 支持
ronin47
前言:我们使用Nginx的Lua中间件建立了OAuth2认证和授权层。如果你也有此打算,阅读下面的文档,实现自动化并获得收益。SeatGeek 在过去几年中取得了发展,我们已经积累了不少针对各种任务的不同管理接口。我们通常为新的展示需求创建新模块,比如我们自己的博客、图表等。我们还定期开发内部工具来处理诸如部署、可视化操作及事件处理等事务。在处理这些事务中,我们使用了几个不同的接口来认证:
&n
- 利用tomcat-redis-session-manager做session同步时自定义类对象属性保存不上的解决方法
bsr1983
session
在利用tomcat-redis-session-manager做session同步时,遇到了在session保存一个自定义对象时,修改该对象中的某个属性,session未进行序列化,属性没有被存储到redis中。 在 tomcat-redis-session-manager的github上有如下说明: Session Change Tracking
As noted in the &qu
- 《代码大全》表驱动法-Table Driven Approach-1
bylijinnan
java算法
关于Table Driven Approach的一篇非常好的文章:
http://www.codeproject.com/Articles/42732/Table-driven-Approach
package com.ljn.base;
import java.util.Random;
public class TableDriven {
public
- Sybase封锁原理
chicony
Sybase
昨天在操作Sybase IQ12.7时意外操作造成了数据库表锁定,不能删除被锁定表数据也不能往其中写入数据。由于着急往该表抽入数据,因此立马着手解决该表的解锁问题。 无奈此前没有接触过Sybase IQ12.7这套数据库产品,加之当时已属于下班时间无法求助于支持人员支持,因此只有借助搜索引擎强大的
- java异常处理机制
CrazyMizzz
java
java异常关键字有以下几个,分别为 try catch final throw throws
他们的定义分别为
try: Opening exception-handling statement.
catch: Captures the exception.
finally: Runs its code before terminating
- hive 数据插入DML语法汇总
daizj
hiveDML数据插入
Hive的数据插入DML语法汇总1、Loading files into tables语法:1) LOAD DATA [LOCAL] INPATH 'filepath' [OVERWRITE] INTO TABLE tablename [PARTITION (partcol1=val1, partcol2=val2 ...)]解释:1)、上面命令执行环境为hive客户端环境下: hive>l
- 工厂设计模式
dcj3sjt126com
设计模式
使用设计模式是促进最佳实践和良好设计的好办法。设计模式可以提供针对常见的编程问题的灵活的解决方案。 工厂模式
工厂模式(Factory)允许你在代码执行时实例化对象。它之所以被称为工厂模式是因为它负责“生产”对象。工厂方法的参数是你要生成的对象对应的类名称。
Example #1 调用工厂方法(带参数)
<?phpclass Example{
- mysql字符串查找函数
dcj3sjt126com
mysql
FIND_IN_SET(str,strlist)
假如字符串str 在由N 子链组成的字符串列表strlist 中,则返回值的范围在1到 N 之间。一个字符串列表就是一个由一些被‘,’符号分开的自链组成的字符串。如果第一个参数是一个常数字符串,而第二个是type SET列,则 FIND_IN_SET() 函数被优化,使用比特计算。如果str不在strlist 或st
- jvm内存管理
easterfly
jvm
一、JVM堆内存的划分
分为年轻代和年老代。年轻代又分为三部分:一个eden,两个survivor。
工作过程是这样的:e区空间满了后,执行minor gc,存活下来的对象放入s0, 对s0仍会进行minor gc,存活下来的的对象放入s1中,对s1同样执行minor gc,依旧存活的对象就放入年老代中;
年老代满了之后会执行major gc,这个是stop the word模式,执行
- CentOS-6.3安装配置JDK-8
gengzg
centos
JAVA_HOME=/usr/java/jdk1.8.0_45
JRE_HOME=/usr/java/jdk1.8.0_45/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
export JAVA_HOME
- 【转】关于web路径的获取方法
huangyc1210
Web路径
假定你的web application 名称为news,你在浏览器中输入请求路径: http://localhost:8080/news/main/list.jsp 则执行下面向行代码后打印出如下结果: 1、 System.out.println(request.getContextPath()); //可返回站点的根路径。也就是项
- php里获取第一个中文首字母并排序
远去的渡口
数据结构PHP
很久没来更新博客了,还是觉得工作需要多总结的好。今天来更新一个自己认为比较有成就的问题吧。 最近在做储值结算,需求里结算首页需要按门店的首字母A-Z排序。我的数据结构原本是这样的:
Array
(
[0] => Array
(
[sid] => 2885842
[recetcstoredpay] =&g
- java内部类
hm4123660
java内部类匿名内部类成员内部类方法内部类
在Java中,可以将一个类定义在另一个类里面或者一个方法里面,这样的类称为内部类。内部类仍然是一个独立的类,在编译之后内部类会被编译成独立的.class文件,但是前面冠以外部类的类名和$符号。内部类可以间接解决多继承问题,可以使用内部类继承一个类,外部类继承一个类,实现多继承。
&nb
- Caused by: java.lang.IncompatibleClassChangeError: class org.hibernate.cfg.Exten
zhb8015
maven pom.xml关于hibernate的配置和异常信息如下,查了好多资料,问题还是没有解决。只知道是包冲突,就是不知道是哪个包....遇到这个问题的分享下是怎么解决的。。
maven pom:
<dependency>
<groupId>org.hibernate</groupId>
<ar
- Spark 性能相关参数配置详解-任务调度篇
Stark_Summer
sparkcachecpu任务调度yarn
随着Spark的逐渐成熟完善, 越来越多的可配置参数被添加到Spark中来, 本文试图通过阐述这其中部分参数的工作原理和配置思路, 和大家一起探讨一下如何根据实际场合对Spark进行配置优化。
由于篇幅较长,所以在这里分篇组织,如果要看最新完整的网页版内容,可以戳这里:http://spark-config.readthedocs.org/,主要是便
- css3滤镜
wangkeheng
htmlcss
经常看到一些网站的底部有一些灰色的图标,鼠标移入的时候会变亮,开始以为是js操作src或者bg呢,搜索了一下,发现了一个更好的方法:通过css3的滤镜方法。
html代码:
<a href='' class='icon'><img src='utv.jpg' /></a>
css代码:
.icon{-webkit-filter: graysc