- 2018-05-29
新澜
第二课分享诚敬组:林芳这节课讲的家庭教育的根基一一孝道,让我一次次感动的落泪,这里面包含了很多,有对孝道的更深层次的了解,有对自己做的不足的地方的惭愧,有对几位大孝之人的敬佩,一句“父母在,家就在”,让我的心总是揪着。我自认为还很孝顺的,无论是对待自己的父母,还是公婆,都尽心尽力的,可学习了才知道这些都远远不够的,首先,在怡吾色,柔无声这点,我就做的不好,向班主任说的,对公婆很恭敬,可对自己的父母
- 2018-05-29
李丁梅
今天一早起来决定换个心态来面对先生,有几次毛火起来,及时扑灭。下午的工作会议让我对自己无语。今晚好好反省.
- 2018-05-29
YU不忘初心
i=0forainrange(1,5):forbinrange(1,5):forcinrange(1,5):if(a!=b)and(b!=c)and(c!=a):print('%d,%d,%d'%(a,b,c))i=i+1print('第%i个数字'%i)9
- 2018-05-29
61faa0607dc9
图片发自App最近匡威197s的帆布鞋在时尚穿搭博主的微博上大火。今天小编也是刚拿到了心爱已久的姜黄色1970s,很早之前就看中这个颜色啦。由于我的匡威实在很多,所以迟迟没有下手。但今天看到之后简直不要太惊艳啊!超级的美好吗!后悔没有早点下手,不然我可以早早穿上浪起来啦~首先,姜黄色本身就会很显白。无论你是白皮还是黄皮穿上都会显白十个度,所以必须入手呀!而且姜黄色也很流行,衣服什么的出的姜黄色都很
- 2018-05-29
章孝萍
2.18.5.28周一复盘Days168章孝萍新的一周,新的开始!曾经读到过这样一句话,大胆地写下你的梦想,一不小心实现了呢?是啊,写写又花不了多少精力和财力的,干嘛不写呢?假如一个人没有这方面的认知,真的连写出梦想的勇气都没有的,我深有感受。后来通过不断的学习,思想的迭代更新,逐渐才有所提高。抱着冷不丁实现了的好奇心,三年前我写下了人生的101个目标,其中一个阶段性目标就是学一样乐器,当时我向往
- 2018-05-29
春风化雨闫
感恩父母养育之恩!感恩天地万物滋养!感恩公公婆婆身体健康!感恩爱人和孩子他们两个都是来度我的菩萨!上天将降大任于斯人也,必先苦其心志,劳其筋骨,饿其体肤。我离这一步还差得远呢。但是我已经开始慢慢觉醒,我会超越梦想的!感恩朋友邀请我参加她们的分享会,我也给她们带了自己做的酵素。感恩朋友和我的沟通和交流!感恩今天所有的遇见!
- 2018-05-29
京心达张秀宝
5月29号张秀宝日精进:今天算了一下业绩,还没有完成任务,没有上个月好呢!这个月就剩下两天,一定要好好干,不要掉以轻心,月底冲刺嘛!
- 2018-05-29
WT小晖
姓名:张彩晖公司:科时电子(惠州)有限公司365期感谢2组学委【日精进打卡第54天】【知~学习】1、背诵《六项精进》大纲0遍2、《大学》1遍3、匠人精神经典名句分享1、任何成功,都是厚积薄发,多年苦修换来的,不怕走得慢,只怕不开始。【行~实践】一、修身:1、坚持早餐2、坚持每周三次面膜3、坚持早睡早起:晚11:30前睡觉,早6:30起床二、齐家:1、接宝宝放学,一起买菜三、建工:1、将报价工作进行
- 2018-05-29
顾春阳
姓名顾春阳公司扬州市方圆建筑有限公司打卡第196天【知~学习】《六项精进》5遍共650遍《大学》5遍共636遍【经典名句分享】我们生在一个最好的时代也是一个最坏的时代【行~实践】一、修身:(对自己个人)1.京瓷哲学二、齐家:(对家庭和家人)关心家里情况与老婆沟通三、建功:(对工作)1.出差去赤峰{积善}:发愿从2018年3月18日起今日1善,累计69善。【省~觉悟】1.人有时候不要给自己莫名的增加
- 2018-05-29
旦旦日记
看完电影,打开手机里的12306,准备碰碰运气,看看有没有票,有票的话,就可以回家了。一搜,硬卧一张,竟然还有,喜出望外,就这一张票了。于是赶紧把它定了,心里想着,坐上一夜的火车,第二天早上就能到家了,多好。订完票后,先和老大哥说了下,接着再和另外一个朋友说下,因为这个朋友准备喊我们晚上去他家吃饭的,昨天出差去了,没在家,说今天回来。和他们都说妥了之后,我和东东再折返到他家,拿上我的包,开始往车站
- 2018-05-29
伟_08cf
日精进打卡第69天】【知~学习】《六项精进》1遍共129遍《大学》1遍共108遍••••••【经典名句分享】遇事不怕事刚好事上练【行~实践】一、修身:(对自己个人)1、健身跑步二、齐家:(对家庭和家人)1、给老婆发微信给妈妈姐姐打电话三、建功:(对工作)1、敢于创新有错既改{积善}:发愿从2018年3月18日起一年内365件善事。今日1善,累计76善。【省~觉悟】1、不要有感性的烦恼感悟此话的真谛
- 2018-05-29
张景_b55f
姓名:张景公司:扬州方圆建筑有限公司363期(哈尔滨)《六项精进》“谦虚二组”【日精进打卡第66天】【知~学习】背诵《六项精进》5遍背诵《大学》5遍共计610遍【经典名句分享】只要认真的为自己活过,只要为生命中重要的人,努力奋斗过,这本身已是一种完美。【行~实践】一、修身:默背《六项精进》五遍默背《大学》五遍微信步数:10000二、齐家:与父母视频和女友聊天三、建功:淀粉车间A区放柱立线,放梁线A
- 2018-05-29
雨落圆荷
《请茶歌》是一首著名的红色歌曲。我听过有朱逢博、葛军、李谷一、张也、吕薇五个演唱版。平心而论,朱逢博演唱版最完美,声音甜美深情,行腔跌宕有致,细节处理很细致又有起伏,总体听来叙事和抒情完美融合。葛军演唱版总体大方向感情对,但细节就不如朱逢博老师处理得到位,“井冈山的茶叶甜又香”这句朱逢博老师是把声音放轻了点,听起来很轻柔又深情,而葛军明显太冲了。朱逢博老师前段后段有对比,而葛军是一气贯注,后面也是
- 2018-05-29
王玉笙
清晨,第一缕阳光照进我的窗户,使我不经意间想起远在异乡的你。你的眉目之间,锁着我的爱怜,你的唇齿之间,锁着我的思念,你的脚步移动,左右我的视线,读你千遍也不厌倦。想你的日子,彻夜难眠,想你的夜里,无数的思念,想你的感觉,清香且富有高贵眼神,想你。在外打拼多年,为了什么,也就是为了生活,生活在繁华似锦的现代城市,已离不开钱,所以得拼命地赚钱,为了满足自己的心,也为了家里的事,上学,走亲戚,为了满足你
- 2018-05-29
415bac0a2364
第一章无悔青春写下的字划下的伤抹不掉的思念解不开的千千结一片落叶的飘零谁人识得它的模样它曾经在春天与花相伴它曾经在夏日托起绿荫它也会在冬天同雪长眠鸟儿在寻找冬天温暖的归宿人们看见了无数的感伤每一次毕业的旅行就像鸟儿的迁徙停下的不是归途而是中转站母校是一棵树毕业生就像一片落叶秋天是落叶的季节夏天是毕业的季节落叶有秋风相送叶有多轻风就送走多远人有多少分离就有多长借一支笔给你不用还只要还能相遇就不会忘记
- 2018-05-29
牛筋面机厂家
牛筋面机厂家@牛筋面机厂家济南@方牛筋面机厂家厂家供应辣条机@河南辣条机@辣条机厂家牛筋面机厂家@河北牛筋面机厂家@牛筋面机厂家直销牛筋面机厂家技术领先,质量第一,优秀的质量,完美的设计,让机械生产的牛筋面机厂家成为本年度最好的牛筋面机厂家,高产高效,低耗节约,是绿色生产机械的代表。使用方法面的调配1、面团的干、湿度要适中,每百斤面需加水50斤左右。2、根据实际情况可加入适量的食盐,混合搅
- 2018-05-29 从《王凤雅小朋友之死》事件引发的思考
铁血尖刀
【事件】近日,自媒体文章《王凤雅小朋友之死》成为了舆论焦点。文章质疑一对夫妻疑利用重病幼女,骗取网友15万元捐款后,不带女儿去治病,致其死亡。并称,在女孩患病期间,家属曾带其哥哥前往北京治疗唇腭裂,质疑家属拿捐款“弃女救子”。近日,该事件迎来反转,据媒体和警方核实,不存在“诈捐”。在某平台上的募捐金额并非15万,而是约3.6万元,募捐款项全部用于治疗王凤雅疾病,其家人也没有虐待小孩。当事人表示,将
- 2018-05-29
我是一只快乐的猪
【两面镜子】20180529,D002碎片时间背唐诗渔歌子,终于知道了斜风细雨念xie,可是今天第一句开头怎么也想不起来,后三句记住了。昨天给娃指读了杜鲁嘟嘟一本书,现在指读书没意见了,绘本还不知道怎么聊只知道读,刚把群精华、试听和第一节课听完,继续听课。
- 2018-05-29吃的,喝的
雀岛札记
上海风味生煎包很好吃,微甜,汁水丰厚,讲究吃法。姐姐带我去的台东店铺比较实惠,环境也好。醉蟹钳。夏季啤酒好搭档。花蛤:简单易做,且美味。牛排:这个月的初尝试,第一次煎的有7成熟,觉得有些生,第二次直接9成熟,黑胡椒口味,简单易做,还是肉食。腊肠;简直是居家必备,配意面,配煎蛋,下饭开胃。肉冻;接受无能东北锅包肉;酸甜口味,纯肉片,不喜欢炖鸡爪:不喜欢,不觉得美味,也没多些肉,不知道兴趣点在哪即墨老
- 2018-05-29 Linux time 命令探索
小郑的学习笔记
我发现在跑一些大程序的过程中,有必要计算一下服务器跑的时间和cpu时间,这样可以帮助我们更加好的了解服务器的硬件配置和程序pipline的设置,这里就要用到time这一个命令。其实只要在命令行前面加上time就可以了time比如说举个例子跑完这个fastqc之后看下面的时间简单的说real是计算机总的用时sys是cpu核时具体的细节我们可以参考这篇文章:http://man.linuxde.net
- 2018-05-29
纯粹记录
张春红网络初级十期坚持原创分享第87天20180529这个点儿子刚睡着,心里很复杂。作为妈妈清楚地知道孩子要养成早睡早起的习惯,可是妈妈没办法早睡,也就不能陪睡,儿子自然磨蹭,拖拖拉拉,辗转反侧,入睡真困难。回想一年前,有时间陪睡时20点就开始吼吼了,现在的习惯还需要矫正啊!心里又隐隐痛,妈妈分身乏术,说好的每晚一个故事呢?说好的互道晚安呢?说好的鼓励夸奖式教育呢?逼急了还不是又打又吼,一人带俩孩
- 2018-05-29
满满_e7e6
夜里辗转,不能安睡,归责于手上的玉镯,缺怎么也退不下来,没办法,涂了满手的芦荟胶,早上便束之高阁,再也不想为其所累。便想起之前带的玉兰花手链,可是从书橱到抽屉柜,从桌子上到床底下,怎么也找不到,以前不带的时候还记得经常看到,顿时,万般懊恼涌上心头,对自己的粗枝大叶无限后悔,倒不是因为多么值钱,也不是因为有特殊意义,只是因为,与我喜欢的很契合:古往今来比作女子的花有牡丹玫瑰兰花荷花等等,可是,该怎样
- 2018-05-29
TA76广新
今天TA80第一次助前瞻会议。仿佛又回到,我的TA76一阶段的学习时段。回忆起我的第一次助教电话,我对龚涛助教的体验以及当时对课程的认识。而如今,我们传承助教精神,也在为成准助教做准备:1.守住承诺。2.用觉醒的方式对照自己。(“镜子”)3.建立一个愿意冒险的范畴。4.种下为别人做贡献的种子。明天。6:00起床准备。7:00--11:30工作。12:30--14:30休息。15:00--21:30
- 2018-05-29
张蓉萍
践行三个月5月21号到8月20号实现财富目标自由轻松的实现3万元。达成目标成为鲜活的榜样影响和帮助到他人。开心的回想我好多好多过往慷慨的好种子,以及其他学友慷慨的好种子。2013年妹妹买房给了妹妹20000元在我13岁那年捡了1000元自己没有装进口袋里,而是给了我们大队村委会主任,最后归还失主。去年送出去惠能眼镜6付价值一千多元。去年送出去粮芯藻桶装5桶价值1500袋装10袋价值1900甚至超出
- 2018-05-29
秋日私语666
2018年5月29日星期二天气晴这两天天气有点热,孩子放学回家就有点烦躁,今中午回家又说热的心情不好,我和孩子说,心静自然凉,你越心情不好,你就越烦躁,越烦躁就越热,只有你静下心来,慢慢的你就不觉得热了,孩子听了我的话,慢慢的冷静了下来。孩子也有心情不好的时候,需要我们去理解他包容他。下午孩子放学回家说数学作业全做完了,还说有几道题不会去问老师了,老师给他讲了,我对他说,这就叫不耻下问,遇到不会的
- 2018-05-29链队列的实现
智障猿
#include#include#defineOK1typedefstruct{charname[20];charsno[20];structQNode*next;}QNode,*QueuePtr;typedefstruct{QueuePtrfront;QueuePtrrear;}LinkQueue;intInitQueue(LinkQueue*q)//初始化{q->front=(QueuePtr
- 2018-05-29 Allowed methods have to be iterables of strings, for example: @app.route(..., methods=...
lucasdada
Flaskfromflaskimport(Blueprint,flash,g,redirect,render_template,request,url_for)fromwerkzeug.exceptionsimportabortfromflaskr.authimportlogin_requiredfromflaskr.dbimportget_dbbp=Blueprint('blog',__name
- 2018-05-29
AnnaWellin
李光明(稻盛哲学学习会)打卡第76天姓名:李光明部门:业务部组别:利他二组【知~学习】京瓷哲学——度过美好的人生2.精益求精为伙伴尽力【行~实践】"为伙伴尽力",就是提倡助人为乐,利他。我们每个人都处于一个团体中,是群居的,是需要相互帮助,协力合作的。尤其是一个公司里,由于分工不同,起点不同,每个人员给公司带来的贡献不同。如何调动所有人的积极性,使大家团结一心,同舟共济,把公司做大做强,非常重要。
- 2018-05-29
刘昊然的女友
说白了也就这一生。短短几十年为什么不按照自己的意愿来生活。非要跟着世人的脚步过一模一样的日子。
- 2018-05-29修炼
天高地阔心飞扬
梁素红,焦点网络九期持续分享第93天(238)舞钢昨天读《建构解决之道》一书,介绍两种检核表,只是没有介绍使用的方法,今天我想用它来见证我对自己情绪的控制,就自我想了使用的方法,先就四十道题按程度不同做一下,检核自己对情绪的自控程度,其中1、当伴侣生气的时候可以等他冷静下来‘2、当开始有愤怒的表现时知道如何稳定自己3、找到一些方法让伴侣更容易并愿意告诉自己关于他的想法4、经常与伴侣讨论:如何使关系
- 解线性方程组
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