- 梦
正在改变的tia
梦中你置我于洪水而不顾置我于黑暗而不顾我四处找你寻你而不得梦中之镜一如现实之中醒来心力交瘁是噩梦,梦见最爱的人离开。醒来晕晕沉沉,走在路上像即将凋谢的向日葵,耷拉着脑袋,踢踏着拖鞋,发出鞋底与地面的摩擦声,昨晚的梦实在是要命,梦里似乎把我一整天的精力都预支耗尽了。做梦真是一件耗神的事。若是美梦,梦里拥有现实中想要又暂时得不到的,醒来的怅然若失,只加深了“但愿长睡不愿醒”的感觉,若是噩梦,梦里惊心动
- 再过30天,来这6个地方,遇见最美的郑州
莫一一一一
初秋,阳光能穿过法桐的树叶洒在行人脸上,留下斑驳迷人的色彩。郑州这座城,有着热切且浓烈的法桐情怀。再过30天,迎宾路、人民路、纬一路这些道路两旁的法桐树就会变的金黄,原本遮天蔽日的树叶,便会随着秋风,落在路上,这应该是法桐最美的一个时刻,夏天绿的时候灿烂,秋天黄的时候烂漫。被秋风吹黄了的树叶,给人民公园也换了新的秋装。人民公园每年秋季会有菊花展,盛放的菊花争奇斗艳,凌风霜不凋谢,是深秋里温暖的色彩
- 2019-09-20
凌清林
花虽美,但也有凋谢的时候。图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App
- 如此精彩
蓦然回首倾心已久
天上有比翼鸟人间有并蒂莲你若看那花开在月圆之际凋谢你不会再说花好月圆你若看那鸳鸯在黄昏之时分飞你不会再想比翼双飞传奇的故事不是没有是很难被发现/落花终有尽残月必团圆这是古来的规律于落花残月之际翩飞更是打破常规要的就是这样的轰轰烈烈要的就是这样响彻世间/爱恨缠绵不过昙花一现没有必要庆幸有爱更没有必要去怨恨离开亲身经历一切就是给自己最好的交代不论多么痛楚活着去体验无限精彩
- 悲伤逆流成河
超级图图
图片发自App图片发自App悲伤逆流成河哪里有美而伤感的画面,华丽而沉重的剧情,将我们带入一个酣畅淋漓的悲痛世界。音乐重复着我们共同的忧伤镁光下易瑶的影子。青春的忧伤在小四的笔下,肆无忌惮的滋长起来,开出一个花季,凋谢了一个世纪。当你的青春不再你是否愿意去承担那本应属于青春的梦想和回忆那些鲜活的面孔就这样一点一点出现在你的眼前好像一切都没有发生过然而你不得不告诉自己一切都已发生一切都已改变你将不得
- 苏轼:人到中年恰如秋,看繁华落尽,望一池秋水,品一杯清欢
六步成文
荷尽已无擎雨盖,菊残犹有傲霜枝。一年好景君须记,最是橙黄橘绿时。苏轼《赠刘景文》荷已尽,菊已残,凛冬将至,但是橙黄橘绿硕果累累,亦是一年之中最美好的时光。古人写秋天,大都情绪悲凉,苏轼这首《赠刘景文》却一反常态,化凋谢零落为饱满丰硕,写出了深秋时节的融融景象,显露了勃勃生机,给人以昂扬之感。秋苏轼时任杭州知州,他赠诗勉励刘景文,人到中年,虽然青春已逝,但也是人生成熟、大有作为的黄金阶段,应该珍惜这
- 解读《废都》第四十七章
小麦86
还记得庄之蝶养的那盆奇花吗?当花开的最盛最艳丽的时候,也正是花凋谢的开始。之于庄之蝶而言,他同唐婉儿,柳月,阿灿,汪希眠老婆的交往过程,也是他逐渐认识自我的过程——人活着,只会越来越像自己,直到成为真正的自己。人从脱离母体开始,便有了畏惧,所以,绝大多数的人是哭着来的;之后通过哭闹获取关怀,食物等;再后来,人学会了笑,学会了撒娇,学会了语言表达,开始接触到越来越多的人,也开始不断调整自己,以便获得
- 芍药之美
边境baby
芍药在牡丹凋谢之后开始展露风姿,可谓是聪明智慧之举。芍药与牡丹比较相似,但是近看就能区分出来。牡丹一般花瓣比较多,花朵大,牡丹的叶子和芍药的叶子也是很容易区分的。芍药相比起牡丹,稍微小家碧玉了一点,花瓣虽没有牡丹那么妖娆妩媚,但是也是别有一种风情在里面。有时候,我更愿意称芍药为牡丹的小妹妹,牡丹就像一位大姐姐一样,芍药比它娇小因而更显得楚楚动人。五月初,继牡丹之后,芍药姹紫嫣红开遍,也算是五月的美
- 第四章 孤独患者
我不是匠人
经过地铁上木路的一闹,叶若琪的冰心,有一角被微微的融化,因为学习的缘故,爱情这两个字,始终离她十分遥远。那些话,每次回忆起来,都有股淡淡的温暖。有时她真想信以为真,但是总被父母的吵闹声打断,而原来的杂念头,刹那间便化为乌有。已经是午夜十分,许多不该想的东西,就自行散去吧,明天又是新的一周了。第二日,细雨淋漓,经过一夜的洗礼,许多刚刚绽放的花瓣,都尽数凋谢,无力的散落在冰冷的大地上。叶若琪穿着白色短
- 尽量快乐
章贡1157杨晓娟
这个世界上没有谁会永远活着,长生不老,也没有什么东西可以一直存在。明白了这一点,就让自己尽量地快乐吧。我们的生命不应该成为我们人生道路上的一个沉重包袱,我们的人生道路也不该成为一个漫长曲折、充满荆棘的艰难旅程。即使是一位孤独的诗人,也不必老是反复吟唱那首过时的歌谣。用鲜花编成的花环终有一天会枯萎凋谢,会失去往日的色泽与芬芳,会走到生命的终点,可是编花环的人不应该为此而久久不能释怀。如果你明白了这一
- 今晨新作
刘伟书法_沈阳
图片发自App宝剑锋从磨砺出梅花香自苦寒来字面意思:宝剑锋利的剑刃是通过磨剑石的不断研磨而形成的."磨砺"即研磨、摩擦的意思。梅花之所以香气袭人,是因为它不畏严寒,以顽强的生命力使自己在冬季得以生存,而冬季别的花都已凋谢,只有梅花绽放显得格外香。引申寓意:一个人要想在事业上有所建树,必须准备迎接各种困难的挑战,不断在实践中丰富自己的阅历,提高自己的能力,才能达到自己向往的目标,不经过磨练甚至失败,
- 2018/04/13日志
天之心语
一切事物的成就必须具足因缘,因缘不具足,任何事将难以成功圆满。体会花开花谢的因缘,认识花的随缘、不执着及无我无私的开放,无执无恋的凋谢,甚至任霜雪侵袭,刀剪摧折,仍然静默坚忍,无怨无尤。摘抄此段话,细细品味,感觉甚好。两段话一个意思,守神、守中、守住自己的意,绽放吧,少年!参加了儿子英语毕业礼,几个片段感觉熟悉,TA的节奏,嗯,到时候先上小家伙上《青春起航》吧!突然感觉到身边碰到的每一个人都在发光
- 飘洒的诗絮 (三十四)
诺鸫竹隐
图片发自App图片发自App李煜的《乌夜啼》,会有更多的人过目成诵,熟记于心一一因为它太流畅、太有音乐感了一一乌夜啼李煜林花谢了春红,太匆匆。无奈朝来寒雨晚来风。胭脂泪,留人醉,几时重。自是人生长恨水长东。注释:相见欢:原为唐教坊曲名,后用为词牌名。又名“乌夜啼”“秋夜月”“上西楼”。三十六字,上片三平韵,下片两仄韵两平韵。谢:凋谢。无奈朝来寒雨:一作“常恨朝来寒重”。胭脂泪:原指女子的眼泪,女子
- 老皮:三沙港
老皮大叔
老皮诗集:守望一片海(41)·三沙港风暴似乎就要来临归鸟沿着本能的轨迹,消失在过期作废的梦想里但大海依旧波澜壮阔,每一支桅杆都耐心地挺立着,终生不跪作为一个四处漂泊的人,我没有勇气说出幸福,以及相关的事物或许我拥有这种渴念并且相信,鱼群会在夜里飞起来秋天的白鹭,怀着灰暗的思想听海风阵阵吹拂刮过荒滩而远处的浪花,盛开,凋谢年复一年,却一直无法开到岸上——————————作者简介:老皮:福建漳州人,1
- 节奏
告别旧名字
一朵花如果尽可能的开大,不遗余力的是否就可以找到出口,倾倒干净体内酸痛的毒汁。如果凋谢呢?你为何总是回头撞上相反的意义,在一枚喜庆的鲜果前,黯然于花的别离。夏季骤变的天气仿佛一场弹性练习。——速度是必然的,才会迷信于静。我是一只蜉蝣匍匐水上,毕生修炼水的节奏,为此要去倾尽体内所有恍惚不安的液体。2019.7.9
- 2018-11-02
古上心月
人生不缺少美,只是缺少发现美的眼睛。美的事物总能吸引人们驻足观看,欣赏研究。可是如果这花摆在很偏的地方,一个只有零零星星的人才能接触的地方,那么他就只能默默无闻的凋谢。现今社会是一个浮躁的社会也是一个靠营销的才能走出去的社会。还记得以前看过一个故事就是一个人去展览会上卖酒,但是却无人问津。是因为酒不够好吗?不是。是因为去展览会上的人都不喜欢酒吗?不是。那你是不是就在问那是因为什么呢。对的那个去卖酒
- 不该凋谢的花骨朵——赴约
杨见遇
2:沿着逼仄的小道,艰难挪步,突然一双大手伸过来,她的心怦然一动,身子跟着颤抖起来。把手给我,傻丫。那低柔的嗓音,亲昵的语气,当即令她感激涕零。许多年来,还没人如此对自己温柔过。父亲看她老不顺眼,对她从来没有好脸色,母亲一天到晚都在唠叨,眉头紧锁,神情淡漠,两片薄嘴唇儿,刚才明明和弟弟妹妹们和风细雨,转身见了她,却变成密集的子弹无情的射穿了她的心。而弟弟妹妹们总在联手攻击她,更别提亲戚朋友左邻右舍
- 修一颗欢喜澄明之心,去回敬岁月的波澜,笑对人生的跌宕
婷言熙语书房
毛姆说:“一个人能观察落叶,羞花,从细微处欣赏一切,生活就不能把他怎么样。”作为一个花痴来说,这句话得到我的高度赞评。年初因节日多,先生为我订了接近半年的鲜花,每周一束不同的鲜花,带来不一样的心情。也许很多人觉得这太浪费了,鲜花只能看看,很快就枯萎凋谢了。可是对于爱花之人来说,不止节日收到花,平时的日子也能笑魇如花,这比一切都要珍贵。这些鲜花带来宠爱、带来希望、带来美丽,带给主人每日的好心情。家里
- 一生所爱
棕旨
从前现在过去了再不来红红落叶长埋尘土内开始终结总是没变改天边的你漂泊白云外苦海翻起爱恨在世间难逃避命运相亲竟不可接近或我应该相信是缘分情人别后永远再不来无言独坐放眼尘世外鲜花虽会凋谢但会再开一生所爱隐约在白云外周星驰拍的电影从来不嘲笑两种人,一种是跑龙套的,另一种就是普通人了。此为大话西游电影的主题曲,大话早在95年上映,刚开始票房不怎么尽人意,之后却在内地走红,成为年青一代所喜爱的作品,票房之后
- 成功与失败
我爱更纱
种子,如果害怕埋没,那它永远不能发芽。鲜花,如果害怕凋谢,那它永远不能开放。矿石,如果害怕焚烧(熔炉),那它永远不能成钢(炼成金子)。蜡烛,如果害怕熄灭(燃烧),那它永远不能发光。航船,如果害怕风浪,那它永远不能到达彼岸。
- 《硬币》与《湖》
张子默
《硬币》一枚一元硬币我以前分不清正反面TA说,有国徽的是正面我很不以为然而今,拿着这枚硬币多想再听你说一句有国徽的是正面《湖》(外一首)我听见了你的声音在我的心中一颗忧伤的小小的心房中回荡在湖边的那个黄昏荷花凋谢了枯荷散发着死人的气息天空却宁静悠远而今一个小石子带着我的愿望,祝福与你的声音被我扔进了湖中荡起层层涟漪
- 致爱情
梓姝zs
图片发自App玫瑰对年轻人说邂逅浪漫要经受荆棘的考验年轻人说我会用马拉松的精神去追逐我的爱人年轻人像夸父逐日一样奔跑在追爱的路上畅饮黄河的甘醴采撷一束晨光拾起仓颉的文明装点最最奢华的礼物献给最心仪的女孩哪会有一帆风顺的爱情哪一段刻骨铭心的爱没有经历彼此的磨合与迁就当轰轰烈烈的爱情平淡为油盐酱醋爱情才肯显露真实面貌再娇艳的花朵也会凋谢再漂亮的容颜也会老去再浪漫的爱情也会结束当花容月貌褪化为细纹和沟壑
- 永葆童心的秘密花园
念读书
在我三十余年的教学生涯中,我深切地感受到民主、和谐、平等的师生关系给师生的身心带来的轻松与愉悦,我由衷地欣赏着学生,期待着他们的成长。让我觉得最有价值的收获是走进学生的童心,倾听他们无所顾忌的童言,感受他们情感的童话世界。语文课成了孩子们想象盛开的花园、情感交流的乐园,也是他们童心翱翔的蓝天。看,下面是我的珍藏多年的永不凋谢的“小花”们,每一朵“小花”里面都有一个值得回味的片段。难以预约的精彩每周
- 秋
海港雄鹰
凋谢的花,泛黄的叶,伴随淅淅沥沥的雨滴和微风,轻吻着养育自己的大地,记录的时光,醉了流年,秋,你如此静美,到底惊艳了谁?
- 夜来风雨声
行百里者半九十
风声、雨声声声入耳。雨不是大雨,少了些倾盆而下的气概。雨声滴答,多了些江南婉约。绵绵细雨,一小段路不撑开雨伞也不会淋湿。打卡下班,探出头。来时清晨,归去已是万家灯火亮起时。夜来风雨声,花落知多少。可能春花早已经凋谢,风雨声,竟催不下半朵残花。风雨声下,春叶倒是会被刮下几片。归去,趁着夜色正好。
- 2021-04-08
沐易以辰
早知道后劲这么大当初,就不应该同意、坚持弄得合花凋谢蔷薇枯萎那来的,墙内开花,墙外香虽有花杆,也太单调—沐易以辰
- 情商课笔记19-高敏感人格
向阳木槿
很容易感受到别人的情绪,很容易接受别人的情绪,很容易被这些接收到的情绪所影响,这就是高敏感型人格。高敏感型的人格常常遭遇到三种误解。第一种误解:被当成害羞、内向、封闭。内向对比外向而言,其实是指我们吸取能量的时候,采用的方法不同。内向的人在独处的时候,能够培养出更多的能量,但这并不是封闭。第二种误解:把高敏感当成悲观。某一些哲学家,或者是宗教人物,如果是看到了花朵凋谢、叶子掉落,甚至动物的生命逝去
- 碎碎念2
禅心丽华
路边的牵牛花文/禅心清早起来,带着孩子出去转了一圈,闻着花香,吹着河风,突然感觉到了一种久违的欢喜!这段日子的清晨,一直都是刘爷带孩子放风,我则是在家里做家务,又或者做点别的,以至于每天下午出来,路边的花已经凋谢,独留那紫茉莉孤芳自赏。想起往年,不管走到哪,都有牵牛花的身影,哪怕是在家里的阳台,也都有一两株,肆意的爬在防护栏上,等待阳光普照。我想,这是一种受不了孤独的花。因为我从未看到有单独的一株
- 2021-12-21
d724fcff8757
#口语粉碎机#L1-Day21学号:25723一、给出如下短语的汉语释义1.vanishedyouth我的答案:逝去的青春解析答案:逝去的青春【拓展内容】vanishv.突然不见,消失;不复存在,过去式vanished过去分词vanished.vanishfromsight不翼而飞,vanishfrom从…失去2.fadedflowers我的答案:已经凋谢的花解析答案:已经凋谢的花朵【拓展内容】f
- 十指连心
踏架单车牵头猪
我现在坐在他的对面,虽然我知道这样很不好,但我还是会忍不住时不时的看一眼他的手。那双手已经没有了五指,只有手掌,就像是一朵花瓣全部凋谢了的花一样。两年前,因为一场意外,让他失去了十根手指,那时我在外地,却没空去医院看望他,而后的日子也是,加上这几年我都没回老家过年,不知不觉这件意外就已经过去两年了。或许,没空看望不过是借口罢了。坐我对面的,我们平时叫他星哥,我们是同个村的。现在的他和之前有点不一样
- 关于旗正规则引擎下载页面需要弹窗保存到本地目录的问题
何必如此
jsp超链接文件下载窗口
生成下载页面是需要选择“录入提交页面”,生成之后默认的下载页面<a>标签超链接为:<a href="<%=root_stimage%>stimage/image.jsp?filename=<%=strfile234%>&attachname=<%=java.net.URLEncoder.encode(file234filesourc
- 【Spark九十八】Standalone Cluster Mode下的资源调度源代码分析
bit1129
cluster
在分析源代码之前,首先对Standalone Cluster Mode的资源调度有一个基本的认识:
首先,运行一个Application需要Driver进程和一组Executor进程。在Standalone Cluster Mode下,Driver和Executor都是在Master的监护下给Worker发消息创建(Driver进程和Executor进程都需要分配内存和CPU,这就需要Maste
- linux上独立安装部署spark
daizj
linux安装spark1.4部署
下面讲一下linux上安装spark,以 Standalone Mode 安装
1)首先安装JDK
下载JDK:jdk-7u79-linux-x64.tar.gz ,版本是1.7以上都行,解压 tar -zxvf jdk-7u79-linux-x64.tar.gz
然后配置 ~/.bashrc&nb
- Java 字节码之解析一
周凡杨
java字节码javap
一: Java 字节代码的组织形式
类文件 {
OxCAFEBABE ,小版本号,大版本号,常量池大小,常量池数组,访问控制标记,当前类信息,父类信息,实现的接口个数,实现的接口信息数组,域个数,域信息数组,方法个数,方法信息数组,属性个数,属性信息数组
}
&nbs
- java各种小工具代码
g21121
java
1.数组转换成List
import java.util.Arrays;
Arrays.asList(Object[] obj); 2.判断一个String型是否有值
import org.springframework.util.StringUtils;
if (StringUtils.hasText(str)) 3.判断一个List是否有值
import org.spring
- 加快FineReport报表设计的几个心得体会
老A不折腾
finereport
一、从远程服务器大批量取数进行表样设计时,最好按“列顺序”取一个“空的SQL语句”,这样可提高设计速度。否则每次设计时模板均要从远程读取数据,速度相当慢!!
二、找一个富文本编辑软件(如NOTEPAD+)编辑SQL语句,这样会很好地检查语法。有时候带参数较多检查语法复杂时,结合FineReport中生成的日志,再找一个第三方数据库访问软件(如PL/SQL)进行数据检索,可以很快定位语法错误。
- mysql linux启动与停止
墙头上一根草
如何启动/停止/重启MySQL一、启动方式1、使用 service 启动:service mysqld start2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start3、使用 safe_mysqld 启动:safe_mysqld&二、停止1、使用 service 启动:service mysqld stop2、使用 mysqld 脚本启动:/etc/inin
- Spring中事务管理浅谈
aijuans
spring事务管理
Spring中事务管理浅谈
By Tony Jiang@2012-1-20 Spring中对事务的声明式管理
拿一个XML举例
[html]
view plain
copy
print
?
<?xml version="1.0" encoding="UTF-8"?>&nb
- php中隐形字符65279(utf-8的BOM头)问题
alxw4616
php中隐形字符65279(utf-8的BOM头)问题
今天遇到一个问题. php输出JSON 前端在解析时发生问题:parsererror.
调试:
1.仔细对比字符串发现字符串拼写正确.怀疑是 非打印字符的问题.
2.逐一将字符串还原为unicode编码. 发现在字符串头的位置出现了一个 65279的非打印字符.
 
- 调用对象是否需要传递对象(初学者一定要注意这个问题)
百合不是茶
对象的传递与调用技巧
类和对象的简单的复习,在做项目的过程中有时候不知道怎样来调用类创建的对象,简单的几个类可以看清楚,一般在项目中创建十几个类往往就不知道怎么来看
为了以后能够看清楚,现在来回顾一下类和对象的创建,对象的调用和传递(前面写过一篇)
类和对象的基础概念:
JAVA中万事万物都是类 类有字段(属性),方法,嵌套类和嵌套接
- JDK1.5 AtomicLong实例
bijian1013
javathreadjava多线程AtomicLong
JDK1.5 AtomicLong实例
类 AtomicLong
可以用原子方式更新的 long 值。有关原子变量属性的描述,请参阅 java.util.concurrent.atomic 包规范。AtomicLong 可用在应用程序中(如以原子方式增加的序列号),并且不能用于替换 Long。但是,此类确实扩展了 Number,允许那些处理基于数字类的工具和实用工具进行统一访问。
 
- 自定义的RPC的Java实现
bijian1013
javarpc
网上看到纯java实现的RPC,很不错。
RPC的全名Remote Process Call,即远程过程调用。使用RPC,可以像使用本地的程序一样使用远程服务器上的程序。下面是一个简单的RPC 调用实例,从中可以看到RPC如何
- 【RPC框架Hessian一】Hessian RPC Hello World
bit1129
Hello world
什么是Hessian
The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary p
- 【Spark九十五】Spark Shell操作Spark SQL
bit1129
shell
在Spark Shell上,通过创建HiveContext可以直接进行Hive操作
1. 操作Hive中已存在的表
[hadoop@hadoop bin]$ ./spark-shell
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Welcom
- F5 往header加入客户端的ip
ronin47
when HTTP_RESPONSE {if {[HTTP::is_redirect]}{ HTTP::header replace Location [string map {:port/ /} [HTTP::header value Location]]HTTP::header replace Lo
- java-61-在数组中,数字减去它右边(注意是右边)的数字得到一个数对之差. 求所有数对之差的最大值。例如在数组{2, 4, 1, 16, 7, 5,
bylijinnan
java
思路来自:
http://zhedahht.blog.163.com/blog/static/2541117420116135376632/
写了个java版的
public class GreatestLeftRightDiff {
/**
* Q61.在数组中,数字减去它右边(注意是右边)的数字得到一个数对之差。
* 求所有数对之差的最大值。例如在数组
- mongoDB 索引
开窍的石头
mongoDB索引
在这一节中我们讲讲在mongo中如何创建索引
得到当前查询的索引信息
db.user.find(_id:12).explain();
cursor: basicCoursor 指的是没有索引
&
- [硬件和系统]迎峰度夏
comsci
系统
从这几天的气温来看,今年夏天的高温天气可能会维持在一个比较长的时间内
所以,从现在开始准备渡过炎热的夏天。。。。
每间房屋要有一个落地电风扇,一个空调(空调的功率和房间的面积有密切的关系)
坐的,躺的地方要有凉垫,床上要有凉席
电脑的机箱
- 基于ThinkPHP开发的公司官网
cuiyadll
行业系统
后端基于ThinkPHP,前端基于jQuery和BootstrapCo.MZ 企业系统
轻量级企业网站管理系统
运行环境:PHP5.3+, MySQL5.0
系统预览
系统下载:http://www.tecmz.com
预览地址:http://co.tecmz.com
各种设备自适应
响应式的网站设计能够对用户产生友好度,并且对于
- Transaction and redelivery in JMS (JMS的事务和失败消息重发机制)
darrenzhu
jms事务承认MQacknowledge
JMS Message Delivery Reliability and Acknowledgement Patterns
http://wso2.com/library/articles/2013/01/jms-message-delivery-reliability-acknowledgement-patterns/
Transaction and redelivery in
- Centos添加硬盘完全教程
dcj3sjt126com
linuxcentoshardware
Linux的硬盘识别:
sda 表示第1块SCSI硬盘
hda 表示第1块IDE硬盘
scd0 表示第1个USB光驱
一般使用“fdisk -l”命
- yii2 restful web服务路由
dcj3sjt126com
PHPyii2
路由
随着资源和控制器类准备,您可以使用URL如 http://localhost/index.php?r=user/create访问资源,类似于你可以用正常的Web应用程序做法。
在实践中,你通常要用美观的URL并采取有优势的HTTP动词。 例如,请求POST /users意味着访问user/create动作。 这可以很容易地通过配置urlManager应用程序组件来完成 如下所示
- MongoDB查询(4)——游标和分页[八]
eksliang
mongodbMongoDB游标MongoDB深分页
转载请出自出处:http://eksliang.iteye.com/blog/2177567 一、游标
数据库使用游标返回find的执行结果。客户端对游标的实现通常能够对最终结果进行有效控制,从shell中定义一个游标非常简单,就是将查询结果分配给一个变量(用var声明的变量就是局部变量),便创建了一个游标,如下所示:
> var
- Activity的四种启动模式和onNewIntent()
gundumw100
android
Android中Activity启动模式详解
在Android中每个界面都是一个Activity,切换界面操作其实是多个不同Activity之间的实例化操作。在Android中Activity的启动模式决定了Activity的启动运行方式。
Android总Activity的启动模式分为四种:
Activity启动模式设置:
<acti
- 攻城狮送女友的CSS3生日蛋糕
ini
htmlWebhtml5csscss3
在线预览:http://keleyi.com/keleyi/phtml/html5/29.htm
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>攻城狮送女友的CSS3生日蛋糕-柯乐义<
- 读源码学Servlet(1)GenericServlet 源码分析
jzinfo
tomcatWebservlet网络应用网络协议
Servlet API的核心就是javax.servlet.Servlet接口,所有的Servlet 类(抽象的或者自己写的)都必须实现这个接口。在Servlet接口中定义了5个方法,其中有3个方法是由Servlet 容器在Servlet的生命周期的不同阶段来调用的特定方法。
先看javax.servlet.servlet接口源码:
package
- JAVA进阶:VO(DTO)与PO(DAO)之间的转换
snoopy7713
javaVOHibernatepo
PO即 Persistence Object VO即 Value Object
VO和PO的主要区别在于: VO是独立的Java Object。 PO是由Hibernate纳入其实体容器(Entity Map)的对象,它代表了与数据库中某条记录对应的Hibernate实体,PO的变化在事务提交时将反应到实际数据库中。
实际上,这个VO被用作Data Transfer
- mongodb group by date 聚合查询日期 统计每天数据(信息量)
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
/* 1 */
{
"_id" : ObjectId("557ac1e2153c43c320393d9d"),
"msgType" : "text",
"sendTime" : ISODate("2015-06-12T11:26:26.000Z")
- java之18天 常用的类(一)
Luob.
MathDateSystemRuntimeRundom
System类
import java.util.Properties;
/**
* System:
* out:标准输出,默认是控制台
* in:标准输入,默认是键盘
*
* 描述系统的一些信息
* 获取系统的属性信息:Properties getProperties();
*
*
*
*/
public class Sy
- maven
wuai
maven
1、安装maven:解压缩、添加M2_HOME、添加环境变量path
2、创建maven_home文件夹,创建项目mvn_ch01,在其下面建立src、pom.xml,在src下面简历main、test、main下面建立java文件夹
3、编写类,在java文件夹下面依照类的包逐层创建文件夹,将此类放入最后一级文件夹
4、进入mvn_ch01
4.1、mvn compile ,执行后会在