- 2017-12-25
回忆张
今天的作业很不为难,因为不知道怎么做,群主让把原图修改,并写上自己的名字我会吗?图片发自App齐天大圣在就好了,拔根毫毛就把电线杆变没了。我先看看同学们是怎么施展法术的,她们把步骤操作了,我就照做,可还是没群主修改的天衣无缝,就这样吧,期待群主讲解一下,为什么我们修改的不好!图片发自App关于昨天没交作业的原因,我还不知道该怎么总结,反正是没做,理由很多我就不一一汇报了!恳求大家原谅!群主送你一瓶
- 2017-12-25
安公
今天新疆下了好大的雪,也许也不算大,但仍然让我这个南方的异乡人,满心欢喜。窗外面茫茫一片,看不见很远的地方。屋子里面暖和的不行,后背冒出点点的汗出来。我喜欢这里的暖气,好像是和季节的赌博,在大雪纷飞的一窗之隔,享受半日的狂欢。我时常在想南方的情景,一定是已经到了大雾弥漫的清晨,也到了梧桐叶、满地湿的萧瑟时节。别人的故事里少了我的影子,不多一分的失落也不少一分意外。我喜欢每一个地方,即使他荒凉至死寂
- 2017-12-25
王成茗
姓名:王成茗日精进打卡第73天【打卡始于2017.10.12持续于2017.12.25】【知~学习】《六项精进》大纲1遍《大学》开篇1遍《干法》1.7坚持愚直地,认真地,诚实地工作《大学》第6章【今日分享】【行---实践】一、修身起心动念、行走坐卧、言谈举止践行六项精进!每天利用碎片时间背诵《六项精进》大纲和《大学》开篇。二、齐家与姥姥吃饭三、建功【长期反省】每天反省自己。【今日反省/感悟】【长期
- 2017-12-25情绪
天文向上
又一次的被情绪所影响,被不好情绪拉回到了从前。最近的工作状态有点反常,尤其是今天上午连续的处理几个纠纷,让我又回到了从前,有一种感觉,我们服务的客户怎么都是这样子啊,事情办完了就开始找问题,甚至自己的内心都有过开始放弃的想法,有一种心力憔悴难以支撑的感觉,那一刻好累。尽管内心有那么多的不情愿,可还是要面对,穿着西装陪着客户在走廊等银行领导,车接车送,好言想说,赔礼道歉,本来今天非要拿到钱的客户,最
- 小三转正
实干日志
2017-12-25晴他:“我是做项目销售的,公司主要产品是工业耗材,主要客户是富士康、比亚迪等公司,我想开发新的客户,但公司产品没有明显优势,客户一般都有稳定的供应商,不会轻易更换,我很难挤进去。”我:“做这行多久了?”他:“快一年半了。”我:“在你眼中,现在是机会多还是困难多?”他:“当然是困难多,要是机会多,肯定立马去拓展市场……”(他还想解释但被我打断了)我:“你眼中看到的全部是问题,但在
- 2017-12-25
彭克军
姓名彭克军~晋江市津麦食品有限公司【日精进打卡第59天】【知~学习】《六项精进》读0遍共163遍《大学》读0遍共117遍《经营与会计》第90页【经典名句分享】相由心生、境由心造【行~实践】一、修身:(对自己个人)明天起开始恢复运动学习《创造高收益与拓展经营》二、齐家:(对家庭和家人」分享孩子们的学习情况三、建功:(对工作)和朋友一起分享稻盛和夫的书籍{积善}:发愿从2017年10月23日起1年内7
- 2017-12-25
芝草无根
图片发自App期望孩子们你们每个人都是家里的希望其实老师收到你们的礼物很开心但是如果你们把钱拿去买文具然后好好学习以优秀的成绩报答父母老师更开心或许你们会说老师不解人情但这确实是我的想法不管怎样在这特别的日子祝你们学习进步、天天开心!加油!
- TGG 2017-12-25
辣辣小疯子
中文感悟:读17章让我想起了暑假上过的一门哈佛大学公里课《积极心理学》,也有人叫它幸福课。里面的讲师Tal在课上多次强调Yoga和Meditation(冥想)的重要性。联系这一章来看,它们的目标都是相同的:养成稳定的品格。如果说对于长生不老的追求算是古代文人们一个浪漫的理想的话,我觉得在此过程中得出的对于养生法的发现和总结就可算作一个务实的收获了。反思现代社会,虽然我相信在不久的将来人类肉体的寿命
- 2017-12-25
植尚淇
将音乐塞入耳朵,塞入心里世界向我提出的要求怎么样的要求,我都应允无理的,夺命的我都答应而我,向世界说,作为条件呢?请让我安静死去……微笑的嘴角掩饰不住生命的卑微
- 2017-12-25
喜欢一个人的
正邦集团民星药业(1)猪场健康管理培训班(第二天)图片发自App够不够帅小伙伴们,帅不帅都要点赞呦!图片发自App团队协作,无坚不摧。图片发自App这摄影师都把我拍变形了,也是没谁了。图片发自App参悟中……!图片发自App背影还是很帅滴,主要是学习,学了好多猪场管理流程。图片发自App还有舞蹈课图片发自App集体照看看哪个帅
- 2017-12-25
xiao熠nan雨滴
2017-12-25xiao熠nan雨滴2017-12-2521:46·字数202·阅读0·简记昨天去点了几个痣,留下个小血包,晚上视频,担心被爸妈发现,故意带了个眼镜还选了一个房间灯光不好的地方视频。先我爸盯着我脸看了会啥也没说,然后把手机给了我妈,她一看到我脸上的黑点,就立马追问你这个脸咋啦,怎么这样啦,我怯怯的骗她说长个了痘我给它挤了……到现在还没坦白说我点痣了。脸上有那么多痘印都没事,多了
- 2017-12-25
爱与信
孩子这几天的表现让我手足无措,情急之中给淑海老师发了微信,得到了淑海老师耐心和智慧的指导,使我的焦虑得到了舒缓。感谢这个亲子教育群对我强有力的支持,感谢淑海老师对我的耐心帮助。淑海老师还教给我简单的冥想方法,让我懂得爱是无坚不摧的,只要有坚定的信念,坚持不懈的感赏和投射,什么时候都不晚。孩子是可爱的天使,我要深深的爱她,我给她的每一份祝福她都能够感知得到的。所以我要加紧每天基本功的练习,让自己的能
- 书单|2018年的美好祝愿!
化_0706
2017-12-25中国石油大学报新年书单2018圣诞节已至2017余额已不足6天赠您一张书单去迎接元气满满的2018《乡土中国》作者:费孝通豆瓣评分:9.226岁的费孝通因丧妻之痛寄居乡下3年后出版了英文版的《江村经济》这是《乡土中国》的案例版直到1986年才被译成中文有句对他的评价是:“要了解中国,不得不读费孝通"在他逝世前几年有人问他到底属于哪个社会阶层他微笑着说:“我还是绅士,没变!”我最
- 2017-12-25
张露_王咨琪妈妈
不敢倒下,因为身后有孩子!不敢逃避,因为前面有父母!不敢生病,因为没有人照顾!不敢说累,因为没有人惯着!不敢偷懒,因为没有人给钱花!坚强,独立,是唯一的选择!寂寞的时候放首歌给自己听、伤心的时候找个角落擦擦眼泪。告诉自己这都不是事,时刻提醒自己不能倒下。一定要坚强!——致奋斗在路上的自已。
- 2017-12-25
别样景致
可不可以不想你,可不可以不让你在出现在我梦里,为什么还是红着脸,为什么还是那般羞涩。从心里说句想你了!昨天我又留下了泪,这一年陪女儿的时间实在太少了,急急忙忙的回家,抱起女儿,女儿拿起她包的两个饺子。昨天是冬至!女儿留给我的!女儿不喜欢和我通电话,也不喜欢和我视频。我知道女儿喜欢爸爸陪着她,爸爸陪着的时候,不用走路。从小到大都是抱着的!我很爱她,因为我同样深爱着另一个她。这是梦醒了,梦见你了,你又
- 2017-12-25
motivationlium
我的桌子里面好像住着许多小人,当我俯下身贴近耳朵时候,我听见里面的人在做着好多活动,他们跳舞窃窃私语,
- 领证当晚总结以往生活教训
Wisconsin0607
2017-12-25晚7:23~7:38固定日期的事务,至少提前7天调查且完备信息(材料、时间和地点)教训1:因摄影店的选择不够果断,加上未提前半个月预定拍摄日期,错过了较适宜拍摄的天气。导致拍摄期间较寒冷。教训2:因未提前7天预定米兰尊荣的结婚证件照拍摄日期,错过了1元拍摄的团购。导致拍摄效果年代感太强,仿佛不在21世纪。
- HXS-DAY2 创意拍照方式
十一Y
生活总是要充满乐趣,怎么玩才能肆意潇洒呢?用手机拍美美哒的照片,不辜负我徕卡双摄,拍出真实的美~~~·不说话,上图!!!水晶球的世界看见如此美图,立马淘宝买了一个水晶球,到了拍美美的图,周末带她游上海,来张说走就走的水晶球里的美上海。被嫌弃的无脸男此萌图是不是很想收藏在怀里呢?哈哈哈哈,又想买堆小道具啦~~~选角度,调广度,拍自己想要的美图,get新技能。so,我要拍美图2017-12-25
- 2017-12-25
张星木
图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App1.水涨船高,总体分数都涨了;2.步行者的奥拉迪波、尼克斯的波尔津吉斯潜力还是有的,但布克没有上榜不太应该;3.89分的恩比德,能否接受87分的卡佩拉和自己不到95分的新现实?4.库里和安东尼都降了,赶紧穿上连帽衫
- 2017-12-25
那天的微笑
生在一个知识就是力量,科技是第一生产力的时代,已注定了要不停的奔波劳碌追逐。这是一个日新月异向前冲的时代,似乎只需片刻的停留片刻的喘息就会掉队,独自穿越人生的荒漠是孤苦凄凉的。
- 2017-12-25电影
慕莱Moonlight
拉贝日记影片《拉贝日记》由佛罗瑞·加仑伯格执导,乌尔里奇·图克尔、丹尼尔·布鲁赫、史蒂夫·布西密、张静初和香川照之等联袂领衔主演。影片于2009年4月29日在中国内地上映。影片取材自拉贝撰写的战时日记《拉贝日记》,通过这个“中国版辛德勒”的传奇故事,再现了南京那段惊心动魄的惨烈记忆。影片从亲历者角度记录了“南京大屠杀”始末,是证实“南京”事件信息最为完整详实的史料。曾对纳粹主义深信不疑的拉贝,在战
- 2017-12-25
陆沉__
半夜被冻醒裹紧了被子懒得起来静静的眸子里沉淀的都是迷惘和彷徨开机突然震动她回了说:"要一直一直走下去啊啊啊!"当时就觉得怎么会有语气这么可爱的人啊嗯hey花花我们相认相识相知已经是第四个年头了四年说不短也道不长但思念竟一直绵延千里我还记得在那些微微发烫的午后在那些凉风习习的夜晚我们并肩就穿越了春花秋月温润四季第一次视线相撞我恍惚间看到了一泓深潭倒映出的深沉夜色只是试探就已深陷其中被黑暗吞噬又想起小
- Day 51,2017-12-25
丶Saikaka
MerryChristmas~又到了白色相簿的季节了,然而苦逼的我在圣诞节加班到现在~今天发版本,年前pc版最后一个版本了,手机版要赶下个月23号上线。今天开周会说了下后面版本的主要内容,跟发行那边怎么沟通的。今天白天就是在跑覆盖和写每日任务的案子了。需求上写的活跃度,然后我和老大都以为要做成活跃度的任务系统emmmm结果其实就是让做普通的然后目标是提升用户活跃度。。。很尴尬明天还得改一波~(其实
- 2018-03-21
吴泽轩
Marathon丨实践证明跑马拉松变年轻2017-12-25吴明吴明吱呀学语首半马第一次参加半程马拉松第一次跑这么长的距离突然发现有摄影师拍照,不知道怎么摆动作没想到马拉松会有那么多摄影师拍照如果有下次我会摆好姿势,一定要跑得帅险进2小时首全马第一次参加全程马拉松第一次跑这么长的距离经历了上次半马,这次特别注意摄影师的摄像头一看到就迎面扑上去动作姿势到位卡兹美丽的鑫镁老师在15KM补给点为我们拍了
- 2017-12-25
peterlang
走出机场,我们正盘算着如何就寝,黄老师带我们走到了一辆长车旁,与车主交谈了两三句,便对我们说:“大家把行李放上车吧,这辆车会载我们去ridley学院。”长车与光头车主
- 2017-12-25
明白的爱
2017年12月25日晴跟小姨谈话的收获1.跟随自己的内心2.想干好一件事首先自己要信任.喜欢3.跟自己的痛苦相处,不转移。穿越痛苦。
- 2017-12-25
Monsteris
图片发自App扣出水是什么东东,还要喷射的那种如何你不会聊天想学习这种聊污的技巧回复:99我告诉你怎么能够做到!
- 2017-12-25
七七复八八
萧平旌,你历经磨难,目光仍是少年今晚,《琅琊榜2》又要开虐了,老王爷“衣冠,葬王陵,遗骨,归梅岭”。萧平旌在痛失长兄之后,最终也失去了父王,虐心一轮跟着一轮,看着屏幕的普通观众都要承受不了了,更无论平旌,短短几年,从恣意江湖的少年挑起重担,成长为一名护卫黎明与江山的铮铮将军,这其中,历经多少的血与泪,终在父王的嘱托前涕泪横流。萧平旌在聆听老王爷交代后事从此,以后,这“长林”二字,便不再是他的束缚了
- 如何在Ubuntu 17.10中安装Gnome Shell扩展
Ly.Leo
装机firefoxchromeubuntushell扩展
如何在Ubuntu17.10中安装GnomeShell扩展[日期:2017-12-25]来源:Linux公社作者:鱼鱼这个快速教程将向初学者展示如何在Ubuntu17.10中安装和管理GnomeShellExtensions(GnomeShell扩展),同时使用GnomeShell作为默认的桌面环境。GnomeShellExtensions是由第三方开发人员编写的一小段代码。如果您熟悉Chrome
- 2017-12-25随笔
如何而来
无题远离闹市间,网络览河山。蓝天白云美,绿水绕山峦。温壶冲泡易,端起放下难。不得巅峰住,何堪识真仙!
- 枚举的构造函数中抛出异常会怎样
bylijinnan
javaenum单例
首先从使用enum实现单例说起。
为什么要用enum来实现单例?
这篇文章(
http://javarevisited.blogspot.sg/2012/07/why-enum-singleton-are-better-in-java.html)阐述了三个理由:
1.enum单例简单、容易,只需几行代码:
public enum Singleton {
INSTANCE;
- CMake 教程
aigo
C++
转自:http://xiang.lf.blog.163.com/blog/static/127733322201481114456136/
CMake是一个跨平台的程序构建工具,比如起自己编写Makefile方便很多。
介绍:http://baike.baidu.com/view/1126160.htm
本文件不介绍CMake的基本语法,下面是篇不错的入门教程:
http:
- cvc-complex-type.2.3: Element 'beans' cannot have character
Cb123456
springWebgis
cvc-complex-type.2.3: Element 'beans' cannot have character
Line 33 in XML document from ServletContext resource [/WEB-INF/backend-servlet.xml] is i
- jquery实例:随页面滚动条滚动而自动加载内容
120153216
jquery
<script language="javascript">
$(function (){
var i = 4;$(window).bind("scroll", function (event){
//滚动条到网页头部的 高度,兼容ie,ff,chrome
var top = document.documentElement.s
- 将数据库中的数据转换成dbs文件
何必如此
sqldbs
旗正规则引擎通过数据库配置器(DataBuilder)来管理数据库,无论是Oracle,还是其他主流的数据都支持,操作方式是一样的。旗正规则引擎的数据库配置器是用于编辑数据库结构信息以及管理数据库表数据,并且可以执行SQL 语句,主要功能如下。
1)数据库生成表结构信息:
主要生成数据库配置文件(.conf文
- 在IBATIS中配置SQL语句的IN方式
357029540
ibatis
在使用IBATIS进行SQL语句配置查询时,我们一定会遇到通过IN查询的地方,在使用IN查询时我们可以有两种方式进行配置参数:String和List。具体使用方式如下:
1.String:定义一个String的参数userIds,把这个参数传入IBATIS的sql配置文件,sql语句就可以这样写:
<select id="getForms" param
- Spring3 MVC 笔记(一)
7454103
springmvcbeanRESTJSF
自从 MVC 这个概念提出来之后 struts1.X struts2.X jsf 。。。。。
这个view 层的技术一个接一个! 都用过!不敢说哪个绝对的强悍!
要看业务,和整体的设计!
最近公司要求开发个新系统!
- Timer与Spring Quartz 定时执行程序
darkranger
springbean工作quartz
有时候需要定时触发某一项任务。其实在jdk1.3,java sdk就通过java.util.Timer提供相应的功能。一个简单的例子说明如何使用,很简单: 1、第一步,我们需要建立一项任务,我们的任务需要继承java.util.TimerTask package com.test; import java.text.SimpleDateFormat; import java.util.Date;
- 大端小端转换,le32_to_cpu 和cpu_to_le32
aijuans
C语言相关
大端小端转换,le32_to_cpu 和cpu_to_le32 字节序
http://oss.org.cn/kernel-book/ldd3/ch11s04.html
小心不要假设字节序. PC 存储多字节值是低字节为先(小端为先, 因此是小端), 一些高级的平台以另一种方式(大端)
- Nginx负载均衡配置实例详解
avords
[导读] 负载均衡是我们大流量网站要做的一个东西,下面我来给大家介绍在Nginx服务器上进行负载均衡配置方法,希望对有需要的同学有所帮助哦。负载均衡先来简单了解一下什么是负载均衡,单从字面上的意思来理解就可以解 负载均衡是我们大流量网站要做的一个东西,下面我来给大家介绍在Nginx服务器上进行负载均衡配置方法,希望对有需要的同学有所帮助哦。
负载均衡
先来简单了解一下什么是负载均衡
- 乱说的
houxinyou
框架敏捷开发软件测试
从很久以前,大家就研究框架,开发方法,软件工程,好多!反正我是搞不明白!
这两天看好多人研究敏捷模型,瀑布模型!也没太搞明白.
不过感觉和程序开发语言差不多,
瀑布就是顺序,敏捷就是循环.
瀑布就是需求、分析、设计、编码、测试一步一步走下来。而敏捷就是按摸块或者说迭代做个循环,第个循环中也一样是需求、分析、设计、编码、测试一步一步走下来。
也可以把软件开发理
- 欣赏的价值——一个小故事
bijian1013
有效辅导欣赏欣赏的价值
第一次参加家长会,幼儿园的老师说:"您的儿子有多动症,在板凳上连三分钟都坐不了,你最好带他去医院看一看。" 回家的路上,儿子问她老师都说了些什么,她鼻子一酸,差点流下泪来。因为全班30位小朋友,惟有他表现最差;惟有对他,老师表现出不屑,然而她还在告诉她的儿子:"老师表扬你了,说宝宝原来在板凳上坐不了一分钟,现在能坐三分钟。其他妈妈都非常羡慕妈妈,因为全班只有宝宝
- 包冲突问题的解决方法
bingyingao
eclipsemavenexclusions包冲突
包冲突是开发过程中很常见的问题:
其表现有:
1.明明在eclipse中能够索引到某个类,运行时却报出找不到类。
2.明明在eclipse中能够索引到某个类的方法,运行时却报出找不到方法。
3.类及方法都有,以正确编译成了.class文件,在本机跑的好好的,发到测试或者正式环境就
抛如下异常:
java.lang.NoClassDefFoundError: Could not in
- 【Spark七十五】Spark Streaming整合Flume-NG三之接入log4j
bit1129
Stream
先来一段废话:
实际工作中,业务系统的日志基本上是使用Log4j写入到日志文件中的,问题的关键之处在于业务日志的格式混乱,这给对日志文件中的日志进行统计分析带来了极大的困难,或者说,基本上无法进行分析,每个人写日志的习惯不同,导致日志行的格式五花八门,最后只能通过grep来查找特定的关键词缩小范围,但是在集群环境下,每个机器去grep一遍,分析一遍,这个效率如何可想之二,大好光阴都浪费在这上面了
- sudoku solver in Haskell
bookjovi
sudokuhaskell
这几天没太多的事做,想着用函数式语言来写点实用的程序,像fib和prime之类的就不想提了(就一行代码的事),写什么程序呢?在网上闲逛时发现sudoku游戏,sudoku十几年前就知道了,学生生涯时也想过用C/Java来实现个智能求解,但到最后往往没写成,主要是用C/Java写的话会很麻烦。
现在写程序,本人总是有一种思维惯性,总是想把程序写的更紧凑,更精致,代码行数最少,所以现
- java apache ftpClient
bro_feng
java
最近使用apache的ftpclient插件实现ftp下载,遇见几个问题,做如下总结。
1. 上传阻塞,一连串的上传,其中一个就阻塞了,或是用storeFile上传时返回false。查了点资料,说是FTP有主动模式和被动模式。将传出模式修改为被动模式ftp.enterLocalPassiveMode();然后就好了。
看了网上相关介绍,对主动模式和被动模式区别还是比较的模糊,不太了解被动模
- 读《研磨设计模式》-代码笔记-工厂方法模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* 工厂方法模式:使一个类的实例化延迟到子类
* 某次,我在工作不知不觉中就用到了工厂方法模式(称为模板方法模式更恰当。2012-10-29):
* 有很多不同的产品,它
- 面试记录语
chenyu19891124
招聘
或许真的在一个平台上成长成什么样,都必须靠自己去努力。有了好的平台让自己展示,就该好好努力。今天是自己单独一次去面试别人,感觉有点小紧张,说话有点打结。在面试完后写面试情况表,下笔真的好难,尤其是要对面试人的情况说明真的好难。
今天面试的是自己同事的同事,现在的这个同事要离职了,介绍了我现在这位同事以前的同事来面试。今天这位求职者面试的是配置管理,期初看了简历觉得应该很适合做配置管理,但是今天面
- Fire Workflow 1.0正式版终于发布了
comsci
工作workflowGoogle
Fire Workflow 是国内另外一款开源工作流,作者是著名的非也同志,哈哈....
官方网站是 http://www.fireflow.org
经过大家努力,Fire Workflow 1.0正式版终于发布了
正式版主要变化:
1、增加IWorkItem.jumpToEx(...)方法,取消了当前环节和目标环节必须在同一条执行线的限制,使得自由流更加自由
2、增加IT
- Python向脚本传参
daizj
python脚本传参
如果想对python脚本传参数,python中对应的argc, argv(c语言的命令行参数)是什么呢?
需要模块:sys
参数个数:len(sys.argv)
脚本名: sys.argv[0]
参数1: sys.argv[1]
参数2: sys.argv[
- 管理用户分组的命令gpasswd
dongwei_6688
passwd
NAME: gpasswd - administer the /etc/group file
SYNOPSIS:
gpasswd group
gpasswd -a user group
gpasswd -d user group
gpasswd -R group
gpasswd -r group
gpasswd [-A user,...] [-M user,...] g
- 郝斌老师数据结构课程笔记
dcj3sjt126com
数据结构与算法
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
- yii2 cgridview加上选择框进行操作
dcj3sjt126com
GridView
页面代码
<?=Html::beginForm(['controller/bulk'],'post');?>
<?=Html::dropDownList('action','',[''=>'Mark selected as: ','c'=>'Confirmed','nc'=>'No Confirmed'],['class'=>'dropdown',])
- linux mysql
fypop
linux
enquiry mysql version in centos linux
yum list installed | grep mysql
yum -y remove mysql-libs.x86_64
enquiry mysql version in yum repositoryyum list | grep mysql oryum -y list mysql*
install mysq
- Scramble String
hcx2013
String
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
- 跟我学Shiro目录贴
jinnianshilongnian
跟我学shiro
历经三个月左右时间,《跟我学Shiro》系列教程已经完结,暂时没有需要补充的内容,因此生成PDF版供大家下载。最近项目比较紧,没有时间解答一些疑问,暂时无法回复一些问题,很抱歉,不过可以加群(334194438/348194195)一起讨论问题。
----广告-----------------------------------------------------
- nginx日志切割并使用flume-ng收集日志
liyonghui160com
nginx的日志文件没有rotate功能。如果你不处理,日志文件将变得越来越大,还好我们可以写一个nginx日志切割脚本来自动切割日志文件。第一步就是重命名日志文件,不用担心重命名后nginx找不到日志文件而丢失日志。在你未重新打开原名字的日志文件前,nginx还是会向你重命名的文件写日志,linux是靠文件描述符而不是文件名定位文件。第二步向nginx主
- Oracle死锁解决方法
pda158
oracle
select p.spid,c.object_name,b.session_id,b.oracle_username,b.os_user_name from v$process p,v$session a, v$locked_object b,all_objects c where p.addr=a.paddr and a.process=b.process and c.object_id=b.
- java之List排序
shiguanghui
list排序
在Java Collection Framework中定义的List实现有Vector,ArrayList和LinkedList。这些集合提供了对对象组的索引访问。他们提供了元素的添加与删除支持。然而,它们并没有内置的元素排序支持。 你能够使用java.util.Collections类中的sort()方法对List元素进行排序。你既可以给方法传递
- servlet单例多线程
utopialxw
单例多线程servlet
转自http://www.cnblogs.com/yjhrem/articles/3160864.html
和 http://blog.chinaunix.net/uid-7374279-id-3687149.html
Servlet 单例多线程
Servlet如何处理多个请求访问?Servlet容器默认是采用单实例多线程的方式处理多个请求的:1.当web服务器启动的