- 【2020-11-17】 |探索卡片| 二维数组
EthynylRadical
旋转矩阵给你一幅由N×N矩阵表示的图像,其中每个像素的大小为4字节。请你设计一种算法,将图像旋转90度。不占用额外内存空间能否做到?示例1:给定matrix=[[1,2,3],[4,5,6],[7,8,9]],原地旋转输入矩阵,使其变为:[[7,4,1],[8,5,2],[9,6,3]]示例2:给定matrix=[[5,1,9,11],[2,4,8,10],[13,3,6,7],[15,14,12
- 2020-11-17
9ec153855003
加资源开始脚软了,早些睡,早些起;资源维护好,做好分类:a已出定金b有意向/只差付定金了c我或她了解需求d了解需求,完全没互动过e不知道需求,也没有互动过f距离远的
- 2020-11-17
四叶草_add9
中原焦点团队李金梅坚持分享第409天系统支持为预防复发的重要力量。另一个强化这些当事人的改变以及预防复发的最好的方式之一,就是他们的生活系统也能同时有所改变,例如咨询师可以具体提出青少年的小小成长,给家长与老师指导,并鼓励他们愿意一起来增强当事人的改变或者学习,以当事人能够接受的有效方式来提醒与预防当事人复发的可能,那么将能事半功倍,提高辅导这些青少年的成效。所以咨询师非常需要深入了解,在当事人的
- 2020-11-17
冠世墨玉yanzi
妞爸快七点才进门,我压住情绪和颜悦色问他,今天工作怎样啊?他第二天上班,我知道最初到一个新地方有多么不易。我们聊了几句,楼上的邻居发信息,询问卫生间漏水的事,我们赶紧搬了凳子仔细查看,一通折腾,发现并不是漏水。邻居还在跟我语音说话,我却有些心不在焉。厨房里放着妞吃饭的碗,我懒懒的实在不愿意去洗。跑到微社看聊天记录,每个人都在努力的生活,有亮色,有努力,也有困惑为难,日子就这么一天天活着,但是总感觉
- 2020-11-17
大倩倩_d737
越想增长,距离增长越远维持增长需要继续扩充品类并且依靠新品其带动流量。与之而来的激素hi,每一种原柴亮产销规模都很低,形成不了规模效应。也增加了公司运营管理难度。但是必须增长才能维持势能,因此陷入一个不断恶循环的怪圈。结果我们被我们想要拥有的东西绑架了。所有人都知道,增长最重要的方法就是踩准趋势先人一步进行创新,站在用户创造超额价值并赢得口碑,以及不断积累和沉淀自己。当一个人被预期绑架,就会算计利
- 2020-11-17
等昙花
六点四十四加油今天早上去了先把昨天没背完的专业课背完再开始政治然后英语英语啊啊啊啊昨天没看啊真是不能在宿舍里学习真的不行太颓废了还是要去图书馆每天早去在图书馆学习效率才高今天一定要努力晚上也要早点睡争取早日完成计划
- 2020-11-17
文子湾
建筑、园林和工艺这三种艺术的基本特征就是实用性。作为艺术,它们虽然也不必离开审美性、艺术性,但它们的审美性和艺术性都必须建立于实用性的基础之上,并同实用性密切结合,倘若一味强调审美性、艺术性,损坏了实用性,那么它们也就失去了存在的意义。比如建筑艺术就必须有一定的实用功能,园林艺术必须能让人游览欣赏,工艺中虽有种特种工艺以审美观赏为主,但审美观赏本身也是一种实用性功能。当然,这类艺术也注意“意味”的
- 2020-11-17
飞翔的渣渣
一、计算机的组成(总)1、计算机是由软件和硬件组成的。软件就是各类程序和文件;硬件是由中央处理器(cpu)、存储器、输入设备和输出设备组成的二、CPU子系统1、cpu的组成:运算器、控制器、寄存器、时钟2、cpu的工作原理:总体来看cpu的工作过程就是从主存(缓存)里面中读取指令,将指令放入到寄存器中,然后对指令译码,把指令分解成一系列微操作,再发出各种相应的控制指令,控制各个功能部件执行相关的操
- 2020-11-17 读后感
花钱妈妈和花钱宝宝
今天读的这部分稻盛先生讲稿,从企业运行必须要有统一的思想出发,视之为经营的哲学。这是他一生都在强调的东西,不某一域,不足以谋全局。不管是对人还是对事,要有自己的坚持和原则。底线是不能退让的,而要让一个不断发展的企业保持动力,就需要把这种思想通过企业哲学的形式贯彻下去,而且也回答了在这个过程中遇到思想不统一,无法教化的异类,应该予以放生。人跟人的关系,情感维系大抵如此。如果不匹配,摩擦伤身,甚至伤心
- 2020-11-17
静静欢喜
世界上有没有一个人,可以让你卸掉盔甲,在他面前毫无负担的肆意的哭肆意的笑,而不是先考虑怎样营造气氛的那种。
- 2020-11-17
第二个伯贤
“别分手了”“下次就谈一场不分手的恋爱”沈默知道顾颉一时之前两人从未见过,甚至顾颉一压根不知道沈默是何方神圣。李拮一第一次听好朋友宋安提起过沈默名字的时候,只记得宋安说她特别漂亮,最后还说了句沈默暗恋顾拮一有一年多了,让他好好把握,有空和沈默见上一面…16岁的夏天,沈默正是刚刚放暑假的那段时间在抖音同城刷到了附近高中某班集体的合照,那是离她家不远的一所还不错的高中,虽说是私立的,但管理特别严格,升
- 2020-11-17
A金城游泳健身张玲
会籍部姓名:张玲日期:11月17日当月任务:4W当日业绩:0当月已完成业绩:14200当日打电话量:40当日收集新客源量:5次日预约量:0次日准单:0今天下午过来拼卡的没来,明天来,在考虑是办两年还是一年的,明天继续加油联系客户
- 2020-11-17《华与华方法》围棋模型和价值之轮(8)
YiYiDuo
产品结构就是企业战略路线图。用战略布局建立品类品牌,最后在整个品类收割草肚皮,获得边际效益的最大化。对围棋不了解,所以这个金角银边草肚皮的理解不是很深入。华与华价值之轮:产品-服务-体验-知识-梦想,逐步递进。产品价值:企业就是产品提到一个企业,我们总是能马上联想到他的产品,如果不能想到产品,经营就是失败的。这个产品就是企业的拳头产品,如果拳头产品不明晰,你一定要把它明确出来。企业产品不突出,还想
- 2020-11-17
吾师大爱
人是感情的动物。人与人之间长期相处,打交道,就会产生感情。因此,管理者处理物件时比较单纯,处理人事时感到情面难却,只好“手下留情”或“给点面子”。于是,公平性、客观性和公正性成为一句空话。那么,如何确保公平、公正、客观地管理人事呢?一,办事之前有原则办事之前,应从公司利益出发,立足长远发展,本着公正立场制定好游戏规则。比如,年终评选困难补助。甲同事家里房子被洪水淹没了;乙同事老人患重病;丙同事老婆
- 早安2020-11-17
huanghuang511
欢迎前来闪鸟实地调研的朋友,和频率相同的人聊项目、聊创业就是舒畅,愉快而充实的一天!期待更多有识之士加入我们的行列,一起把短视频变现教学项目做大做强
- 2020-11-17
一只鱼的传说啊
秋天是个离别季,很多事情随着毕业季的到来,仿佛都不是那么重要了。最近很伤感,不仅仅是几年来好不容易才熟悉的人都将道别,伴随着这短短的爱情,也没有了。我很想把自己重要的东西留给你,即使这些东西早就所剩无几。我要离开了,尽管其实没准备好,都挺匆忙的,人生一些人和事,不能按照我们的意愿而行才是常事,我想嘱咐你,算是临别的赠言。没有什么安好,世界也不是那么友好,理想也不是靠努力就好实现,我不丧,但这是事实
- 2020-11-17自我观察记录
木炎_jsan
【2020-11-16日精进第181天/1825】表现:8分学习和发现1.内心疑问。第7章“自我展示”,今天有点正反馈,在永澄老师开讲的时候,经过自己不断的告诫,不断选择,加快了速度,只有2页没读。虽然有悬挂疑问的不爽,可还是要求自己这么做了。但,这个练习过程是否是有效?高手检视时的心理表征是怎样的?从永澄老师分享时的演示,他关注的重点与自己关注点相同吗?每章检视阅读的标准定成先在规定时间内把内容
- 2020-11-17风雪树
春二虫这个家伙
这张画属于画起来很爽,效果却很差,命运莫测的一幅画。因为被我做了定画液实验,喷上去以后好像颜色变得差了很多,放到阳台隔间里等待干燥吧!酒精溶剂制作的定画液味道也太香,太冲了!
- 四六级考前该如何准备呢?最后一个月该如何冲刺呢?2020-11-17
孜孜好学
大家好啊,俺是你们聪明勇敢有力气的孜孜距离12月的英语四六级考试还有25天这最后一个月的复习方式可能就决定着你的最终成绩!俺想,肯定会有不少的小伙伴不知道该如何复习结果“越到最后越着急””听力阅读单词写作翻译...““感觉每一块都需要投入精力“”根本不知道重点放在哪里”今天孜孜就来给大家唠唠冲刺期该怎么复习!冲刺阶段,不要想着十全十美,一定要有侧重!俺建议大家把重点放在:背单词+刷真题。那真题要怎
- 2020-11-17晚间日记
清尘_fbf3
今天是什么日子起床:6:30就寝:23:00天气:阴心情:晴纪念日:叫我起床的不是闹钟是梦想年度目标及关键点:考试,写文本日重要成果:听课,写书评今日三只青蛙/番茄钟听一节言语课制作文件目录构思书评成功日志-记录三五件有收获的事务对同事不耐烦表现的有点明显,但她太让人无语。一个简单的问题都说不清楚,经常做返工活,讨厌这种人。财务检视吃饭百草味买零食买衣服买甜品人际的投入和一个朋友聊天开卷有益-学习
- 【2020-11-17】既然如此,肯定当初
wc的一些事一些情
08:00既然无处可逃,不如喜悦;既然没有净土,不如静心;既然没有如愿,不如释然。——丰子恺早上八点,我准时达到了公司的门口,门还没开,平时早起那个开门的同事还没到,那我就成为了今天开门的第一人,但我还不算是第一个回到公司的人,还有一个新面孔同事老早就站在门外等着我们这些钥匙人。不知道从什么时候开始,每天早起前耳边会多了一种声音:“要不再睡一会吧”,或者“要不先让何太上班去”,这种声音会让我在床上
- 生存直播 라이브온 (2020)百度云资源
鱼_b2c4
如何获取?点击个人头象看个人介绍生存直播라이브온(2020)百度云网盘导演:金尚燮主演:郑多彬/黄旼炫/卢宗贤/杨惠智/李多斌/更多...类型:爱情制片国家/地区:韩国语言:韩语首播:2020-11-17(韩国)集数:8又名:LiveOn豆瓣评分7.3生存直播的剧情简介······本剧讲述的是在以时尚和名誉为阶级的一所高中里,在人气金字塔顶端的目中无人的明星白琥瑯(音译)(郑多彬饰)为了寻找揭露自
- 2020-11-17减肥记4
stone爱
因为昨晚也坚持了锻炼,所以清晨,我也没有放弃。黑咕咙咚的视野没有打消我的想法,反而有种,瞧我在这个点就起来了,比很多人都早,我在独享这个早晨的感受。其实每次早起都有这个感觉,如果不是晚上看手机太晚,我一般都会享受下这个待遇。弄好早餐叫醒女儿,我便独自己下楼,结果从单元楼门出去才看到外面在下雨。此时雨量不算大,但也不小,我有点纠结,于是在单元楼门口的檐下蹦跳的转了几个圈,因为兴奋的情绪还在,也有点想
- 2020-11-17
歪才大白话
很多时候,你不试一试,你就不知道自己能不能做到?看过这样一句话:“你怎么想、怎么做,就会有怎样的人生,”别人的看法可以作为参考,但更重要的还是我们自己怎么看,所以,别再看轻自己,试着坚持本心,不放弃、去努力,那些之前不敢想的惊喜也许真的会悄然而来!如果我们曾因为自卑与美好擦肩而过,未来,愿你重拾自信去面对一切挑战!愿这份自信能刻进你的内心,化作满天星斗,陪你走遍三山五岳!知耻者常尊!把知耻当作为人
- 2020-11-17 一日两餐,简简单单
施付
今天婆妈突然头晕,晕的不能动弹。休息了一个下午才恢复一点。到了下午四五点又起来做饭给小辈们吃,一点埋怨没有。还在安慰我,没事的,我没事的,过几天就好了。这段时间,搬回家住,婆妈精心照顾有身孕的我,什么事情都替我着想,不让我累着,吃好休息好。定时给我买牛奶,酸奶,小零食,菜谱天天换着花样做,晚上陪我出去散步。知道我爱吃什么,就默默地在家里备着。早上我一出房门,第一句话就是,你早饭想吃什么,我去给你买
- 2020-11-17
孤魅狂奔
小散日记看了一下自己的文章我是11.2号结算了创业板基金觉得自己的决定是正确的同样的资金买入了易方达蓝筹精选已经有一千二百块盈利了好在我习惯手起刀落快到斩乱麻(ಡωಡ)hiahiahia说下我的小平平就是平安银行啦回调最低至16.9元便止跌返回上升通道去了我在17.15又买了一点点这部分买入就当短线赚个买菜钱明天就出来,降低持有成本小平平有望再创新高哦前期高点在18.87元拭目以待吧!券商股我是不
- 抖音的算法2020-11-17
huanghuang511
抖音的算法学会让内容符合算法抖音的算法是极具魅力的。这个魅力在于,抖音的流量分配是去中心化的。我们要学会做一个懂得触发机制的人去让内容符合算法。所有的抖音的用户,你拍的任何一个视频,无论质量好还是质量坏,发布了之后一定会有播放量,从几十到上千都有可能。这个我们把它叫做流量池,抖音会根据算法给每一个作品的人分配一个流量池。之后,抖音根据你在这个流量池里的表现,决定是把你的作品推送给更多人,还是就此打
- 2020-11-17
银子666
今天最开心的事情就是见到了江山帝景店预售同事~贝贝,微微带我们吃了好吃的,很满足,人与人之间的相遇是缘分,能像好朋友一样相处更是难得,大家要好好珍惜在一起的时光哦!
- 2020-11-17发现自己总是太会担心了
感性的我
临时交代要背诵一段古诗2020-11-15日周日女儿的语文老师发了一个朗诵的文章,说当天就要背完。我当天就很着急了,我开始跟女儿背,女儿说累了。我说休息十分钟,我给她玩手机,后面我睡着了,醒来竟然是一个小时以后。我发现女儿没自觉停,还在看手机。我生气了,我发火了。我把手机没收。我:你会背了吗女儿:不会我:那不用背了,睡觉女儿哭了,她应该是很害怕,害怕没完成老师的任务。我没理她,把灯关了,就让她睡觉
- 2020-11-17
来呀呀
怎么做抖音种草号?其实现在在抖音当中已经有不少的种草号了,在这种情况下,一个是有了大量的参考素材,如借助视频的播放情况、种草内容、用户的关注度等情况能帮助你更好的了解短视频种草这个行业,在某种程度上来说,也能起到了一些避坑的效果。但是在这样的情况下,你需要做到让自己变成“异数”,因为在拥有大量的同类型的视频作品当中,“异数”才是能在最短时间内吸引用户关注的存在。这就需要你从种草短视频内容当中下功夫
- 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记录版本库中版本