- 日常演播练习0822
开阳春天
日常演播练习0822一、绕口令练习司小四和史小世,四月十四日十四时四十上集市,司小四买了四十四斤四两西红柿,史小世买了十四斤四两细蚕丝。司小四要拿四十四斤四两西红柿换史小世十四斤四两细蚕丝。史小世十四斤四两细蚕丝不换司小四四十四斤四两西红柿。司小四说我四十四斤四两西红柿可以增加营养防近视,史小世说我十四斤四两细蚕丝可以织绸织缎又抽丝。二、文本练习狗熊是动物街有名的美食家,它吃得多所以长得胖,它能吃
- 一次冒险
追梦少年_4509
每个人应该都会经历很多冒险,这样你才能变得坚强起来,变得勇敢起来,冒险就是用来磨练自己,勇气的工具,接下来就给大家说说,我经历过的最吓人的冒险。2016年的夏天我和大爷大娘一起去北地捉知了我们边走边找,我负责拿着罐子大娘拿了一个电灯四处照,大爷就拿着一个棍子负责把知了,弄下来我们边走边捉,一会儿罐子就满了,就在我四处看分神的时候看见了一个知了接着我叫大爷大娘来拿知了我一看旁边没有人,我的心里十分害
- [故旧之事]外婆记事(28)
石里夜人
二十七.破四旧本来是庆祝儿童节的日子,因为报纸的一篇文章,让很多家庭陷入了惶恐之中。为了响应这项旨在“破除旧思想、旧文化、旧风俗、旧习惯”的群众运动,街道里的干部给大家开了会,做了总动员,要求大家首先自省,从身边的人开始,自纠自查。院里的街坊们回到家,转悠了一圈,发现并没有什么可做的。这几条街家家都很穷。有的人翻了家里的书,除了把孩子的课本留着,找到仅有的几本旧书,一把火塞进了炉膛里。有的人检查了
- 少年冯菊芬(八)
一杯老酒
七,愿做红鲤救灾民有一年夏天,本地大旱,就连营庄北边的鲁兰河,据说在1909年曾经因为发大水,导致鲁兰河两岸的连片村庄先后被洪水煙没,但是干旱的这一年,鲁兰河都干涸见底了,何况附近所有的小河。烈日之下,时常可见很多庶民百姓聚集在一起,烧香拜佛,试图祈祷感化上苍。说来奇怪,就在大埠街有一口古井特别神奇,即便是严重干旱的那一年,古井里的水位也没有大的变化,往往是一段时间,因为附近村民来往取水频繁,古井
- 游藏马山 邸坤宁
圆祥妈咪
大年初四,我们走完了姥姥家,爸爸说带我们去藏马山旅游度假区赶庙会。藏马山度假区在胶南,开车一个半小时就到了。我们下车排队去买票,天啊,售票处真是人山人海,今天来旅游的人可真不少呢!我们要坐观光车进去。在观光车上,我们看到了一座座别墅,很快,我们就到了景点。说起赶庙会,一共有两个景点可以参观,左右两边都可以参观游玩,我们先进了右边的景点。首先,一进去,一条小吃街映入我们的眼帘,里面有许多美食吸引着我
- 【无戒学堂】曾国藩如何“脱胎换骨”
真的雾月
曾国藩老家在湖南省的白杨坪,地处偏远,交通不便,祖辈数代没有读书人。曾国藩祖父以超越自身的眼光,不惜血本供子孙读书,希望将来能走出这片天地。曾国藩与父亲两人数次考试,数次落榜。在曾国藩23岁那年突然考中秀才,此后一路过关斩将,中进士授翰林。老曾家光宗耀祖,成为方圆几十里第一大户。由于环境的原因,当时的曾国藩气质和庸鄙的乡下读书人无二,心中所想无非只是升官发财。刚过而立之年的曾国藩,也有着许多大大小
- 掌中星
江封时
chapter.1易言相信,林半星会是他人生中最美丽的一个意外。对,意外。青春里的意外。第一次遇见林半星,是在学校门口拐弯处的停车棚。由于大家基本上都不想挤公交又不情愿步行到学校,从上学期开始就有许多学生骑自行车过来,于是就有了这个学校临时搭建的简陋的停车棚。易言家的小店和小屋子在学校对街,虽然离学校不远,但他讨厌步行,为了方便,还是骑上了父亲的有些年头的黑色自行车。黑色自行车甚至还没有街边的共享
- 传说中的幸福
丹菡
午后,除偶有杂声外,四周归于安静,终于得闲,清理杂物,一条数年前的民族风头巾,一条民族风围裙,都是很久以前的老物件。环顾四周,全是物品,每一件都有回忆,三角巾是很多年前第一次去古镇时买的,年轻时游古镇,转条街下来,身上便穿得叮叮当当似圣诞树,常被人误以为是导游。围裙是妹妹在昆明读书时,知道我喜欢民族风,省下生活费买了送我的,当时有说不出的欢喜。看到它,会想起原来妹妹以前还是爱我的。天渐凉,将三角巾
- 描写雨的古诗荐赏
洋木说
1.《初春小雨》韩愈天街小雨润如酥,草色遥看近却无。最是一年春好处,绝胜烟柳满皇都。图片发自App2.《苏秀道中,自七月二十五日夜大雨三日,秋苗以苏,喜而有作》曾几一夕骄阳转作霖,梦回凉冷润衣襟。不愁屋漏床床湿,且喜溪流岸岸深。千里稻花应秀色,五更桐叶最佳音。无田似我犹欣舞,何况田间望岁心。图片发自App3.《有美堂暴雨》苏轼游人脚底一声雷,满座顽云拨不开。天外黑风吹海立,浙东飞雨过江来。十分潋滟
- 随手记:一直在路上
祯joice
图片发自App早上去桂林北站路上穿过桂林市中心一带,一路闻着淡淡桂花香,令人沉醉其中!就连呼吸到的空气的湿度、温度都是那么熟悉,那种入秋的凉凉的令人苏醒的感觉带我回到了大学那时的光景:在十字街站台曾经挤车回学校的场景,那个拥挤一点不亚于在深圳地铁上。令人又爱又恨的24路!让人望眼欲穿结果又是满载的,24路是通往尧山学校的唯一直搭公交,比起同路的师大、理工、桂电公交都显得又破又小,更可气的是那时候公
- 湖南的这个地方,让你感受最正宗的端午节
韶山非遗博览园
赛龙舟,吃粽子,还有凤凰特色的抢鸭子……今年的端午,照样热闹,各地节日气息浓厚。那么端午假期刚过,你们是怎么度过的呢?可能不同的地方习俗不太一样,如果你想感受最正宗的端午节,那就来汨罗江畔吧。农历五月初五的端午节,是中国三大传统节日之一。汨罗江畔端午节习俗涵盖了屈原文化、龙舟文化、节庆文化等多重内容,与一条名江(汨罗江)、一位名人(屈原)、一座古祠(屈子祠)紧紧连为一体,并衍生出一项与祭屈相关的龙
- 什么叫做欲望
续淡蓝色的记忆
欲望是无形的东西,清高的人,以为他没有,冷笑着,路过包子铺,路过蛋糕店,路过美食街,然后,一切都变了,所有的一切,都被激发而出,像黑暗势力一般,席卷而来,无限蔓延,扩散而开,侵蚀着稚嫩的心,放佛再说,这才是你内心真正想要的东西。
- 上海十大必去景点—我们一起出发吧!
儒音小书童
上海十大必去景点介绍上海,作为中国最早与外界接触的城市,一直是中国繁华都市的代表,素有东方“魔都”之称。我们今天分享的景点是上海的城市精华,非常适合初次来上海打卡和周边游的小伙伴们。上海的公共交通十分便捷,下载Metro大都会app,乘地铁就可以轻松往来于城区内的各处景点。我们以外滩沿线为中心,可依次游览外滩、南京路步行街、城隍庙等上海代表景点。迪士尼乐园距离市区较远,客流量较大,最好单放一天游玩
- 3-台北-夜市文化
子不语_時語
士林夜市的名声早在去台湾之前就有所耳闻。所以第一天台北之夜,即使晚餐吃的很撑,也还是兴冲冲的去了。去之前听说,在台湾的夜市不止士林一处,高雄的六合夜市甚至更有人气。并且如果是搭捷运去士林夜市,不能到士林站下来,需要在前一站的剑潭路下,街对面就是。兴致高昂的我们,也不管捷运就在咫尺,直接招了的士就过去了。事后才想到,没有体验过捷运怎么能算是体验过台北呢?更何况那个仿照日本西瓜卡的悠游卡,也不知道长什
- 放下昨日执念,醒来不问过往
李超越kelly
树树秋色,所有有限的都成为无限的了。——周梦蝶因时事战乱,颠沛流离的一介青年从军谋生,辗转飘至台湾。半生飘零后,周公潜隐闹市,孤苦趺坐于武昌街二十余载,潜心售卖诗集和纯度极高的文学书籍。这位浮华尘世里的畸零人,在车水马龙俗世间,破茧成蝶,他坐断了几个春天?又坐熟了多少夏日?诗人的身世多舛:少年丧母、中年丧妻、老年丧子……在物质至上与文字式微的尘世,他试图以诗的悲悯,孤独地触碰生命里种种无法言说的悲
- 昔日南宋皇城,今日街坊邻里
2郎神
「711」早上经过中河高架下的太庙,顺道吃个杭州早饭界久负盛名的游埠豆浆。这一代是杭州老皇城核心,南面就是南宋皇宫。以前从没认真走过这里,今天恰好有时间有车位(有车位很难得),吃完早饭便闲逛起来。中山南路是当年御街,南北向,皇上出行的御道,地位相当于昔日长安朱雀大街吧。周围分列城隍牌楼巷、十五奎巷、察院前巷、太庙巷、丁衙巷、大马弄、五柳巷等街巷;西面是吴山,直杵在杭州市中心,山上古迹遍布,还有西湖
- 努力变好~打卡第32天
风嘻嘻
今天爸爸带柠宝,继续玩手工。去的早人少,工作人员都很热心,推荐了一个适合低龄小朋友玩的,考古宝石。柠宝玩的很认真,全程自己把宝石敲出来了,挺开心的。不过她的专注力只有几分钟,哈哈,要是再久点就不肯了,要分心玩其他的。下午睡到5点多,刚好我去煮饭的时候,她醒了。自己在床上翻滚,不小心掉下来了。还好摔的轻,哭两声没事了。晚饭后本来打算去散步的,小哥哥小姐姐们来玩了,他们去地下街玩手工,柠宝喜欢跟他们一
- 孩子主动做饭吃
覃美源G14M2
从寒假呆家里到现在,儿子很少出门,几乎每天24小时把自己关在自己房间里,什么家务也不做,不跟家人交流,不跟家人一起上桌吃饭,他跟我说话语气很凶,我跟他说话,他很不耐烦,我进他房屋间,他会马上把我赶出来,家里做饭菜他都觉得不好吃,总是想吃外卖,这两天他爸爸回老家祭祖,我和他两人在家,我每次下班回来就买他爱吃的粉和小吃回来,今天中午我正在买他最爱的三品王米粉的时候,他给我电话问,妈,家里净化器的水龙头
- 逛夜
顽石的青果花园
如果逛街就总会有点事做,我就是去逛夜,和街没有点滴关系。临出门看下手机的电量,如果不够所有的歌播两遍,就先充电。单单就音乐来说,我跟现在确实是脱节的,估计那些歌同龄人都不大听。路线由脚去选,能找到回家的路就行,不过速度是一贯的慢悠悠。至于脑子里想什么,我也不知道,工作是一定会想,也会琢磨文字,有巧妙的文字蹦出来,也会自顾自的嘚瑟好一会。逛夜是一定不能有坏情绪的,表情尽可以丰富。于我,乌托邦啊世外桃
- Java岗外包干了五年,废了。。。
跟着我学Java
面试Java程序员javajvm面试程序人生架构
先说一下自己的个人情况,大专生,17年通过校招进入湖南某软件公司,干了接近5年的CRUD,今年年初,感觉自己不能够在这样下去了,长时间呆在一个舒适的环境会让一个人堕落!而我已经在一个企业干了五年的CRUD,已经让我变得不思进取,谈了3年的女朋友也因为我的心态和工资和我分手了。于是,我决定要改变现状刚开始准备时,自己都蒙了,五年的CRUD让我的技术没有一丝的进步,提升的只有我的年龄...没办法,我找
- 2019年7月26日坚持1000篇日志打卡第4轮第19天
壹童_50af
Hello,亲爱的娜娜,晚上好!挑战1000篇日志打卡今天是第82天!今天要分享的主题是《不同频的清除》今天忙了一天,就干了一件事情,就是不停的在群发好友和整顿,我昨天看到我们湖南长沙一个新闻的时候,一个13岁的男孩子因为玩手机被父亲说了一通就跳河自杀了,这个心里说真的,我看上去好难过的,为什么因为眼下孩子心理承受能力越来越差,越来越脆弱,家长也缺乏正确的育儿方式,说真的,每天看到这样的新闻出现的
- 日语中「但是」大汇总!自测你掌握几个?
静学日语
日语中的表示转折的「但是」有好多种说法,对于它们的使用和区别,你了解吗?今天就来好好学习一下吧!首先总结一下日语中日常常见的表示转折语法!が、でも、しかし、ところがけれども、だけど、ただし。一、がが在句子中使用时主要有两种用法:1.用于句尾,表转折。例:彼は湖南に行きましたが、長沙へ行きませんでした。他去了湖南,但是没去长沙。2.铺垫ちょっと闻きたいんですが、トイレはどこ?请问一下,厕所在哪。(这
- 湖南永州旅游:带你走进历史文化名城
旅途中的蚊子
湖南永州旅游:永州古称零陵,是我国南方开发较早的地区。零陵得名于舜葬九嶷,四千多年前,舜帝禅位于大禹后,巡守南方,“崩于苍梧之野,葬于江南九疑”《史记·五帝本纪》,舜帝,姚姓,号有虞氏,名重华,史称虞舜。他是上古五帝中最具传奇性的人物,也是最早施行道德教化的圣明之君,以致后世常以“尧天舜日”来称颂帝王盛德和太平盛世,舜帝所创立的道德文化也成为潇湘文化的源头根脉。如今这座国家历史文化名城以独特的人文
- 《我的春》
云少1982
我的春,应该是云淡,风轻,春日丽嫩芽粉绿少女心不觉已坠春怀里我的春,突然是碧空,烈日,灼眼睛翻云覆雨雷闪鸣不觉踏入夏日里我的春,突然是霜雨,风冷,披毛衣躲屋取暖街冷清不觉梦醒冬还在我的春它若夏又如冬我的春它春意盎然在诗中图片发自App
- 感恩清单
美丽魔法师
4.241.感赏醒来发现自己健康的活着,手脚都很灵活。谢谢谢谢。2.感赏呼吸正常,时间自由,让我可以一觉睡到天亮。。谢谢谢谢3.感赏昨晚一个很奇怪的梦,发现自己最近可能会遇到喜欢的朋友。这个月开始梦到霞,玲玉都发生了,并且还买了单品,希望在多感应一些人。。谢谢4,感赏老师的录音,有些人想到就去接你联系,没回不代表不愿意,也许你会对方觉得自己的脸不重要呢?觉得自己很重要,一定会来步行街和我约时间解决
- 陪你一起走过高中三年|504|外卖美食
璇豆的天空
来上海的第二十五天,我们点过很多美食,大部分都是处于踩雷状态,每当这时,你就开始怀念离家很近的那些美食。特别是小学附近的美食一条街,有兰州拉面,有肉夹馍,有热干面,有饭团……,说起来就流口水。而在上海这边,点多了,也会找到一些特别喜欢的,比如干炒和牛。今天晚饭吃的不是很饱,到晚上八点多的时候,肚子有些饿,嘴巴也有点馋,想吃那家的炒和牛。想吃就点呗,虽然距离有点远,耐心等待外卖小哥就好。可今天就发生
- “益风说”教我的风水发财大招
浅安菟Zi
“风水”这词一出现,可能大家都会觉得,就是神神叨叨,骗人骗钱的玩意。我从踏足社会起就对风水很感兴趣,自己也常常到一些旧街看看风水方面的书籍,就是一直都看不懂,现在对于风水研习也成为了我的追求。我在2019年11月有缘结识了益福堂“许联斌”风水大师,当初也是从“天涯网”上看到一篇点击量很高的帖子。那篇名为“从风水的精髓——形派(峦体)真诀谈起”,我看完后马上就被深深地吸引了,这不就是自己一直以来想学
- 6.17
疾行风满袖
1.有点看开了。2.发小和我聊了很多关于为什么喜欢ax。今天一天接触下来,acax其实都挺有趣的,只不过我感觉发小deservebetter。ax和m真的很像,不想看发小也走曾经的路。3.不需要把自己的优点急切地展现出来。4.今天看了一半海街日记,很羡慕里面慢节奏的生活,情感联系的微妙,以及每个人背负的故事。尤其是上一秒刚吵完架,听到尖叫也无奈地拿着报纸帮妹妹打蟋蟀的大姐。5.说到4,开始就是因为
- 感恩单1.11
krysdracula
1.感谢早上我的手机闹钟叫我起床.2.感谢感谢游艺阿姨家人送我们去医院…3.感谢简老师今天教给我的知识…4.感谢公交车司机送我回来…真的挺快的5.感谢许节节借给我煮药的罐子6.感谢郑荣枰和吕怡买了好多东西一起吃7.感谢今天我的小雨伞辛苦了~8.感谢郑荣枰家热水器让我洗了个热水澡今日观想:看到姐姐就还是有些接受不了她去世的消息…这个真的好难
- 一中队一周工作总结(7月15日~7月19日)
诺言1992
一、日常管理1、规范流动摊贩累计14家2、沿街晾晒管理累计3家3、拆除违规条幅1处4、“玉泉街”维修道路,上前通知工人及时清理道路灰尘5、店招审批审核1家6、出店经营管理5家7、清理路边乱堆杂物1、流动摊贩管理2、沿街晾晒管理3、拆除违规条幅4、“玉泉街”维修道路,上前通知工人及时清理道路灰尘5、现场店招审核,撰写笔录6、出店经营管理7、清理路边乱堆乱放杂物二、工作重点1、中队错时自行巡查管理及夜
- Hadoop(一)
朱辉辉33
hadooplinux
今天在诺基亚第一天开始培训大数据,因为之前没接触过Linux,所以这次一起学了,任务量还是蛮大的。
首先下载安装了Xshell软件,然后公司给了账号密码连接上了河南郑州那边的服务器,接下来开始按照给的资料学习,全英文的,头也不讲解,说锻炼我们的学习能力,然后就开始跌跌撞撞的自学。这里写部分已经运行成功的代码吧.
在hdfs下,运行hadoop fs -mkdir /u
- maven An error occurred while filtering resources
blackproof
maven报错
转:http://stackoverflow.com/questions/18145774/eclipse-an-error-occurred-while-filtering-resources
maven报错:
maven An error occurred while filtering resources
Maven -> Update Proje
- jdk常用故障排查命令
daysinsun
jvm
linux下常见定位命令:
1、jps 输出Java进程
-q 只输出进程ID的名称,省略主类的名称;
-m 输出进程启动时传递给main函数的参数;
&nb
- java 位移运算与乘法运算
周凡杨
java位移运算乘法
对于 JAVA 编程中,适当的采用位移运算,会减少代码的运行时间,提高项目的运行效率。这个可以从一道面试题说起:
问题:
用最有效率的方法算出2 乘以8 等於几?”
答案:2 << 3
由此就引发了我的思考,为什么位移运算会比乘法运算更快呢?其实简单的想想,计算机的内存是用由 0 和 1 组成的二
- java中的枚举(enmu)
g21121
java
从jdk1.5开始,java增加了enum(枚举)这个类型,但是大家在平时运用中还是比较少用到枚举的,而且很多人和我一样对枚举一知半解,下面就跟大家一起学习下enmu枚举。先看一个最简单的枚举类型,一个返回类型的枚举:
public enum ResultType {
/**
* 成功
*/
SUCCESS,
/**
* 失败
*/
FAIL,
- MQ初级学习
510888780
activemq
1.下载ActiveMQ
去官方网站下载:http://activemq.apache.org/
2.运行ActiveMQ
解压缩apache-activemq-5.9.0-bin.zip到C盘,然后双击apache-activemq-5.9.0-\bin\activemq-admin.bat运行ActiveMQ程序。
启动ActiveMQ以后,登陆:http://localhos
- Spring_Transactional_Propagation
布衣凌宇
springtransactional
//事务传播属性
@Transactional(propagation=Propagation.REQUIRED)//如果有事务,那么加入事务,没有的话新创建一个
@Transactional(propagation=Propagation.NOT_SUPPORTED)//这个方法不开启事务
@Transactional(propagation=Propagation.REQUIREDS_N
- 我的spring学习笔记12-idref与ref的区别
aijuans
spring
idref用来将容器内其他bean的id传给<constructor-arg>/<property>元素,同时提供错误验证功能。例如:
<bean id ="theTargetBean" class="..." />
<bean id ="theClientBean" class=&quo
- Jqplot之折线图
antlove
jsjqueryWebtimeseriesjqplot
timeseriesChart.html
<script type="text/javascript" src="jslib/jquery.min.js"></script>
<script type="text/javascript" src="jslib/excanvas.min.js&
- JDBC中事务处理应用
百合不是茶
javaJDBC编程事务控制语句
解释事务的概念; 事务控制是sql语句中的核心之一;事务控制的作用就是保证数据的正常执行与异常之后可以恢复
事务常用命令:
Commit提交
- [转]ConcurrentHashMap Collections.synchronizedMap和Hashtable讨论
bijian1013
java多线程线程安全HashMap
在Java类库中出现的第一个关联的集合类是Hashtable,它是JDK1.0的一部分。 Hashtable提供了一种易于使用的、线程安全的、关联的map功能,这当然也是方便的。然而,线程安全性是凭代价换来的――Hashtable的所有方法都是同步的。此时,无竞争的同步会导致可观的性能代价。Hashtable的后继者HashMap是作为JDK1.2中的集合框架的一部分出现的,它通过提供一个不同步的
- ng-if与ng-show、ng-hide指令的区别和注意事项
bijian1013
JavaScriptAngularJS
angularJS中的ng-show、ng-hide、ng-if指令都可以用来控制dom元素的显示或隐藏。ng-show和ng-hide根据所给表达式的值来显示或隐藏HTML元素。当赋值给ng-show指令的值为false时元素会被隐藏,值为true时元素会显示。ng-hide功能类似,使用方式相反。元素的显示或
- 【持久化框架MyBatis3七】MyBatis3定义typeHandler
bit1129
TypeHandler
什么是typeHandler?
typeHandler用于将某个类型的数据映射到表的某一列上,以完成MyBatis列跟某个属性的映射
内置typeHandler
MyBatis内置了很多typeHandler,这写typeHandler通过org.apache.ibatis.type.TypeHandlerRegistry进行注册,比如对于日期型数据的typeHandler,
- 上传下载文件rz,sz命令
bitcarter
linux命令rz
刚开始使用rz上传和sz下载命令:
因为我们是通过secureCRT终端工具进行使用的所以会有上传下载这样的需求:
我遇到的问题:
sz下载A文件10M左右,没有问题
但是将这个文件A再传到另一天服务器上时就出现传不上去,甚至出现乱码,死掉现象,具体问题
解决方法:
上传命令改为;rz -ybe
下载命令改为:sz -be filename
如果还是有问题:
那就是文
- 通过ngx-lua来统计nginx上的虚拟主机性能数据
ronin47
ngx-lua 统计 解禁ip
介绍
以前我们为nginx做统计,都是通过对日志的分析来完成.比较麻烦,现在基于ngx_lua插件,开发了实时统计站点状态的脚本,解放生产力.项目主页: https://github.com/skyeydemon/ngx-lua-stats 功能
支持分不同虚拟主机统计, 同一个虚拟主机下可以分不同的location统计.
可以统计与query-times request-time
- java-68-把数组排成最小的数。一个正整数数组,将它们连接起来排成一个数,输出能排出的所有数字中最小的。例如输入数组{32, 321},则输出32132
bylijinnan
java
import java.util.Arrays;
import java.util.Comparator;
public class MinNumFromIntArray {
/**
* Q68输入一个正整数数组,将它们连接起来排成一个数,输出能排出的所有数字中最小的一个。
* 例如输入数组{32, 321},则输出这两个能排成的最小数字32132。请给出解决问题
- Oracle基本操作
ccii
Oracle SQL总结Oracle SQL语法Oracle基本操作Oracle SQL
一、表操作
1. 常用数据类型
NUMBER(p,s):可变长度的数字。p表示整数加小数的最大位数,s为最大小数位数。支持最大精度为38位
NVARCHAR2(size):变长字符串,最大长度为4000字节(以字符数为单位)
VARCHAR2(size):变长字符串,最大长度为4000字节(以字节数为单位)
CHAR(size):定长字符串,最大长度为2000字节,最小为1字节,默认
- [强人工智能]实现强人工智能的路线图
comsci
人工智能
1:创建一个用于记录拓扑网络连接的矩阵数据表
2:自动构造或者人工复制一个包含10万个连接(1000*1000)的流程图
3:将这个流程图导入到矩阵数据表中
4:在矩阵的每个有意义的节点中嵌入一段简单的
- 给Tomcat,Apache配置gzip压缩(HTTP压缩)功能
cwqcwqmax9
apache
背景:
HTTP 压缩可以大大提高浏览网站的速度,它的原理是,在客户端请求网页后,从服务器端将网页文件压缩,再下载到客户端,由客户端的浏览器负责解压缩并浏览。相对于普通的浏览过程HTML ,CSS,Javascript , Text ,它可以节省40%左右的流量。更为重要的是,它可以对动态生成的,包括CGI、PHP , JSP , ASP , Servlet,SHTML等输出的网页也能进行压缩,
- SpringMVC and Struts2
dashuaifu
struts2springMVC
SpringMVC VS Struts2
1:
spring3开发效率高于struts
2:
spring3 mvc可以认为已经100%零配置
3:
struts2是类级别的拦截, 一个类对应一个request上下文,
springmvc是方法级别的拦截,一个方法对应一个request上下文,而方法同时又跟一个url对应
所以说从架构本身上 spring3 mvc就容易实现r
- windows常用命令行命令
dcj3sjt126com
windowscmdcommand
在windows系统中,点击开始-运行,可以直接输入命令行,快速打开一些原本需要多次点击图标才能打开的界面,如常用的输入cmd打开dos命令行,输入taskmgr打开任务管理器。此处列出了网上搜集到的一些常用命令。winver 检查windows版本 wmimgmt.msc 打开windows管理体系结构(wmi) wupdmgr windows更新程序 wscrip
- 再看知名应用背后的第三方开源项目
dcj3sjt126com
ios
知名应用程序的设计和技术一直都是开发者需要学习的,同样这些应用所使用的开源框架也是不可忽视的一部分。此前《
iOS第三方开源库的吐槽和备忘》中作者ibireme列举了国内多款知名应用所使用的开源框架,并对其中一些框架进行了分析,同样国外开发者
@iOSCowboy也在博客中给我们列出了国外多款知名应用使用的开源框架。另外txx's blog中详细介绍了
Facebook Paper使用的第三
- Objective-c单例模式的正确写法
jsntghf
单例iosiPhone
一般情况下,可能我们写的单例模式是这样的:
#import <Foundation/Foundation.h>
@interface Downloader : NSObject
+ (instancetype)sharedDownloader;
@end
#import "Downloader.h"
@implementation
- jquery easyui datagrid 加载成功,选中某一行
hae
jqueryeasyuidatagrid数据加载
1.首先你需要设置datagrid的onLoadSuccess
$(
'#dg'
).datagrid({onLoadSuccess :
function
(data){
$(
'#dg'
).datagrid(
'selectRow'
,3);
}});
2.onL
- jQuery用户数字打分评价效果
ini
JavaScripthtmljqueryWebcss
效果体验:http://hovertree.com/texiao/jquery/5.htmHTML文件代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery用户数字打分评分代码 - HoverTree</
- mybatis的paramType
kerryg
DAOsql
MyBatis传多个参数:
1、采用#{0},#{1}获得参数:
Dao层函数方法:
public User selectUser(String name,String area);
对应的Mapper.xml
<select id="selectUser" result
- centos 7安装mysql5.5
MrLee23
centos
首先centos7 已经不支持mysql,因为收费了你懂得,所以内部集成了mariadb,而安装mysql的话会和mariadb的文件冲突,所以需要先卸载掉mariadb,以下为卸载mariadb,安装mysql的步骤。
#列出所有被安装的rpm package rpm -qa | grep mariadb
#卸载
rpm -e mariadb-libs-5.
- 利用thrift来实现消息群发
qifeifei
thrift
Thrift项目一般用来做内部项目接偶用的,还有能跨不同语言的功能,非常方便,一般前端系统和后台server线上都是3个节点,然后前端通过获取client来访问后台server,那么如果是多太server,就是有一个负载均衡的方法,然后最后访问其中一个节点。那么换个思路,能不能发送给所有节点的server呢,如果能就
- 实现一个sizeof获取Java对象大小
teasp
javaHotSpot内存对象大小sizeof
由于Java的设计者不想让程序员管理和了解内存的使用,我们想要知道一个对象在内存中的大小变得比较困难了。本文提供了可以获取对象的大小的方法,但是由于各个虚拟机在内存使用上可能存在不同,因此该方法不能在各虚拟机上都适用,而是仅在hotspot 32位虚拟机上,或者其它内存管理方式与hotspot 32位虚拟机相同的虚拟机上 适用。
- SVN错误及处理
xiangqian0505
SVN提交文件时服务器强行关闭
在SVN服务控制台打开资源库“SVN无法读取current” ---摘自网络 写道 SVN无法读取current修复方法 Can't read file : End of file found
文件:repository/db/txn_current、repository/db/current
其中current记录当前最新版本号,txn_current记录版本库中版本