- 向内而求
陈陈_19b4
10月27日,阴。阅读书目:《次第花开》。作者:希阿荣博堪布,是当今藏传佛家宁玛派最伟大的上师法王,如意宝晋美彭措仁波切颇具影响力的弟子之一。多年以来,赴海内外各地弘扬佛法,以正式授课、现场开示、发表文章等多种方法指导佛学弟子修行佛法。代表作《寂静之道》、《生命这出戏》、《透过佛法看世界》自出版以来一直是佛教类书籍中的畅销书。图片发自App金句:1.佛陀说,一切痛苦的根源在于我们长期以来对自身及外
- 放下是一段成长的修行
小莳玥
人来到这个世界上,只有两件事:生和死。一件事已经做完了,另一件你还急什么呢?是人,都有七情六欲。是心,都有喜怒哀乐,这些再正常不过了。别总抱怨自己活得累,过得辛苦。永远记住:舒坦是留给死人的。苦,才是生活;累,才是工作;变,才是命运;忍,才是历练;容,才是智慧;静,才是修养;舍,才会得到;做,才会拥有。人生,活得太清楚,才是最大的不明白。有些事,看得很清,却说不清;有些人,了解很深,却猜不透;有些
- 2023.5.10 周三 早7:38
努力逆流而上
榜样的力量前一段时间追一个《一生一世》的电视剧,脑残剧,但居中的周生辰,稳重。润玉一般的性格,坚持着10年如一日的自律习惯,养成的性格也是这样温文尔雅,虽然是剧中塑造,但我感觉现实中一定是有的,让我觉得人生就是这样的修行,自律不是强迫自己,是形成的习惯,坚持的习惯!结果五一回家,太无聊,看了韩剧的《继承者》让孩子也跟着一起看手机,昨天跑了步,但发现没有很快乐,不知道起的太晚还是怎么着,7点的大街上
- 2021-11-26
雅雅_201d
感恩活着的美好幸福喜悦。谢谢谢谢谢谢感恩打卡261.感恩亲爱的自己每天坚定的动态静心,让我充满力量充满奇迹。谢谢谢谢谢谢2.感恩遇见的每一个在走心的人儿,高频的能量在深深的吸引着我引领着我。谢谢谢谢谢谢3.感恩范先生有着良好的生命状态,和高能量的智慧传递,让我愉悦安心。谢谢谢谢谢谢4.感恩宝贝女儿,积极正向充满力量,每一声回应都让我更加的安心更加的有力量。谢谢谢谢谢谢5.感谢亲爱的爸爸妈妈非常喜悦
- 鲁西南方言杂谈-麻胡
一两茶叶
《汉语词典》给“麻胡”的解释是“拼音máhú,传说中人名。说法不一,以残暴著称。民间习用以恐吓小儿。谓貌丑而多须者。”的意思;《国语辞典》也给出其“传说中的坏人,用来吓唬啼哭中的小孩。也称为‘麻虎子’、‘马虎子’。唐代李匡义《资暇集.卷下.非麻胡》俗怖婴儿曰:‘麻胡来!’不知其源者,以为多髯之神而验刺者,非也。隋将军麻祜,性酷虐,炀帝令开汴河,威棱既盛,至稚童望风而畏,互相恐吓曰:‘麻祜来!’稚童
- 爱护眼睛
反狙_04db
眼睛”是心灵的窗户。保护眼睛要从小做起。我们眼睛还非常娇嫩,未发育完善,只要稍不注意,就容易生病。那怎样才能保护好自己的眼睛呢?我想提醒同学们做到以下几点:首先要正确使用眼睛,预防近视。不良的用眼习惯,都可能引起眼睛疲劳,导致近视。如看书写字姿势不好、距离太近、时间太长、光线不好等。要预防近视,就应该做到科学用眼,读书写字姿势要端正,眼睛与书本的距离须保持33厘米;连续看书写字1小时左右要休息一会
- 平凡人生
王佰涛
自己的目光短浅,认知范围有限,要把简单的事情做好,连续工作时间有点长,没有按照劳动合同法办事,心里过意不去,自己办的这个事也许不对,军转安置做保安心里特别过意不去,自己应该净下心来,好好反思,也许是自己不够优秀,不会来事,但这些绊脚石不会阻挡我前进的步伐,辛辛苦苦的劳动成果让别人窃取,感觉心里过意不去,革命尚未成功,同志仍需努力,也许你的付出不成正比,但要深刻反思,相信我能干事,我能干成事。多向有
- 《这些妙方让我的体重保持十年不变》
独啸山林
啥?养生是老年人的特权?那你就大错特错了,就如趁早保养和趁早运动一样的道理。如今养生已经成了我的一种生活方式,一种生活习惯,深入了我的生活。养生既是一种运动方式,又是一种修行方式。某个周四晚上与几个小姐姐聚会,有两个同龄的小姐姐,误认为我是95后,还有一个说以为我是00后呢,哈哈!我心里乐开了花,不过她们说的一点不错啦。不论外观还是精气神,与周边的同龄人比较而言我确实看上去年轻一些,我想这真的得益
- 修行之路
天赐_7417
单位是上班的地方,工作的地方,不是讲人情的地方。如果领导仁慈,那再好不过,不过不是,也不必难过,这本就是单位的本质。你只不过是认识到了它的本质而已。这不是坏事。在单位,你做得好,领导不一定看到,即使看到,也不一定会给予肯定,因为他们认为做得好是你应该的;做得差,那领导一定会批评,因为他不想看到你犯错误。但是人非圣贤,孰能无过?领导批评就批评吧!可能他批评的方式很过激,但那不是员工需要考虑的问题,他
- 家有宝贝初长成|2019年亲子成长记录08
淇好读书
养育孩子是一场前世修来的旅程。孩子的成长,妈妈的修行。愿用拙笔记录宝贝们的成长。这是520亲子成长迹2019年的第8篇记录。2019年3月9日去姥姥家今天,我们一家四口回姥姥家了。本想着天气还不错,回姥姥家,可以在院子里尽情地玩耍——到小菜园里观察蔬菜,在草地上看看有没有小虫子在爬,在沙土堆里玩一会……想象得很美好,现实是起风了,我们都担心宝贝淇在外面玩会着凉感冒了,就招呼她在屋子里玩。还记得去年
- 元宵节 文/正一水
正一水
今夜月圆不羡天身边更比月儿圆扶老携幼手儿牵举家同赏花灯前须正月十五之夜满城的灯笼红妆素裹分外妖娆数开年喜事还看灯节——元宵君可见,耍龙灯银龙游走从天降带给人间满吉祥字谜灯,状元郎童叟须臾文中客腹有诗书晒才华孔明灯,天上行祈福纳祥追流星许愿求财准保灵红灯笼,人也红红红串串穿幸福今夜中国万里红明年更比今年红!2019年2月19日(元宵节)
- 八戒的修行之重回人间 10
斯琴巴图2021
题记:谨以此文,向五百年前在人间的射阳山人致敬。(十)谁能免俗很多年以来,人间已经忙乱的像一锅粥,而天庭幽静缓慢的如一幅山水画。人们像忙碌的虫子,恨不能生出翅膀来,成为神仙可以腾云驾雾,反而没有了方向,懒散的蜗居在洞府里,看着太阳升起,等着日落西山。八戒酣睡了许久,其实已经醒了很多次,但依旧闭着眼睛装睡,醒了又如何,又能去哪呢?一成不变的生活,让他腻烦的总想醉着,做神仙唯一的好处,大概就是可以一直
- 每个孩子,都是上帝派来拯救你的天使
月儿的月光
一直以来,对生孩子这件事总是充满了恐惧。怀孕,生产,坐月子,这些咬紧牙关熬一下就过去了,但是孩子的自身安全和教育,却让你牵肠挂肚一辈子。每当看到孩子被坏人拐走的文章时,心里都好难受,孩子,是一个家庭幸福快乐至关重要的人,失去孩子,一个家也就散了。每每看到孩子熟睡的小脸,像小天使一样让人安心。看到他傻呵呵的对你笑时,所有的烦恼都烟消云散了。看到他不舒服号啕大哭时,恨不得在自己身上扎两刀……有了孩子,
- 国际与国内GCP指南的历史演变和未来方向
一线临研人
作为一名临床试验从业者,耳边萦绕最多的恐怕就是“遵守GCP”了。那么,GCP是什么?从哪里来?又到哪里去?本文将全面介绍GCP指南的现状及发展历程,从国际和国内两个角度,分享最新的关于GCP的资讯。GCP是什么?GCP是GoodClinicalPractice的缩写,即《药物临床试验质量管理规范》。GCP是规范药物临床试验全过程的标准规定,包括方案设计、组织实施、监查、稽查、记录、分析总结和报告,
- 麻黄汤续讲与大小青龙汤
c1af95f51459
麻黄九禁脉浮紧者,法当汗出而解,若身重心悸者,不可发汗,须自汗出乃愈。所以然者,尺中脉微此里虚也,须里实,津液自和,便自汗出愈。脉浮紧的人照理说要发汗,可是如果身体重心悸的话,就不可以发汗。其实这个发汗不一定是麻黄汤,大青龙汤也会发汗。但是单独身体重的话不能够成不发汗的理由。因为感冒,很多人身体都是重重的,但是身重,心悸,就不可以发汗,因为心悸往往是阳虚。如果尺脉跳的很慢的人也不可以发汗,尺脉代表
- 劳动使我快乐(四上)
宁静与幸福
通过我的努力终于可以和奶奶去打扫小区了!奶奶先带我到了二十三楼-顶楼,一开始我还有点恐高,但过了一会儿就好多了,最后根本不怕了,这才让我安心了!这时奶奶说:“我来擦玻璃门,你来擦窗户。”我想:“简单,不就是擦窗户嘛!我一定会擦干净的!”于是我就开始了,首先用喷雾喷一喷,然后刮刀刮一刮。咦!怎么回事?上面怎么还有泡沫?奶奶笑道:“傻孩子,像你这样左边一下,右边一下,上一下,下面一下,能擦干净才怪!要
- 《幸福的勇气》摘录其一
小悯丶
推荐序一、1、在很多人印象里,幸福是一件慵懒的事,就好像学佛是一件随性的事一样。然而恰恰相反,古人说,学佛乃大丈夫事!……真正的修行,首先是放下对恒常的追求,坦然接受无常的发生。这种勇气,没有足够的智慧和福德,是难以拥有的。2、幸福也是一样。如果你所理解的幸福就是什么不开心的事都尽量不发生,平安喜乐地过一辈子,那么多半你是要失望了。3、要选择爱,首先要过伤害这一关。明明遭遇过伤害,却要报之以琼瑶。
- 人生就是一场永无止境的修行
爱自己1985
遇到任何问题告诉自己:“这就是修行”在大学刚毕业那会儿,觉得工作是最重要的,先生存才能谈生活。现在有房、有车,也有了一份稳定的工作,但是内心还是常常有不安的感觉。因为自己没有什么成长,在孩子教育上也没有成长。告诉自己这就是修行。不要焦虑,每天进步一点点,学会去发现自己和孩子的优点。今天虽然没有看书,但是晚上一家人去吃鱼了,吃完一起去散步,回来接到一个同事的电话,聊了两个小时。她明年就50周岁了,可
- 书摘10000/104《此生尽兴》
银媛ly
《此生尽兴》[日]濑户内寂听“世间万事皆可弃,唯有孤独伴残生。”此时此刻,如果你能找到自己真正喜欢的事情去做,能够找到精神上的自己,就好像濑户内寂听在写作和修行中持续不断地拓宽自己的可能性。那么,我们便战胜了孤独,战胜了另一个自己。人的一生中,每一个人终究还是要赤条条来,赤条条去。而我们每一个人在这短暂或漫长的人生旅途中,最大的愿望就是做到此生尽兴。“在爱与孤独里,永不迷失;在衰老与死亡里,永不退
- 爱的修行之旅——丰盛日记D55
叶子多妈
日行一善:整理衣柜;晚上和朋友们聚会坚持素食。日行一忏:答应别人的事没有按时完成。今日觉察:所有的行为都是自己的一种主动选择,当心里明了,方向就有了。PS:老公的丰盛日记第55天(11.24)日行一善:主动约朋友聚餐日行一忏:分担家务太少今日觉察:快乐有时很简单,心里不要装太多东西
- 感恩日记第二天
情雪儿
我十分幸运能够拥有健康的身体,因为拥有健康的身体我可以开心的工作和学习;我感到十分快乐,并感激拥有一份喜欢的工作,因为工作让我每天过得很充实与安心;我十分感激拥有金钱,因为金钱能让我满足内心想要拥有的物品;我要衷心地说声谢谢,感谢领导对我的关照,因为一直在关心和支持着我的工作和生活;我要衷心感谢自己,因为无论各种状况都在坚持着自己的好习惯;我感到十分幸福,因为一直在背后默默支持着我的爱人,无论何种
- 云南印象一玉龙雪山
把日子过成诗吧
一顿饱眠后,兴冲冲前往玉龙雪山,为了预防高反,提前数日已服红景天,又买了氧气瓶,心理上安心多了。第一站,观看印象丽江,满满的男子汉气息扑面而来,谁说现在的男人越来越娘,这里的男子个个演的豪情万丈,满足了女性视觉感受。节目是否精彩,因人而异,看懂了等于了解了少数民族的风土人情,看不懂就是一帮群众演员在闹腾。这种表演风格,场面壮观,红色情怀,老谋子的最爱,不深评。图片发自App表演毕,前往玉龙雪山,人
- 2021-10-17
仁德上人
心中执着自我傲慢自大的人怎么会有智慧与慈悲?有的只是对别人的伤害文/仁德上人有人认为修行到了最后不就是般若大智慧与妙用的大慈大悲利益救度众生的菩提心吗?请问,你心中放不下我我我,出离心都没有,怎么会有菩提心呢?一个没有真实菩提心的人,怎么会有真实的平等的大慈大悲的心呢?在你为救度众生时,众生有我不听你的话,不按照你的教导行为,在有人伤害了你的我我我的时候,你能会不生气不发脾气?因为你的内心还会生气
- 玉簟凉·立秋
张成昱
二十一世纪旧体诗词风骚榜郑重声明:本文系作者原创首发,文责自负。玉簟凉·立秋因热而愁。羡燕雀入云,驭制风头。驱驰何处止,恰汗冷心浮。枝横花老季节,约莫是、叶已知秋。弦月下,向广寒来处,闲掷吴钩。悠悠。残荷未折,烟柳似倾,谁在梦里西楼。青衫红袖旧,问几许因由。孤灯一夕烁烁,照笔下、字字清流。当戒醉,省酒钱、须换貂裘。
- 深入理解单元测试
元闰子
单元测试log4j
荐语本文要介绍的是2020年O’Reilly出版的书籍UnitTestingPrinciples,Practices,andPatterns,一本在豆瓣评分高达9.9的好书。作为一名软件开发工程师,你应该对单元测试(unittest)很熟悉,但单元测试的目的、Mock的正确用法、单元测试和集成测试的区别等等,你真的懂吗?书中对这些内容都做了深入的介绍,并通过实际案例教你如何写出好的单元测试。读完这
- 20230518感恩日记
19221e4db296
【感恩打卡】感恩什么人,因为什么事,带给我什么感受❤️感恩宇宙万物滋养我,让我感到很幸福。❤️感恩宝贝来做我的女儿,当她发脾气时,感受到她的另一面也是美。❤️感恩老师工作认真负责,给家庭带来财富。❤️感恩家人身心健康,我可以很安心的工作了。❤️感恩祖先对我的护佑,让我做事开车都感受到很安全。❤️感恩公司老板和同事对我的关心,感受到很温暖。❤️感恩钱宝宝每天都可以让我有进帐,好幸福阿!❤️感恩丹丹老
- 读书沙龙感悟
J欢愈空间
昨天我们学习的是第6章《让孩子从角色中释放出来》,但是我感触最深的一点反而是我看到了“焦虑紧张妈妈角色”,妈妈们把自己框在这个角色中,倍感苦恼!我曾经就是“焦虑妈妈”,焦虑到半夜哭醒那种,通过学习、践行!我逐渐走了出来,我知道育儿路上仍然有各样问题,而且将来还会遇到,但唯有不断学习、修行才能胜任家长这个角色,再次想到一句话“孩子,不是你不好,是妈妈太落后了!”我觉得我们首先从“焦虑妈妈”中角色释放
- 面对容貌焦虑,请与自己和解
Alin曾玲
容貌焦虑,网络流行词,是指在放大颜值作用的环境下,很多人对于自己的外貌不够自信。关于“容貌焦虑”这个词,也许是随着年龄的增长,越发能体会到这个容貌焦虑的心情。岁月留下的眼纹、颈纹、下垂的苹果肌,失去灵动的双眼,还有生完小孩以后走形的身材等等。于是,越来越多的轻医美走进了我们的心底。其实在能力范围内若是能做一些后天的保养来延缓衰老的速度,我也是认可的。可若是盲目的一味追求外在完美,而忽视了内在的修行
- 2021-10-26
仁德上人
念佛人最担心的就是能不能往生,能不能上品往生文/仁德上人现在的念佛人有两种心愿:第一,念佛是为了往生成佛。这种菩萨念佛修行,最大的心愿是自己不但能有把握往生,而且要求自己能上品上生。这种心愿有没有把握真实的兑现?回答是,不但能实现而且还一定能上品上生,往生时就可以花开见佛悟无生。怎样才能落实做到呢?这的确是念佛人最最关心的大问题。如念佛苦修几十年不能往生西方净土世界,就无法真正地圆满成佛。成佛最最
- 2020-12-06
大白的好朋友
01检查2020年心愿完成度。最容易,莫过于许下一个又一个心愿。而最难,莫过于逐一实现这些愿望。是时候,回想你在年初立下的心愿,实现了多少?是扎心还是安心?别把那些本该在2020年了却的你在2019年就信誓旦旦要完成的2018年写下的心愿,再拖到2021。若有未了心愿,2020最后20来天,再拼一把!泰山日出见者好运配图|@乐漫小窝泰山日出见者好运配图|@乐漫小窝02整理相册,让记忆成册、时光含情
- 分享100个最新免费的高匿HTTP代理IP
mcj8089
代理IP代理服务器匿名代理免费代理IP最新代理IP
推荐两个代理IP网站:
1. 全网代理IP:http://proxy.goubanjia.com/
2. 敲代码免费IP:http://ip.qiaodm.com/
120.198.243.130:80,中国/广东省
58.251.78.71:8088,中国/广东省
183.207.228.22:83,中国/
- mysql高级特性之数据分区
annan211
java数据结构mongodb分区mysql
mysql高级特性
1 以存储引擎的角度分析,分区表和物理表没有区别。是按照一定的规则将数据分别存储的逻辑设计。器底层是由多个物理字表组成。
2 分区的原理
分区表由多个相关的底层表实现,这些底层表也是由句柄对象表示,所以我们可以直接访问各个分区。存储引擎管理分区的各个底层
表和管理普通表一样(所有底层表都必须使用相同的存储引擎),分区表的索引只是
- JS采用正则表达式简单获取URL地址栏参数
chiangfai
js地址栏参数获取
GetUrlParam:function GetUrlParam(param){
var reg = new RegExp("(^|&)"+ param +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if(r!=null
- 怎样将数据表拷贝到powerdesigner (本地数据库表)
Array_06
powerDesigner
==================================================
1、打开PowerDesigner12,在菜单中按照如下方式进行操作
file->Reverse Engineer->DataBase
点击后,弹出 New Physical Data Model 的对话框
2、在General选项卡中
Model name:模板名字,自
- logbackのhelloworld
飞翔的马甲
日志logback
一、概述
1.日志是啥?
当我是个逗比的时候我是这么理解的:log.debug()代替了system.out.print();
当我项目工作时,以为是一堆得.log文件。
这两天项目发布新版本,比较轻松,决定好好地研究下日志以及logback。
传送门1:日志的作用与方法:
http://www.infoq.com/cn/articles/why-and-how-log
上面的作
- 新浪微博爬虫模拟登陆
随意而生
新浪微博
转载自:http://hi.baidu.com/erliang20088/item/251db4b040b8ce58ba0e1235
近来由于毕设需要,重新修改了新浪微博爬虫废了不少劲,希望下边的总结能够帮助后来的同学们。
现行版的模拟登陆与以前相比,最大的改动在于cookie获取时候的模拟url的请求
- synchronized
香水浓
javathread
Java语言的关键字,可用来给对象和方法或者代码块加锁,当它锁定一个方法或者一个代码块的时候,同一时刻最多只有一个线程执行这段代码。当两个并发线程访问同一个对象object中的这个加锁同步代码块时,一个时间内只能有一个线程得到执行。另一个线程必须等待当前线程执行完这个代码块以后才能执行该代码块。然而,当一个线程访问object的一个加锁代码块时,另一个线程仍然
- maven 简单实用教程
AdyZhang
maven
1. Maven介绍 1.1. 简介 java编写的用于构建系统的自动化工具。目前版本是2.0.9,注意maven2和maven1有很大区别,阅读第三方文档时需要区分版本。 1.2. Maven资源 见官方网站;The 5 minute test,官方简易入门文档;Getting Started Tutorial,官方入门文档;Build Coo
- Android 通过 intent传值获得null
aijuans
android
我在通过intent 获得传递兑现过的时候报错,空指针,我是getMap方法进行传值,代码如下 1 2 3 4 5 6 7 8 9
public
void
getMap(View view){
Intent i =
- apache 做代理 报如下错误:The proxy server received an invalid response from an upstream
baalwolf
response
网站配置是apache+tomcat,tomcat没有报错,apache报错是:
The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /. Reason: Error reading fr
- Tomcat6 内存和线程配置
BigBird2012
tomcat6
1、修改启动时内存参数、并指定JVM时区 (在windows server 2008 下时间少了8个小时)
在Tomcat上运行j2ee项目代码时,经常会出现内存溢出的情况,解决办法是在系统参数中增加系统参数:
window下, 在catalina.bat最前面
set JAVA_OPTS=-XX:PermSize=64M -XX:MaxPermSize=128m -Xms5
- Karam与TDD
bijian1013
KaramTDD
一.TDD
测试驱动开发(Test-Driven Development,TDD)是一种敏捷(AGILE)开发方法论,它把开发流程倒转了过来,在进行代码实现之前,首先保证编写测试用例,从而用测试来驱动开发(而不是把测试作为一项验证工具来使用)。
TDD的原则很简单:
a.只有当某个
- [Zookeeper学习笔记之七]Zookeeper源代码分析之Zookeeper.States
bit1129
zookeeper
public enum States {
CONNECTING, //Zookeeper服务器不可用,客户端处于尝试链接状态
ASSOCIATING, //???
CONNECTED, //链接建立,可以与Zookeeper服务器正常通信
CONNECTEDREADONLY, //处于只读状态的链接状态,只读模式可以在
- 【Scala十四】Scala核心八:闭包
bit1129
scala
Free variable A free variable of an expression is a variable that’s used inside the expression but not defined inside the expression. For instance, in the function literal expression (x: Int) => (x
- android发送json并解析返回json
ronin47
android
package com.http.test;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import
- 一份IT实习生的总结
brotherlamp
PHPphp资料php教程php培训php视频
今天突然发现在不知不觉中自己已经实习了 3 个月了,现在可能不算是真正意义上的实习吧,因为现在自己才大三,在这边撸代码的同时还要考虑到学校的功课跟期末考试。让我震惊的是,我完全想不到在这 3 个月里我到底学到了什么,这是一件多么悲催的事情啊。同时我对我应该 get 到什么新技能也很迷茫。所以今晚还是总结下把,让自己在接下来的实习生活有更加明确的方向。最后感谢工作室给我们几个人这个机会让我们提前出来
- 据说是2012年10月人人网校招的一道笔试题-给出一个重物重量为X,另外提供的小砝码重量分别为1,3,9。。。3^N。 将重物放到天平左侧,问在两边如何添加砝码
bylijinnan
java
public class ScalesBalance {
/**
* 题目:
* 给出一个重物重量为X,另外提供的小砝码重量分别为1,3,9。。。3^N。 (假设N无限大,但一种重量的砝码只有一个)
* 将重物放到天平左侧,问在两边如何添加砝码使两边平衡
*
* 分析:
* 三进制
* 我们约定括号表示里面的数是三进制,例如 47=(1202
- dom4j最常用最简单的方法
chiangfai
dom4j
要使用dom4j读写XML文档,需要先下载dom4j包,dom4j官方网站在 http://www.dom4j.org/目前最新dom4j包下载地址:http://nchc.dl.sourceforge.net/sourceforge/dom4j/dom4j-1.6.1.zip
解开后有两个包,仅操作XML文档的话把dom4j-1.6.1.jar加入工程就可以了,如果需要使用XPath的话还需要
- 简单HBase笔记
chenchao051
hbase
一、Client-side write buffer 客户端缓存请求 描述:可以缓存客户端的请求,以此来减少RPC的次数,但是缓存只是被存在一个ArrayList中,所以多线程访问时不安全的。 可以使用getWriteBuffer()方法来取得客户端缓存中的数据。 默认关闭。 二、Scan的Caching 描述: next( )方法请求一行就要使用一次RPC,即使
- mysqldump导出时出现when doing LOCK TABLES
daizj
mysqlmysqdump导数据
执行 mysqldump -uxxx -pxxx -hxxx -Pxxxx database tablename > tablename.sql
导出表时,会报
mysqldump: Got error: 1044: Access denied for user 'xxx'@'xxx' to database 'xxx' when doing LOCK TABLES
解决
- CSS渲染原理
dcj3sjt126com
Web
从事Web前端开发的人都与CSS打交道很多,有的人也许不知道css是怎么去工作的,写出来的css浏览器是怎么样去解析的呢?当这个成为我们提高css水平的一个瓶颈时,是否应该多了解一下呢?
一、浏览器的发展与CSS
- 《阿甘正传》台词
dcj3sjt126com
Part Ⅰ:
《阿甘正传》Forrest Gump经典中英文对白
Forrest: Hello! My names Forrest. Forrest Gump. You wanna Chocolate? I could eat about a million and a half othese. My momma always said life was like a box ochocol
- Java处理JSON
dyy_gusi
json
Json在数据传输中很好用,原因是JSON 比 XML 更小、更快,更易解析。
在Java程序中,如何使用处理JSON,现在有很多工具可以处理,比较流行常用的是google的gson和alibaba的fastjson,具体使用如下:
1、读取json然后处理
class ReadJSON
{
public static void main(String[] args)
- win7下nginx和php的配置
geeksun
nginx
1. 安装包准备
nginx : 从nginx.org下载nginx-1.8.0.zip
php: 从php.net下载php-5.6.10-Win32-VC11-x64.zip, php是免安装文件。
RunHiddenConsole: 用于隐藏命令行窗口
2. 配置
# java用8080端口做应用服务器,nginx反向代理到这个端口即可
p
- 基于2.8版本redis配置文件中文解释
hongtoushizi
redis
转载自: http://wangwei007.blog.51cto.com/68019/1548167
在Redis中直接启动redis-server服务时, 采用的是默认的配置文件。采用redis-server xxx.conf 这样的方式可以按照指定的配置文件来运行Redis服务。下面是Redis2.8.9的配置文
- 第五章 常用Lua开发库3-模板渲染
jinnianshilongnian
nginxlua
动态web网页开发是Web开发中一个常见的场景,比如像京东商品详情页,其页面逻辑是非常复杂的,需要使用模板技术来实现。而Lua中也有许多模板引擎,如目前我在使用的lua-resty-template,可以渲染很复杂的页面,借助LuaJIT其性能也是可以接受的。
如果学习过JavaEE中的servlet和JSP的话,应该知道JSP模板最终会被翻译成Servlet来执行;而lua-r
- JZSearch大数据搜索引擎
颠覆者
JavaScript
系统简介:
大数据的特点有四个层面:第一,数据体量巨大。从TB级别,跃升到PB级别;第二,数据类型繁多。网络日志、视频、图片、地理位置信息等等。第三,价值密度低。以视频为例,连续不间断监控过程中,可能有用的数据仅仅有一两秒。第四,处理速度快。最后这一点也是和传统的数据挖掘技术有着本质的不同。业界将其归纳为4个“V”——Volume,Variety,Value,Velocity。大数据搜索引
- 10招让你成为杰出的Java程序员
pda158
java编程框架
如果你是一个热衷于技术的
Java 程序员, 那么下面的 10 个要点可以让你在众多 Java 开发人员中脱颖而出。
1. 拥有扎实的基础和深刻理解 OO 原则 对于 Java 程序员,深刻理解 Object Oriented Programming(面向对象编程)这一概念是必须的。没有 OOPS 的坚实基础,就领会不了像 Java 这些面向对象编程语言
- tomcat之oracle连接池配置
小网客
oracle
tomcat版本7.0
配置oracle连接池方式:
修改tomcat的server.xml配置文件:
<GlobalNamingResources>
<Resource name="utermdatasource" auth="Container"
type="javax.sql.DataSou
- Oracle 分页算法汇总
vipbooks
oraclesql算法.net
这是我找到的一些关于Oracle分页的算法,大家那里还有没有其他好的算法没?我们大家一起分享一下!
-- Oracle 分页算法一
select * from (
select page.*,rownum rn from (select * from help) page
-- 20 = (currentPag