- 2022-07-04 失去老猫
Sybil_b283
昨天跟老猫发完消息,我就知道我又少了一个朋友。我问她的房子装修怎么样,放假了没,放假去哪,她一一回答后,我们就聊无可聊了。我想,如果她本可以问问我房子装修到哪了,什么时候放假,放假去哪,可是她没有。上次我们聊到房子,她的在装修,我的刚办好手续,我知道她的房子面积多大,装修花了多少,家具要定做实木的,本来想等她问我买的面积多大,我就说多少多少,好吓吓她的,结果她完全没有关心我的面积。所以我又少了一个
- 2022-07-04 晨写
在读
关于所谓的“不要在乎别人的看法”,到底有多难?在上写东西,今天算是第5天了吧,其实从第二天的时候就想把自己的文章分享到微信上的,但一直到昨天才真正分享出去,个中原因就是,我还没有想好应该用什么名字,而其默认的名字是我的微信名,带来的直接影响就是,别人一看就知道,是我写的东西。而且在分享的时候,还特意屏蔽掉掉了很熟悉的人。为什么要这么做呢?因为我怕,怕被别人知道,怕被别人议论。转眼看看其他更为成功的
- 2022-07-04 不要等到退休
行动是第一生产力
今天是7月4号,星期一,集中隔离第7天。今天是集中隔离的最后一天,到晚上11点就会正式接触隔离,不出意外的话,明天会转移到另一个酒店进行最后三天的居家检测,之后就解脱了,只是暂时还不能回家,因为北京要求需满14天才可以返京。自从6月22日开始,到今天已经隔离了12天,因为有阅读的陪伴,自己几乎没怎么玩手机,更没有追剧,也并没有感觉无聊,这也算是退休生活的预演,如果明天退休,你会去做什么呢?锻炼身体
- 2022-07-04
亚军向着光的那一方
教育是公平的,几乎所有令人羡慕的“别人家孩子”,都是父母用实实在在的努力和不厌其烦的耐心换来的。当父母把教育孩子放在首位,孩子的人生才能不留遗憾。每一个“别人家的孩子”,都是“别人家的父母”牺牲了无数的娱乐、休息,倾心陪伴、严格教育出来的。没有父母的严格和努力,就没有孩子的自律和上进。父母要先苦后甜,也要让孩子先苦后甜。有时候狠心“逼”孩子一把,才会知道孩子有多优秀。父母严格不是坏事,孩子的成长需
- 华杉版资治通鉴【1609】报仇。2022-07-04
华杉2009
11、五月十四日,东都大雨。五月二十三日,洛水满溢,淹没民居一千余家。关中先是水灾,然后旱灾、蝗灾,接着又是瘟疫,米价一斗值四百钱,两京间死者相枕于路,人相食。12、皇上既封泰山,想要遍封五岳,秋,七月,在嵩山之南建造奉天宫。监察御史里行(见习期,在监察御史里行走)人李善感进谏说:“陛下封泰山,禀告上天天下太平,引致很多祥瑞,已经与三皇、五帝媲美了。数年以来,庄稼收成不好,饿殍相望于道路,四夷交相
- 2022-07-04
我傻我笨但我真
1.走到生命尽头的时候,我们大多相似。我们都会变老,一遍遍地讲同一个故事。但是,要和一个善良的人共度一生。——《时空恋旅人》2.人穷尽一生追寻另一个人类共度一生的事,我一直无法理解。或许我自己太有意思,无需他人陪伴。所以,我祝你们在对方身上得到的快乐与,我给自己的一样多。——《生活大爆炸》3.每天你都有机会和很多人擦身而过,而你或者对他们一无所知,不过也许有一天他会变成你的朋友或是知己。——《重庆
- 2022-07-04
红三竖
连日高温心待雨,斜丝飘落送清凉。枝头蝉噪随风断,湖畔荷香入夜长。泻玉飞珠迷醉客,倾云倒影戏垂杨。蛙声阵阵添诗意,执伞徐行话宋唐。……夏韵
- 2022-07-04
682cd797009b
疫情寒风渡,政策暖人心2022年7月2日,河南财经政法大学公共管理学院赴河南省平顶山市、信阳市等地服务类小微企业发展成就观察暑期社会实践调研团前往河南省上蔡县,对当地的小微企业和个体工商户进行实地走访和调研,深入了解疫情当下,小微企业的发展现状,宣传政府政策,助力企业发展。上午十点,实践队员来到上蔡县临街店铺“大叔炒板栗”干果店进行采访,老板娘表示,近两年疫情对于实体店的冲击较大,门店生意不景气,
- 2022-07-04
依旧云
有这么一个说法,其实自己也是很认同的:上任何课,请不要问孩子,要不要继续学啊?学的话妈妈给你交费。如果你希望孩子继续学习下去,并越来越优秀,就不要这样问,和孩子一起坚持就行。️大宝最近一年都十分抗拒去上舞蹈班,各种不上课的理由,都是我们一路的要求和不能随意放弃的态度坚持让她去上课!其实大宝虽然表达不去上,但去了课堂还是可以坚持并认真对待的,不管是舞蹈还是古筝,其实都学得还是挺不错的!为人父母,愿孩
- 2022-07-04
咸鱼钰
当我刷朋友圈,看到有人秀昂贵的包包和鞋子,或者别人秀自己的美貌和身材,我会感到羡慕,我会无意间和别人对比。我知道这样是不好的,在这个浮躁的年代,我要学会拒绝消费主义的洗脑。买了一个昂贵的包就真的会获得满足了吗?或许发完朋友圈秀完后会有那种无尽的空洞会席卷而来。为了填补内心的空洞难道是无穷无尽地消费和购买吗。。尝试着获取简单和低消费的快乐,过好内心想要的生活,攀比永远没有尽头。不要因为是别人比你更优
- 2022-07-04
安子丹
中国股市:这10大板块中的低价龙头股有望领涨(附名单)1、水电:赣能股份(5板)现价:9.53,二期发电机组江西省同类型火电机组领先水平主营业务:火力、水力发电。重点在市场化售电,增量配网,煤炭运输通道建设,智慧能源等综合能源服务领域集中发力,赣能能源服务,昱辰智慧能源等公司相继成立运营。2、发电厂:建投能投(蓄势而发)现价:5.10,河北省最大的独立发电公司主营业务:投资、建设、经营管理以电力生
- 2022-07-04自我欣赏打卡
爱与感恩_4e13
我欣赏自己今晚又坚持运动我欣赏自己爱学习,提升自己的勇气我欣赏自己敢于面对自己过往伤痛我欣赏自己能够欣赏同事的勇气我欣赏自己自信看自己我欣赏自己又坚持打卡我欣赏自己善良和可爱我欣赏自己有良好的人脉我欣赏自己热爱生活的态度我欣赏自己有勇气去表达自己我欣赏自己格局变大我欣赏自己情绪转换能力我欣赏自己朝着目标勇往直前我欣赏自己有梦想我欣赏自己自我认可我欣赏自己做自己生命的主人我欣赏自己接纳自己的情绪我欣
- 2022-07-04
努力减肥到110的胖纸
关于减肥作为一个反反复复,节食和反弹中来回横跳的人,我是真的可以为减肥说上几句话。我是青春期开始胖起来的,都说青春期胖起来的最难减,因为脂肪细胞长了很多。最近的一次减肥成功是18年,从160瘦到了120斤中间配合着饮食,节食,运动,爬山,跳舞,从5月17号开始到8月结束。后期开始反弹,在没有饮食控制后,生活作息不规律等引起的肥胖,从120到今年的180斤。于是今年3月开始减肥,这次换了工作,比较轻
- 2022-07-04情绪管理的践行
爱与感恩_4e13
在去南宁学习的课程上,我印象很深的是,坐在我旁边的女孩子想上台去参与活动,这个时候来了另一个女孩子,这个女孩子,跟我旁边的那个女孩子说,我先了。这个时候,老师停下来了,说这个就是你的模式,大家觉得哪个先到的?我们都说是我旁边的那个女孩子,然后鼓励她重新走上讲台,这个女孩子眼泪都在眼睛里打转,委屈地走到那个女孩子面前,说,我想上去,那个女孩子问,为什么,她说因为我先到的,我想去,她说的时候语气特别的
- 2022-07-04周易指要(5-10)
七星客球体卦
【周易指要】(5)屯第三【卦体】1、屯卦六爻阴阳混杂,这从爻画上可以直接看出来,六爻之间不仅有方位与时间上的差异,更有了阴阳方面的差异。2、进一步的研究表明,自屯卦开始,天数与地数的比值为一比一点五,阳爻所包含的天数是四个或四个以上,阴爻所包含的地数是六个或六个以上,这样屯卦就有了许多异构体。3、六爻分据六虚,初二三四五上这个“顺序”,反映的依然是并且永远是下前右后左上。4、屯卦的一个重要特点是站
- 2022-07-04
47fbfef06cde
我是一个普普通通的人,成绩普通,相貌平平,在我平静的九年义务教育生涯中,一直有个秘密,这个秘密在我的心里已经生根发芽,无法磨灭,我暗恋一个人很久很久。他从小都有着主角光环,人如其名,一身正气,成绩优秀,是老师眼中的尖子生,是同学眼中的学神。我比较早熟,五六年级时,情窦初开,那时候班里也不乏有搞对象的,也见识了许多男男女女的爱情。他不是一眼看过去就很惊艳的人,皮肤黝黑,而且有点暴力,也被他打过,即使
- 2022-07-04铁公鸡如我,东西够用干嘛买贵的
小声BB的小透明
今天的一个观点:东西够用干嘛买贵的。(特指数码设备)两个经济学概念:1.稀缺。2.机会成本。事情源于我买了部不到两千块的红米千元机,而且已经是第二部啦!我觉得很实惠。上一部红米买来玩,没想到也用了两年,甚至还当了一段时间的主力机。但,身边的一些朋友们看到我用千元机,仿佛我正在承受天大的委屈,OTL。(这里还是要谢谢朋友们对我的关心,怕我受委屈,我买新红米手机的第一天就跟他们说了,结果他们还问我是不
- 2022-07-04
莲乌
新工作还真是不很顺畅。每节课上什么课,在哪个教室上课,巴雅都还不是很清楚。偶尔发个群消息还会出错,班长看到了赶紧纠正。巴老师也是留心改正,希望尽快顺手。但是上班一周后的一天还是出了点事。就是那几天吧,学生们正在忙着配合学校提供自己的相关信息,但是总是有个别学生们提交的信息不符合要求。政教许主任给巴老师打电话,让她通知班级所有的信息不对的学生到政教办公室,并通知所有的班干部到校会议室开会。“学生们在
- 2022-07-04 「1200. 最小绝对差」
柠香萌萌鸡
今日简单题:https://leetcode.cn/problems/minimum-absolute-difference/本题思路就是先排序,关键点是如何一次遍历作出答案,这里要用到List的clear方法,一旦找到更小的差值时,要把之前存进List的答案都清空。看下代码:classSolution{publicList>minimumAbsDifference(int[]arr){Array
- 2022-07-04 口令破解
T____t
一、口令安全现状@弱口令类似于123456、654321、admin123等常见的弱密码。@默认口令很多应用或者系统都存在默认口令。比如phpstudy的mysql数据库默认账密【root/root】,Tomcat管理控制台默认密码【tomcat/tomcat】@明文传输比如http、ftp、telnet等服务,在网络中传输数据流都为明文,包括口令认证信息等。这样的服务,又被嗅探的风险。在线破解方
- 2022-07-04
冷暖我自知12
年轻,不是易逝的容颜和年华,而是一种心境、一种良好的生活状态。今天的夜读,和你分享保持年轻的5个好习惯,心若年轻,岁月不老。1、坚持读书活到老,学到老。读书对一个人的重要性,不只在于习得新知识,更在于帮我们保持思考的能力、充满活力的状态。读书可以改变一个人的气质和格局。有知识藏于心,便是对灵魂最顶级的化妆。读书多了,由书香气所孕育出的精神长相,任由时间再刻薄,也难以摧残。2、时常微笑生活没有桃花源
- 2022-07-04
0d3b9014340e
这个世界很复杂,但是我很简单,简单到一眼就能看穿,我又很直爽,直爽到说话口无遮拦,我也很真诚,真诚到对人毫无保留,有人说过很傻,也有人说过我笨,只有我自己知道,我傻是因为不去计较,我笨是不想去防备我信任的人,我更很善良,善良到不会伤人,我也很心软,心软到不忍拒绝任何人的求助,阮安国随笔!
- 写报告2022-07-04
功能美
如何写报告?报告公式:过去情况+现存问题+未来改进。例如关于**************的报告*****单位(上级单位):接**********的通知/根据***********的要求、计划,我单位*********(一般来说,我们得先从思想上差手,比如思想上高度重视,认真领会等),**********(采取了哪些措施,措施可以从组织上、成立专项团队、学习上、推进落实上、查摆问题、调研反馈、经费、
- 2022-07-04|第29天·慌乱的时候静下心来读读书
陌陌的树洞啊
10:506月24号赶到儿子学校,本来是希望在WH帮他找一份实习的工作,但他自己想回家里,所以我们在YC他爸爸那儿待了两天,回到家里。他找了一份在社区当志愿者的工作。我打算在YC工作的计划暂时搁置,回家陪儿子。这几天电脑放在YC,没有写日记。但也没闲着。一直在找工作,一个朋友邀请我到他的木作厂试了一天,觉得不太合适。因为我不想朝工厂管理这个方向发展。今天联系了一家磁砖销售公司,下午去聊聊。我还是想
- 2022-07-04
杨杨悦读
《捕捉儿童敏感期》01——再谈敏感期这个世界上有些事情,说了才会知道,不说就不知道。知道了才能看见,不知道就看不见。儿童敏感期就是其中一个。01缘起在蒙特梭利《童年的秘密》中有这样一段描述:荷兰科学家雨果·德佛里斯在动物身上发现了这些敏感期,在我们的蒙特梭利学校里,我们发现在儿童身上也有这种敏感期,并且可以应用于教学上。德佛里斯最早是在昆虫身上发现这些敏感期的,这很容易观察到,昆虫形态上的各种变化
- 2022-07-04 Your values are clues to finding meaning
春生阁
Whenyouthinkofthemeaningoflife,whatspringstomind?Perhapsananswerlike“thepurposeofourexistence”or“somethingbiggerthanourselves.”Theseareallexamplesofmeaningswhentalkingaboutthemeaningoflife.Themeaningo
- 2022-07-04
海盐烤栗子
人文党建“寻湖之记忆,绘党之风采”暑期社会实践团队红色漫画绘制正在继续2022年7月4日,湖州学院人文学院党建中心“寻湖之记忆,绘党之风采”暑期社会实践团队的红色漫画绘制继续推进。前几日,湖州学院人文学院党建中心“寻湖之记忆,绘党之风采”暑期社会实践团队出发,前往玉堂桥社区进行社会实践。走进社区的第一天,宣讲团的成员面对低幼段的小朋友,用儿童化的语言宣讲了红色党史故事。他们通过讲解、问答互动的方式
- 舍弃了我,这只是你的选择而已 2022-07-04
青木映画
“凡是人,总有取舍,你取了你认为重要的东西,舍弃了我,这只是你的选择而已。若是我因为没有被选择,就心生怨恨。那这世间岂不是有太多不可原谅之处。毕竟谁都没有责任,要以我为先,以我为重。无论我如何希望,也不能强求。我之所以这么待你,是因为我愿意。若是以此,换回同样的诚心,固然可喜。可若是没有,我也没有什么好后悔的。”看到这段话真的太感动了。可以说,这段话像光一样,让我的心头豁然开朗,变得明亮起来。很多
- 2022-07-04 晨间日记
Lily17
今天是什么日子起床:6:50就寝:10:00天气:晴心情:一般纪念日:无总目标:学习网盘课程,阅读电子书籍日常记录:5:00日记5:10阅读书籍7:00英语16:46写作作业17:30日更打卡微习惯:微习惯1:每天听课程执行情况:上班路上听得到课程。微习惯2:每天阅读1页书籍执行情况:早上阅读书籍微习惯3:每天早上学习30分钟英语执行情况:每天早上听演讲微习惯4:每天写100字执行情况:搜集素材,
- 2022-07-04 觉察感恩
枫晴心舍
这两天走路严重不够,不是坐着打电脑,坐着咨询,就是坐着看书。连日阴雨,也很考验心境调节能力。感恩一位同仁,约我谈点事,只有今天有空,于是今天恢复了晨练,约在锻炼的附近。见面谈的内容其实完全可以一个电话解决,回来后看到他发来的资料后,又给他去电话聊了一个来小时,这部分若是面谈会更有意思。虽然有个难免的错位,还是感恩,是这个邀约坚定了我去晨练的决心。友友没去晨练,而是去了北九水看瀑布了。感谢她跟我分享
- Java常用排序算法/程序员必须掌握的8大排序算法
cugfy
java
分类:
1)插入排序(直接插入排序、希尔排序)
2)交换排序(冒泡排序、快速排序)
3)选择排序(直接选择排序、堆排序)
4)归并排序
5)分配排序(基数排序)
所需辅助空间最多:归并排序
所需辅助空间最少:堆排序
平均速度最快:快速排序
不稳定:快速排序,希尔排序,堆排序。
先来看看8种排序之间的关系:
1.直接插入排序
(1
- 【Spark102】Spark存储模块BlockManager剖析
bit1129
manager
Spark围绕着BlockManager构建了存储模块,包括RDD,Shuffle,Broadcast的存储都使用了BlockManager。而BlockManager在实现上是一个针对每个应用的Master/Executor结构,即Driver上BlockManager充当了Master角色,而各个Slave上(具体到应用范围,就是Executor)的BlockManager充当了Slave角色
- linux 查看端口被占用情况详解
daizj
linux端口占用netstatlsof
经常在启动一个程序会碰到端口被占用,这里讲一下怎么查看端口是否被占用,及哪个程序占用,怎么Kill掉已占用端口的程序
1、lsof -i:port
port为端口号
[root@slave /data/spark-1.4.0-bin-cdh4]# lsof -i:8080
COMMAND PID USER FD TY
- Hosts文件使用
周凡杨
hostslocahost
一切都要从localhost说起,经常在tomcat容器起动后,访问页面时输入http://localhost:8088/index.jsp,大家都知道localhost代表本机地址,如果本机IP是10.10.134.21,那就相当于http://10.10.134.21:8088/index.jsp,有时候也会看到http: 127.0.0.1:
- java excel工具
g21121
Java excel
直接上代码,一看就懂,利用的是jxl:
import java.io.File;
import java.io.IOException;
import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
import jxl.write.Label;
import
- web报表工具finereport常用函数的用法总结(数组函数)
老A不折腾
finereportweb报表函数总结
ADD2ARRAY
ADDARRAY(array,insertArray, start):在数组第start个位置插入insertArray中的所有元素,再返回该数组。
示例:
ADDARRAY([3,4, 1, 5, 7], [23, 43, 22], 3)返回[3, 4, 23, 43, 22, 1, 5, 7].
ADDARRAY([3,4, 1, 5, 7], "测试&q
- 游戏服务器网络带宽负载计算
墙头上一根草
服务器
家庭所安装的4M,8M宽带。其中M是指,Mbits/S
其中要提前说明的是:
8bits = 1Byte
即8位等于1字节。我们硬盘大小50G。意思是50*1024M字节,约为 50000多字节。但是网宽是以“位”为单位的,所以,8Mbits就是1M字节。是容积体积的单位。
8Mbits/s后面的S是秒。8Mbits/s意思是 每秒8M位,即每秒1M字节。
我是在计算我们网络流量时想到的
- 我的spring学习笔记2-IoC(反向控制 依赖注入)
aijuans
Spring 3 系列
IoC(反向控制 依赖注入)这是Spring提出来了,这也是Spring一大特色。这里我不用多说,我们看Spring教程就可以了解。当然我们不用Spring也可以用IoC,下面我将介绍不用Spring的IoC。
IoC不是框架,她是java的技术,如今大多数轻量级的容器都会用到IoC技术。这里我就用一个例子来说明:
如:程序中有 Mysql.calss 、Oracle.class 、SqlSe
- 高性能mysql 之 选择存储引擎(一)
annan211
mysqlInnoDBMySQL引擎存储引擎
1 没有特殊情况,应尽可能使用InnoDB存储引擎。 原因:InnoDB 和 MYIsAM 是mysql 最常用、使用最普遍的存储引擎。其中InnoDB是最重要、最广泛的存储引擎。她 被设计用来处理大量的短期事务。短期事务大部分情况下是正常提交的,很少有回滚的情况。InnoDB的性能和自动崩溃 恢复特性使得她在非事务型存储的需求中也非常流行,除非有非常
- UDP网络编程
百合不是茶
UDP编程局域网组播
UDP是基于无连接的,不可靠的传输 与TCP/IP相反
UDP实现私聊,发送方式客户端,接受方式服务器
package netUDP_sc;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.Ine
- JQuery对象的val()方法执行结果分析
bijian1013
JavaScriptjsjquery
JavaScript中,如果id对应的标签不存在(同理JAVA中,如果对象不存在),则调用它的方法会报错或抛异常。在实际开发中,发现JQuery在id对应的标签不存在时,调其val()方法不会报错,结果是undefined。
- http请求测试实例(采用json-lib解析)
bijian1013
jsonhttp
由于fastjson只支持JDK1.5版本,因些对于JDK1.4的项目,可以采用json-lib来解析JSON数据。如下是http请求的另外一种写法,仅供参考。
package com;
import java.util.HashMap;
import java.util.Map;
import
- 【RPC框架Hessian四】Hessian与Spring集成
bit1129
hessian
在【RPC框架Hessian二】Hessian 对象序列化和反序列化一文中介绍了基于Hessian的RPC服务的实现步骤,在那里使用Hessian提供的API完成基于Hessian的RPC服务开发和客户端调用,本文使用Spring对Hessian的集成来实现Hessian的RPC调用。
定义模型、接口和服务器端代码
|---Model
&nb
- 【Mahout三】基于Mahout CBayes算法的20newsgroup流程分析
bit1129
Mahout
1.Mahout环境搭建
1.下载Mahout
http://mirror.bit.edu.cn/apache/mahout/0.10.0/mahout-distribution-0.10.0.tar.gz
2.解压Mahout
3. 配置环境变量
vim /etc/profile
export HADOOP_HOME=/home
- nginx负载tomcat遇非80时的转发问题
ronin47
nginx负载后端容器是tomcat(其它容器如WAS,JBOSS暂没发现这个问题)非80端口,遇到跳转异常问题。解决的思路是:$host:port
详细如下:
该问题是最先发现的,由于之前对nginx不是特别的熟悉所以该问题是个入门级别的:
? 1 2 3 4 5
- java-17-在一个字符串中找到第一个只出现一次的字符
bylijinnan
java
public class FirstShowOnlyOnceElement {
/**Q17.在一个字符串中找到第一个只出现一次的字符。如输入abaccdeff,则输出b
* 1.int[] count:count[i]表示i对应字符出现的次数
* 2.将26个英文字母映射:a-z <--> 0-25
* 3.假设全部字母都是小写
*/
pu
- mongoDB 复制集
开窍的石头
mongodb
mongo的复制集就像mysql的主从数据库,当你往其中的主复制集(primary)写数据的时候,副复制集(secondary)会自动同步主复制集(Primary)的数据,当主复制集挂掉以后其中的一个副复制集会自动成为主复制集。提供服务器的可用性。和防止当机问题
mo
- [宇宙与天文]宇宙时代的经济学
comsci
经济
宇宙尺度的交通工具一般都体型巨大,造价高昂。。。。。
在宇宙中进行航行,近程采用反作用力类型的发动机,需要消耗少量矿石燃料,中远程航行要采用量子或者聚变反应堆发动机,进行超空间跳跃,要消耗大量高纯度水晶体能源
以目前地球上国家的经济发展水平来讲,
- Git忽略文件
Cwind
git
有很多文件不必使用git管理。例如Eclipse或其他IDE生成的项目文件,编译生成的各种目标或临时文件等。使用git status时,会在Untracked files里面看到这些文件列表,在一次需要添加的文件比较多时(使用git add . / git add -u),会把这些所有的未跟踪文件添加进索引。
==== ==== ==== 一些牢骚
- MySQL连接数据库的必须配置
dashuaifu
mysql连接数据库配置
MySQL连接数据库的必须配置
1.driverClass:com.mysql.jdbc.Driver
2.jdbcUrl:jdbc:mysql://localhost:3306/dbname
3.user:username
4.password:password
其中1是驱动名;2是url,这里的‘dbna
- 一生要养成的60个习惯
dcj3sjt126com
习惯
一生要养成的60个习惯
第1篇 让你更受大家欢迎的习惯
1 守时,不准时赴约,让别人等,会失去很多机会。
如何做到:
①该起床时就起床,
②养成任何事情都提前15分钟的习惯。
③带本可以随时阅读的书,如果早了就拿出来读读。
④有条理,生活没条理最容易耽误时间。
⑤提前计划:将重要和不重要的事情岔开。
⑥今天就准备好明天要穿的衣服。
⑦按时睡觉,这会让按时起床更容易。
2 注重
- [介绍]Yii 是什么
dcj3sjt126com
PHPyii2
Yii 是一个高性能,基于组件的 PHP 框架,用于快速开发现代 Web 应用程序。名字 Yii (读作 易)在中文里有“极致简单与不断演变”两重含义,也可看作 Yes It Is! 的缩写。
Yii 最适合做什么?
Yii 是一个通用的 Web 编程框架,即可以用于开发各种用 PHP 构建的 Web 应用。因为基于组件的框架结构和设计精巧的缓存支持,它特别适合开发大型应
- Linux SSH常用总结
eksliang
linux sshSSHD
转载请出自出处:http://eksliang.iteye.com/blog/2186931 一、连接到远程主机
格式:
ssh name@remoteserver
例如:
ssh
[email protected]
二、连接到远程主机指定的端口
格式:
ssh name@remoteserver -p 22
例如:
ssh i
- 快速上传头像到服务端工具类FaceUtil
gundumw100
android
快速迭代用
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOExceptio
- jQuery入门之怎么使用
ini
JavaScripthtmljqueryWebcss
jQuery的强大我何问起(个人主页:hovertree.com)就不用多说了,那么怎么使用jQuery呢?
首先,下载jquery。下载地址:http://hovertree.com/hvtart/bjae/b8627323101a4994.htm,一个是压缩版本,一个是未压缩版本,如果在开发测试阶段,可以使用未压缩版本,实际应用一般使用压缩版本(min)。然后就在页面上引用。
- 带filter的hbase查询优化
kane_xie
查询优化hbaseRandomRowFilter
问题描述
hbase scan数据缓慢,server端出现LeaseException。hbase写入缓慢。
问题原因
直接原因是: hbase client端每次和regionserver交互的时候,都会在服务器端生成一个Lease,Lease的有效期由参数hbase.regionserver.lease.period确定。如果hbase scan需
- java设计模式-单例模式
men4661273
java单例枚举反射IOC
单例模式1,饿汉模式
//饿汉式单例类.在类初始化时,已经自行实例化
public class Singleton1 {
//私有的默认构造函数
private Singleton1() {}
//已经自行实例化
private static final Singleton1 singl
- mongodb 查询某一天所有信息的3种方法,根据日期查询
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
// mongodb的查询真让人难以琢磨,就查询单天信息,都需要花费一番功夫才行。
// 第一种方式:
coll.aggregate([
{$project:{sendDate: {$substr: ['$sendTime', 0, 10]}, sendTime: 1, content:1}},
{$match:{sendDate: '2015-
- 二维数组转换成JSON
tangqi609567707
java二维数组json
原文出处:http://blog.csdn.net/springsen/article/details/7833596
public class Demo {
public static void main(String[] args) { String[][] blogL
- erlang supervisor
wudixiaotie
erlang
定义supervisor时,如果是监控celuesimple_one_for_one则删除children的时候就用supervisor:terminate_child (SupModuleName, ChildPid),如果shutdown策略选择的是brutal_kill,那么supervisor会调用exit(ChildPid, kill),这样的话如果Child的behavior是gen_