- 如何做好人生的选择题?百科全书式天才——赫伯特·西蒙给你答案
伽马有话说
赫伯特·西蒙是谁?想必知道的人非常少。但当看到他的履历后,相信没有人再怀疑他是个“天才”。西蒙出生于1916年6月15日,是个美国人,他的名字全称为赫伯特·亚历山大·西蒙,在2001年2月9日与世长辞,在这84年的岁月中,西蒙以27岁时取得的政治学博士学位为开端,先后步入了政治学、管理学、认知心理学、信息科学、人工智能、科学哲学、应用数学、统计学、运筹学、控制论、数理经济学、公共管理等领域,在这些
- 9.11事件背后的阴谋
250e4f21a70d
美国以本·拉登策划了“911”事件为由发动了阿富汗战争。可是,战争已经过去10多年了。“9.11”事件还有许多谜底至今尚未被解开。在2001年9月11日,美国东部时间约早上8时50分,纽约市曼哈顿区遭到恐怖袭击。世贸中心被两架遭恐怖分子劫持的民航客机相继冲击,两座大厦随即起火并冒出大量浓烟稍后相继倒下,伤亡人数难以估计。此外,世贸中心倒塌后大约一小时,位于华盛顿的五角大楼被第三架飞机撞击,两度爆炸
- 2023-04-28
我_4b6f
保定影像之街道(一二一九)2018年12月31日,星期一。农历戊戌年甲子月丁酉日(狗年)十一月二十五。河北省保定市:阳光大街。保定市,古称清苑、上谷、保州、保府。因城池似靴,又称靴城。保定与北京相伴而生,保定之名取自“保卫大都、安定天下”之意。阳光大街,南北街道。原名韩村路,因韩村而得名。2003年5月21日,国务院办公厅批准修订后的《保定市城市总体规划(2001至2020年)》,规范道路命名,韩
- 2022-06-29 历史上的今天
玉石儿
2001年,青藏铁路开工典礼;1984年,《中国妇女》杂志刊登了我国第一则征婚广告;1976年,塞舌尔宣布脱离英国独立,成立塞舌尔共和国;1964年,“东风二号”导弹发射升空;1949年,南非开始实行种族隔离计划;1940年,意象派画家保罗·克利病逝;1929年,意大利女记者奥里亚娜·法拉奇出生;1900年,诺贝尔奖金基金会成立;1895年,英国杰出生物学家托马斯·亨利·赫胥黎逝世;1852年,美
- “六一”那些山区的孩子们…
TED编织教室
今天朋友圈被“六一”刷爆了,演出、游玩、礼物……中午看到一篇文章,我整个人都难过。原来有些人只是生活,就已花光所有力气。曾获得北京大学首届校园原创文学大赛一等奖,但天妒英才,获奖者在颁奖一年前,就已身患白血病离开了人间。1979年,生于湖南醴陵一个山区农户,自小于贫寒中刻苦学习,1997年考入北京大学法学院,2001年攻读法学硕士,以《大话红楼》风靡当时全国高校BBS论坛,2003年非典期间患白血
- 泪光闪闪 / 夏川里美
唯闻音乐
夏川里美-淚光閃閃(涙そうそう)三弦,十五世纪左右渐渐从中国流传入日本冲绳,后改良流传至日本各地,名叫三味线,成为日本最重要的乐器之一。清冷的音色,透着一股悲凉而又隐忍的味道。森山良子为纪念已逝的哥哥而作的诗,后由“冲绳歌神”BEGIN谱曲而成《泪光闪闪》。夏川里美的版本最为流传。该曲收录于2001年发行的专辑《太阳·风的思念》中。夏川里美以其浓浓的特殊鼻音唱腔搭配传统的乐器三味线,温柔地道出这首
- 2023-01-14
我_4b6f
保定影像之街道(一〇二三)2019年3月22日,星期五。农历己亥年丁卯月戊午日(猪年)二月十六。河北省保定市:七一路。保定市,古称清苑、上谷、保州、保府。因城池似靴,又称靴城。保定与北京相伴而生,保定之名取自“保卫大都、安定天下”之意。七一路,东西街道。1956年7月1日始建,为纪念党的生日而命名。2003年5月21日,国务院办公厅批准修订后的《保定市城市总体规划(2001至2020年)》,规范道
- 曾当年大红的她瞧不起赵薇,如今46岁却无人敢娶,沦为了跑龙套!
面朝大海说影视
俗话说“三十年河东,三十年河西”,谁都不要小看谁,说不定若干年以后人家比你强。就像当年大红的她一样,她当时瞧不起赵薇,但如今46岁了却无人敢娶,沦为了跑龙套!从《还珠格格》中活泼可爱的小燕子让我们认识了这个美丽的姑娘——赵薇!她成名于“可爱的小鸟”,演起“幽怨的少妇”也很在行,她演什么就红什么,随后她演的《情深深雨蒙蒙》、《京华烟云》都曾破过当年央视的收视纪录;2001年进军电影界后,她演的片子五
- Windows XP十五周年:由爱生恨的系统霸主
weixin_34380296
操作系统
2001年10月25日,微软推出了一款日后风靡全球的操作系统WindowsXP,这款系统拥有当时最漂亮的界面,最先进的技术,以及超高的兼容性,也正是由于这些原因,以至于现在这款系统还拥有不小的市场,即使微软早已放弃技术支持。如今XP已走过15个年头,虽然IT之家明白微软早想彻底“封印”它,但怎奈这款“系统霸主”有着独到的长青之术,微软也是心有余而力不足。爱=对的时间+对的人WindowsXP的长寿
- IPV6地址配置,ping6以及iperf3简单测试
鱼非鱼花非花
网络服务器运维tcp/ip网络协议linux
IPV6地址配置与简单测试一.IPV6地址配置1.确认目标网卡正常识别,端口正常link本文中采用的是Intel82599的网卡,系统下使用lspci命令看到如下结果:lspci|grep82599ifconfig2.配置临时的IPV6地址(以enp7s0网口为例)ifconfigenp7s0inet6add2001:250:250:250:250:250:250:222/643.为网卡ethX添
- python调用微信自带OCR实现内容识别(全)
knighthood2001
python调用微信本地OCR进行文字识别python微信ocr
博客主页:knighthood2001✨公众号:认知up吧(目前正在带领大家一起提升认知,感兴趣可以来围观一下)知识星球:【认知up吧|成长|副业】介绍❤️感谢大家点赞收藏⭐评论✍,您的三连就是我持续更新的动力❤️笔者水平有限,欢迎各位大佬指点,相互学习进步!今天就让我们来实现一下python调用微信自带OCR进行文本识别。要实现这个功能,你需要看看之前写的这两篇文章:01:py
- 儒雅洋隔溪张,上张水库欧阳桥,枯水期和丰水期,天壤之别
颖之星语
2020年秋冬,宁波市内缺水最为严重的地方,就是象山县。2021年入春以来,雨天较多,然而雨量较小,宁波各大水库的缺水状况略有好转,但是仍未根本解除。象山隔溪张水库,建成于2001年,坝址位于西周镇隔溪张村。隔溪张村与儒雅洋村村,隔溪相望,因为村民多姓张,故名隔溪张村,水库因此而名隔溪张水库。隔溪张水库,以饮用水源供水为主,结合灌溉、防洪等功能,是象山县为数不多的大型水库之一,和下游的上张水库,构
- 《高等教育研究》
专注知识产权服务13937636601
核心期刊知网期刊职称评审核心期刊
期刊名称:高等教育研究刊期:月刊国内统一刊号(CN):42-1024/G4国际标准刊号(ISSN):1000-4203来稿须知本刊自2001年起,执行《中国学术期刊(光盘版)检索与评价数据规范》标准,请作者来稿注意如下事项:1.来稿请附100-300字的中英文摘要、中英文关键词,以及作者工作单位、通讯地址、邮政编码、联系电话。工作单位、通讯地址请使用全称。2.请作者提供个人简介:出生年、性别、籍贯
- 今天我想介绍一个人
蓝歪歪
今天我想和大家聊聊一个人,她的名字叫杨澜。她是中国电视节目主持人、清代文学家、首都经济贸易大学辅导员。毕业院校为北京外国语大学、哥伦比亚大学两所学校。其代表作品有:天下女人、天呐女人、杨澜访谈录、正大综艺等。她的主要成就是2001年7月13日代表奥申委陈述、2008年被奥申委聘为申奥形象大使、美国MAKERS“开拓者”大奖、中国首届主持人“金话筒奖”。我相信说到这里很多人还都是一头雾水,那我就给大
- 练习3-5 输出闰年 (15分) 输出21世纪中截止某个年份以来的所有闰年年份。注意:闰年的判别条件是该年年份能被4整除但不能被100整除、或者能被400整除
七颗糖很甜
c语言
练习3-5输出闰年(15分)输出21世纪中截止某个年份以来的所有闰年年份。注意:闰年的判别条件是该年年份能被4整除但不能被100整除、或者能被400整除#includeintmain(){intyear,i,count=0;scanf("%d",&year);if(year2100)printf(“Invalidyear!\n”);else{for(i=2001;i<=year;i++){if(i
- 安溪民间自古存老铁,这份报告的诞生有了科学依据。
潘记茶庄
存铁观音,这在产区以外一直鲜少有人知晓。为什么存铁观音?值得藏吗?之前,我们分享过2001年陈年老铁,1992年陈年老铁,喝过的人都盛赞口感好。故,今天就不对陈年老铁的转化,口感做详细叙述。陈年老铁在之前,安溪民间就收藏老铁,主要用来:1、治疗急性肠炎。2、治疗消化不良、腹胀。3、平时调理肠胃。4、制作陈年蜂蜜茶。2017春传统老铁安溪地处偏远山区,极其贫瘠。由于贫穷,曾经温饱都是问题,根本看不起
- 保定影像之街道(五三三)
我_4b6f
保定影像之街道(五三三)2019年7月3日,星期三。农历己亥年庚午月辛丑日(猪年)六月初一。河北省保定市:五四路。保定市,古称清苑、上谷、保州、保府。因城池似靴,又称靴城。保定与北京相伴而生,保定之名取自“保卫大都、安定天下”之意。五四路,东西街道。五四路始建时,因其东端与青年路相接,关联命名为五四路(五四青年节)。2003年5月21日,国务院办公厅批准修订后的《保定市城市总体规划(2001至20
- 2001年11月21日 星期三 晴
什么昵称才帅气呢
我最讨厌这几天了,老是忽热忽冷,热就热两天,自己刚穿瘦了,天气一下子就变冷了,当冷下来时,我往厚的穿穿,天气一下子变暖了,气的我火冒三丈,这天气怎么老和我过不去。我希望天气冷就冷,不能冷一阵再热一阵,这样会引起感冒的。
- P1024 [NOIP2001 提高组] 一元三次方程求解
喝可乐的布偶猫
c++
题目描述:AC代码:#includeusingnamespacestd;doublea,b,c,d;intans=0;doublef(doublex){returna*x*x*x+b*x*x+c*x+d;}intmain(){scanf("%lf%lf%lf%lf",&a,&b,&c,&d);for(doublei=-100.00;i<=100.00;i+=0.001){doublel=i,r=i
- 2021-07-07
Fang尛芳
顺萃2021.7.7日课76/2001:修恒读书《大学精义》261-268页做到金句:先要在家里落实了孝、悌、慈,然后才是治国。治国的时候,就是把齐家时对父亲的态度拿来对待领导,就可以了。儒家的修行是一步一步来的,是齐家、治国、平天下,顺序不能颠倒。2:控情:克性情,不喊,不生气。——做到慎言,好好说话,说好话——做到3:敬慎:对人敬,对事敬,对物敬——做到
- aloho的床头诗 2001-2050
aloho
43.jpg2001.思乡是一种病/无可救药的病/只属于穷人/和回不去的人2002.一重山见一层水/一段风遇一方苇/千里云来未送君/万丈河出乃迎客2003.做个好梦青年/勤奋地做梦/把梦见的人都见一遍/把梦见的神都拜一遍/周公是唯一的父亲/而安眠药是最爱的敌人/一直睡到地老天荒/没有哪个世界比梦更加真实/没有哪个梦境比现实更加可怕2004.青春早已战死沙场/一趟又一趟旅程/铸刻成堆的伤痕文学/据说
- 热血传奇:曾经的回忆,如今回不去?
复古游戏解说
说到裁决、菜刀、土城、拿沙、GM、收油、幸运+9、流星火雨.....你会想到什么?可能有读者一脸懵逼,毕竟这些怪异词语似乎有点风马牛不相及。而对很多80后的玩家,会毫不犹豫的说出热血传奇2001年,网吧刚刚开始盛行,网络游戏也才刚刚开始普及,网络交友刚刚开始萌芽。还记得,全宿舍集体翻围墙去网吧包夜的场景;还记得,因没钱竟从比奇穿过毒蛇山谷,跑步回到土城。刚开始的传奇,没有外挂和作弊,装备完全靠自己
- 读《自私的基因》有感1
卷发Y头
理查德•道金斯,1941年3月26日生,英国皇家科学院院士,牛津大学教授,著名科普作家,生物学家。2001年当选为英国皇家学会院士。他的畅销书中,于1976年出版的《自私的基因》为最重要的代表作,他的基因观念,颠覆了我们对自身的幻觉,深刻影响了整整一个时代。这周我们一起共读理查德•道金斯的《自私的基因》。文章让我印象深刻的是以下几个章节:第一章《为什么会有人呢》,作者道金斯提出了本书的论点是,我们
- 咨询心理学知识~心理咨询师的职业定义
shang2021520
大荔县心理咨询协会尚公正,坚持学习分享第94天。2001年8月,经国家劳动和社会保障部批准,并颁布了《心理咨询师国家职业标准》(试用版)。在该标准中,对心理咨询师的职业给出了明确的定义:心理咨询师是运用心理学以及相关知识,遵循心理学原则,通过心理咨询的技术与方法,帮助求助者解除心理问题的专业人员。这一定义涵盖了心理咨询作为一种职业的全部内容,其中包括:第一,心理咨询作为一种职业,从业者(心理咨询师
- 一文搞懂戴克斯特拉算法-dijkstra
somenzz
算法数据结构pythondijkstra贪心算法
大学学习数据结构那会,当时记得终于把dijkstra算法搞明白了,但是今天碰到的时候,大脑又是一片空白,于是我就又学习了下,把自己的理解写下来,希望你也可以通过本文搞懂dijkstra算法。dijkstra的起源dijkstra已经62岁了,是由荷兰计算机科学家艾兹赫尔·戴克斯特拉在1956年制造,并于3年后在期刊上发表,在2001年的采访中[1]他说到:从鹿特丹到格罗宁根的最短路径是什么?实际上
- 《父与女》:影视景别艺术,诠释父女亲情,是超越生死的永恒
大书言
文/大书言海水干涸,杂草遍野,星辰日月,岁月变迁,唯一不变是我期盼您回归的心情。与您重逢,是我一生所求,父亲。于2001年上映的英国、荷兰、比利时合作的作品《父与女》,讲述了就是这样一个父女之间极致情感的故事。该影片荣获最佳动画短片奥斯卡奖,英国电影学院奖和安锡等多项大奖。《父与女》的导演MichaelDudokdeWit(迈克尔·度德威特),沿袭了他一贯的创作风格,保留版画黑白对比的形式感,采用
- 《怦然心动》----如约而至的邂逅
宛如的小世界
有人说,电影是人类艺术繁衍的最高峰,这句话我是同意的,但是在这千百年来,瞬息万变的过程中,人类文化的瑰宝,保存下来的真的很少,唐诗宋词算一个,古国文字也算一个,但是近代的艺术,最有代表的就是电影,从1895年卢米埃尔兄弟创作的第一部电影《火车进站》开始,紧接着,电影开始渐渐的影响着人类的生活。根据儿童作家文德琳•范•德拉安南2001年的小说《怦然心动》(Flipped)改编的同名电影中的女主人公朱
- 迪杰斯特拉(Dijkstra's )算法——解决带权有向无向图最短路径
一条晒干的咸魚
数据结构与算法算法
迪杰斯特拉算法(Dijkstra'sAlgorithm),又称为狄克斯特拉算法,是一种用于解决带权重有向图或无向图最短路径问题的算法。该算法由荷兰计算机科学家艾兹赫尔·狄克斯特拉在1956年发明,是一种广泛应用于网络路由和其他领域的算法。在2001年的一次采访中,Dijkstra博士透露了他设计这个算法的起因和过程:从Rotterdam到Groningen的最短路线是什么?我花了大概20分钟时间设
- 2021-04-15
悦己书影
选择握手和拥抱大家好,我的故事从一串数字开始。2001年,我踏上了梦想中的三尺讲台,这19年,我与300多个孩子相遇。6800多个日子匆匆而过。我收获了幸福和成长。我把自己的教育经历归纳成三个阶段:迷茫期、严厉期、民主期。迷茫期是刚参加工作时,纵然有“初生牛犊不怕虎”的勇气,面对调皮捣蛋的学生,常常束手无策。有了一些经验之后,觉得严明的纪律是战胜一切的法宝。随着不断努力研读班级管理书籍和虚心请教,
- 腾讯的传奇(二十二)QQ收费风波:第一次舆论危机
疯鸟123
腾讯的传奇(二十二)QQ收费风波:第一次舆论危机产品开发部推出的第四个收费业务,是QQ号码注册收费,它使得腾讯遭遇创建以来的第一次舆论危机。2001年2月,QQ的每天新注册人数达到了创纪录的100万,腾讯的服务器受到巨大的压力,张志东说:“当时每天发放数十万个号,很多人抢注,形成重复操作。本来100万个号码,只需要100万次操作。因为重复操作,出现了上千万次的申请,成功率降低到2%左右。”在这种供
- 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版本设为默