- 2020-01-27
枫香居士
夜已深,冷风徐徐如斯。触动指尖,是一丝冰凉!眸中有月,月中有你,于漆黑的夜空中安静如水,清心如荷。于灿烂的群星中书写阴晴圆缺,清冷,夺目!于厚黑的云层中若隐若现,朦胧,若梦!我该怎么办呢?你曾是我心中的一颗莲,在浮华的红尘中修得一方净土!你也曾是我心中的月,悲欢离合是你,阴晴圆缺也是你!你说,那不是我!其实那才是我!想笑的时候便笑,想哭的时候便哭,想找个人说说话便去找你!只是成年人的烦恼从前的你又
- 2020-01-27
油顶屠宰场
我扭不过头看我的尾巴,听说它卷卷的我没从屠宰场逃走,也没找见你,你把我丢掉了,也没给我定位,我找不见你
- 2020-01-27
苇草潇湘
一直在想:现在,我的选择是对的吗?当下,生活总是有许多突如其来,猝不及防,人心惶惶,我有些后悔,有些自责,我真想尽自己的一份力,去帮助他们,帮助我可敬的祖国。科研是一条路,物理是一条路,而我偏偏选了最难,看上去最无用的一条路……我能做些什么?我有许些悔意,然而生活不允许我反悔重来。总有那么些问题是该看得透彻。选择安逸,选择轻松,那么在困难面前必然是不堪一击的,在艰难面前必然是崩析若离的……我其实也
- 2020-01-27 静默
afei_73a6
静默要聆听,先静默……(智者名言)静默,让我回到自己的中心,仿佛,稳稳地、站在一个厚实的地板上……静默,让我可以感觉到我与你的“存在”(Being)仿佛,彼此双手,扎扎实实地,握着……静默,让我不急着反应静默,让我可以好好的听你说话静默,让我得以,进入,生命的“底层”于是,我与你,有了“真实的接触”(realcontact)
- 2020-01-27
1adb31eb4c97
科比意外去世,我的第一反应居然是,你应该会很难过吧。然后就开始骂自己,这都多久了,md,怎么还想他?????
- 2020-01-27沪指年线,下降角度线;艰难的攀登
山涧清流水
在家关了几天了,每天吃饱了睡,睡醒了吃,足不出户,再不动动脑,可能会越来越傻,还是写点东东吧,免得春暖花开时变得迟钝,麻木。对于江恩角度线,我个人认为可分成上升角度线和下降角度线两种模式,可以对股价波动的时间,空间,趋势进行必要的划分。一种完美的分析体系,不管用任何一种画法,分析结果都应该一致,最少在大的层面应相同,否则就经不起推敲。上一帖用了上升角度线,本帖用下降角度线,进行相互的印证,正确与否
- 新年第一篇周复盘|2020-01-27
终身学习的小薇
昨天受到小伙伴坚持写周复盘的鼓励,本来想要马上在群里回复,自己也要开始写,又怕完不成让自己失望,想了想,还是没敢吭声。晚上睡前,默默把“写周复盘”写在了备忘录上,提醒自己今天完成。泡沫姐说:假如你现在也决定做一件事情,那就放下所有的评判,专注去做,用你的态度来说明结果。那就开始吧。这是跨年的一周。时间有时过得很慢,有时过得很快。○浑浑噩噩的时候,过得很快。○有觉察的时候,感觉经历了很多事,回头一看
- 2020-01-27做一个善良正直聪明能干的人
六安姐
巴菲特说:评价一个人时,应重点考察四项特征:善良,正直,聪明,能干。如果不具备前两项,那后面两项会害了你。很多人选择合作伙伴,都会忽视“正直善良”这一关键项。雷根也曾说:如果你正直,这比什么都重要;如果你不善良,什么也都不重要了!想想自己除了善良,好像正直不多。脑袋反应慢,所以也不够聪明。除了能比较好的照顾好家庭,事业上不是很能干。……爱人曾经说看到我喂养的一只小花猫不在了当时伤心的可怜劲他觉得我
- 2020-01-27
春香亲子成长
中文绘本:卡蜜儿。我是一个大厨师我是一个粉刷匠爷爷一定有办法大大的,小小的英文绘本:hop,hopwhereisbaby'sbellybutton英语亲子口语:早安,晚安,换衣服,换尿不湿中文游戏:自己把压面机把手装上摇一摇,拆下来又装上,摇一摇午饭前下了一小会雪,趴在窗户上看,说,(⊙o⊙)哇,好多呀,下雪了下雪了,飘呀飘呀,一片一片,落在地上,落在树上,落在公交车上,落在小汽车上。打开窗户,伸
- 2020-01-27
时间朋友的娜娜
1.最近我和刘润老师聊天,他跟我讲了一个很有趣的冷知识。他问我,为什么人类使用数字的时候,会有那么多种进制呢?最常用的是十进制,这好理解,伸出两只手掌,正好十个手指嘛,古人很容易想到十进制。2.但是还有一种常见的十二进制,这是怎么来的呢?刘润老师说,你伸出右手,用大拇指去数剩下四根手指的骨节,你会发现正好十二个,所以十二进制其实是非常好的单手计数法。3.那还有一种六十进制也很常见,这又是怎么来的呢
- 2020-01-27
奔跑的小猪_7f4c
这个新年过得最安静。今天初二,是我们送神的日子。我将时钟定在了六点十分,这个时间已经够早的了。五点多醒来,看时间还早,就看了会电视。看春晚,除夕夜那天,只顾着打麻将了,也没能将春晚看完整。这时,手机响了,是爸爸,叫吃饭,咋这早?怎么也得七点钟吧!等我和老公到的时候,香已上,饭也吃得差不多了,我吃了几个饺子,怎么也没有了昨天晚上的味道。昨天晚上包饺子的时候,孩子们饿了,说要煮几个吃吃,三个孩子,加一
- 2020-01-27
镜_a8cc
一则新闻...在短短一天不到的时间内...就迅速传遍了全世界...让全世界各地的人都陷入了悲伤与哀叹的精神中...如传染病般...且比一般的传染病传染的更快...可以说...这是一种精神传染...不受时间与空间限制的传染...因而...看到这则新闻时...我看到...精神也可以是一种传染病...就比如说...过去...有人说我...说我如果有抑郁症...那可能也是遗传的...这也就是说...除了人
- 2020-01-27
鹿阿暄
很多人说,现在拥有了曾经以为的幸福,有手机,有网络,吃了睡,睡了玩,不到三天就受不了验证了一句话:得不到的总是羡慕的。同样,为什么会说“世上没有感同身受”,因为没有经历过,是不会明白的。很多人总会因为别人的感受,去放弃自己想尝试的事,说话总说:"他们说……"可是他们是谁呢?
- 每日一语 2020-01-27
但丁的学习笔记
Buthasthelastwordbeensaid?Isallhopetobelost?Isthedefeatfinal?No!(CharlesDeGaulle,Frenchpresident)但是难道败局已定,胜利已经无望?不,不能这样说!(法国总统戴高乐.C.)
- 《异国阴宅 His House(2020)》高清百度云网盘
鱼_b2c4
如何获取?点击个人头象看个人介绍异国阴宅HisHouse(2020)导演:RemiWeekes编剧:FelicityEvans/TobyVenables/RemiWeekes主演:马特·史密斯/凯文·莱恩/哈维尔·博泰特/埃米莉·塔夫/索佩·迪瑞苏/更多...类型:剧情/惊悚/恐怖制片国家/地区:英国语言:英语上映日期:2020-01-27(圣丹斯电影节)/2020-10-30(英国)又名:他的家
- 2020-01-27
以梦为马所到所栖
红色的小鸟顶着红色的太阳马车碾碎了去年秋天的叶子玫瑰对风摇着头欢迎再次回头的远方的浪子星星,火焰,和酒或者一匹马的骨头或者足够远的路让我赤裸把我扬起我要麦子里灰尘般的温暖像可以珍藏回味的老酒在山崖下睡眠干涸像回忆和消失一样自然说谎的永远在雨里醉倒生了病继续引诱好奇的眼睛像你给我的臆想的疲倦的爱情沉默的心脏我将给孤独的泉水里孤独的鱼放入一个竹筐的屋子你把我和鱼一起提起和煦的阳光让昨天的我变得聪明智慧
- 2020-01-27
偷星女孩wsx
今天我和汪海燕都不敢出门了,在家待着看电视,因为我在快手看见了很多发生疫情肺炎的,所以我和汪海燕就不出门,上厕所还非要带个口罩,嘿嘿(⑉••⑉)‥今天还来了许多客人,都是来拜年来的,昨天那些人来的时候拿了很多牛奶等,我们等他们走之后我们把八宝粥拿出来吃,还是抵挡不住诱惑,哈哈,贪吃鬼……晚上我和汪米君在打着玩,我说:“黑虎掏心”他说:“你是二百五”我又说:“螳螂捕蝉”他又说:“你是王八”这可把我气
- 2020-01-27
blackmask
小草渴求雨露,花儿盼望阳光,地球静候彗星我偷偷的看着你。雨露滋润小草阳光温暖花朵。彗星亲吻地球,我远远的看着你。小草承接雨露,花儿祝福阳光,地球告别彗星。我默默的看着你。
- 2020-01-27
喵星人N
告别了不太友好的2019,满心欢喜期待2020的到来,可能是因为要到本命年的缘故,也可能是因为期待的事情太多·······本以为会迎来一个善意的2020,可是就在我们沉浸在放假休息,聚餐,玩耍的时候,冠状病毒来了,打破了一切,调侃说终于到了躺着也可以为国家做贡献的时候了。然而最忙的就是白衣天使,自己曾经一毕业的第一份工作也是护士,体会到了里边的心酸以及病人的不理解,但是在这种时刻还是医务人员冲在最
- 2020-01-27
唐猴沙珠
今天我看了电影《中国机长》它讲了四川航空3U8633航班机组执行航班任务时,在万米高空突遇驾驶舱风挡玻璃爆裂脱落、座舱释压的极端罕见险情。机组成员凭借着极少仍在工作状态的仪器,艰难地进行手动驾驶。座舱释压发生时,乘务组立即执行释压处置程序,指导旅客使用氧气面罩,并训练有素地喊出:“请大家相信我们,相信我们有信心、有能力带领大家安全落地。”生死关头,英雄机组的正确处置,确保了机上全体人员的生命安全,
- 2020-01-27
灿仓
明月清聆,在醒已是晚风栖来可故人不在,自己也堕陨分裂越来越喜欢,在白天昏睡夜里找不到睡着的理由在梦和孤独终老所中看你在雨忆时初次凝眸你在明天和喜欢去忘你开始不在明白和明天的希望开始,因为一些理由逃避逃到自己的床上,不管任何事,睡个一下午到最后,也只是在黑暗下写下,这自皑的秋雨愿,在到来的雨季分裂日常……我记得我的丫头常说我有点傻,傻的可爱我记得我的损友常说我有点疯,疯到痴情我记得我的亲人常说我有点
- 2020-01-27 至02-01第五周
有些路啊得一个人走
生活做了什么煲莲藕鸡汤经典咏流传-第三季吉他-练习星语星愿三和弦,小星星-七音阶完成三组leg&core共30分钟的练习收获什么一碗鸡汤:煲鸡汤的鸡汤太油,没胃口;枸杞烂了,太难看一种思考:经典咏流传是央视的一档文化类节目。通过歌曲的形式,传唱经典,传承文化央视四大才子(康辉、尼格买提、撒贝宁、朱广权)唱的《岳阳楼记》中有“先天下之忧而忧,后天下之乐而乐”这爱国爱民的精神,有“不以物喜,不以己悲”
- 2020-01-27
子非鱼_1e3f
那是2018年,女儿考上重点私立中学,那需要很多钱,我很想满足女儿心愿,但是由于家里还有其他开销,又有年迈双亲,感觉压力很大,自己工作做了六七年工资都不高得想其他出路,朋友在做金融担保工资不错很能吸引人,我决定去试试,我想只要真能挣那么多钱让我做啥,再辛苦也不怕,我信心满满去面试,公司全是九零后八零后都少,但经理和主任对我很满意说我是好苗子,眼看这些九零后业务特熟我无从下手,主任也是九零后东北小伙
- 2020-01-27
5511808768be
我最喜欢的一本课外书——《安徒生童话》《安徒生童话》它立足于现实生活,充满对人类美好的愿望,这些作品的艺术魅力震撼了世界文坛,揭开了世界文学史上童话创作的新篇章。如《丑小鸭》中的它一生下来,因为生得很丑,人们和动物们都不喜欢它。这只丑小鸭通过自己的努力最好变成了一只美丽的天鹅,正是这个故事告诉我们无论做什么事,不要怕自己笨,只要用心去做,就一定能成功的。可以这么说,《安徒生童话》犹如一朵鲜花,绽放
- 2020-01-27
泰山月色
这是悲惨的一天这是悲惨的一天,病毒的肆虐,已让这个春节多么惨淡,清早的噩耗,尤其叫人悲伤,科比死了,还有他那十四岁的女儿。人世间厄运,莫过于此。你曾带给我们多少欢乐和力量,如今飘然而去,没有一声告别,只有往日的身影,仍在脑海里回荡,愿天堂的你永不孤单
- 2020-01-27
zwmkzwmk
从梦中醒来,看见了窗户撒进来的金色光芒晃晃脑袋,醉意已经消尽,到阳台上,看着余晖,心情总算好些广播里播报着:目前确诊2835例肺炎患者,疑似病例的有5794例,死去的已经81例、、、、、、这个春节过的太过憋闷,早上新闻一个四川的大姐公交占座还理直气爽,飞扬跋扈、、、、、、前天还看到有人直播自己吃蝙蝠、、、、、、一旦人们失去良知(这个良知无关道德)世界将是怎样的一个混乱啊当然还有,凌晨的科比和他女儿
- 2020-01-27
尹保乐
广宗县弘越金属加工厂产品购销合同供方:广宗县弘越金属加工厂需方:邢台市锐林自行车制造厂签订日期:2020年1月6日
- 2020-01-27
春雨田
本章讲了血缘和地缘,以及它们的关系。血缘是人和人的权利和义务根据亲属关系来决定。血缘,严格说来,只指由生育所发生的亲子关系。血缘是我们身份社会的基础,它来源于生育和婚姻,具有以下特性:1.稳定性(结构静止)2.缺乏变动(安稳的既存秩序)3.决定个人地位,不容个人选择4.无法竞争,不易藏没和歪曲血缘社会就是想用生物上的新陈代谢作用――生育,去维持社会结构的稳定。用血缘来分配职业、身份、财富,在我们今
- 2020-01-27 工作,工作,犯难的工作
cllian119
假期除了每日陪儿子,收拾家务外,还有个萦绕于心头,想起来就不开心的事情,就是正月初十就又要上课了,儿子还在身边,我却不能全身心地和他整作业,也不能全身心地整工作,心烦得很。昨日想到缓解焦虑最好的方法就是每日备课一小时,马上心情好多了。今日早上却收到消息,正月初十,线上授课。。。。。心情又是很糟。终于想到了解决方案,把嘟嘟送到水木清华和爷爷奶奶在一起。我自己在亚洲城完成我的授课。心情终于恢复。工作还
- 2020-01-27
南无涯
无论在任何领域,哪怕分的再细的领域你都不可能是最好的,也不会是最差的。所以你没有自负的理由,也没有自卑的借口。凡事不求全,求全本是一种错误心里。事不求全,人不求精,利不求高,合理就好。买入不可能是最低价,卖出也达不到最高价。不要执着,放下执念,才能看的更远。不要自作聪明,人最怕自作聪明,又最得意于此。想要钓鱼就要像鱼一样去思考。凡事,预则立,不预则废。不患无位,患何以立。心中牢记梦想的位置,它高于
- 解线性方程组
qiuwanchi
package gaodai.matrix;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner scanner = new Sc
- 在mysql内部存储代码
annan211
性能mysql存储过程触发器
在mysql内部存储代码
在mysql内部存储代码,既有优点也有缺点,而且有人倡导有人反对。
先看优点:
1 她在服务器内部执行,离数据最近,另外在服务器上执行还可以节省带宽和网络延迟。
2 这是一种代码重用。可以方便的统一业务规则,保证某些行为的一致性,所以也可以提供一定的安全性。
3 可以简化代码的维护和版本更新。
4 可以帮助提升安全,比如提供更细
- Android使用Asynchronous Http Client完成登录保存cookie的问题
hotsunshine
android
Asynchronous Http Client是android中非常好的异步请求工具
除了异步之外还有很多封装比如json的处理,cookie的处理
引用
Persistent Cookie Storage with PersistentCookieStore
This library also includes a PersistentCookieStore whi
- java面试题
Array_06
java面试
java面试题
第一,谈谈final, finally, finalize的区别。
final-修饰符(关键字)如果一个类被声明为final,意味着它不能再派生出新的子类,不能作为父类被继承。因此一个类不能既被声明为 abstract的,又被声明为final的。将变量或方法声明为final,可以保证它们在使用中不被改变。被声明为final的变量必须在声明时给定初值,而在以后的引用中只能
- 网站加速
oloz
网站加速
前序:本人菜鸟,此文研究总结来源于互联网上的资料,大牛请勿喷!本人虚心学习,多指教.
1、减小网页体积的大小,尽量采用div+css模式,尽量避免复杂的页面结构,能简约就简约。
2、采用Gzip对网页进行压缩;
GZIP最早由Jean-loup Gailly和Mark Adler创建,用于UNⅨ系统的文件压缩。我们在Linux中经常会用到后缀为.gz
- 正确书写单例模式
随意而生
java 设计模式 单例
单例模式算是设计模式中最容易理解,也是最容易手写代码的模式了吧。但是其中的坑却不少,所以也常作为面试题来考。本文主要对几种单例写法的整理,并分析其优缺点。很多都是一些老生常谈的问题,但如果你不知道如何创建一个线程安全的单例,不知道什么是双检锁,那这篇文章可能会帮助到你。
懒汉式,线程不安全
当被问到要实现一个单例模式时,很多人的第一反应是写出如下的代码,包括教科书上也是这样
- 单例模式
香水浓
java
懒汉 调用getInstance方法时实例化
public class Singleton {
private static Singleton instance;
private Singleton() {}
public static synchronized Singleton getInstance() {
if(null == ins
- 安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
AdyZhang
apachehttp server
安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
每次到这一步都很小心防它的端口冲突问题,结果,特意留出来的80端口就是不能用,烦。
解决方法确保几处:
1、停止IIS启动
2、把端口80改成其它 (譬如90,800,,,什么数字都好)
3、防火墙(关掉试试)
在运行处输入 cmd 回车,转到apa
- 如何在android 文件选择器中选择多个图片或者视频?
aijuans
android
我的android app有这样的需求,在进行照片和视频上传的时候,需要一次性的从照片/视频库选择多条进行上传
但是android原生态的sdk中,只能一个一个的进行选择和上传。
我想知道是否有其他的android上传库可以解决这个问题,提供一个多选的功能,可以使checkbox之类的,一次选择多个 处理方法
官方的图片选择器(但是不支持所有版本的androi,只支持API Level
- mysql中查询生日提醒的日期相关的sql
baalwolf
mysql
SELECT sysid,user_name,birthday,listid,userhead_50,CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')),CURDATE(), dayofyear( CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')))-dayofyear(
- MongoDB索引文件破坏后导致查询错误的问题
BigBird2012
mongodb
问题描述:
MongoDB在非正常情况下关闭时,可能会导致索引文件破坏,造成数据在更新时没有反映到索引上。
解决方案:
使用脚本,重建MongoDB所有表的索引。
var names = db.getCollectionNames();
for( var i in names ){
var name = names[i];
print(name);
- Javascript Promise
bijian1013
JavaScriptPromise
Parse JavaScript SDK现在提供了支持大多数异步方法的兼容jquery的Promises模式,那么这意味着什么呢,读完下文你就了解了。
一.认识Promises
“Promises”代表着在javascript程序里下一个伟大的范式,但是理解他们为什么如此伟大不是件简
- [Zookeeper学习笔记九]Zookeeper源代码分析之Zookeeper构造过程
bit1129
zookeeper
Zookeeper重载了几个构造函数,其中构造者可以提供参数最多,可定制性最多的构造函数是
public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, long sessionId, byte[] sessionPasswd, boolea
- 【Java命令三】jstack
bit1129
jstack
jstack是用于获得当前运行的Java程序所有的线程的运行情况(thread dump),不同于jmap用于获得memory dump
[hadoop@hadoop sbin]$ jstack
Usage:
jstack [-l] <pid>
(to connect to running process)
jstack -F
- jboss 5.1启停脚本 动静分离部署
ronin47
以前启动jboss,往各种xml配置文件,现只要运行一句脚本即可。start nohup sh /**/run.sh -c servicename -b ip -g clustername -u broatcast jboss.messaging.ServerPeerID=int -Djboss.service.binding.set=p
- UI之如何打磨设计能力?
brotherlamp
UIui教程ui自学ui资料ui视频
在越来越拥挤的初创企业世界里,视觉设计的重要性往往可以与杀手级用户体验比肩。在许多情况下,尤其对于 Web 初创企业而言,这两者都是不可或缺的。前不久我们在《右脑革命:别学编程了,学艺术吧》中也曾发出过重视设计的呼吁。如何才能提高初创企业的设计能力呢?以下是 9 位创始人的体会。
1.找到自己的方式
如果你是设计师,要想提高技能可以去设计博客和展示好设计的网站如D-lists或
- 三色旗算法
bylijinnan
java算法
import java.util.Arrays;
/**
问题:
假设有一条绳子,上面有红、白、蓝三种颜色的旗子,起初绳子上的旗子颜色并没有顺序,
您希望将之分类,并排列为蓝、白、红的顺序,要如何移动次数才会最少,注意您只能在绳
子上进行这个动作,而且一次只能调换两个旗子。
网上的解法大多类似:
在一条绳子上移动,在程式中也就意味只能使用一个阵列,而不使用其它的阵列来
- 警告:No configuration found for the specified action: \'s
chiangfai
configuration
1.index.jsp页面form标签未指定namespace属性。
<!--index.jsp代码-->
<%@taglib prefix="s" uri="/struts-tags"%>
...
<s:form action="submit" method="post"&g
- redis -- hash_max_zipmap_entries设置过大有问题
chenchao051
redishash
使用redis时为了使用hash追求更高的内存使用率,我们一般都用hash结构,并且有时候会把hash_max_zipmap_entries这个值设置的很大,很多资料也推荐设置到1000,默认设置为了512,但是这里有个坑
#define ZIPMAP_BIGLEN 254
#define ZIPMAP_END 255
/* Return th
- select into outfile access deny问题
daizj
mysqltxt导出数据到文件
本文转自:http://hatemysql.com/2010/06/29/select-into-outfile-access-deny%E9%97%AE%E9%A2%98/
为应用建立了rnd的帐号,专门为他们查询线上数据库用的,当然,只有他们上了生产网络以后才能连上数据库,安全方面我们还是很注意的,呵呵。
授权的语句如下:
grant select on armory.* to rn
- phpexcel导出excel表简单入门示例
dcj3sjt126com
PHPExcelphpexcel
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Brows
- 美国电影超短200句
dcj3sjt126com
电影
1. I see. 我明白了。2. I quit! 我不干了!3. Let go! 放手!4. Me too. 我也是。5. My god! 天哪!6. No way! 不行!7. Come on. 来吧(赶快)8. Hold on. 等一等。9. I agree。 我同意。10. Not bad. 还不错。11. Not yet. 还没。12. See you. 再见。13. Shut up!
- Java访问远程服务
dyy_gusi
httpclientwebservicegetpost
随着webService的崛起,我们开始中会越来越多的使用到访问远程webService服务。当然对于不同的webService框架一般都有自己的client包供使用,但是如果使用webService框架自己的client包,那么必然需要在自己的代码中引入它的包,如果同时调运了多个不同框架的webService,那么就需要同时引入多个不同的clien
- Maven的settings.xml配置
geeksun
settings.xml
settings.xml是Maven的配置文件,下面解释一下其中的配置含义:
settings.xml存在于两个地方:
1.安装的地方:$M2_HOME/conf/settings.xml
2.用户的目录:${user.home}/.m2/settings.xml
前者又被叫做全局配置,后者被称为用户配置。如果两者都存在,它们的内容将被合并,并且用户范围的settings.xml优先。
- ubuntu的init与系统服务设置
hongtoushizi
ubuntu
转载自:
http://iysm.net/?p=178 init
Init是位于/sbin/init的一个程序,它是在linux下,在系统启动过程中,初始化所有的设备驱动程序和数据结构等之后,由内核启动的一个用户级程序,并由此init程序进而完成系统的启动过程。
ubuntu与传统的linux略有不同,使用upstart完成系统的启动,但表面上仍维持init程序的形式。
运行
- 跟我学Nginx+Lua开发目录贴
jinnianshilongnian
nginxlua
使用Nginx+Lua开发近一年的时间,学习和实践了一些Nginx+Lua开发的架构,为了让更多人使用Nginx+Lua架构开发,利用春节期间总结了一份基本的学习教程,希望对大家有用。也欢迎谈探讨学习一些经验。
目录
第一章 安装Nginx+Lua开发环境
第二章 Nginx+Lua开发入门
第三章 Redis/SSDB+Twemproxy安装与使用
第四章 L
- php位运算符注意事项
home198979
位运算PHP&
$a = $b = $c = 0;
$a & $b = 1;
$b | $c = 1
问a,b,c最终为多少?
当看到这题时,我犯了一个低级错误,误 以为位运算符会改变变量的值。所以得出结果是1 1 0
但是位运算符是不会改变变量的值的,例如:
$a=1;$b=2;
$a&$b;
这样a,b的值不会有任何改变
- Linux shell数组建立和使用技巧
pda158
linux
1.数组定义 [chengmo@centos5 ~]$ a=(1 2 3 4 5) [chengmo@centos5 ~]$ echo $a 1 一对括号表示是数组,数组元素用“空格”符号分割开。
2.数组读取与赋值 得到长度: [chengmo@centos5 ~]$ echo ${#a[@]} 5 用${#数组名[@或
- hotspot源码(JDK7)
ol_beta
javaHotSpotjvm
源码结构图,方便理解:
├─agent Serviceab
- Oracle基本事务和ForAll执行批量DML练习
vipbooks
oraclesql
基本事务的使用:
从账户一的余额中转100到账户二的余额中去,如果账户二不存在或账户一中的余额不足100则整笔交易回滚
select * from account;
-- 创建一张账户表
create table account(
-- 账户ID
id number(3) not null,
-- 账户名称
nam