- 五律 步韵和安然女士《修身》
苏怀亮文字
文/苏怀亮世界多形态,前途有暗津。修缘方得渡,思欲总迷垠。善恶皆成果,神奇造化人。与其游苦海,莫若与山邻。附:安然女士原玉五律.修身文/安然欲保年轻态,荤腥少问津。诗词多有趣,禅道本无垠。莫做违心事,疏离逐利人。往来皆雅士,松竹做高邻。2017.09.02
- 写给母亲的诗
与你相识_40fa
母亲(七十一)文||与你相识从过去到未来您从未走远最真挚的情感一直留在心灵最深处四季的交替您的爱未曾改变随着岁月的增加牵挂越来越深也许,您是普通中的普通我以最深的祝福在每个日子为您祈祷愿您安康吉祥2017.09.02母亲(七十二)文||与你相识风停了雨停了思念的心情越来越重您用温暖的目光抚慰一颗流浪的心梦醒了人走了生活的艰辛烙在记忆里您以自己的脊梁挺起家的航向千叮咛万嘱咐总怕岁月路上受伤害有些风雨
- 写给母亲的诗
与你相识_40fa
母亲(七十一)文||与你相识从过去到未来您从未走远最真挚的情感一直留在心灵最深处四季的交替您的爱未曾改变随着岁月的增加牵挂越来越深也许,您是普通中的普通我以最深的祝福在每个日子为您祈祷愿您安康吉祥2017.09.02母亲(七十二)文||与你相识风停了雨停了思念的心情越来越重您用温暖的目光抚慰一颗流浪的心梦醒了人走了生活的艰辛烙在记忆里您以自己的脊梁挺起家的航向千叮咛万嘱咐总怕岁月路上受伤害有些风雨
- 雾
叶乙
雾起欲觅寻遍千水万山花呓语只为遇见你雾起心中雾泛起无人欣赏朦胧的诗意看见这流血的心与泛着泪光的嚎鸣或许只有你而我恰好错过了你雾起每处角落雾涌起让我以为只有我自己也只是我自己雾起透过纹理看见思绪依凭它的行迹我守护碎落的樊篱渴求他追着我去寻你不曾出现的你雾起难觅寻遍千山万水花沾衣只为错过你————叶乙2017.09.02图片发自App
- 我是一个极其小心眼的坏家伙
XboxOne
我想写些东西,可是不知道写些什么。Flamingooooooo这是第三次见面。这张照片后来变成了你的微信头像我的输入法背景。2017.04.14开始粘着你暑假结束后再次见面,我很想你。我们一起去看侧田。二百年后在一起。2017.09.02明刀明枪吗?你吃醋,你想我。所以你来了。我很心动。谢谢你。也谢谢郑秀晶。2017.10.18心动心动很心动我喜欢你,别人答应你的我也可以给你。我一直在想你。有恃无
- 夜里开出的花儿
妈小咪
文/妈小咪2017.09.02星期六阴怨夏太长,叹秋太急。不久前的清晨五点,已经是天空见白,不远处清晰可见太阳,如流着油的咸蛋黄一般,正在嚣张的往上爬,而今,接近六点了,天光依旧是一副神秘的模样。住的地方,不是环境好的小区,有一条很长的走道,要拐两次弯,两边都是住户,一半左右家里长年黑灯瞎火,即便是青天白日,走廊里也只有微弱的亮,廊灯一年365天,有365天是黑的,偶尔有人一时兴起换了灯泡,顶多亮
- 往
会忘
2017.09.02大一暑假,想戒掉熬夜,想好好睡觉,好好喝水,不想再起痘痘了。虽然让自己闭眼睛睡觉,脑海里却一直是过往的种种。有高三那一年的夏天,那一年的理综试卷,那一年的短发,还有他。我总是梦到被抓回高三教室开始我的复读生活,总是梦到让我敬畏却又反感的物理老师兼班主任,总是梦到在那个最不自信的时候说喜欢我的男孩,也总是梦到初恋的他。高考失利,皮肤变差,慢慢的发现自己不像以前那么爱笑。过着得过且
- 《慢性疾病研究生》第二课(1)
邱礼芳
《慢性疾病研究生》第二课(1)2017.09.02,中午林海峰老师授课20170902,M研究生研究人体,应该从哪里开始?消化、吸收、循环、免疫?新陈代谢?如何看待人体出现的各种症状?什么是你应该放下一切,认真对待的病?什么是你应该安心接纳享受的病?今晚20:15,阳光森林空中教室,精彩叫绝的课程,即将开启!专业、深入浅出!清晰、独具匠心!来龙去脉,轻重缓急,以道的思考,切入法与术的专业,展开人人
- 一书一世界
自然真
《岛上书店》,作者是美国作家加·泽文,共读时间:2017.08.23-2017.09.02。爱丽丝岛是一座孤岛,但是岛上有一书店,人们并没有因为孤岛而与世隔绝,书店是孤岛人们对外的窗口。岛上书店为孤岛人民点燃希望。岛上书店是架起友谊,爱情,亲情的桥梁。我们很多人也没有住孤岛,但是我们人们心中都有孤岛,没有阅读,眼界不开阔我们犹如住在孤岛上。“一书一世界,无人是孤岛”。孤岛上有书店,孤岛不孤曰。小岛
- 2017.09.02。戴德直达
农爸爸
与高手同行、与智者为伍,农爸爸股东分享师真是藏龙卧虎啊!无需刻意的去远离谁,只需尽情的去感受与高频共振的美妙体验,全然的富足就已悄然而至。
- 《慢性疾病研究生》第二课(1)
异玲奋
玲异奋作者2017.09.0211:59打开App《慢性疾病研究生》第二课(1)2017.09.02,中午林海峰老师授课20170902,M研究生研究人体,应该从哪里开始?消化、吸收、循环、免疫?新陈代谢?如何看待人体出现的各种症状?什么是你应该放下一切,认真对待的病?什么是你应该安心接纳享受的病?今晚20:15,阳光森林空中教室,精彩叫绝的课程,即将开启!专业、深入浅出!清晰、独具匠心!来龙去脉
- 带娃日记062
小幸福vs茹萍
2017.09.02星期六晴农历七月十二今天一早我在做梦呢,迷迷糊糊听见女儿在喊我,打开房门,原来宝宝醒了,带她去我房间,宝宝看到先生正睡着,很腼腆地笑了笑,就是不好意思去把先生喊醒。一直想去叫大大,但就是不好意思…直到先生醒来她才开心的又蹦又跳。先生上礼拜就准备带她去中山路溜达的,所以等吃好早饭,宝宝又睡了一觉醒来才出发的。一路上宝宝可开心啦,地铁站硬是要下来,帮她抢拍了几张。两站路就到了三阳,
- Lumia520刷安卓教程
SuperDevloper
Lumia520
Date:2017.09.02Author:SuperDeveloperDescreption:installandroidonluima520devices.Email:
[email protected]警告本教程只适用于Lumia52X系列,并且经作者在Lumia520验证成功,Lumia其他设备没有实验过,请谨慎使用本教程。安装成功后的安卓没有驱动程序,因此除了触摸屏和声音外的硬件都将无法使用,
- 易霖博红客学院每日安全资讯2017.09.02
广州李涛老师
易霖博红客学院每日安全资讯2017.09.02【国际资讯】全球ISP请注意:ICANN将首次更换互联网域名系统(DNS)加密密钥http://t.cn/RNXzGPt黑客组织OurMine成功入侵维基解密网站http://t.cn/RNXzCyO全球各领事馆与大使馆或遭新型恶意软件Gazer监控,疑似俄APT组织Turla所为http://t.cn/RNXZPgJ【WEB安全】挖洞经验|把PHPL
- 2017.09.02周六下午绘本班宝贝们的点评与作品☞笑笑老师
多多熊福涛东园教学中心
在这次创作中:1、通过课程熟知牙买加男人的造型特征,如:脏辫、肤色、五官等;2、运用油画棒与水溶性的颜料结合进行创作,根据牙买加男人的外貌特征进行塑造。图片发自App图片发自App珈恺通过对人物的理解运用了牙买加色彩搭配,作品的创作是比较有想法的,人物发型线条表现的不错,希望宝贝可以多些耐心等待他人演讲;图片发自App明美宝贝上课认真,学习牙买加的人物特征,有冷暖色的搭配使用,更突出画面效果,能仔
- 2017.09.02
Mr_Oldman
TodayisSaturday.Soonaking'ssoldiercamedownthestairs.Thedoorofthedungeonwasopenedbythesoldier,whothenpushedamanintothedungeon.Atthatmoment,athickandbrilliantshaftofafternoonlightcutintothedarkofdungeon
- 亲子日记89:再创造
zb戴勇
2017.09.02周六晴图片发自App图片发自App大宝喜欢汽车,也喜欢拼叉汽车。小时候给他买了很多拼叉玩具,大多都是小汽车。因为时间太久,原来拼好的玩具都只剩下了一堆零件,收藏在一个小储物箱里面。不知何时,大宝又拿了出来,在那里鼓捣起来。弄了不久,一辆新的小汽车就拼叉起来。一看,还蛮有创意。那些零件都已经打乱,大宝把能用的都按照自己的想法,重新安装在一定的位置,组合成一辆新的小车。图片发自Ap
- 写在开学季(2017.09.02)
盛夏晚风
今天看朋友圈,大学同学在朋友圈发动态,说女儿上幼儿园了。这本是个皆大欢喜的事情,上学是一个全新的阶段,可以认识更多的朋友,开始接触新世界。却在为女儿不肯上学而烦恼。这也许是每个小孩子都会遇到的问题,初到一个陌生环境,离开了爸妈的监护,内心变得惶恐而无助,从而本能地抗拒和逃避,但成长的过程就是一次次摆脱依赖。我初入学堂门,也是在这种煎熬中度过的。第一天上学,穿着新衣服,背着新书包,去的路上还很兴奋,
- 我放弃了兵哥哥
4月的小猴子
2017.09.02昨天是个好日子,我闺蜜找到自己的归宿。反观身边的朋友,一个一个都有了自己的归宿,十天之内,身边少了3条狗,怎么说,也会有一些不自在。翻了一下自己的qq列表,想到了曾经让我有些难过的兵哥哥,也让我看到了曾经自己的卑微,逛了一下他的空间,然后,把他从我的qq好友中删除了,什么也没说,只是静静的看着它发呆了好久,不知道在想什么,我闺蜜说,删了吧,删了也挺好的。曾经有过好几个让我难过的
- 【五绝】紫茉莉
正谊明道
图片发自App窗前花雨密,篱畔紫星繁。馥气随风远,灼灼暮色岚。(2017.09.02)注释:紫茉莉,花期较长,从六月下旬开始,一直到十一月,有的到十二月仍然开放。其中八九月花朵最多。花朵为五瓣,单瓣。颜色有紫、红、黄、白、杂等。紫色花最常见,白色花最少见。秋季结种子。种子如六味地黄丸大小,表面有花纹,如微缩的地雷,故俗名地雷花。又由于它在傍晚开,此时正是人们洗澡之时,故又名洗澡花。图片发自App图
- 2017.09.02
蚂蚁不小吗
今天是新生驾到的日子,一如往昔地熙熙攘攘。很多家长大包小包地跟着子女,我分辨不出哪些新生是一个人来报道的。多久前我还一直为自己独自报道而引以为傲,但换个角度想想,是我和爸爸妈妈以及洋洋的关系不够密切。全家人从来没有一起出去旅游,甚至玩耍过。我老是喜欢单打独斗,别人看来是独立,以前我也是这么认为的,但现在我想我可以改变一下了。适当地依恋别人,没什么不好的,尤其是依恋家人。昨天和园园一起出去了一趟,我
- 第六拆作业*413*面包树*2017.09.02 - 草稿
这是一棵面包树
R片段5选自《非暴力沟通》首先,清楚地告诉对方,我们希望他们做什么。如果我们请求他人不做什么,对方也许会感到困惑,不知道我们到底想要什么。而且,这样的请求还容易引起别人的反感。在—次研讨班中,一位女士谈道“我请我先生少花一些时间在工作上。三个星期后,他和我说,他已经报名参加高尔夫球比赛。”这位女士说出了她不想要什么——她不希望先生花太多的时间在工作上,但没有说清楚她想要什么。于是,我们鼓励她直接说
- 学习做人!
静_心_语
文/张晓静2017.09.02【意想不到】意想不到,今天早上调了闹钟,还是起晚了!意想不到,自己坐公交、骑摩拜自行车,看着地图导航能够找到天津国展中心!意想不到,人才招聘市场看起来会有点破旧的感觉,在那里招聘或是找工作的气氛确实感觉有点压抑!意想不到,今天我迟到了,雁斌哥居然没有批评我,反而还很理解我,说我睡那么晚还能在早上九点给他回信息,实在不容易!意想不到,发现雁斌哥在生活和工作当中都是一个那
- 2017.09.02
尘世书童
1.2点半睡7点起,真的想继续懒床补觉,但没办法,答应了别人就要尽力去做到。那么曾经许诺给自己的那些呢?是否都尽力去实现了呢?是否有过努力尝试呢?又还记得多少呢?2.跟老王约好8点半见面。8点的时候到了奥林匹克森林公园,由于跟之前说的路线不同,便提前跟他沟通一下。然而他不相信我在奥森,便用微信的位置共享来确认,由于我本人真的在这,就很干脆的回应了他。在收到我的共享回应之后,老王终于相信了我的话。首
- 2017.09.02
后浪之力
《做个精明的时间买卖人》学习总结:财富自由路上的成长曲线:出售自己的时间→提高单位时间售价→同一份时间售出很多次→购买他人时间然后卖出去一开始,我们只是一个”正常的时间买卖人”,然后我们要学会成为一个”精明的时间买卖人”!其中诀窍就是——把自己的同一份时间出售多次。它的方法可以是写一本畅销书、制作一张唱片、创作一篇动漫作品甚至是通过创作APP或者在平台上分享文章。他们都成本极其低廉(脑力劳动即可)
- 9月亲子阅读[爱心]
Auroraren
9月亲子阅读[爱心]Day012017.09.01今天晚上我们一起阅读的是大大地板书《最神奇的梦》相对于《365个亲亲》姐姐最喜欢的还是这本书。我在想也许是孩子天真喜欢幻想。而《最神奇的梦》里面有小孩子喜欢的色彩,喜欢的公主,喜欢的雪。。。看完一遍还要再看一遍很是意外。图片发自App#9月亲子阅读[爱心]Day02#2017.09.02今天晚上我们一起阅读的是大大地板书《365个亲亲》一开始姐姐不
- 今日新得2017.09.02
Pheebs
还记得孙悟空压在五行山下,观音菩萨来看他的时候,猴哥是怎么说的么:“你是大慈大悲救苦救难的菩萨,救了我吧。”“天下自有救你之人,却不是我。”菩萨都有把事情往外推的时候,为什么你还要啥事都自己扛呢?我是必死的凡人,我的时间、精力都是有限的;有很多事,我做不到;我不需要去讨好所有的人;我会远离不尊重我的人;我会回击挑衅我的人。我是必死的凡人,活着的每一天,我都在精进,在努力我会守卫我所爱和信任的一切。
- 胡思 Vol.2:普鲁斯特问卷(2017.09.02)
李一线
1.你认为最完美的快乐是怎样的?大概不存在吧。假如存在,可能是明知山有虎偏向虎山行—并且取得了一点微弱的胜利。2.你最希望拥有哪种才华?下笔如有神。3.你最恐惧的是什么?愚民。4.你目前的心境怎样?眼前仍然是一片迷雾,但至少有了大概的方向。5.还在世的人中你最钦佩的是谁?想不出来。钦佩的人都死了。6.你认为自己最伟大的成就是什么?为一个并不一定会得到什么回报的原因临时起意地做一件事,并顺利收尾。7
- 2017.09.02 周六 --《八月那点事》
微信公众号_程序员的文娱情怀
一、八月我都做了什么1)【写作】:八月还是坚持的每天的文章,公众号,微信和头条。只是文章的推荐量并不是很高,很多涉及方法论的东西,略带点鸡汤性质,看的人不是很多。八月未央2)【健康】:8月开始的时候,我还是去锻炼的下身体,跳绳,有时候还会去健身房去游个泳。中间有一段是晚上不吃饭,后来也不知道怎么滴,就开始吃饭了。3)【工作】:工作中开始有注意地多思考一步,多问一个为什么,对待问题的态度也更加地积极
- 573.与喵共舞286~周末跳舞学琴
摹喵居士
2017.09.02周六啦,今天是新学期的第一节舞蹈课。天气雾霾很厉害,中央电视塔近在咫尺都看不到。一路上堵了半天车,等到了教室,喵已经进去上课了。舞蹈课下课啦。背着书包出来了。开始换鞋啦。照例去坐旋转木马。和同学一起玩儿,手拉着手。非常开心的一个上午。一起散步,要求妈妈托着自己的小手,像艾莎公主一样。中午回家吃顿饭,睡个觉。下午去上钢琴课。钢琴课下课,去商场买开学用的笔和本子。开心地又蹦又跳。先
- Nginx负载均衡
510888780
nginx应用服务器
Nginx负载均衡一些基础知识:
nginx 的 upstream目前支持 4 种方式的分配
1)、轮询(默认)
每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。
2)、weight
指定轮询几率,weight和访问比率成正比
- RedHat 6.4 安装 rabbitmq
bylijinnan
erlangrabbitmqredhat
在 linux 下安装软件就是折腾,首先是测试机不能上外网要找运维开通,开通后发现测试机的 yum 不能使用于是又要配置 yum 源,最后安装 rabbitmq 时也尝试了两种方法最后才安装成功
机器版本:
[root@redhat1 rabbitmq]# lsb_release
LSB Version: :base-4.0-amd64:base-4.0-noarch:core
- FilenameUtils工具类
eksliang
FilenameUtilscommon-io
转载请出自出处:http://eksliang.iteye.com/blog/2217081 一、概述
这是一个Java操作文件的常用库,是Apache对java的IO包的封装,这里面有两个非常核心的类FilenameUtils跟FileUtils,其中FilenameUtils是对文件名操作的封装;FileUtils是文件封装,开发中对文件的操作,几乎都可以在这个框架里面找到。 非常的好用。
- xml文件解析SAX
不懂事的小屁孩
xml
xml文件解析:xml文件解析有四种方式,
1.DOM生成和解析XML文档(SAX是基于事件流的解析)
2.SAX生成和解析XML文档(基于XML文档树结构的解析)
3.DOM4J生成和解析XML文档
4.JDOM生成和解析XML
本文章用第一种方法进行解析,使用android常用的DefaultHandler
import org.xml.sax.Attributes;
- 通过定时任务执行mysql的定期删除和新建分区,此处是按日分区
酷的飞上天空
mysql
使用python脚本作为命令脚本,linux的定时任务来每天定时执行
#!/usr/bin/python
# -*- coding: utf8 -*-
import pymysql
import datetime
import calendar
#要分区的表
table_name = 'my_table'
#连接数据库的信息
host,user,passwd,db =
- 如何搭建数据湖架构?听听专家的意见
蓝儿唯美
架构
Edo Interactive在几年前遇到一个大问题:公司使用交易数据来帮助零售商和餐馆进行个性化促销,但其数据仓库没有足够时间去处理所有的信用卡和借记卡交易数据
“我们要花费27小时来处理每日的数据量,”Edo主管基础设施和信息系统的高级副总裁Tim Garnto说道:“所以在2013年,我们放弃了现有的基于PostgreSQL的关系型数据库系统,使用了Hadoop集群作为公司的数
- spring学习——控制反转与依赖注入
a-john
spring
控制反转(Inversion of Control,英文缩写为IoC)是一个重要的面向对象编程的法则来削减计算机程序的耦合问题,也是轻量级的Spring框架的核心。 控制反转一般分为两种类型,依赖注入(Dependency Injection,简称DI)和依赖查找(Dependency Lookup)。依赖注入应用比较广泛。
- 用spool+unixshell生成文本文件的方法
aijuans
xshell
例如我们把scott.dept表生成文本文件的语句写成dept.sql,内容如下:
set pages 50000;
set lines 200;
set trims on;
set heading off;
spool /oracle_backup/log/test/dept.lst;
select deptno||','||dname||','||loc
- 1、基础--名词解析(OOA/OOD/OOP)
asia007
学习基础知识
OOA:Object-Oriented Analysis(面向对象分析方法)
是在一个系统的开发过程中进行了系统业务调查以后,按照面向对象的思想来分析问题。OOA与结构化分析有较大的区别。OOA所强调的是在系统调查资料的基础上,针对OO方法所需要的素材进行的归类分析和整理,而不是对管理业务现状和方法的分析。
OOA(面向对象的分析)模型由5个层次(主题层、对象类层、结构层、属性层和服务层)
- 浅谈java转成json编码格式技术
百合不是茶
json编码java转成json编码
json编码;是一个轻量级的数据存储和传输的语言
在java中需要引入json相关的包,引包方式在工程的lib下就可以了
JSON与JAVA数据的转换(JSON 即 JavaScript Object Natation,它是一种轻量级的数据交换格式,非
常适合于服务器与 JavaScript 之间的数据的交
- web.xml之Spring配置(基于Spring+Struts+Ibatis)
bijian1013
javaweb.xmlSSIspring配置
指定Spring配置文件位置
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spring-dao-bean.xml,/WEB-INF/spring-resources.xml,
/WEB-INF/
- Installing SonarQube(Fail to download libraries from server)
sunjing
InstallSonar
1. Download and unzip the SonarQube distribution
2. Starting the Web Server
The default port is "9000" and the context path is "/". These values can be changed in &l
- 【MongoDB学习笔记十一】Mongo副本集基本的增删查
bit1129
mongodb
一、创建复本集
假设mongod,mongo已经配置在系统路径变量上,启动三个命令行窗口,分别执行如下命令:
mongod --port 27017 --dbpath data1 --replSet rs0
mongod --port 27018 --dbpath data2 --replSet rs0
mongod --port 27019 -
- Anychart图表系列二之执行Flash和HTML5渲染
白糖_
Flash
今天介绍Anychart的Flash和HTML5渲染功能
HTML5
Anychart从6.0第一个版本起,已经逐渐开始支持各种图的HTML5渲染效果了,也就是说即使你没有安装Flash插件,只要浏览器支持HTML5,也能看到Anychart的图形(不过这些是需要做一些配置的)。
这里要提醒下大家,Anychart6.0版本对HTML5的支持还不算很成熟,目前还处于
- Laravel版本更新异常4.2.8-> 4.2.9 Declaration of ... CompilerEngine ... should be compa
bozch
laravel
昨天在为了把laravel升级到最新的版本,突然之间就出现了如下错误:
ErrorException thrown with message "Declaration of Illuminate\View\Engines\CompilerEngine::handleViewException() should be compatible with Illuminate\View\Eng
- 编程之美-NIM游戏分析-石头总数为奇数时如何保证先动手者必胜
bylijinnan
编程之美
import java.util.Arrays;
import java.util.Random;
public class Nim {
/**编程之美 NIM游戏分析
问题:
有N块石头和两个玩家A和B,玩家A先将石头随机分成若干堆,然后按照BABA...的顺序不断轮流取石头,
能将剩下的石头一次取光的玩家获胜,每次取石头时,每个玩家只能从若干堆石头中任选一堆,
- lunce创建索引及简单查询
chengxuyuancsdn
查询创建索引lunce
import java.io.File;
import java.io.IOException;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Docume
- [IT与投资]坚持独立自主的研究核心技术
comsci
it
和别人合作开发某项产品....如果互相之间的技术水平不同,那么这种合作很难进行,一般都会成为强者控制弱者的方法和手段.....
所以弱者,在遇到技术难题的时候,最好不要一开始就去寻求强者的帮助,因为在我们这颗星球上,生物都有一种控制其
- flashback transaction闪回事务查询
daizj
oraclesql闪回事务
闪回事务查询有别于闪回查询的特点有以下3个:
(1)其正常工作不但需要利用撤销数据,还需要事先启用最小补充日志。
(2)返回的结果不是以前的“旧”数据,而是能够将当前数据修改为以前的样子的撤销SQL(Undo SQL)语句。
(3)集中地在名为flashback_transaction_query表上查询,而不是在各个表上通过“as of”或“vers
- Java I/O之FilenameFilter类列举出指定路径下某个扩展名的文件
游其是你
FilenameFilter
这是一个FilenameFilter类用法的例子,实现的列举出“c:\\folder“路径下所有以“.jpg”扩展名的文件。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
- C语言学习五函数,函数的前置声明以及如何在软件开发中合理的设计函数来解决实际问题
dcj3sjt126com
c
# include <stdio.h>
int f(void) //括号中的void表示该函数不能接受数据,int表示返回的类型为int类型
{
return 10; //向主调函数返回10
}
void g(void) //函数名前面的void表示该函数没有返回值
{
//return 10; //error 与第8行行首的void相矛盾
}
in
- 今天在测试环境使用yum安装,遇到一个问题: Error: Cannot retrieve metalink for repository: epel. Pl
dcj3sjt126com
centos
今天在测试环境使用yum安装,遇到一个问题:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。
&n
- 单例模式
shuizhaosi888
单例模式
单例模式 懒汉式
public class RunMain {
/**
* 私有构造
*/
private RunMain() {
}
/**
* 内部类,用于占位,只有
*/
private static class SingletonRunMain {
priv
- Spring Security(09)——Filter
234390216
Spring Security
Filter
目录
1.1 Filter顺序
1.2 添加Filter到FilterChain
1.3 DelegatingFilterProxy
1.4 FilterChainProxy
1.5
- 公司项目NODEJS实践0.1
逐行分析JS源代码
mongodbnginxubuntunodejs
一、前言
前端如何独立用nodeJs实现一个简单的注册、登录功能,是不是只用nodejs+sql就可以了?其实是可以实现,但离实际应用还有距离,那要怎么做才是实际可用的。
网上有很多nod
- java.lang.Math
liuhaibo_ljf
javaMathlang
System.out.println(Math.PI);
System.out.println(Math.abs(1.2));
System.out.println(Math.abs(1.2));
System.out.println(Math.abs(1));
System.out.println(Math.abs(111111111));
System.out.println(Mat
- linux下时间同步
nonobaba
ntp
今天在linux下做hbase集群的时候,发现hmaster启动成功了,但是用hbase命令进入shell的时候报了一个错误 PleaseHoldException: Master is initializing,查看了日志,大致意思是说master和slave时间不同步,没办法,只好找一种手动同步一下,后来发现一共部署了10来台机器,手动同步偏差又比较大,所以还是从网上找现成的解决方
- ZooKeeper3.4.6的集群部署
roadrunners
zookeeper集群部署
ZooKeeper是Apache的一个开源项目,在分布式服务中应用比较广泛。它主要用来解决分布式应用中经常遇到的一些数据管理问题,如:统一命名服务、状态同步、集群管理、配置文件管理、同步锁、队列等。这里主要讲集群中ZooKeeper的部署。
1、准备工作
我们准备3台机器做ZooKeeper集群,分别在3台机器上创建ZooKeeper需要的目录。
数据存储目录
- Java高效读取大文件
tomcat_oracle
java
读取文件行的标准方式是在内存中读取,Guava 和Apache Commons IO都提供了如下所示快速读取文件行的方法: Files.readLines(new File(path), Charsets.UTF_8); FileUtils.readLines(new File(path)); 这种方法带来的问题是文件的所有行都被存放在内存中,当文件足够大时很快就会导致
- 微信支付api返回的xml转换为Map的方法
xu3508620
xmlmap微信api
举例如下:
<xml>
<return_code><![CDATA[SUCCESS]]></return_code>
<return_msg><![CDATA[OK]]></return_msg>
<appid><