- “啾啾时间”——能量变现
静_心_语
文/张晓静2017.08.06昨天下午,啾啾在群里发出能量密电码信息......看到消息时,正在去公园散步的路上,确实感觉有点蒙圈了,只能祈祷心灵打开,截获,接获,解惑这些能量信息密码了......1.实在是意想不到,啾啾时间会突然开启文字频道,发现自己见不到啾啾时,看文字截获信息的水平好似略低于与啾啾见面!这让我感觉到了一丝丝的危机和惶惑!2.实在是意想不到,散步时接到H的电话,聊到最近工作和生
- 7月月总结-【022】-途中
帅气的昵称你们都用了啊
2017.08.06到今天为止,我练习清朗大概有一年了吧。加入战队的时候,我是22号,这个月过得有些慌乱,练习也是时好时坏。先说说有哪些进步吧。从一开始的抄写文本练习,到后来的抄写生词练习,提高了效率;从一周练习两三篇升级到一周四五篇,提高了练习量;一篇文章(生词多)的练习从三小时缩短到了两小时,节约了时间;从只会读到能稍微理解一些文章内容,再到用英语写练习体会;英文语感从无到有,有时甚至能脱口而
- 一个人怕孤独。两个人怕辜负
图修南
有人问我,对她的印象,脱口而出:“她是个好女孩。”2017.08.06星期六阵雨和一些人的关系像平行线,一辈子相守相望,见于眼底藏于心间。就怕耐不住寂寞,冲动而成了相交线。在一个点尽情拥抱。从此便离得越来越远,再也不见。遇见这样的人,因为不想做恋人只能是一时,所以才选择做朋友能一世。有一种孤独是:心里真正画的事省略号,却只能在外人面前笑着为这件事画上句号。图片发自App应该有一年没见过大地了,他的
- 2017.08.06早餐分享
小杨喊你开饭了
图片发自App今日早餐改良版日式拉面+白灼芦笋+煎虾今日推荐改良版日式拉面:拉面入沸水煮熟捞出过凉水,酱油+开水兑成汤底,摆盘(拉面打底,摆卤牛肉葱丝水煮蛋),撒些熟白芝麻即可。
- 2017.08.06
废鱼记梦录
今天,在蝴蝶谷溯溪(:3_ヽ)_以为可以干干的只有鞋子湿着回家的ヾ(❀╹╹)ノ~是我太天真了¯\_(ツ)_/¯结果还是脖子以下湿的透透的(´இ皿இ`)但是溪水是真的干净啊ヾ(´∇`)ノ可惜的是没带手机防水壳,拍不了照T^T我就,拍张青山吧(ಡωಡ)毕竟下山了,没有溪水了(:3_ヽ)_图片发自App
- 草原
阿木洛克人
开了车,路过那草原,草也开始老了,像个秋天。明明是夏?烈日炎炎……没有雨润,加上牛踩马踏羊啃……青裸裸,支离了青。这是曾是一片草原,我停了车,眯了眼,看不见……阿木2017.08.06
- JZOJ2017.08.06 C组
CE自动机
题解jzoj
T1题目描述在12月份开始的时候,选举也开始了。每个选举区将有14个代表选出,每个选民是投票给几个政党中的某一个的,投票结束以后,用一种特殊的办法来产生代表。首先,我们要找出所有至少获得5%选票的政党。每个政党的选票数量将被依次除以1到14,我们把得到的结果叫做每个政党的分数。第一个代表将从得分最高的政党中产生,第二个政党将从得分第二的政党中产生,依次类推,直到所有的14名代表都产生。(说明:这里
- 这一切不足以打动我
Lady恒常如新
——我们生活在巨大的差距里,那又如何?2017.08.06kindle版本手机被摔坏了,别无选择地掏出kindle,把原本被手机填充的大片大片的无意义的时间补充起来,几乎是飞速地阅读完成,一是因为心无旁骛,二是因为散乱并且流水账的思绪组成的内容没什么嚼劲吧——书名透着一股子胸有千军万壑,实则也许因为没有情节,怎么看怎么觉得无谓,反倒是其中惊鸿一瞥的史铁生和余海果给我留下了深刻的印象,带来了一大堆拉
- ~奇异电波~
静_心_语
图、文/张晓静2017.08.06《奇异电波》,完成于2017年8月6日凌晨05:19。今天凌晨收拾完厨房后,洗了个澡,睡不着,感觉周身都是灵魂的粒子在振动,不断的在择频,是文字?还是画画?似乎都有,但是宝宝已经感觉到身体有些困了,只能选择一种方式先落地,听武立舅舅说我今天有22个新的绘画灵魂进入了,画风不一样了,所以最后就选择了最新鲜的绘画赶脚……这种用黑色记号笔创作的画风,真的很有意思!画风带
- 关于说话的说话
滋水灞桥
关于说话的说话吕西群2017.08.06说话,人人都会,能说的好,大部分人不行。当今社会,借助于互联网,特别是以智能手机为代表的新媒体,给众多的平民百姓,有了更多的对社会的参与权,这很了不起!在新媒体这个平台,你可以不会写作、不会发表,你可以对任何事件,进行转发、评论,发表你的看法,说出你的意见,充分表达你的民意,这是社会的进步!也许有人说了,可能有水军,也许,但凭借当今互联网先进的技术,区分谁是
- 2017.08.06
松月_
近来人事半消磨,我感到恍然。不过短短两个月,听闻两个亲人离世的消息。一个突发急病还不到三十岁,一个与癌抗争了一年多人生百年尚过一半。生与死,都是些什么呢。在我的观念里,死就是永远也见不到了。因为年龄小,妈妈不让我去送葬,我大抵也能想象到那个场景,我应允下来,虽然表面平静,但心里却十足的悲伤。又想起了外公,外公走了整整十年了,时光竟过的如此之快吗,其实我小时候有点怕他,因为他是个严肃的人,不苟言笑,
- 冥想——重回当下
菡萏萏
2017.08.06No1270740-0805用时25分钟字数625图片发自App想做的事情越来越多的时候就需要找个办法能够切换大脑的不同状态。一个是被持续投入不了状态而苦恼,总是有想法在潜意识里面高速的运转,像是失灵的乐队一般,演奏着没有谱的曲子,大脑就像被好几匹马儿用力的拉往不同的方向一样,有的时候头痛到炸裂,想要派个记者打探一下究竟发生了什么,梳理一下思绪,瞬间都被兵荒马乱的各种想法冲倒在
- 寻找日出地
泛影葡胺
2017.08.06早上一大早起床,突然想起老汉经常提起的太平寺,据说是一个可以平望武陵山脉、看日出日落的好地方,夏天上面一吹风就是几天,凉爽的很,早上的日出非常美,站在山脉的这头日出几乎是在一个水平线,所以就这样进山了~~~绿油油的稻田、金黄色的玉米杆、蓝蓝的天山间小路途中无意遇见的山脉,以前只能走路进来,通车以后站在山脉间眺望另一个山脉,有意思~无名山脉翻山越岭上山到一半,远方就是武陵山脉~眺
- 2017.08.06日记(058)
五月二十六
今天早上吃了酒店的自助早餐,虽然没有同事描述的那么丰盛,但是确实算是不错了。上午是去东沙古镇,有定向任务需要完成,古镇并不大,也没有感受到特别民俗的一些东西。倒是门口收门票的那个阿姨,让我对这个镇子都印象不好了。中午我们在完成任务集合的时候,看到有几个游客准备到古镇收费处不远的阴凉处稍微休息一下,可是那个收门票的阿姨,一个劲地嚷着让他们出去,说是没买门票。那种拍着窗户吼着嗓子的场景真让我对这个镇子
- 日记18
爱孩子
2017.08.06。今天张汶惠不在家,去她爷爷家了,所以今天的日记算不上是亲子日记,算是自己的心情日记吧!忙碌的一天,到现还在从诸城回平度的高速上!回想起张汶惠从小到现在的成长经历,自己可能真的付出太少,以前这种天天跑高速,天天出差不在家的经历太多,所以很少管她了,即便是在家都会以自己工作太累的借口把孩子交给她爷爷奶奶,一直到去年发现孩子学习落后、性格自私等缺点后才觉得自己疏于管教孩子,才对孩子
- 亲子日记62:有趣的暑假作业
zb戴勇
2017.08.06周日雷阵雨今天外出游玩了一天,一家人都感觉疲倦不堪。只有大宝到家稍事收拾就拿出了暑假作业补了起来。因为比较累,今天就商量只补5页。暑假作业的设计可真是有趣!第一个就是关于水资源的问题。要求写写对水资源的了解情况,如何节约用水,还要写节约用水的标语。因为以前儿子写个这个方面的征文,所以这题目做起来不难。第二个是观察记录作业。观察楼下都有哪些植物,这些植物夏天都有哪些变化。儿子写了
- 806.看图说话96~冲浪板
摹喵居士
2018.04.23拍摄时间:2017.08.06拍摄地点:南戴河这张照片是2017年暑假,喵和爷爷奶奶去南戴河玩儿的时候拍的。那年夏天,喵和爷爷奶奶一起去海边呆了两周。整个人都晒得黝黑黝黑的。最后一个周末,我们开车去接她一起回来,特意拿着冲浪板出来给我们表演。之前一致不敢玩儿,临走却来了劲头儿。趴在冲浪板上各种扑腾,另一边还要管着自己的水枪,生怕跑了。于是,左右互搏的过程中掉到水里了。站起来,立
- 2017.08.06
崔宏雷
-01-上次写作是8月1号,是5天之前了,那天只写了366个字。苦于找不到一个自由写作的题目,最终以找题目为题目写了一篇文章,写了一小会儿就写不下去了,最终只写了366个字。从6月27日第1次写作到8月1日一共有一个多月,基本上是每天写一篇,一共写了37000多个字。有时候写日记,有时候写自由写作。刚开始的时候每天需要花很长的时间构思,想写1000字,总是需要2个小时的时间。感觉花费在写作上面的时
- 南瓜饭(2017.08.06)
花缘过客
图片发自App这个季节,自家种的南瓜已经断断续续成熟,作为我喜欢的素菜之一,南瓜饭成了饭桌上常见的一道食物。南瓜拌汤(把南瓜去皮切成小块放在开水里煮熟加入面粉加水搅拌成的絮状疙瘩,煮熟后既可食用)、南瓜米饭(将南瓜去皮洗赶紧切成小块,蒸米饭时放在米饭下面,米饭蒸熟后有南瓜的香味,南瓜棉甜可口)、小米南瓜粥、南瓜饼,蒸煮炒都好吃。南瓜营养丰富,生长过程中果实基本无任何农药,吃起来既美味又安全。南瓜的
- 2017.08.06——今天就是吃吃吃
Yieshah_
开心的是早上吃早饭了,在路边饭馆买的豆浆油条,油条太油腻了,准备明天尝一下胡辣汤。以前在学校都不吃早饭的,因为起得晚,八点多就没饭了,油条更是买不上,早早地就卖光了,因为有好多家属院的干部去买。。。本来今天和舍友(人在四医大)约好吃午饭的,结果上午一直在开组会,到了饭点突然下起了大雨,我还没有带伞,只好取消,下次再约了,于是中午就和师弟师妹们一起吃的饭,和师妹打一把伞,刷的师妹的饭卡。。。以后请他
- Photoreading超速阅读课 – 读书、更读人
尹雅晶yajing
2017.08.04-2017.08.06@广州三天的课程落下帷幕,从最初的好奇心,到现在的平静、愉悦。再次回归到正常生活,一切如常,但内心知道,不一样了。看着47的照片,明明是自己,但又感觉不是同一个人。或许正如Andy姐姐说的,我从石森老师那里得到能量,有了更深层次的收获,遇见那个内心深处真正喜欢的自己。满足很多好奇宝宝的提问,简单讲一讲我所理解的photoreading超速阅读课。课程的目的
- 卡其看过的日剧大集合(持更…
空想家卡其
感觉日剧比韩剧和中国的连续剧都有意思多了,而且每部剧都有一些深刻一点点的讨论,不想自己看过就忘了,每部剧写一篇又怕自己坚持不下,所以建一个文来聚合一下吧《逃避虽可耻但有用》豆瓣评分:8.3《逃避》是上周日(2017.08.06)刚看的一部剧,用了一整天的时间,从早到晚,自己一个人在家,默默地就给看完了,虽然中间很困但还是强忍着睡意在看,导致了中间一段笑点什么的,都没get到,好可惜。这是一部讨论家
- 在我的很多早就开始之中,最得益的是,下岗。
早知今日
[音频版27|早是不是决定性因素?2017.08.06留言]早是不是决定因素?先看看老师举的例子:“我在2011年的时候就知道了比特币”,因为若要如此的话,这世界上至少有十多万人比我更幸运,因为他们比我更早知道了比特币——2010年的时候,比特币历史上第一次实物交易完成交割,有个哥们用25,000个比特币买了一张披萨饼!后来,从来没听说那个收了两万五千个比特币的兄弟的消息——说明,最终那两万五千个
- 《能断金刚》种子法则感恩日记
花开见佛笑
2017.08.06感恩空调带来的清凉,能我感受适宜的温度中能一个充足的睡眠;让身体得到放松和休整;感恩我的小灰灰带着我跑到高新区,为我的堂姐考察一个儿童听读机的项目,也感谢堂姐为我提供一块良田,让我种下助人为乐的好种子;感恩姚老师的视频学习与分享,当每次觉察到自己力量不够的时候,马上学习,马上精进,立刻就能受到智慧的加持;感恩六时书这个好工具,没有记之前觉得繁琐复杂,一旦记下便觉得非常简单。纵是
- 2017.08.06
Mr_Oldman
TodayisSunday.Itrainedandrainedandrained.Ithasneverrainedsomuchintheforest.Wateriseverywhere.Itwasafloodandalltheanimalshadtofindaplacetokeepsafe.Pigletclimbedonabranchofatreebuthecouldn'tleaveitbecau
- 四百年定制新品,风靡海内外,一以贯之的元素居然是……
最美符号网
隆庆祥2018流行趋势暨定制新品发布会2017.08.06-PM:14:00素胚勾勒出青花笔锋浓转淡瓶身描绘的牡丹一如你初妆8月6日,隆庆祥“日耀而昇·隆跃成华”——2018流行趋势暨定制新品发布会。贯穿整个“昇华”主题的将是青花元素,更将是整个新品系列的“点睛之笔”。「青花瓷,千年之美浑然物化」青花瓷,色白花青,典雅素净。它是含蓄、慧丽的中国力量,是流传千年的美感,它是中国与世界沟通连接的语言,
- 考注会每日计划08.06
丫丫会努力
2017.08.06[努力坚持打卡6*75天]今日完成:√会计做一道大题√看书任务√不小于10个小时√财管看完第4章√去书吧看书看书心得:1.文字性和计算强度大的内容穿插看;2.难点可以放置多些时间去理解,反复听老师讲义;3.注意每天时间的分配问题,摆正心态。财管难,难于上青天!自己完全被这种完全逻辑思维的科目所压制,不知所措!以为我经过一天的奋战,会这样消极的对自己说,大错特错,我就喜欢挑战高难
- .net core CLI(创建VueJS||Angular结合的项目)vs项目有node_modules无法加载
YLPeach
netcorecli是快速创建模板项目2017.08.06环境windows1064位15063.netcore1.1vs201715.2dotnet1.0.4安装CLI官方:https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javasc
- 546.与喵共舞275~周末南戴河
摹喵居士
2017.08.06周日啦,最有一天去大海啦。带上了冲浪板。中午去吃炒蛏子。还有最喜欢的西红柿炒鸡蛋。中午睡个大觉,下午继续去玩儿水。趴在我身上,把我压到水里。可是自己熟悉上冲浪板了。学着妈妈的样子。扶着冲浪板,冲我一歪嘴。用水枪,拉着自己的冲浪板。拉着冲浪板上岸。扑向冲浪板,掉进水里。跑到妈妈那里,一起自拍。远处的瞭望塔。远处的海船。开始挖泥坑。和奶奶一起走过来。一起合影。全家合影。爱上冲浪板了
- 写给日生2017.08.06
梁莫盼
亲爱的日生:昨晚你接我和爸爸妈妈吃了饭,感谢你的细心,打破了我所有的疑虑..我的家人也很喜欢你,他们和我一样,并不在乎你的漂泊,这真是一件意料之中又让人开心的事...这些天带爸妈去了好多地方,不管走到那里,都像是背了一个隐形的小书包,里面装满了对你的思念...日生,我很害怕,怕我这么藏不住的喜欢你,让你觉得我没难度,没意思..可对你,我真是没什么城府可言,固执又忐忑的赤裸...亲爱的日生,今天天气
- jQuery 键盘事件keydown ,keypress ,keyup介绍
107x
jsjquerykeydownkeypresskeyup
本文章总结了下些关于jQuery 键盘事件keydown ,keypress ,keyup介绍,有需要了解的朋友可参考。
一、首先需要知道的是: 1、keydown() keydown事件会在键盘按下时触发. 2、keyup() 代码如下 复制代码
$('input').keyup(funciton(){  
- AngularJS中的Promise
bijian1013
JavaScriptAngularJSPromise
一.Promise
Promise是一个接口,它用来处理的对象具有这样的特点:在未来某一时刻(主要是异步调用)会从服务端返回或者被填充属性。其核心是,promise是一个带有then()函数的对象。
为了展示它的优点,下面来看一个例子,其中需要获取用户当前的配置文件:
var cu
- c++ 用数组实现栈类
CrazyMizzz
数据结构C++
#include<iostream>
#include<cassert>
using namespace std;
template<class T, int SIZE = 50>
class Stack{
private:
T list[SIZE];//数组存放栈的元素
int top;//栈顶位置
public:
Stack(
- java和c语言的雷同
麦田的设计者
java递归scaner
软件启动时的初始化代码,加载用户信息2015年5月27号
从头学java二
1、语言的三种基本结构:顺序、选择、循环。废话不多说,需要指出一下几点:
a、return语句的功能除了作为函数返回值以外,还起到结束本函数的功能,return后的语句
不会再继续执行。
b、for循环相比于whi
- LINUX环境并发服务器的三种实现模型
被触发
linux
服务器设计技术有很多,按使用的协议来分有TCP服务器和UDP服务器。按处理方式来分有循环服务器和并发服务器。
1 循环服务器与并发服务器模型
在网络程序里面,一般来说都是许多客户对应一个服务器,为了处理客户的请求,对服务端的程序就提出了特殊的要求。
目前最常用的服务器模型有:
·循环服务器:服务器在同一时刻只能响应一个客户端的请求
·并发服务器:服
- Oracle数据库查询指令
肆无忌惮_
oracle数据库
20140920
单表查询
-- 查询************************************************************************************************************
-- 使用scott用户登录
-- 查看emp表
desc emp
- ext右下角浮动窗口
知了ing
JavaScriptext
第一种
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/
- 浅谈REDIS数据库的键值设计
矮蛋蛋
redis
http://www.cnblogs.com/aidandan/
原文地址:http://www.hoterran.info/redis_kv_design
丰富的数据结构使得redis的设计非常的有趣。不像关系型数据库那样,DEV和DBA需要深度沟通,review每行sql语句,也不像memcached那样,不需要DBA的参与。redis的DBA需要熟悉数据结构,并能了解使用场景。
- maven编译可执行jar包
alleni123
maven
http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
<build>
<plugins>
<plugin>
<artifactId>maven-asse
- 人力资源在现代企业中的作用
百合不是茶
HR 企业管理
//人力资源在在企业中的作用人力资源为什么会存在,人力资源究竟是干什么的 人力资源管理是对管理模式一次大的创新,人力资源兴起的原因有以下点: 工业时代的国际化竞争,现代市场的风险管控等等。所以人力资源 在现代经济竞争中的优势明显的存在,人力资源在集团类公司中存在着 明显的优势(鸿海集团),有一次笔者亲自去体验过红海集团的招聘,只 知道人力资源是管理企业招聘的 当时我被招聘上了,当时给我们培训 的人
- Linux自启动设置详解
bijian1013
linux
linux有自己一套完整的启动体系,抓住了linux启动的脉络,linux的启动过程将不再神秘。
阅读之前建议先看一下附图。
本文中假设inittab中设置的init tree为:
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc
- Spring Aop Schema实现
bijian1013
javaspringAOP
本例使用的是Spring2.5
1.Aop配置文件spring-aop.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmln
- 【Gson七】Gson预定义类型适配器
bit1129
gson
Gson提供了丰富的预定义类型适配器,在对象和JSON串之间进行序列化和反序列化时,指定对象和字符串之间的转换方式,
DateTypeAdapter
public final class DateTypeAdapter extends TypeAdapter<Date> {
public static final TypeAdapterFacto
- 【Spark八十八】Spark Streaming累加器操作(updateStateByKey)
bit1129
update
在实时计算的实际应用中,有时除了需要关心一个时间间隔内的数据,有时还可能会对整个实时计算的所有时间间隔内产生的相关数据进行统计。
比如: 对Nginx的access.log实时监控请求404时,有时除了需要统计某个时间间隔内出现的次数,有时还需要统计一整天出现了多少次404,也就是说404监控横跨多个时间间隔。
Spark Streaming的解决方案是累加器,工作原理是,定义
- linux系统下通过shell脚本快速找到哪个进程在写文件
ronin47
一个文件正在被进程写 我想查看这个进程 文件一直在增大 找不到谁在写 使用lsof也没找到
这个问题挺有普遍性的,解决方法应该很多,这里我给大家提个比较直观的方法。
linux下每个文件都会在某个块设备上存放,当然也都有相应的inode, 那么透过vfs.write我们就可以知道谁在不停的写入特定的设备上的inode。
幸运的是systemtap的安装包里带了inodewatch.stp,位
- java-两种方法求第一个最长的可重复子串
bylijinnan
java算法
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class MaxPrefix {
public static void main(String[] args) {
String str="abbdabcdabcx";
- Netty源码学习-ServerBootstrap启动及事件处理过程
bylijinnan
javanetty
Netty是采用了Reactor模式的多线程版本,建议先看下面这篇文章了解一下Reactor模式:
http://bylijinnan.iteye.com/blog/1992325
Netty的启动及事件处理的流程,基本上是按照上面这篇文章来走的
文章里面提到的操作,每一步都能在Netty里面找到对应的代码
其中Reactor里面的Acceptor就对应Netty的ServerBo
- servelt filter listener 的生命周期
cngolon
filterlistenerservelt生命周期
1. servlet 当第一次请求一个servlet资源时,servlet容器创建这个servlet实例,并调用他的 init(ServletConfig config)做一些初始化的工作,然后调用它的service方法处理请求。当第二次请求这个servlet资源时,servlet容器就不在创建实例,而是直接调用它的service方法处理请求,也就是说
- jmpopups获取input元素值
ctrain
JavaScript
jmpopups 获取弹出层form表单
首先,我有一个div,里面包含了一个表单,默认是隐藏的,使用jmpopups时,会弹出这个隐藏的div,其实jmpopups是将我们的代码生成一份拷贝。
当我直接获取这个form表单中的文本框时,使用方法:$('#form input[name=test1]').val();这样是获取不到的。
我们必须到jmpopups生成的代码中去查找这个值,$(
- vi查找替换命令详解
daizj
linux正则表达式替换查找vim
一、查找
查找命令
/pattern<Enter> :向下查找pattern匹配字符串
?pattern<Enter>:向上查找pattern匹配字符串
使用了查找命令之后,使用如下两个键快速查找:
n:按照同一方向继续查找
N:按照反方向查找
字符串匹配
pattern是需要匹配的字符串,例如:
1: /abc<En
- 对网站中的js,css文件进行打包
dcj3sjt126com
PHP打包
一,为什么要用smarty进行打包
apache中也有给js,css这样的静态文件进行打包压缩的模块,但是本文所说的不是以这种方式进行的打包,而是和smarty结合的方式来把网站中的js,css文件进行打包。
为什么要进行打包呢,主要目的是为了合理的管理自己的代码 。现在有好多网站,你查看一下网站的源码的话,你会发现网站的头部有大量的JS文件和CSS文件,网站的尾部也有可能有大量的J
- php Yii: 出现undefined offset 或者 undefined index解决方案
dcj3sjt126com
undefined
在开发Yii 时,在程序中定义了如下方式:
if($this->menuoption[2] === 'test'),那么在运行程序时会报:undefined offset:2,这样的错误主要是由于php.ini 里的错误等级太高了,在windows下错误等级
- linux 文件格式(1) sed工具
eksliang
linuxlinux sed工具sed工具linux sed详解
转载请出自出处:
http://eksliang.iteye.com/blog/2106082
简介
sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾
- Android应用程序获取系统权限
gqdy365
android
引用
如何使Android应用程序获取系统权限
第一个方法简单点,不过需要在Android系统源码的环境下用make来编译:
1. 在应用程序的AndroidManifest.xml中的manifest节点
- HoverTree开发日志之验证码
hvt
.netC#asp.nethovertreewebform
HoverTree是一个ASP.NET的开源CMS,目前包含文章系统,图库和留言板功能。代码完全开放,文章内容页生成了静态的HTM页面,留言板提供留言审核功能,文章可以发布HTML源代码,图片上传同时生成高品质缩略图。推出之后得到许多网友的支持,再此表示感谢!留言板不断收到许多有益留言,但同时也有不少广告,因此决定在提交留言页面增加验证码功能。ASP.NET验证码在网上找,如果不是很多,就是特别多
- JSON API:用 JSON 构建 API 的标准指南中文版
justjavac
json
译文地址:https://github.com/justjavac/json-api-zh_CN
如果你和你的团队曾经争论过使用什么方式构建合理 JSON 响应格式, 那么 JSON API 就是你的 anti-bikeshedding 武器。
通过遵循共同的约定,可以提高开发效率,利用更普遍的工具,可以是你更加专注于开发重点:你的程序。
基于 JSON API 的客户端还能够充分利用缓存,
- 数据结构随记_2
lx.asymmetric
数据结构笔记
第三章 栈与队列
一.简答题
1. 在一个循环队列中,队首指针指向队首元素的 前一个 位置。
2.在具有n个单元的循环队列中,队满时共有 n-1 个元素。
3. 向栈中压入元素的操作是先 移动栈顶指针&n
- Linux下的监控工具dstat
网络接口
linux
1) 工具说明dstat是一个用来替换 vmstat,iostat netstat,nfsstat和ifstat这些命令的工具, 是一个全能系统信息统计工具. 与sysstat相比, dstat拥有一个彩色的界面, 在手动观察性能状况时, 数据比较显眼容易观察; 而且dstat支持即时刷新, 譬如输入dstat 3, 即每三秒收集一次, 但最新的数据都会每秒刷新显示. 和sysstat相同的是,
- C 语言初级入门--二维数组和指针
1140566087
二维数组c/c++指针
/*
二维数组的定义和二维数组元素的引用
二维数组的定义:
当数组中的每个元素带有两个下标时,称这样的数组为二维数组;
(逻辑上把数组看成一个具有行和列的表格或一个矩阵);
语法:
类型名 数组名[常量表达式1][常量表达式2]
二维数组的引用:
引用二维数组元素时必须带有两个下标,引用形式如下:
例如:
int a[3][4]; 引用:
- 10点睛Spring4.1-Application Event
wiselyman
application
10.1 Application Event
Spring使用Application Event给bean之间的消息通讯提供了手段
应按照如下部分实现bean之间的消息通讯
继承ApplicationEvent类实现自己的事件
实现继承ApplicationListener接口实现监听事件
使用ApplicationContext发布消息