- ES6--《每日学习》
Oswaldhs
es6学习javascript
一、ES6相关介绍1.1、什么是ES61995年的美国,有一家名为netscape(网景)的公司打造了一款主要用于check验证的脚本语言,而恰在此时,Sun公司的java语言火的一塌糊涂,netscape公司为蹭其热度,便将该脚本语言命名为JavaScript。不料JavaScript居然被越来越多的人使用,后效仿大秦的货币统一政策将其提交给国际标准组织ECMA。该组织发布的标准被称做ECMAS
- 2022-04-16
安然与你相伴
一、每日精进1、读书:给孩子讲了绘本《格林童话》我自己没有读书2、健身:宝爸回来了,饭后全家一起散步。3、陪家人:陪大宝写精选优秀学生的演讲稿。和两个宝贝一起制定学习计划。陪小女儿讲故事。陪家人散步。陪老公喝茶。今天完成了第一次家庭会议:自由发言,制定了大休日和最新的每日学习清单。希望接下来在执行的时候第一次,我要巧妙的提醒,确保她第一次成功,给她树立起极大的信心。这很重要。4、帮朋友:帮楼下的爷
- 假装自己是个诗人
一个闲人王峻
图片发自App《论道》作者:一个闲人闲人闲心闲眼观,闲情闲语笑世间。莫道红尘多虚幻,唯把快乐撒心田。又到了日更的时间,没什么写作的心情,平淡无奇的生活,周而复始的日子,每日早睡,早起,每日学习,工作,赚钱,日子在时钟的滴答滴答中,机械的进行着。平淡中,唯有读书和写作才能给人带来欢乐,还人一片净土……每天坚持写作是一件很快乐的事情,假装自己是一个很清高诗人,假装自己看透了周遭的一切,假装自己已经读懂
- 2019.5.1工作总结
景气祥和_80d0
工作内容:1.上钟2.回复大众点评(好评7条、差评0)。3.朋友圈素材编辑4.新店预售数量统计5.预约客户6.给顾客发节日祝福需要提高:如何铺垫售卡需要改正:感性的烦恼每日分享:不必急着要生活给予你所有的答案,有时候,你要拿出耐心等等。即便你向空谷喊话,也要等一会儿,才会听见那绵长的回音。每日学习:预判营业数据,对经营的理解
- 【每天学习一点点 day03】React Native 跨端原理 - 我相信我现在做的能给我的人生带来希望
_终会遇见_
07每天一个知识点学习reactnativereact.js
哈喽大家好,2024年1月24日我将开启打卡【每天学习一点点】,主要内容为记录和分享每日学习内容,学习的类型不限(全凭个人兴趣,哈哈哈,不一定今天能学点啥)2024Q1计划是移动端:①uniapp②ReactNative③Flutter④小程序⑤原生开发,暂时打算每个部分都先从了解其背后的逻辑入手,再到上手的项目,目的之一是为了找出不同框架的相同之处。鸿蒙开发最近也了解了一下,但是目前还没有加入上
- 金句指导行动(系列之一)
王伟强博士
如果把金句比作一个个钉子,读一遍,是把钉子浅浅的钉在大脑这面墙上。把金句感悟出来,就是用锤子把钉子深深钉进大脑之墙。我把这些深深钉入我大脑之墙的金句,配上我鲜活的个人体验,分享给你。相信,你读了也会有带入感,对这些金句产生不一样的认识。我将每日学习的金句做成一个系列。每个系列10句。计划先做100句。这是金句系列之一,10个真诚的金句感悟。请笑纳。【金句1】:初生之物,其形必丑。不怕打脸,万折必东
- 2021-9-9晨间日记
夏之爱
今天是什么日子:每开始新的一天就意味着每一次多了创造美好自我的机会~起床:6:30就寝:22:30天气:️晴朗️心情:开心,满足纪念日:纪念重新开始,形成健康的生活习惯和自律生活的第一天任务清单今日需要完成的任务,最重要的三件事:1.问卷星2.联系人清单整理3.简历修改(打印)4.看书(做个强硬的女孩)5.英语复习(100个单词)习惯养成:坚持每日学习,写作学习·信息·阅读听书健康·饮食·锻炼打球
- 格局决定结局翻译 2021-10-12
时与猫璞
Yourgreatnessismeasuredbyyourhorizons.你的成就和眼界成正比。-米开朗琪罗时与的每日学习打卡如下:翻译:思路决定出路,格局决定结局Yourwayoutisdeterminedbythewayofthinking,andyouroutcomeismeasuredbyyourambition.又是努力奋斗的一天。2021.10.12
- 高效率慢生活No.7
智享_GENE
图片发自App每日金句:你不可能完成所有的事每日小确幸:早起的清晨,遇见一轮美丽的明月。✨每日微习惯:[x]每日平板1分钟或俯卧撑每日学习·信息·阅读*熊猫阅读《断舍离竟然没有完成本周的测试,由于已经做过几个,也不能做后面的了,不过看了《我的家里空无一物》这个《断舍离》强烈推荐的教科书式的电视剧,还真心不错。*英语流利说懂你英语懂你英语特训*微信心得《早起的奇迹》的作者经过多年的打拼领悟到一句话:
- 日历圆盘:11月总结,12月计划。
雅俗儿的手帐
☞11月日历圆盘总结:①本月阅读书籍3本,差距1本;②手帐分享完成,整理了PPT并发布;③观看《无名之辈》并做了观影手帐。☞12月日历圆盘计划①每日学习手帐打卡②每日阅读,本月目标4本③本月尝试一篇书评图片发自App图片发自App
- 2020.3.7今日复盘
幸福的丫头丹
丫头本月精进目标①每天赋能群读书打卡一分钟②坚持每天听一本书,本月看书两本③每日抄经练字一篇④每天坚持隐牛健身一小时⑤每日动手画一画⑥陪姑娘每日学习,给儿子在家早教⑦坚持每日复盘,复盘才能翻盘⑧备考复习,每日学习一章⑨走进玛雅,学习玛雅⑩多接触学习新的知识领域,多get新技能今日行动(做了什么)✓天赋乐园学习21天爱上写作day3✓早教分享,今日游戏“浴球吊环”锻炼上臂力量✓抄经练字一篇✓画手账2
- 2022-12-08 雅思单词与短语
Hedgehoginwind
记录每日学习生活,雅思词汇学习。第一组familiarizeyourselfwithsth使熟悉ahorribletoxin可怕的毒素/releaseatoxincomplexinterplay复杂的相互作用第二组anidentifiablemark可辨别的标记/identifiableby可通过辨认的inductivereasoning归纳推理internist内科医生第三组accreditat
- 成功习惯30天训练营【day2】
24e3dfd07fce
记录者:余丽霞成长比成功重要完成比完美重要要有梦想和相信的力量信是所望之事的实底,是未见之事的确据每日学习:精油日历之柠檬草,今日礼拜听刘志雄长老讲道每日使用:保卫+顺畅呼吸香薰,茉莉呵护护肤,给老公按摩【芳香调理技术】每日分享:前天送野橘和柑橘清新给姐姐,今天和姐姐见面下单首购套,跟进3人芒果x刘静,新华每日看书:箴言22章,越书写越明白列名单:Y
- 30/30 记录| 调整
英楠在践行
1.每周每月内容写到A4纸上,差缺补漏更加直观,避免忘记,更方便系统总结2.好习惯养成,我坚持做再要求孩子3.营造学习环境大宝二宝都一起输入给孩子什么,就是什么,玩好学好,父母帮助营造好的环境,增加知识性输入,例如物理化学类,日常常识普及给孩子。4.提前备课,如何规划每日学习内容安排(大宝二宝)例如,二宝手指操,全脑,找资源提前准备。大宝,什么时间练魔方,什么时间早读,读什么,篮球怎么练习,讲讲为
- 2021-12-22晨间日记
辽远的边疆
今天是什么日子:自律操作系统建设的第188天!12条军规铁律!:1.不发不写任何朋友圈,朋友圈只用来打卡!不刷朋友圈!任何人的!不点赞评论任何人!2.要事第一!3.珍惜时间不屁话!不查不搜不好奇不猎奇不浏览只按计划刻意练习4.不无聊一无聊就刷网课5.累了困了休息15分钟后继续坚持6.不说下次不说等以后7.晨起后的第一件事是写列好每日学习计划然后开网课灌耳音再下床去洗漱而不是刷屏耽误早上的宝贵时间!
- 高效率慢生活No.22
智享_GENE
✨每日金句:成功的最短途径是创造力和进取精神。--叶武斌每日小确幸:能当次专家帮助他人完成项目每日A4、番茄工作法完成了本周a4纸的任务整理。吃掉四个番茄。下午外出。✨每日微习惯:√每日平板1分钟或俯卧撑每日学习·信息·阅读*阅读80/20法则也告诉我们,“把工作的内容按实际价值列出,我们会发现80%的价值是由20%的工作产生的,而余下80%的工作仅产生20%的价值”。所以我们需要时刻提醒自己将主
- 2021-12-5晨间日记
若茗2023
今天是什么日子起床:六点就寝:十点三十天气:多云心情:平顺,有点焦躁,来自于拖稿纪念日:新的一个月又开始了任务清单昨日完成的任务,最重要的三件事:1.迎接检查,告一段落改进:要完成好每一项任务习惯养成:今日计划今日毕周目标·完成进度要把两篇拖稿完成,把账做完学习·信息·阅读每日学习,每日日更,每日打卡,坚决不能中断。在自己学习进步的低迷期,要把握好底线健康·饮食·锻炼全身舒缓运动要坚持不要暴饮暴食
- 2019加速(每日复盘Day132)
米果果教育张滢
1月1号复盘图片发自App米果果教育张滢【每日目标】每天三目标图片发自App1.早餐✅2.英语学习作业打卡✅3.赢效率手册和总结笔记✅【每日学习】萌姐英语课《第122课》、《第123课》、《第124课》、喜马拉雅《张德芬空间》【每日关爱】金悦恒时套装、泡脚、健身一组图片发自App【每日成就】1.完成各类打卡。2.英语补课3课。3.写2019个人计划。【每日任性】今天没有任性【每日金句】千里之堤溃于
- 每日学习计划
娓娓道来的小篱笆
每天都有好多事情要做好多事情呢又分为:必须做的、应该做的、想要做的为了更好的管理自己的时间我决定列个表,一是方便合理安排自己的时间,二来让大家监督我更好的完成自己的计划。列表如下(特殊情况除外)7:00-7:30起床7:30-8:00做饭8:00-8:30吃饭8:30-9:00理财9:00-11:00心理学11:00-11:30吃饭11:30-12:00路上12:00-15:00兼职15:00-1
- 2021-12-20晨间日记
辽远的边疆
今天是什么日子:自律操作系统建设的第187天!12条军规铁律!:1.不发不写任何朋友圈,朋友圈只用来打卡!不刷朋友圈!任何人的!不点赞评论任何人!2.要事第一!3.珍惜时间不屁话!不查不搜不好奇不猎奇不浏览只按计划刻意练习4.不无聊一无聊就刷网课5.累了困了休息15分钟后继续坚持6.不说下次不说等以后7.晨起后的第一件事是写列好每日学习计划然后开网课灌耳音再下床去洗漱而不是刷屏耽误早上的宝贵时间!
- 如果只是坚持日更,你可能一辈子都写不出好文章!!
b9f53975feb3
除了每日写作,还请逼自己每日学习。1.决定文章好不好的关键因素写作是很重要的一项能力,越来越多的人开始重视写作尝试,那什么是写作呢?其实就是把个人的经验以及学到知识通过大脑的思考总结关联以文字的形式输出分享给其他人,所以写文章的公式是输入>>>>思考>>>>>输出要想写出好的文章这三个方面都很重要,而思考水平则是重中之重,也是写好文章的核心,同样一件事情别人只能看到一个层面,而你可以写出多个层面,
- 今日份小确幸2022-07-31
兮若耶
1.周日,这么美好的日子,当然是待在空调房里追剧啦。在电脑桌面前摆放好吃的零食,以最舒服的姿势随意坐着,打开电脑找目前最火的悬疑剧,一边追一边思考剧情的走向和剧情安排的合理性,顺便看看弹幕的评论,这样的生活美滋滋呀。2.月度复盘-习惯逐渐在养成。每天早上5点起床码字,第一个月就完成了时间占比的一半,很好的开始;每日学习打卡完成;书籍阅读5本,小确幸有93条。成就感和幸福感都让我认为这个月很值得。3
- 和我一起捡英文(彩蛋:超值俄罗斯)
吴淑阳
每日学习已成习惯!终身学习是人人都应该养成的习惯!看到这个超值俄罗斯行程好兴奋喔!(见最后)图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App
- 2022-11-12晨间日记
真承
今天是什么日子起床:7:00就寝:10:30天气:晴心情:白天好,晚上愤怒纪念日:成长小组第一次交流会(中下午)地球村的股东招待会(晚上)任务清单昨日完成的任务,最重要的三件事:每日学习及反省锻炼身体起居有节早起一杯果蔬汁(西红柿,簸箕笋,菜花)改进:嗔(容易发怒)骄傲(不够谦虚)勤(今日没有读经典)习惯养成:()周目标·完成进度《真原医》今日无进展学习·信息·阅读谦受益,满招损。朋友来家做客,要
- 2020-3-16晨间日记
VisualField
今天是周一March.16起床:5:22就寝:22:00天气:晴心情:舒服任务清单昨日完成的任务,最重要的三件事:读书《圣经与利剑》;学习批判性思维;整理读书笔记。习惯养成:背诵50个考研英语单词专注读书30分钟周目标·完成进度1.完成每日学习计划2.完成每日健身计划3.读完《圣经与利剑》4.《认知方法论》毕业5.每日演讲训练6.扫描式感受身体7.注意休息、皮肤管理学习·信息·阅读流行病其实是人类
- 2022-12-4晨间日记
辽远的边疆
今天是什么日子:自律操作系统建设的第2天!12条军规铁律!:1.不发不写任何朋友圈,朋友圈只用来打卡!不刷朋友圈!任何人的!不点赞评论任何人!2.要事第一!3.珍惜时间不屁话!不查不搜不好奇不猎奇不浏览只按计划刻意练习4.不无聊一无聊就刷网课5.累了困了休息15分钟后继续坚持6.不说下次不说等以后7.晨起后的第一件事是写列好每日学习计划然后开网课灌耳音再下床去洗漱而不是刷屏耽误早上的宝贵时间!8.
- 2018-09-11丰盛日记
小双双_18c5
思想:培训中学到的知识在生活工作中各种经意不经意被运用,越来越觉着自己是一个被“理论武装”过大兵,不再是一株被动飘摇的小草。上周六上完英语课,真真的是被打击了。本来英语基础也不够扎实,工作太多年放下的时间又很长,自己以前也是被动学习,所以现在有点揠苗助长的感觉。认识到原因,就要变被动为积极主动,利用自己空闲时间进行自我补给。下载各种学习的App,每日学习打卡。时间严重不够用,给自己制定一个初步的学
- 2022-07-24
sofia
总打卡天数216/1000鲁赫萱(姐姐8岁二年级)本月关注:中英文阅读训练目标:家长:静心、思考每日学习,用心陪伴孩子运动孩子:阅读、早睡、户外运动1.家长:王淑娴(1)早睡早起23:00-5:30✓(2)每日读书至少15页或听书×(3)每日高效陪伴弟弟(2.5岁)至少30分钟。(上坝避暑)(4)运动:拉伸×2.孩子:鲁赫萱(1)早睡早起21:40——7:00✓(2)每日坚持中文阅读✓(3)每日坚
- 2021-11-01断更了,重新开始
年宸佐
1/20,早上是计划,晚上更新具体内容。今天相对自己说的话:外界因素不是借口第一件事:每日学习积累一、每天学习想要做的事情:总计8.5小时,减去申论审题1.5小时,需要7小时。①巩固复盘以前学过的课程。预计3小时。②完成粉笔每日任务。(每日模考、每日时政、每日早读、每日推荐题目)预计时间2.5小时。③完成粉笔快练每个模块的每日积累(速资速算、资料找数、高频成语、必备实词、每日练习)预计0.5小时。
- 2022-6-15晨间日记
desser
今天是什么日子起床:8:00就寝:23:30天气:晴心情:良好纪念日:无任务清单昨日完成的任务,最重要的三件事:干饭,干饭,干饭改进:无习惯养成:按时干饭周目标·完成进度60%学习·信息·阅读每日学习任务按时完成定时看一小时小说健康·饮食·锻炼每天打卡有氧运动人际·家人·朋友~工作·思考~最美好的三件事1.提高自身素养2.陪伴家人3.陪伴自己的“猪猪宝贝”思考·创意·未来努力赚钱好好生活
- Java开发中,spring mvc 的线程怎么调用?
小麦麦子
springmvc
今天逛知乎,看到最近很多人都在问spring mvc 的线程http://www.maiziedu.com/course/java/ 的启动问题,觉得挺有意思的,那哥们儿问的也听仔细,下面的回答也很详尽,分享出来,希望遇对遇到类似问题的Java开发程序猿有所帮助。
问题:
在用spring mvc架构的网站上,设一线程在虚拟机启动时运行,线程里有一全局
- maven依赖范围
bitcarter
maven
1.test 测试的时候才会依赖,编译和打包不依赖,如junit不被打包
2.compile 只有编译和打包时才会依赖
3.provided 编译和测试的时候依赖,打包不依赖,如:tomcat的一些公用jar包
4.runtime 运行时依赖,编译不依赖
5.默认compile
依赖范围compile是支持传递的,test不支持传递
1.传递的意思是项目A,引用
- Jaxb org.xml.sax.saxparseexception : premature end of file
darrenzhu
xmlprematureJAXB
如果在使用JAXB把xml文件unmarshal成vo(XSD自动生成的vo)时碰到如下错误:
org.xml.sax.saxparseexception : premature end of file
很有可能时你直接读取文件为inputstream,然后将inputstream作为构建unmarshal需要的source参数。InputSource inputSource = new In
- CSS Specificity
周凡杨
html权重Specificitycss
有时候对于页面元素设置了样式,可为什么页面的显示没有匹配上呢? because specificity
CSS 的选择符是有权重的,当不同的选择符的样式设置有冲突时,浏览器会采用权重高的选择符设置的样式。
规则:
HTML标签的权重是1
Class 的权重是10
Id 的权重是100
- java与servlet
g21121
servlet
servlet 搞java web开发的人一定不会陌生,而且大家还会时常用到它。
下面是java官方网站上对servlet的介绍: java官网对于servlet的解释 写道
Java Servlet Technology Overview Servlets are the Java platform technology of choice for extending and enha
- eclipse中安装maven插件
510888780
eclipsemaven
1.首先去官网下载 Maven:
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.2.3-bin.tar.gz
下载完成之后将其解压,
我将解压后的文件夹:apache-maven-3.2.3,
并将它放在 D:\tools目录下,
即 maven 最终的路径是:D:\tools\apache-mave
- jpa@OneToOne关联关系
布衣凌宇
jpa
Nruser里的pruserid关联到Pruser的主键id,实现对一个表的增删改,另一个表的数据随之增删改。
Nruser实体类
//*****************************************************************
@Entity
@Table(name="nruser")
@DynamicInsert @Dynam
- 我的spring学习笔记11-Spring中关于声明式事务的配置
aijuans
spring事务配置
这两天学到事务管理这一块,结合到之前的terasoluna框架,觉得书本上讲的还是简单阿。我就把我从书本上学到的再结合实际的项目以及网上看到的一些内容,对声明式事务管理做个整理吧。我看得Spring in Action第二版中只提到了用TransactionProxyFactoryBean和<tx:advice/>,定义注释驱动这三种,我承认后两种的内容很好,很强大。但是实际的项目当中
- java 动态代理简单实现
antlove
javahandlerproxydynamicservice
dynamicproxy.service.HelloService
package dynamicproxy.service;
public interface HelloService {
public void sayHello();
}
dynamicproxy.service.impl.HelloServiceImpl
package dynamicp
- JDBC连接数据库
百合不是茶
JDBC编程JAVA操作oracle数据库
如果我们要想连接oracle公司的数据库,就要首先下载oralce公司的驱动程序,将这个驱动程序的jar包导入到我们工程中;
JDBC链接数据库的代码和固定写法;
1,加载oracle数据库的驱动;
&nb
- 单例模式中的多线程分析
bijian1013
javathread多线程java多线程
谈到单例模式,我们立马会想到饿汉式和懒汉式加载,所谓饿汉式就是在创建类时就创建好了实例,懒汉式在获取实例时才去创建实例,即延迟加载。
饿汉式:
package com.bijian.study;
public class Singleton {
private Singleton() {
}
// 注意这是private 只供内部调用
private static
- javascript读取和修改原型特别需要注意原型的读写不具有对等性
bijian1013
JavaScriptprototype
对于从原型对象继承而来的成员,其读和写具有内在的不对等性。比如有一个对象A,假设它的原型对象是B,B的原型对象是null。如果我们需要读取A对象的name属性值,那么JS会优先在A中查找,如果找到了name属性那么就返回;如果A中没有name属性,那么就到原型B中查找name,如果找到了就返回;如果原型B中也没有
- 【持久化框架MyBatis3六】MyBatis3集成第三方DataSource
bit1129
dataSource
MyBatis内置了数据源的支持,如:
<environments default="development">
<environment id="development">
<transactionManager type="JDBC" />
<data
- 我程序中用到的urldecode和base64decode,MD5
bitcarter
cMD5base64decodeurldecode
这里是base64decode和urldecode,Md5在附件中。因为我是在后台所以需要解码:
string Base64Decode(const char* Data,int DataByte,int& OutByte)
{
//解码表
const char DecodeTable[] =
{
0, 0, 0, 0, 0, 0
- 腾讯资深运维专家周小军:QQ与微信架构的惊天秘密
ronin47
社交领域一直是互联网创业的大热门,从PC到移动端,从OICQ、MSN到QQ。到了移动互联网时代,社交领域应用开始彻底爆发,直奔黄金期。腾讯在过去几年里,社交平台更是火到爆,QQ和微信坐拥几亿的粉丝,QQ空间和朋友圈各种刷屏,写心得,晒照片,秀视频,那么谁来为企鹅保驾护航呢?支撑QQ和微信海量数据背后的架构又有哪些惊天内幕呢?本期大讲堂的内容来自今年2月份ChinaUnix对腾讯社交网络运营服务中心
- java-69-旋转数组的最小元素。把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。输入一个排好序的数组的一个旋转,输出旋转数组的最小元素
bylijinnan
java
public class MinOfShiftedArray {
/**
* Q69 旋转数组的最小元素
* 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。输入一个排好序的数组的一个旋转,输出旋转数组的最小元素。
* 例如数组{3, 4, 5, 1, 2}为{1, 2, 3, 4, 5}的一个旋转,该数组的最小值为1。
*/
publ
- 看博客,应该是有方向的
Cb123456
反省看博客
看博客,应该是有方向的:
我现在就复习以前的,在补补以前不会的,现在还不会的,同时完善完善项目,也看看别人的博客.
我刚突然想到的:
1.应该看计算机组成原理,数据结构,一些算法,还有关于android,java的。
2.对于我,也快大四了,看一些职业规划的,以及一些学习的经验,看看别人的工作总结的.
为什么要写
- [开源与商业]做开源项目的人生活上一定要朴素,尽量减少对官方和商业体系的依赖
comsci
开源项目
为什么这样说呢? 因为科学和技术的发展有时候需要一个平缓和长期的积累过程,但是行政和商业体系本身充满各种不稳定性和不确定性,如果你希望长期从事某个科研项目,但是却又必须依赖于某种行政和商业体系,那其中的过程必定充满各种风险。。。
所以,为避免这种不确定性风险,我
- 一个 sql优化 ([精华] 一个查询优化的分析调整全过程!很值得一看 )
cwqcwqmax9
sql
见 http://www.itpub.net/forum.php?mod=viewthread&tid=239011
Web翻页优化实例
提交时间: 2004-6-18 15:37:49 回复 发消息
环境:
Linux ve
- Hibernat and Ibatis
dashuaifu
Hibernateibatis
Hibernate VS iBATIS 简介 Hibernate 是当前最流行的O/R mapping框架,当前版本是3.05。它出身于sf.net,现在已经成为Jboss的一部分了 iBATIS 是另外一种优秀的O/R mapping框架,当前版本是2.0。目前属于apache的一个子项目了。 相对Hibernate“O/R”而言,iBATIS 是一种“Sql Mappi
- 备份MYSQL脚本
dcj3sjt126com
mysql
#!/bin/sh
# this shell to backup mysql
#
[email protected] (QQ:1413161683 DuChengJiu)
_dbDir=/var/lib/mysql/
_today=`date +%w`
_bakDir=/usr/backup/$_today
[ ! -d $_bakDir ] && mkdir -p
- iOS第三方开源库的吐槽和备忘
dcj3sjt126com
ios
转自
ibireme的博客 做iOS开发总会接触到一些第三方库,这里整理一下,做一些吐槽。 目前比较活跃的社区仍旧是Github,除此以外也有一些不错的库散落在Google Code、SourceForge等地方。由于Github社区太过主流,这里主要介绍一下Github里面流行的iOS库。 首先整理了一份
Github上排名靠
- html wlwmanifest.xml
eoems
htmlxml
所谓优化wp_head()就是把从wp_head中移除不需要元素,同时也可以加快速度。
步骤:
加入到function.php
remove_action('wp_head', 'wp_generator');
//wp-generator移除wordpress的版本号,本身blog的版本号没什么意义,但是如果让恶意玩家看到,可能会用官网公布的漏洞攻击blog
remov
- 浅谈Java定时器发展
hacksin
java并发timer定时器
java在jdk1.3中推出了定时器类Timer,而后在jdk1.5后由Dou Lea从新开发出了支持多线程的ScheduleThreadPoolExecutor,从后者的表现来看,可以考虑完全替代Timer了。
Timer与ScheduleThreadPoolExecutor对比:
1.
Timer始于jdk1.3,其原理是利用一个TimerTask数组当作队列
- 移动端页面侧边导航滑入效果
ini
jqueryWebhtml5cssjavascirpt
效果体验:http://hovertree.com/texiao/mobile/2.htm可以使用移动设备浏览器查看效果。效果使用到jquery-2.1.4.min.js,该版本的jQuery库是用于支持HTML5的浏览器上,不再兼容IE8以前的浏览器,现在移动端浏览器一般都支持HTML5,所以使用该jQuery没问题。HTML文件代码:
<!DOCTYPE html>
<h
- AspectJ+Javasist记录日志
kane_xie
aspectjjavasist
在项目中碰到这样一个需求,对一个服务类的每一个方法,在方法开始和结束的时候分别记录一条日志,内容包括方法名,参数名+参数值以及方法执行的时间。
@Override
public String get(String key) {
// long start = System.currentTimeMillis();
// System.out.println("Be
- redis学习笔记
MJC410621
redisNoSQL
1)nosql数据库主要由以下特点:非关系型的、分布式的、开源的、水平可扩展的。
1,处理超大量的数据
2,运行在便宜的PC服务器集群上,
3,击碎了性能瓶颈。
1)对数据高并发读写。
2)对海量数据的高效率存储和访问。
3)对数据的高扩展性和高可用性。
redis支持的类型:
Sring 类型
set name lijie
get name lijie
set na
- 使用redis实现分布式锁
qifeifei
在多节点的系统中,如何实现分布式锁机制,其中用redis来实现是很好的方法之一,我们先来看一下jedis包中,有个类名BinaryJedis,它有个方法如下:
public Long setnx(final byte[] key, final byte[] value) {
checkIsInMulti();
client.setnx(key, value);
ret
- BI并非万能,中层业务管理报表要另辟蹊径
张老师的菜
大数据BI商业智能信息化
BI是商业智能的缩写,是可以帮助企业做出明智的业务经营决策的工具,其数据来源于各个业务系统,如ERP、CRM、SCM、进销存、HER、OA等。
BI系统不同于传统的管理信息系统,他号称是一个整体应用的解决方案,是融入管理思想的强大系统:有着系统整体的设计思想,支持对所有
- 安装rvm后出现rvm not a function 或者ruby -v后提示没安装ruby的问题
wudixiaotie
function
1.在~/.bashrc最后加入
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
2.重新启动terminal输入:
rvm use ruby-2.2.1 --default
把当前安装的ruby版本设为默