- 2022-03-02
卿林
镜子把螺丝拧紧,新拆封的镜子就用上了。坐这儿面前就可以看到自己的样子。这样照镜子是多久以前的事情,学生时代?当学生时成绩不好,是没有文昌帝君的照顾吧,昨天才听到的镜子趣事好像有这么一说。为人做嫁衣的人到底是一副什么模样,天生的吗?反正不是无辜的镜子里的样子,我觉得样子该在那些人的眼珠子里。查找了一下资料,我还没有感叹错,这用语合适。“一个贫家女子突破抑郁和窒息的重压呼喊出来的自伤自叹又自矜自持”,
- 2022-03-02
57261dc63b53
女婴的妹妹出生了,毫不疑问全家人都很喜欢妹妹。妹妹是爸爸34岁的时候有的孩子对整个家庭都非常重要。女婴从此便开始和爷爷奶奶一起在炕上,虽然炕是一间沙子房,有时候还会掉土疙瘩,有的时候还会被灶火里的烟熏的睁不开眼。但是对女婴来说这是小时候最开心的时候。奶奶每天照顾妈妈坐月子,妈妈的身体只能撑起一个孩子的奶量,刚刚出生的妹妹需要喝母乳才能更健康。奶奶为了给婴儿吃奶就用编草帽的钱买了一头羊,专门给婴儿喝
- 2022-03-02 day5 听早上连线有感
简单真好
今天是2022年3月2日,今天听的连线是个高二的不上学的女孩妈妈的连线,这个孩子高一之前学习优秀,母女关系也不错,从2020年6月爸爸病重入院7月初病逝,9月孩子逐渐出现强迫、抑郁症状,学习上也出现问题。这个孩子从2021年高一陆续不上学,找过医院的心理科,之后也找社会上的咨询师,前前后后换了不少于5个心理咨询师。在这个过程中,孩子表现很任性,在见心理咨询师时出现迟到现象(典型的阻抗),当聚集在爸
- 2022-03-02
王亚亚__
昨天好与不好都已经过去,无法改变,明天好与不好还不知道,但明天可以改变今日资源12今日定金1总资源106总定金7
- 2022-03-02
布衣青豆
我来了,消失了一段时间,刚刚看完《人世间》大结局,一共58集,这是我这么多年来一集不落追完的一部剧,而且没有快进,整部剧恢宏大气,跨越了半个世纪,人世间,人生百态,尽收眼底,突然想起金惟纯先生的那本书,《人生只有一件事》,那就是活好,我们通常都把自己活小了,在乎金钱、名誉、外面的人和事,这世界上有三件事,老天的事,他人的事,自己的事,我们只管去做好自己的事,就会活的通透,轻松自在。每个人这一辈子都
- 2022-03-02开盘八卦
忘川秋水
受隔夜美股收跌影响,担心战事继续扩大化,大癌股低开低走,各大指数一致水坎,前方有险,创业板更是三只乌鸦走势,出现挤兑出逃,还好指数缩量,控制仓位等待时机。
- 2022-03-02
Yin爱丽丝
最近自己忙得很,所以文章也没有写几篇。但是我一直想着这件事儿。我遇到过很多很多有趣的人。他们真的很与众不同。也有的人很优秀。也有的人不优秀。一晃都过去这么多天了。我也给一个人请了假,她也准了我的假。感觉批个假也很容易。我也感觉容易。有时候要坚持走自己的道路。不可以人云亦云。如果人与亦云的话,那你就和别人一模一样,没有什么区别了。所以说要坚持做自己。慢慢的就会越来越好的。在外面吃饭,就是不可以讲究那
- 2022-03-02
朱亚娟
不进则退——林海峰作品老化,可以在数小时之类就发生!与社会年龄无关,生理年龄才是身体的真实状态!十几个小时之内,如果你一直坐着不动,站起来的时候,你的腿脚是肿的,走路变得困难。乘坐国际航班的人,或许都有这样的体会!实际上,大脑不用,会退化,牙齿不用,会退化,手脚不用,会退化!老化的两种途径,一种是过度使用造成消耗、损伤而引起的,另一种,则是不用而退化!前者包括许多体力劳动者,后者,则包括都市里的大
- 2022-03-02小记录
句町丁
今天随几个同学到八宝,看望另一个母亲去世的同学。早上在县城时天气晴的不是太好,中午到了八宝后,那里的天气是大晴天,还有点热。一路上,珠街、八宝两个防疫堵卡点还在工作,需要扫健康码、行程码才放行。1、健步走10000步:今天仅完成7000步,还是中午在八宝沿河散步时完成的。2、读书笔记1篇:完成1篇。《为什么要养生?黄帝内经这样说》,也算是《黄帝内经》听课笔记吧。3、听书3篇:完成1篇。《死魂灵》(
- 2022-03-02
求真崔老师
新加坡理工学院新加坡理工学院有五所,分别是新加坡理工学院、南洋理工学院、义安理工学院、淡马锡理工学院,以及共和理工学院。说到新加坡的理工学院,很多人会把它理解为大专,甚至很多家长认为新加坡五所理工还比不上中国的二本。实际上,新加坡政府开设的理工学院是为普及全民教育而设立的,教学水平具有相当的保障。新加坡理工学院的文凭,虽然是Diploma,但这个文凭是受到国际认可的,成绩优异的学生,可以继续申请升
- 2022-03-02
加菲猫想减肥
It'ssunnytoday.theweatherbecomeswarmerandwarmer.Manypeopleputofftheircotton-paddedclothes,sotherearemany"flowers"inschool.lotsofteacherslikecomingtheplaygroundandchatwitheachotherwhentheyhaveawalk.weh
- 女儿教育-关于主义 2022-03-02 周三
勇往直前888
背景介绍今天早上送女人上学,边走边说。本来想说每个人生阶段都有主要的事情要做。像现在的读书阶段就是把书读好,为以后走上社会打好基础。后来被女儿带偏了,讲起了主义。社会主义强调的是国家组织高于一切,人是为组织服务的。读书,学习,工作,住房,医疗等等都是等待组织分配的。对于个人也是强调服从组织安排。计划经济,强调的是公平,最后的结果往往导致共同贫穷。资本主义强调的是资本高于一切,一切为资本服务。比如疫
- 2022-03-02
你咋不上天
让政治生命闪闪发光作为一名共产党员“如何让政治生命闪闪发光”?这是一个必须解决好的时代命题。坚定理想信念。组织上入党是一生一次,思想上入党则是一生一世。理想信念犹如大海航行中的“航标”,犹如飞行中的“灯塔”,犹如夜间行军中的指北针。坚守纪律规矩。广大党员必须把守纪律讲规矩摆在更加重要的位置,牢固树立“纪在法前”、“纪严于法”的意识,真正把纪律立起来、紧起来、严起来,做到不犯规、不违纪、不越线,让严
- 2022-03-02
谭玲_069d
谭玲焦点解决网络初级20期中21,坚持原创分享第754天,2022年3月2日读书打卡第132天《亲密关系》友谊和爱情的区别:爱恋包含着比喜欢更复杂的情感。喜欢和爱恋多包涵对伙伴正面热情的评价,但浪漫的爱情还包括对伴侣的着迷,性的欲望和比友谊强烈得多的排他性的愿望。爱情关系还有着更为严厉的行为标准:对待爱人应该比对朋友更加忠诚更加愿意伸出援手。社会支持包括:感情支持,建议支持,物质支持和无形支持。这
- 2022-03-02
happylinzi
2022年3月2日读《论语•述而篇》【原文】7.30:子曰:“仁远乎哉?我欲仁,斯仁至矣。”7.31:陈司败问:“昭公知礼乎?“孔子曰:“知礼。”孔子退,揖巫马期而进之,曰:“吾闻君子不党,君子亦党乎?君取①于吴,为同姓,谓之吴孟子。君而知礼,孰不知礼?”巫马期以告。子曰:“丘也幸,苟有过,人必知之。”【原句译文】7.30孔子说:“仁离我们很远吗?内心想要仁的那一刻,仁就来了。”7.31陈司败问:
- 2022-03-02
浅袂轻尘Tehya
好课难得,难在文、课、人的统一。闫老师《冬阳·童年·骆驼队》这堂课的构筑也正如茶意,舒缓平淡,看似信手拈来、波澜不惊,细察之却处处匠心独运,令人回味悠长;而执教者在课堂上表现出的那一份从容恬淡、含蓄优雅,也正合了茶道之本,所以,这是一堂好课。在揭示课题之后,教师先让孩子们根据课题中的三个词语展开联想——“你仿佛看到了怎样的画面”。这一环节,我以为正如茶道中的“暖壶”,也可以套一句《琵琶行》中的话—
- 2022-03-02
翁卫和
三星堆“坑”物,可以复原古代宗庙、神殿神庙是王者所设,是开展前帝祖先崇拜的传统。陵墓是帝王死后的安身之处神庙则是帝王灵魂安息的另外之处陵墓、神庙的通常是由王朝建设,初衷与统治者所想的一样,流传千古持久永恒。神庙的用途:王者或其委托祭司到神庙定期举行仪式活动来祭祀住在里边的帝神,祈祷神的永驻、护佑其王朝恒久远。神庙安放死去的帝王被称为“皇祖”,神庙是古代王宣传合法身份的地方。王朝重大的决定都在神庙进
- 2022-03-02
做一束暖暖的光
一、中原焦点团队杜冰冰焦点初15期坚持分享第1042天2022年3月2日二、坚持读书分享第973天《活法》第100--106页我们通过各种努力,得到的不仅是呼风唤雨的能力,而更是看得开、看得透、看得远的能力,从宽度、深度、长度,三个维度修炼自己的格局。遇到的破事太多,是因为你的格局太小。当你心思狭隘,看到的都是纠结与鸡毛蒜皮。当你看得开,所有的烦心事就变成了风轻云淡,活得豁达。当你看得透,就懂得包
- 2022-03-02(170)Busy End, hope a happy end
木金木水火土的木
Thosedayswe'reattheendoftheproject.Beforewethoughtitwouldbenotsobusyattheend.But,thetruthisthatwearewrong.OurtaskisexecutedduringtheCovid-19pandemic,sotheimplementationwasdulydelayedandaffected.Undert
- 2022-03-02
岁月巍巍
如何在滚烫的沙漠里执行死刑?这种死刑叫什么刑?谢福祥居然把东家的女儿睡了!他很得意。心想,身穿蟒袍也不过如此,卖油郎占了花魁也不过如此!东家的女儿叫细翠,和名字一样,窈窕着,青翠着,水嫩水嫩的。他是长工,给东家放牛,耪地。细翠就是天上的月亮,和他有着遥不可及的距离,踩着梯子都够不着。细翠那样娇贵的身子,是一个长工可以睡的吗?可他偏偏把细翠睡了。那头,东家领着老婆去城里串亲戚,细翠喊他帮忙洗被单。两
- 2022-03-02
想换个名
多日的阴雨已经过去,难得的出现了明媚的阳光,金灿灿铺满我的阳台。站在阳台,面朝阳光,整个人被温暖包裹的懒洋洋的。随手搬来一个凳子坐着,泡上一杯牛奶,怀抱一本电脑,悠闲的俯瞰楼下的那幼儿园那些无忧无虑的玩闹,耳边是他们的清脆的笑闹声,而向远处望去则高楼林立,往来车辆,思考这生活呀……
- 2022-03-02 我的小确幸
安静安静一下
外界的纷纷扰扰常常让人心烦意乱。近日收到的几个正反馈瞬间让人满血。记录一下。01健康↑家里新换了体脂秤,于是我兴致勃勃地上去测了一把。测试结果显示“优秀”,啊?评分88分,哈?年龄30,嗯?所有指标都在标准线上,哇哇哇......这是我嘛?记得在20年,评分在70多,还有好几个指标不达标,当时整个脸上痘痘层出不穷,感觉健康问题岌岌可危。于是21年给自己定的关键词就是“健康”。从每天通勤路上的正念冥
- 2022-03-02
AB型水瓶座Z
给大家安利一首好听的音乐吧(美好的事可不可以发生在我身上)“我们半推半就的人生,怎么过啊。”没决定太多事就这样到了今天然后接下来变成了硬撑的烂局再打一剂希望麻醉的痛苦只能进不能退看不起放不下不得不走下去我们半推半就的人生没有和你一样被眷顾的未来我们半推半就的人生怎么过啊
- 2022-03-02抗冷
木土大先生
上午,出于工作原因,到各办公室巡看了一下,发现很多办公室里没人,空调还开着,都能达到30度了。于是,我就找到空调开关,把开着的空调都关闭了。最近这几天,家里和办公室不要空调也没感觉了。家中的集中供暖,是不乐意关闭的,自供热以来,一直开着。但没有供暖的日子里,空调要开放一会,否则就会冷,凉。被冻感冒。人走灯灭,将空调关闭。在家里的,是自费的。当然是这样做。在单位,不知怎么回事,这些习惯都不存在了。余
- 2022-03-02
大白兔奶茶
在自学小组里,我有点不耐烦,因为同组的男士是个怪人,很懒。基本上都在睡觉。我不理解他为何可以这样过。也会觉得他的懒惰会显得我们这样勤恳的人很不公平。这时,他居然醒来了;“下学期见”真是个怪胎!我对他的内心想法…在一栋大楼里,我和S小姐在逛街,她说要找一种烟,我便陪着她转转。但逛遍了便利店都没有她要的东西。我有点沮丧了。可能她要找的东西根本不存在。走着走着,大楼最北方出口前,左边有一间批发店,门牌写
- 2022-03-02
谢波1
今日体验:每天工作中都要知道自己在干什么,干到那一步了,需要和同事之间一起合作完成的事情,都要用心去做!核心:工作分配的事情都要尽力去办好!
- 2022-03-02
万佳心语
猫咪姐:1、思考的重要性,我们通常没有和常理做过联系2、思考和如何思考的区别,如何做教育的事,对于别人的质疑的思考,孩子的教育,教会孩子如何思考能飞是因为有羽毛吗?恩曲线老师:1、和孩子的对话,如何想的?孩子的想法和自己想要的不一样,2、报大师课的例子,问自己想要什么?正直的教练是不会告诉你答案的你是怎么想的?你想要什么?慢读3月2日瀚予早课《你要如何衡量你的人生》002-005GET到“授之以鱼
- 2022-03-02 纪念
路上遇见我自己
今天,平常的一天。今天,我遇到了。昨天我看知乎,看到有关专注力的问题,我有点上心了。其实这并不是我第一次刷到关于专注力的问题,可能第三次了吧!前两次有一点点改变,但也就只是有一点点,而且时间也不长,于是改刷手机还是在刷手机,一边后悔着一边无所作为。一直以来,我都是想好好学习的,我想考一个二级建造师来着,看着大学同学都考出来了,我也很羡慕。可是我就是看不进去书,连视频课程都没有好好看,都在我的收藏夹
- 2022-03-02
AB型水瓶座Z
给大家安利一首好听的音乐吧(美好的事可不可以发生在我身上)“我们半推半就的人生,怎么过啊。”没决定太多事就这样到了今天然后接下来变成了硬撑的烂局再打一剂希望麻醉的痛苦只能进不能退看不起放不下不得不走下去我们半推半就的人生没有和你一样被眷顾的未来我们半推半就的人生怎么过啊
- 2022-03-02
素还真
热修复流程1,用dx命令对class打包2,双亲委托机制,先看自己缓存有没有,在看上一层classLoader有没有,没有再自己loadclassqq空间热修复方案RSS,PSS,USS主要uss这个是自己独占的rss是全部的pss是共享库按比例分配的okhttp队列,同步队列,异步进行队列,异步准备队列同步队列直接进入队列请求判断是不是总请求e;if((e=getNode(hash(key),k
- mongodb3.03开启认证
21jhf
mongodb
下载了最新mongodb3.03版本,当使用--auth 参数命令行开启mongodb用户认证时遇到很多问题,现总结如下:
(百度上搜到的基本都是老版本的,看到db.addUser的就是,请忽略)
Windows下我做了一个bat文件,用来启动mongodb,命令行如下:
mongod --dbpath db\data --port 27017 --directoryperdb --logp
- 【Spark103】Task not serializable
bit1129
Serializable
Task not serializable是Spark开发过程最令人头疼的问题之一,这里记录下出现这个问题的两个实例,一个是自己遇到的,另一个是stackoverflow上看到。等有时间了再仔细探究出现Task not serialiazable的各种原因以及出现问题后如何快速定位问题的所在,至少目前阶段碰到此类问题,没有什么章法
1.
package spark.exampl
- 你所熟知的 LRU(最近最少使用)
dalan_123
java
关于LRU这个名词在很多地方或听说,或使用,接下来看下lru缓存回收的实现
1、大体的想法
a、查询出最近最晚使用的项
b、给最近的使用的项做标记
通过使用链表就可以完成这两个操作,关于最近最少使用的项只需要返回链表的尾部;标记最近使用的项,只需要将该项移除并放置到头部,那么难点就出现 你如何能够快速在链表定位对应的该项?
这时候多
- Javascript 跨域
周凡杨
JavaScriptjsonp跨域cross-domain
 
- linux下安装apache服务器
g21121
apache
安装apache
下载windows版本apache,下载地址:http://httpd.apache.org/download.cgi
1.windows下安装apache
Windows下安装apache比较简单,注意选择路径和端口即可,这里就不再赘述了。 2.linux下安装apache:
下载之后上传到linux的相关目录,这里指定为/home/apach
- FineReport的JS编辑框和URL地址栏语法简介
老A不折腾
finereportweb报表报表软件语法总结
JS编辑框:
1.FineReport的js。
作为一款BS产品,browser端的JavaScript是必不可少的。
FineReport中的js是已经调用了finereport.js的。
大家知道,预览报表时,报表servlet会将cpt模板转为html,在这个html的head头部中会引入FineReport的js,这个finereport.js中包含了许多内置的fun
- 根据STATUS信息对MySQL进行优化
墙头上一根草
status
mysql 查看当前正在执行的操作,即正在执行的sql语句的方法为:
show processlist 命令
mysql> show global status;可以列出MySQL服务器运行各种状态值,我个人较喜欢的用法是show status like '查询值%';一、慢查询mysql> show variab
- 我的spring学习笔记7-Spring的Bean配置文件给Bean定义别名
aijuans
Spring 3
本文介绍如何给Spring的Bean配置文件的Bean定义别名?
原始的
<bean id="business" class="onlyfun.caterpillar.device.Business">
<property name="writer">
<ref b
- 高性能mysql 之 性能剖析
annan211
性能mysqlmysql 性能剖析剖析
1 定义性能优化
mysql服务器性能,此处定义为 响应时间。
在解释性能优化之前,先来消除一个误解,很多人认为,性能优化就是降低cpu的利用率或者减少对资源的使用。
这是一个陷阱。
资源时用来消耗并用来工作的,所以有时候消耗更多的资源能够加快查询速度,保持cpu忙绿,这是必要的。很多时候发现
编译进了新版本的InnoDB之后,cpu利用率上升的很厉害,这并不
- 主外键和索引唯一性约束
百合不是茶
索引唯一性约束主外键约束联机删除
目标;第一步;创建两张表 用户表和文章表
第二步;发表文章
1,建表;
---用户表 BlogUsers
--userID唯一的
--userName
--pwd
--sex
create
- 线程的调度
bijian1013
java多线程thread线程的调度java多线程
1. Java提供一个线程调度程序来监控程序中启动后进入可运行状态的所有线程。线程调度程序按照线程的优先级决定应调度哪些线程来执行。
2. 多数线程的调度是抢占式的(即我想中断程序运行就中断,不需要和将被中断的程序协商)
a) 
- 查看日志常用命令
bijian1013
linux命令unix
一.日志查找方法,可以用通配符查某台主机上的所有服务器grep "关键字" /wls/applogs/custom-*/error.log
二.查看日志常用命令1.grep '关键字' error.log:在error.log中搜索'关键字'2.grep -C10 '关键字' error.log:显示关键字前后10行记录3.grep '关键字' error.l
- 【持久化框架MyBatis3一】MyBatis版HelloWorld
bit1129
helloworld
MyBatis这个系列的文章,主要参考《Java Persistence with MyBatis 3》。
样例数据
本文以MySQL数据库为例,建立一个STUDENTS表,插入两条数据,然后进行单表的增删改查
CREATE TABLE STUDENTS
(
stud_id int(11) NOT NULL AUTO_INCREMENT,
- 【Hadoop十五】Hadoop Counter
bit1129
hadoop
1. 只有Map任务的Map Reduce Job
File System Counters
FILE: Number of bytes read=3629530
FILE: Number of bytes written=98312
FILE: Number of read operations=0
FILE: Number of lar
- 解决Tomcat数据连接池无法释放
ronin47
tomcat 连接池 优化
近段时间,公司的检测中心报表系统(SMC)的开发人员时不时找到我,说用户老是出现无法登录的情况。前些日子因为手头上 有Jboss集群的测试工作,发现用户不能登录时,都是在Tomcat中将这个项目Reload一下就好了,不过只是治标而已,因为大概几个小时之后又会 再次出现无法登录的情况。
今天上午,开发人员小毛又找到我,要我协助将这个问题根治一下,拖太久用户难保不投诉。
简单分析了一
- java-75-二叉树两结点的最低共同父结点
bylijinnan
java
import java.util.LinkedList;
import java.util.List;
import ljn.help.*;
public class BTreeLowestParentOfTwoNodes {
public static void main(String[] args) {
/*
* node data is stored in
- 行业垂直搜索引擎网页抓取项目
carlwu
LuceneNutchHeritrixSolr
公司有一个搜索引擎项目,希望各路高人有空来帮忙指导,谢谢!
这是详细需求:
(1) 通过提供的网站地址(大概100-200个网站),网页抓取程序能不断抓取网页和其它类型的文件(如Excel、PDF、Word、ppt及zip类型),并且程序能够根据事先提供的规则,过滤掉不相干的下载内容。
(2) 程序能够搜索这些抓取的内容,并能对这些抓取文件按照油田名进行分类,然后放到服务器不同的目录中。
- [通讯与服务]在总带宽资源没有大幅增加之前,不适宜大幅度降低资费
comsci
资源
降低通讯服务资费,就意味着有更多的用户进入,就意味着通讯服务提供商要接待和服务更多的用户,在总体运维成本没有由于技术升级而大幅下降的情况下,这种降低资费的行为将导致每个用户的平均带宽不断下降,而享受到的服务质量也在下降,这对用户和服务商都是不利的。。。。。。。。
&nbs
- Java时区转换及时间格式
Cwind
java
本文介绍Java API 中 Date, Calendar, TimeZone和DateFormat的使用,以及不同时区时间相互转化的方法和原理。
问题描述:
向处于不同时区的服务器发请求时需要考虑时区转换的问题。譬如,服务器位于东八区(北京时间,GMT+8:00),而身处东四区的用户想要查询当天的销售记录。则需把东四区的“今天”这个时间范围转换为服务器所在时区的时间范围。
- readonly,只读,不可用
dashuaifu
jsjspdisablereadOnlyreadOnly
readOnly 和 readonly 不同,在做js开发时一定要注意函数大小写和jsp黄线的警告!!!我就经历过这么一件事:
使用readOnly在某些浏览器或同一浏览器不同版本有的可以实现“只读”功能,有的就不行,而且函数readOnly有黄线警告!!!就这样被折磨了不短时间!!!(期间使用过disable函数,但是发现disable函数之后后台接收不到前台的的数据!!!)
- LABjs、RequireJS、SeaJS 介绍
dcj3sjt126com
jsWeb
LABjs 的核心是 LAB(Loading and Blocking):Loading 指异步并行加载,Blocking 是指同步等待执行。LABjs 通过优雅的语法(script 和 wait)实现了这两大特性,核心价值是性能优化。LABjs 是一个文件加载器。RequireJS 和 SeaJS 则是模块加载器,倡导的是一种模块化开发理念,核心价值是让 JavaScript 的模块化开发变得更
- [应用结构]入口脚本
dcj3sjt126com
PHPyii2
入口脚本
入口脚本是应用启动流程中的第一环,一个应用(不管是网页应用还是控制台应用)只有一个入口脚本。终端用户的请求通过入口脚本实例化应用并将将请求转发到应用。
Web 应用的入口脚本必须放在终端用户能够访问的目录下,通常命名为 index.php,也可以使用 Web 服务器能定位到的其他名称。
控制台应用的入口脚本一般在应用根目录下命名为 yii(后缀为.php),该文
- haoop shell命令
eksliang
hadoophadoop shell
cat
chgrp
chmod
chown
copyFromLocal
copyToLocal
cp
du
dus
expunge
get
getmerge
ls
lsr
mkdir
movefromLocal
mv
put
rm
rmr
setrep
stat
tail
test
text
- MultiStateView不同的状态下显示不同的界面
gundumw100
android
只要将指定的view放在该控件里面,可以该view在不同的状态下显示不同的界面,这对ListView很有用,比如加载界面,空白界面,错误界面。而且这些见面由你指定布局,非常灵活。
PS:ListView虽然可以设置一个EmptyView,但使用起来不方便,不灵活,有点累赘。
<com.kennyc.view.MultiStateView xmlns:android=&qu
- jQuery实现页面内锚点平滑跳转
ini
JavaScripthtmljqueryhtml5css
平时我们做导航滚动到内容都是通过锚点来做,刷的一下就直接跳到内容了,没有一丝的滚动效果,而且 url 链接最后会有“小尾巴”,就像#keleyi,今天我就介绍一款 jquery 做的滚动的特效,既可以设置滚动速度,又可以在 url 链接上没有“小尾巴”。
效果体验:http://keleyi.com/keleyi/phtml/jqtexiao/37.htmHTML文件代码:
&
- kafka offset迁移
kane_xie
kafka
在早前的kafka版本中(0.8.0),offset是被存储在zookeeper中的。
到当前版本(0.8.2)为止,kafka同时支持offset存储在zookeeper和offset manager(broker)中。
从官方的说明来看,未来offset的zookeeper存储将会被弃用。因此现有的基于kafka的项目如果今后计划保持更新的话,可以考虑在合适
- android > 搭建 cordova 环境
mft8899
android
1 , 安装 node.js
http://nodejs.org
node -v 查看版本
2, 安装 npm
可以先从 https://github.com/isaacs/npm/tags 下载 源码 解压到
- java封装的比较器,比较是否全相同,获取不同字段名字
qifeifei
非常实用的java比较器,贴上代码:
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
i
- 记录一些函数用法
.Aky.
位运算PHP数据库函数IP
高手们照旧忽略。
想弄个全天朝IP段数据库,找了个今天最新更新的国内所有运营商IP段,copy到文件,用文件函数,字符串函数把玩下。分割出startIp和endIp这样格式写入.txt文件,直接用phpmyadmin导入.csv文件的形式导入。(生命在于折腾,也许你们觉得我傻X,直接下载人家弄好的导入不就可以,做自己的菜鸟,让别人去说吧)
当然用到了ip2long()函数把字符串转为整型数
- sublime text 3 rust
wudixiaotie
Sublime Text
1.sublime text 3 => install package => Rust
2.cd ~/.config/sublime-text-3/Packages
3.mkdir rust
4.git clone https://github.com/sp0/rust-style
5.cd rust-style
6.cargo build --release
7.ctrl