- 398顺境,逆境
戴骁勇
2018.11.27周二雾霾最近儿子进入了一段顺境期,今天表现尤其不错。今天的数学测试成绩喜人,没有出现以往的计算错误,整个卷面书写工整,附加题也在规定时间内完成且做对。为迎接体育测试的锻炼有了质的飞跃。坐位体前屈成绩突飞猛进,估测成绩能达到12cm,这和上次测试的零分来比,简直是逆袭。儿子还在不断锻炼和提升,唯恐到时候掉链子。跑步姿势在我的调教下,逐渐正规起来,速度随之也有了提升。今晚测试的50
- 2019-10-24
柒月的可可
今日上班无事,人又懒怠动,不知道如何打发这个下午,终于打开了。我大概是把当日记来写的。重庆的天气骤然凉了。早上出门的时候,满地都是落叶,脚踩上去,却是刚下过雨,叶子已润掉,走不出声响。白天在办公室不见天日,对温度也无甚感觉,晚上一个人回到家,屋子里窗户都开着,被冷风吹了一天,一迈进屋,便觉冷气森然。将近二十度的天气,竟要裹着毯子才觉温暖。再过一周,就到十一月。扛过十一月,就可以开暖气了。然而我真的
- 母亲节如何做小红书营销
美橙传媒
小红书的一举一动引起了外界的高度关注。通过爆款笔记和流行话题,我们可以看到“干货”类型的内容在小红书中偏向实用的生活经验共享和生活指南非常受欢迎。根据运营社的分析,这种现象是由小红书用户心智和内容社区背后机制共同决定的。首先,小红书将使用“强搜索”逻辑为用户提供特定的“搜索场景”。在“我必须这样生活”中,大量使用了满足小红书站用户喜好和需求的内容。内容社区自制的高质量内容也吸引了寻找营销新途径的品
- 儿子开学报道第一天:我和公公一起送他去学校
文又又
儿子今天是开学报道的的时光,儿子对于是谁送他去学校非常在意,他也想着自己一个人去学校,不要家长送,我们告诉他,可以等到他再大一点的话,就让他自己去学校。我还是一如既往的早起,5点闹钟响起,我的头还昏昏的,就窝在被子里看手机。看爆款文,看热点内容。还看了一会《明朝那些事》,看着看着,就觉得眼皮打架想要睡觉。可是我的潜意识还是提醒自己,起床吧,今天要6点钟起床,说好要叫儿子早起,今天他是8点钟要到学校
- 日更第120天-顺其自然,为所当为
飞翔001
在教培业务萎缩之后,新东方前不久宣布转型带货,初期人气寥寥,直播间也就几千人观看,近日,新东方的“东方甄选”因英语老师双语直播带货爆火,直播间人数过万,6月10日,新东方在线股价暴涨近40%,单日成交额突破1000万元,累计近400万人观看了直播。当晚俞敏洪来到直播间,和老师们一起直播带货。俞敏洪称,这是新东方老师们非常关键的转型,他们老师转型做带货主播,受到了大家的关注和部分的肯定,感谢各位网友
- 【Death Note】网吧战神之7天爆肝渗透测试死亡笔记_sqlmap在默认情况下除了使用 char() 函数防止出现单引号
2401_84561374
程序员笔记
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。需要这份系统化的资料的朋友,可以戳这里获取一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!特殊服务端口2181zookeeper服务未授权访问
- 第二阶段学习的第二次复盘
蓝色沫
【昵称】蓝色,沫【我的技能】第二阶段所学内容中,我学习了如何学好爆款标题,如何写好开头和结尾,如何写好媒体文等等。【我要发问】第二阶段学习的内容中,没能掌握好写媒体文。【我的闪光点】第二阶段做的好的地方,有按时完成作业,以及认真听视频课,在课程中,明白了怎样去写好开头和结尾,怎样写出爆款标题等。【不足之处】没能掌握好写媒体文。关于写好媒体文,有些吃力,针对写三至五个小标题,以及写好媒体文框架还存在
- 小米和蛋壳 第七节 和三三吃饭
斜晲众生
李南还是老样子,笔直,严谨,脸上线条硬度极佳,总是一副不苟言笑的样子。身上除了黑色就是深色的搭配,把自己平添了许多收敛的气息。和旁边像精灵一样的三三真真是反差萌。“我已经点好了菜。我在微博微信上已经盯了好久了,这次点菜集各家吃货推荐所长,应该不会踩雷。点了有焖鸡,牛肉饵丝,油爆猪皮,香茅烤鸡,稀豆粉,炒小瓜,蒜香鸡脚,小锅米线,黄金虾饼,喝的除了自酿米酒、苹果芒果汁和酸角汁。三碗米饭,一份菠萝饭。
- 无敬道尘子(通灵游戏2)
忆予残柳
王敬问完这句话后,随着标准楷书的出现,所有人都紧张了起来。如果是连笔的行书都没什么,但是,四个人握着同一支笔,写出这样的字,真是让人倒吸一口凉气。应该没有人会有这么深的功力吧。这又紧张又惊悚的气氛,真是刺激,我下意识的看了看所有人,都是一副紧张的表情,特别是王敬,那豆大的汗珠正噼里啪啦地往下掉。突然,在没有人问的时候,笔自己动了起来,在纸上写了一行非常标准的楷书:“你好”,“很快就再见了”。在字写
- 用自己的方式为祖国庆生
霞12331
今天是国庆节第一天,到处都是鲜红的国旗。天安门的升旗视频也刷爆了朋友圈。想起前年和家人下了火车,放下行李,直奔天安门广场观看升旗仪式。凌晨三点已经是人山人海,看见护卫队从城楼踢着正步迈着整齐的步伐走出来,内心无比激动。虽然被人群挡着,但是当听到国歌响起,看着五星红旗冉冉升起,作为一个中国人真的无比骄傲。接着参观了毛主席纪念堂,为主席献花,充满了感激。过去两年了,依然记忆犹新。今年是建国72周年,建
- 超越免费
奔向自由的路上
在这个互联时代,由于社会的进步,我们亨受了很多免费的东西,比如免费的电脑操作软件,免费的杀毒软件,免费的搜索服务,雅虎的杨致远和费罗首创让互联网成为一个开放,免费的工具。后来微软用免费的方式压浏览器市场打败了当时一家独大的网景公司,一时之间,免费成了趋势,互联网传播的本质,起到了一个巨大的复印件的作用。免费带来的一个结果是迅速形成垄断,造就了googlefacebook和阿里巴巴这样的经典掉板,然
- 猫叔分享课有感
我是可乐姐呢
一、发心利他,利他还是利他,只能利他才能让自己的内心变的强大;你的成就有多大取决于你成就多少人,帮助别人成就自己。二、金钱的作用钱可以解决掉大部的烦恼,有足够的钱才有足够的底气,努力赚钱很重要;三、卖的重要性卖是最好的学,卖的过程中,自己提升是非常快的,内心也会因此而变的强大;四、独处和自我反省爱自己,每个月给自己一个独自的时间,发发呆,静静的喝杯茶,听听音乐,神游一下;复盘一下自己近期所做的事情
- 【深度学习】训练过程中一个OOM的问题,太难查了
weixin_40293999
深度学习深度学习人工智能
现象:各位大佬又遇到过ubuntu的这个问题么?现象是在训练过程中,ssh上不去了,能ping通,没死机,但是ubunutu的pc侧的显示器,鼠标啥都不好用了。只能重启。问题原因:OOM了95G,尼玛!!!!pytorch爆内存了,然后journald假死了,在journald被watchdog干掉之后,系统就崩溃了。这种规模的爆内存一般,即使被oomkill了,也要卡半天的,确实会这样,能不能配
- 2019.12.29
3edc4fc38269
今天周日终于可以懒床了,八点了,小淏淏自己穿衣服起来了,还给我说你再睡会吧,我睡不着了,我自己起来玩。可捞着周末了,玩具现在全部进柜子里了,自己不知道玩什么了。时间长了电视都不知道看了。让他默写拼音,到现在韵母竟然还能掉两三个,这马上要期末考试了,还丢三落四的,我对他的期末考试没有信心了。就睡觉比较听话,趟床上一会就睡着了,上学时候还不懒床,一叫就起来,这个习惯挺好。今天从舞蹈课回来,看我打针还问
- 冬至-吃饺子啦
蜡笔小鑫_f350
今儿是冬至,北方自古就有冬至饺子夏至面的习俗,冬至这一天谁不吃饺子冻掉耳朵没人管,这是小时候父母经常说的话,那时候不太理解冬至是什么节日,只记得这天是吃饺子的日子。水饺,对现代人来说,是在普通不过的美食,想吃就去超市里买现成的,各种馅的应有尽有;偶尔有功夫,有兴致,自己动手和面、调馅,忙活个把小时,味美的水饺也就到口了。即使天天吃饺子,也不是什么稀罕事,但我还是时常想念母亲包的手工水饺!时至今日每
- 数据库连接池
幻影翔
连接池的意义作用:连接池是将已经创建好的连接保存在池中,当有请求来时,直接使用已经创建好的连接对数据库进行访问。这样省略了创建连接和销毁连接的过程。这样性能上得到了提高。连接池放了N个Connection对象,本质上放在内存当中,在内存中划出一块缓存对象,应用程序每次从池里获得Connection对象,而不是直接从数据里获得,这样不占用服务器的内存资源。两种优秀的连接池技术都要实现接口DataSo
- 【有啥问啥】刷爆各大榜单的Reflection 70B模型背后的错误自我纠正(Reflection-Tuning)技术解析:一种革新AI模型的方法
Chauvin912
大模型行业调研人工智能算法
刷爆各大榜单的Reflection70B模型背后的错误自我纠正(Reflection-Tuning)技术解析:一种革新AI模型的方法在快速发展的AI领域,尤其是大型语言模型(LLM)的竞争中,错误自我纠正技术(Reflection-Tuning)正逐步成为提升模型性能的关键突破。该技术通过赋予模型自我检测和纠正错误的能力,显著提高了输出的准确性和可靠性。本文将深入解析Reflection-Tunn
- 焦灼解决不了问题
臭小妈妈
又到一年考研时。最近心情焦虑不安,一个人想分作几个人使,一个人工作,一个人在家哄孩子做家务,还有一个人努力实现理想,可是现实是,一个人只要工作了就哄不了孩子,做不了家务,理想在一边空置着,无法实现,只能一次次于梦醒时分,空落一阵唏嘘。但心里知道,即使空自唏嘘一年,万年,也实现不了愿望,只能趁着时光还少,还有机会,尽早努一把力,一眼看到头的生活实在是虚度光阴,富不了丢不掉的鸡肋生活要尽早弃掉,不然温
- 每天最重要的两小时
护眼世家
我的经验告诉我,大家都习惯于在这种时刻——或者说抉择点——匆忙略过,好去做某些让你觉得自己“很高效”的事。匆忙地掠过一个抉择点——也就是不同任务的间隙——也许能给你省出五分来钟的时间,但是,完成不该完成的任务可能会浪费掉一个钟头。不过,这五分钟的确会让你惴惴不安,因为在这种时刻,我们能够非常清楚地意识到每一秒的流逝,而在那浪费掉的一小时中,因为我们基本上处于自动模式,所以不会觉得难受。可惜的是,很
- 那些年的变态心理(二)
奚见
不知道你们有没有过这样的经历,就是吧一个人呢,你认为你们的关系算不算上好,但是吧,他总爱在你跟前献殷勤。就比如说呢,在你掉橡皮擦的时候,他会立马帮你捡起来;在你哭的时候,他会二话不说的把肩膀借给你靠;在天下雨,但是你没带伞的情况下,他会把伞借给你,自己独自淋雨回家...一切他做起来都那么的自然,但是你想起来却是那么的不自然。对于我自己来说呢,我会想歪的。一个人无缘无故的对你好,如果不是喜欢,那又会
- 老头日记.山上山下
山南散人
生而平凡人生而平等。一个人听多了这样的话语耳朵能起茧,时间长了茧的肉厚了,自然就麻木起来,听见与听不见内心无有差别。如果你相信人生而平等,漠视现实世界的真实,我不想批判你,转而只想诚恳同时带点同情问你到底有几颗门牙可以磕破掉。这世界早早就把人分成三六九等,高贵低贱从来没有消失过。手里有果子的原始猿人会觉得自己比没有果子的猿人要好,因为自己不用饿肚子,这是生理本性使然;恶毒的奴隶主从来不会认为自己的
- 标题的不安0530
素度_2073
等对象下班,坐在空荡的写字楼里。看到平台上有人在教大家如何起个好标题,突然有点想念小学四年级老师讲起标题的那堂课。文章的标题要精,要传神,要读者读完文章后,回过头看标题能够心有灵犀。可现在的标题已经不是标题了,现在的标题更多的是梗概,是核心句。我们舍弃掉很多言语之外的灵通,只求一看便能确认眼神。网络需要一个精准的筛子,能够筛出属于你自己的那份阅读。获取成本降低之后随之而来的,是时间成本的投入。越来
- Java应用的数据库连接池连接池性能测试
微赚淘客机器人开发者联盟@聚娃科技
java数据库开发语言
Java应用的数据库连接池连接池性能测试大家好,我是微赚淘客返利系统3.0的小编,是个冬天不穿秋裤,天冷也要风度的程序猿!数据库连接池的性能测试是确保Java应用能够高效运行的关键步骤。性能测试可以帮助我们评估连接池在高并发条件下的表现,以及识别可能的性能瓶颈。本文将介绍如何对Java应用中的数据库连接池进行性能测试。性能测试的重要性性能测试对于数据库连接池至关重要,因为它可以:评估性能:确定连接
- 如何把文案变成“印钞机”
西亚西
把文案变成印钞机,这是《爆款文案》作者关键明老师一直在做的事情。他是前奥美金牌广告人,他写出了走心文案的一套系统和4大步骤。让每一个想学文案的人都能够从中获益。大家称关键明老师为文案圈的神级人物,知道关老师的人就知道,这个夸奖并不夸张。但是关老师为什么有现在如此高的成就?相信很多人想知道答案。首先关老师非常非常的利他。我现在链接到的很多人,其实都是从关老师那里知道。苏北老师,阿糖,安迪,还有许多同
- 像极了暗恋
梅月影
图片发自App我想我暗恋了,是十一岁时,小学五年级。我前排的女孩,是全县三好学生,清秀得像语文书上插图里的少先队员。班主任老师把自己的女儿安排于她坐一排,以便沾点灵气。如此优秀的可人儿,我想我是不敢喜欢她的,想都不敢想。一天,她的圆规掉桌下了,我并不知道自己的脚碰着她的圆规了。她捡的时候可能以为我的脚是故意的,顺手就用圆规扎了我腿杆一下。我的小腿背部扎了一个很深的针洞,还有圆规的铝的颜色。我痛得呲
- 乱七八糟的胡言乱语
在路上的小海贼
北信的活拖了大概有两个月了吧,没办法,一直没当做重点,今天来加班,打算用加班的时间处理掉。今天是雪芹的生日,早上到公司后发了条短信过去,祝福一下。他们一群人今天要去雪芹那里吃饭,忽然想到:什么时候能像她那样买菜做饭吃呢,或者说去朋友那里吃也好啊,这种小日子不错的。还是我懒,总想着吃现成的。其实主要是因为在北京这边玩得好的女孩没几个,而且都是在上学的,所以这种生活是一种奢望吧。本来我想他们一群人去雪
- 刀郎复出:他的歌,却没人听了
视觉志V
作者丨柚子2004年,刀郎唱了一首《2002年的第一场雪》。“2002年的第一场雪,比以往时候来的更晚一些。”简单的歌词,朗朗上口的旋律,这首歌迅速火遍大江南北。(可拖动歌词)歌火了,唱歌的刀郎却慢慢淡出人们的视野。印象中,上一次看到他的消息,还是前年一组刷爆朋友圈的照片。照片中的刀郎,发福明显,和大家印象中那个瘦小伙大相径庭,不少人感慨,“岁月是把杀猪刀。”(图片来源:网络)最近,偶然又看到他复
- 第二次复盘
小小yue
本周所学内容中,我掌握最熟练的技能是:文章的结构,尤其是总分总结构,总开头阐述主题,表明总论点。中间部分阐述论点或者是讲故事,支持自己的观点。最后结尾呼应开头升华主题。积累素材做的不够好,平时阅读量少,不太熟悉拆解爆款文章。做的好的地方是每天按时完成作业,第一次大作业虽然没有按规定时间完成,但是班班一直鼓励我,最后也提交了。以后要把每天的课程至少听2遍以上,作业再早一点完成。
- 训练日记 | 2020-01-02 周四
崔宏雷
-01跑走-总用时,1:00(大约)距离:6.01km时间:00:45:15平均配速:07'31"最慢配速:10'36"最快配速:05'13"平均心率:125bpm最小心率:91bpm最大心率:160bpm平均步频:153膝盖,老样子。连续跑步达到52周,一年了。。。AirPods总掉,原来戴着跑20km也没掉,最近右侧经常掉。第3km的时候手机还冻关机了。。。悦跑圈数据
- 抖音有隐藏优惠券吗?抖音隐藏优惠券有什么渠道领取呢?
一起高省
很多人说今年双十一有些冷清。即便如此,拥有数亿活跃用户的抖音仍然是品牌“一块肥肉”。以海底捞为例,“双11”大促销前夕,它在抖音举行了新产品发布会,当天直播销售额超过2000万元。例如,海底捞通过直播和小视频完成了30多万个抖音平台套餐,成为今年品牌增长的亮点。当然,对于消费者来说,最关心的问题是如何获得抖音购物券?抖音隐藏的优惠券分享!抖音领券入口:6抖音新人福利官方爆款低价抢4.l复制此链接,
- 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记录版本库中版本