- 2017-12-27
王界程
12.27星期三晴(221)儿子:妈妈我今天被老师选中参加张老师的优点点评了,在青岛电视台播放时候就能看到张老师和我。我:是吗?你也太棒了,看来你的准备还排上用场了啊。儿子:嗯,今天采访我时候,我还有点紧张来,我把我说的背给你听听。我:紧张也是情理之中的,我接受采访我也紧张,但是把自己心态调整好就觉的没有什么可紧张的了,你把心态调整到自然状态,是对自己的肯定也是对对方的尊重,你说对不对?儿子:嗯,
- 2017-12-27
篮球行为大赏
今年夏天,森林狼与志在重建的公牛达成交易,攻守兼备的吉米巴特勒降临明尼苏达,随后球队又通过一系列运作,将全明星控卫蒂格,超级第六人克劳福德,蓝领吉布森等悍将招致麾下,森林狼一举从西部弱旅变身为联盟不敢忽视的豪强。但尽管如此,球队依然出现了许多问题,首当其冲的,莫过于被誉为狼队未来核心的维金斯,没能成长到人们想要的样子。+2014年选秀经常被外界誉为近几年来最出色的一届,包括恩比德、努尔基奇、斯玛特
- 2017-12-27
风苏晚
高中畢業也已經很多年了,每每回想起總覺得那還是昨天的事一樣,每次看到寫高中生活的小說時,總會想要寫點東西來紀念一下我逝去的青春!不管有沒有人欣賞,這只是一種情懷!
- 2017-12-27
情天浩然
有人评价余秋雨先生的文化散文说,它既与历史撞击,又与现实撞击,既欲走出历史,又欲走出现实。对于这话,我很是有感觉,仿佛我自己也是在历史与现实里摇摆撞击,欲出愈走,欲破愈撞,而终不得出破。于是,梦焉,想焉,呓焉,魇焉;于是,倾听孤独的声音,品尝寂寥的的滋味,领略岑然的风韵。历史也罢,现实也罢,既然生而为人,又何能逃躲。无名愈名,无功愈功,无道愈道。人力有时而尽,人生有时而穷,唯天之无涯,唯地之无终。
- 实验6/100【跨年】会跳舞的熊本熊小姐
大写的橙
跨年想跟着一起跳爵士,但是不收我。然后脑子里又突然闪现一个点子,发现这个跨度有点大。本来有个愿望就是当天线宝宝,因为喜欢那个又大又圆的屁股,Emmm。成功的话算是换着方式实现了这个愿望,毕竟要买到天线宝宝人偶还是挺难的。2017-12-19刷人偶2017-12-19至12-26选音乐和动作素材,学习,剪辑2017-12-27想去可是又不敢,纠结了很久很久,鼓起勇气报名2017-12-27至12-3
- 日精进打卡第123天
刘伟师
2017-12-27姓名:刘卫师:公司:宁波大发化纤有限公司《六项精进》289期反省二组纪律委员【日精进打卡第123天】【知~学习】《六项精进》大纲:诵3遍共369遍《六项精进》通篇:2遍共241遍《大学》:诵3遍共372遍【经典名句分享】走自己的路,让他人去说吧!读万卷书、行万里路!满招损、谦受益!【行~践行】一、修身一点点去改变说话方法、语气让他人易接受每天读三遍大纲、三遍大学、两遍通篇坚持每
- 2017-12-27
俩千金的妈
今晚做了大闺女最爱吃的馅饼,放学回来就让她洗手,一会先吃饭吧!吃完饭写作业,我去厨房忙活起来…端出一盘芸豆馅的,闺女吃了2个,锅里的白菜的她也惦记着,说等会回吃个白菜的!好吧!谁让你这么爱吃包子呢!一碗稀饭,3个馅饼,这饭量~真是无敌了!我说你太能吃了,闺女说妈妈做的太好吃了!这小姑娘嘴上抹了蜜一样甜!吃完了饭5点半,写作业去了,一写写到8点10分,真是太能墨迹了。人家都是吃饱了有劲写作业,你这好
- 2017-12-27
忆空念念
《逆袭学长,写给想考研的你十条建议》----文/追风筝的哈桑*1考研,从来都只是一条路,而不是全部。我不会拿着小学还没毕业就月挣几千万的例子来告诉你学历就是个http://www.jianshu.com/p/e91348360fa0
- 2017-12-27
223的小六猪
小五猪要走了小六猪今日心情十分复杂看着别人去追逐自己的梦想而且获得回报开心之余还挺感慨的说圆梦了吗好像也没有因为去到的不是原本想要的但也有种退而求其次的无奈
- 海在那里,希望和梦想在那里
鲸鱼岛之光
原创2017-12-27这并不是一个新Icon或者新故事。2013年9月2日,64岁的戴安娜·尼亚德(DianaNyad)在无防鲨笼保护下横渡111英里海域,历时53小时,成为古巴哈瓦那到美国福罗里达基韦斯特的海域横跨第一人,成就自己四十多年前的梦想。NEVEREVERGIVEUP谁是戴安娜·尼亚德?20世纪70年代,戴安娜·尼亚德是世界上最伟大的长距离游泳选手,她所创造的世界纪录包括环绕曼哈顿岛
- 2017-12-27
粘人的小猪猪
图片发自App在你之后,再没有不顾一切的去见一个人。你教会了我去奋不顾身的爱,也教会了我别再去轻易爱一个人。
- 2017-12-27
紅妈贝宝
今晚在同老妈的通话中,偶然得知老妈的门牙掉了两颗。这件事猛地触动了我,陷入自责和沉思。老妈讲述了掉门牙的原因,缘于多年前的一次早起赶集,着急从后座上自行车,不慎摔下来的跌伤。后来吃药治疗,不彻底就留下了病根。我突然就觉得心疼不已。作为女儿,虽然父母不曾讲起,我竟然也一无所知。父母一辈子为抚育子女,吃过多少苦流过多少汗?我都能理解多少体会多少啊!只有自己养育了孩子,才知为人父母的不易和心酸。直到结婚
- 2017-12-27 觉察日记27
行进中的路人甲
下午坐在领导的办公室,一会要谈点事情。坐在那里,虽然我看着他,不过的我的意识是在自己身上的,我感觉自己身体的姿势,身体是自然地,心情也是自然地,没有不适,没有抗拒,也没有紧张。我跟另外一个同事说了我们的想法,回答了一些问题。不过我们并没有严格的在一个频道上。因为在开始前我已经有了我的大概想法,与他想的虽然内容差不多,但重点不一样。在同事说的时候,我在思考要不要说,说出来会怎么样。后来还是说了出来,
- 听歌
尼桑喏卡萨
推荐一些自己平时听得华语专辑的,还是习惯一张一张专辑地听,完整性比较好。排名不分先后。女声:《TIMEQUAKE演唱会现场实录》-杨乃文2015-6-5《说故事的人总掉眼泪》-黄雅莉2017-3-22《如我》-刘惜君2017-12-29《说艾怡良》-艾怡良2016-5-27《年轮说》-杨丞琳2016-9-30《华丽的冒险》-陈绮贞2005-10-1《心里学》-徐佳莹2017-12-27《Stone
- 2017-12-27举证责任
新小派自由行走的花
谁主张,谁举证,不仅是一个法律术语,它涉及生活的方方面面。首先,举证难度受举证人能力的影响,因为每个人的学识和专业不同。显而易见的事实:每个人的能力是不同的,无论是理解能力,观察能力,还是获得有效信息的能力。其次,举证难度受当时所在社会的整体知识水平的影响。除此之外,举证难度还受需要证明的结论与当时社会普遍接受的知识相符程度的影响。由于举证难度的不同,争论双方的境况常常处于这种状态:1、其中一方肩
- 2017-12-27
姜月萍
美丽的女人就好像一幅画,从不惧怕时间的流逝。因为时间只会带给她更多的价值。这样的美,无法复制,无与伦比。图片发自App
- 2017-12-27 VSCode personl settings
BakerCheng
```Code->首选项->设置->用户设置{"files.exclude":{"**/.git":true,"**/.DS_Store":true,"Temp":true,"obj":true,"Library":true,"ProjectSettings":true,"**/**/**.meta":true,"**/userprefs":true,"**/Textures":true,"**/
- 2017-12-27
tfyang
PMP基本知识点一、项目:为创造独特性的产品、服务或成果而进行的临时性工作项目三大特征:临时性独特性渐进明细性项目组合项目集合和项目关系项目管理五大过程组47个项目管理过程OPM(组织级项目管理):战略执行框架项目集管理关注项目间的依赖关系项目组合管理:重点关注—通过审查项目和项目集,来确定资源分配的优先顺序,并确保对项目组合的管理与组织战略协调一致。项目与战略规划:市场需求、战略机会/业务需求、
- 2017-12-27
于泽妈妈
2017.12.27星期三晴亲子日记(242)今晚儿子做作业时间还说的过去,写完日记,跟我说了说在学校的情况,除了叮嘱他要在学校好好听话以外,还要让他一定要认真、细心学习,还有阅读情况,儿子还算听话,一一给我说说他的进展情况,课程已接近尾声,所以继续努力吧,首先把认真做好了,再加努力,后面的结果才会如意,希望孩子能够明白!加油!图片发自App
- 2017-12-27
夏天_b148
又要放假了,一想起又要滚回红尘里去,总有点无措之感。每每同学们在欢喜着假期的到来时,我却是那么的淡然,相反,的盼望着早点开学,一转眼间就大三了,仿佛什么事情也没有如心意的进展。尤记得刚来学校的熊熊烈火的激情,报了许多个社团,现在想想除了出了点社费,特意去照了寸像,贴上领了一个所谓的社员证,好像就没有什么了。泡图书馆的日子永远是在赶作业,偶尔想去思想陶醉一下,却是被三三俩俩的情侣打断,圈在寝室的时间
- 2017-12-27
京心达奥迪组王刚
日精进:敬畏—进入—体验—交给—持续1,缺啥补啥,怕啥练啥;2,一切为我所用,所用为团队家;3,我想变,我要变,我不得不变,我会变得越来越好;今日体验:改变思维的态度,做出的结果也会不一样,交给,全身心的交给,做事站在利客户的角度,利单位的角度去做,讲方法的去做。
- 脑梗后遗症病例分享
a970633ac6fe
给大家分享一个病例:患者男62岁12年前糖尿病脑梗无肢体障碍后遗表现为头晕语言不利表情淡漠不与人交流低智商不知道自己在哪儿在干什么治疗前出现精神分裂症症状经常在马路上又唱又跳家属很无奈2017-12-27开始在我处行脑针治疗至今现第二个疗程治疗八次头晕痊愈情志正常可以正常交流分享人:宫氏24期武新桃图片发自App三张照片分别拍自2017-12-242018-1-32018-2-8
- 2017-12-27
那个1113
年的味道-----浅析《舌尖上的新年》随着中国社会经济的发展,人们生活质量和水平大大提高。生活各方面都发生了极大的变化,尤其是饮食,从以前的要求能吃饱到现在的能吃好,精益求精。中国各地传统特色饮食文化也得到更大的传播。《舌尖上的新年》就是通过影视语言来向观众介绍新年期间全国各地不同的代表性美食,镜头聚焦全国24个地方,寻访43种美食,为观众送上一道色香味俱全的新年大餐。影片内容结构条理明晰,以最普
- 关于安装使用pipenv记录 2017-12-27
JacksonSun
安装pipenv系统信息ubuntu17.10python3.5首先使用pip安装Pipenv及其依赖项pipinstallpipenvcd到项目目录执行pipenvinstall若出现pipenv不是内部命令错误原因是未将pipenv添加到环境变量python-msite--user-base找到基础目录会打印出/home/*/.local路径,将bin目录添加到该路径后面,即/home/*/.
- 慢思考 精华笔记
言梦曦
12月28日|《慢思考》7.9万次阅读2017-12-27天天听好书天天听好书欧洲商学院思维公开课,教你如何在一心多用的时代,保持专注。书名:《慢思考——大脑超载时代的思考学》作者:特奥·康普诺利今日解读:邓婕解读人简介:文学硕士,四川广播电视台记者、自媒体人。播音:沐泽责编:胡潇方音频编辑:陈子夫01听前思考我们的大脑到底是怎么思考的?是什么束缚了大脑的智力表现?如何保持专注,深入思考?02书中
- 2017-12-27
小泥蛋儿
刚刚读了易仁永澄老师的文章----吃惊的原理与价值分析,真是受益匪浅啊!想想自己就是一个情绪控,如果有人把茶杯放在那让我烫了,我一定会大声喊几句,埋怨一番,掉进陷阱----“刺激-触发-响应-奖励的恶性循环,也没有别的价值。”让我看清了自己的内耗,啊,啊,啊,自己是多么的弱智啊!那怎么办呢?“情绪是发现问题的钥匙、问题是成长的契机和基石。这个信念是从问题的角度切入思考的,而老师又给出一个逻辑,是从
- 2017-12-27
曼陀罗盛开
看完电影回来已是深夜23点,这样的时间点应该是身体最困乏的时候。可今晚却让我很亢奋,脑海一直浮现的是电影里的景象,专转反侧的难以入睡。我不是个多愁善感的人,但今晚的电影《猫妖传》切实触碰到我最敏感最不愿去思考的人性的问题。人性是个很可怕的东西,今天的电影又把我对爱情的美好幻想带回到现实。影片讲述的是历史人物杨贵妃和唐玄宗的爱情故事,读过白居易的《长恨歌》的都知道在天愿作比翼鸟在地愿为连理枝是形容她
- 2017-12-27,且说《男到中年不如狗》
JaneEyre简爱
在微信里看到《男到中年不如狗》的文章,看完很心酸。没人知道,在貌似坚强的肩膀下面,有一颗脆弱的心。同时又在想,这些男人的背后,有一个什么样的女人,可以让自己的男人感觉活的像狗一样?在街头无助的哭泣甚至自杀?难道这个世道活人真的这么难吗?我觉得文章里的男人应该不是所有的中年男人的代表,我们都见过还是有很多中年男人的目光是平和而温暖的,为何这篇文章里的男人眼睛里都是凄楚?每个人都生活的不易,家家都有本
- 2017-12-27
高国强
各位评委老师们,赣粤汇的家人们大家好。我是来自金丰店的———今天我演讲的题目是在平凡中闪光,相信在座的每一个人对于平凡的理解可能都不一样。就我而言,我觉得平凡就是像我这样的,走进人堆里瞬间就可以被淹没的无影无踪。每天做着同样的事情,完成同样的工作,对于我来说就是平凡。如此平平淡淡的生活,简简单单的我同样和闪光这个词也是沾不上边的,不过我曾经看到过一句话,说简单的事情重复做,你就是专家;重复的事情用
- 4 Flask mega-tutorial第4章 数据库 Database
神是念着倒
Python3.XflaskFlaskmega-tutorialDatabasePythonweb开发
如需转载请注明出处。win1064位、Python3.6.3、Notepad++、Chrome67.0.3396.99(正式版本)(64位)注:作者编写时间2017-12-27,linux、python3.5.2以下内容均是加入自己的理解与增删,以记录学习过程。不完全照搬作者MiguelGrinberg的博客,但版权属于作者,感谢他提供免费学习的资料。传送门00开篇01Helloworld02模板
- ios内付费
374016526
ios内付费
近年来写了很多IOS的程序,内付费也用到不少,使用IOS的内付费实现起来比较麻烦,这里我写了一个简单的内付费包,希望对大家有帮助。
具体使用如下:
这里的sender其实就是调用者,这里主要是为了回调使用。
[KuroStoreApi kuroStoreProductId:@"产品ID" storeSender:self storeFinishCallBa
- 20 款优秀的 Linux 终端仿真器
brotherlamp
linuxlinux视频linux资料linux自学linux教程
终端仿真器是一款用其它显示架构重现可视终端的计算机程序。换句话说就是终端仿真器能使哑终端看似像一台连接上了服务器的客户机。终端仿真器允许最终用户用文本用户界面和命令行来访问控制台和应用程序。(LCTT 译注:终端仿真器原意指对大型机-哑终端方式的模拟,不过在当今的 Linux 环境中,常指通过远程或本地方式连接的伪终端,俗称“终端”。)
你能从开源世界中找到大量的终端仿真器,它们
- Solr Deep Paging(solr 深分页)
eksliang
solr深分页solr分页性能问题
转载请出自出处:http://eksliang.iteye.com/blog/2148370
作者:eksliang(ickes) blg:http://eksliang.iteye.com/ 概述
长期以来,我们一直有一个深分页问题。如果直接跳到很靠后的页数,查询速度会比较慢。这是因为Solr的需要为查询从开始遍历所有数据。直到Solr的4.7这个问题一直没有一个很好的解决方案。直到solr
- 数据库面试题
18289753290
面试题 数据库
1.union ,union all
网络搜索出的最佳答案:
union和union all的区别是,union会自动压缩多个结果集合中的重复结果,而union all则将所有的结果全部显示出来,不管是不是重复。
Union:对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序;
Union All:对两个结果集进行并集操作,包括重复行,不进行排序;
2.索引有哪些分类?作用是
- Android TV屏幕适配
酷的飞上天空
android
先说下现在市面上TV分辨率的大概情况
两种分辨率为主
1.720标清,分辨率为1280x720.
屏幕尺寸以32寸为主,部分电视为42寸
2.1080p全高清,分辨率为1920x1080
屏幕尺寸以42寸为主,此分辨率电视屏幕从32寸到50寸都有
适配遇到问题,已1080p尺寸为例:
分辨率固定不变,屏幕尺寸变化较大。
如:效果图尺寸为1920x1080,如果使用d
- Timer定时器与ActionListener联合应用
永夜-极光
java
功能:在控制台每秒输出一次
代码:
package Main;
import javax.swing.Timer;
import java.awt.event.*;
public class T {
private static int count = 0;
public static void main(String[] args){
- Ubuntu14.04系统Tab键不能自动补全问题解决
随便小屋
Ubuntu 14.04
Unbuntu 14.4安装之后就在终端中使用Tab键不能自动补全,解决办法如下:
1、利用vi编辑器打开/etc/bash.bashrc文件(需要root权限)
sudo vi /etc/bash.bashrc
接下来会提示输入密码
2、找到文件中的下列代码
#enable bash completion in interactive shells
#if
- 学会人际关系三招 轻松走职场
aijuans
职场
要想成功,仅有专业能力是不够的,处理好与老板、同事及下属的人际关系也是门大学问。如何才能在职场如鱼得水、游刃有余呢?在此,教您简单实用的三个窍门。
第一,多汇报
最近,管理学又提出了一个新名词“追随力”。它告诉我们,做下属最关键的就是要多请示汇报,让上司随时了解你的工作进度,有了新想法也要及时建议。不知不觉,你就有了“追随力”,上司会越来越了解和信任你。
第二,勤沟通
团队的力
- 《O2O:移动互联网时代的商业革命》读书笔记
aoyouzi
读书笔记
移动互联网的未来:碎片化内容+碎片化渠道=各式精准、互动的新型社会化营销。
O2O:Online to OffLine 线上线下活动
O2O就是在移动互联网时代,生活消费领域通过线上和线下互动的一种新型商业模式。
手机二维码本质:O2O商务行为从线下现实世界到线上虚拟世界的入口。
线上虚拟世界创造的本意是打破信息鸿沟,让不同地域、不同需求的人
- js实现图片随鼠标滚动的效果
百合不是茶
JavaScript滚动属性的获取图片滚动属性获取页面加载
1,获取样式属性值
top 与顶部的距离
left 与左边的距离
right 与右边的距离
bottom 与下边的距离
zIndex 层叠层次
例子:获取左边的宽度,当css写在body标签中时
<div id="adver" style="position:absolute;top:50px;left:1000p
- ajax同步异步参数async
bijian1013
jqueryAjaxasync
开发项目开发过程中,需要将ajax的返回值赋到全局变量中,然后在该页面其他地方引用,因为ajax异步的原因一直无法成功,需将async:false,使其变成同步的。
格式:
$.ajax({ type: 'POST', ur
- Webx3框架(1)
Bill_chen
eclipsespringmaven框架ibatis
Webx是淘宝开发的一套Web开发框架,Webx3是其第三个升级版本;采用Eclipse的开发环境,现在支持java开发;
采用turbine原型的MVC框架,扩展了Spring容器,利用Maven进行项目的构建管理,灵活的ibatis持久层支持,总的来说,还是一套很不错的Web框架。
Webx3遵循turbine风格,velocity的模板被分为layout/screen/control三部
- 【MongoDB学习笔记五】MongoDB概述
bit1129
mongodb
MongoDB是面向文档的NoSQL数据库,尽量业界还对MongoDB存在一些质疑的声音,比如性能尤其是查询性能、数据一致性的支持没有想象的那么好,但是MongoDB用户群确实已经够多。MongoDB的亮点不在于它的性能,而是它处理非结构化数据的能力以及内置对分布式的支持(复制、分片达到的高可用、高可伸缩),同时它提供的近似于SQL的查询能力,也是在做NoSQL技术选型时,考虑的一个重要因素。Mo
- spring/hibernate/struts2常见异常总结
白糖_
Hibernate
Spring
①ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException
缺少aspectjweaver.jar,该jar包常用于spring aop中
②java.lang.ClassNotFoundException: org.sprin
- jquery easyui表单重置(reset)扩展思路
bozch
formjquery easyuireset
在jquery easyui表单中 尚未提供表单重置的功能,这就需要自己对其进行扩展。
扩展的时候要考虑的控件有:
combo,combobox,combogrid,combotree,datebox,datetimebox
需要对其添加reset方法,reset方法就是把初始化的值赋值给当前的组件,这就需要在组件的初始化时将值保存下来。
在所有的reset方法添加完毕之后,就需要对fo
- 编程之美-烙饼排序
bylijinnan
编程之美
package beautyOfCoding;
import java.util.Arrays;
/*
*《编程之美》的思路是:搜索+剪枝。有点像是写下棋程序:当前情况下,把所有可能的下一步都做一遍;在这每一遍操作里面,计算出如果按这一步走的话,能不能赢(得出最优结果)。
*《编程之美》上代码有很多错误,且每个变量的含义令人费解。因此我按我的理解写了以下代码:
*/
- Struts1.X 源码分析之ActionForm赋值原理
chenbowen00
struts
struts1在处理请求参数之前,首先会根据配置文件action节点的name属性创建对应的ActionForm。如果配置了name属性,却找不到对应的ActionForm类也不会报错,只是不会处理本次请求的请求参数。
如果找到了对应的ActionForm类,则先判断是否已经存在ActionForm的实例,如果不存在则创建实例,并将其存放在对应的作用域中。作用域由配置文件action节点的s
- [空天防御与经济]在获得充足的外部资源之前,太空投资需有限度
comsci
资源
这里有一个常识性的问题:
地球的资源,人类的资金是有限的,而太空是无限的.....
就算全人类联合起来,要在太空中修建大型空间站,也不一定能够成功,因为资源和资金,技术有客观的限制....
&
- ORACLE临时表—ON COMMIT PRESERVE ROWS
daizj
oracle临时表
ORACLE临时表 转
临时表:像普通表一样,有结构,但是对数据的管理上不一样,临时表存储事务或会话的中间结果集,临时表中保存的数据只对当前
会话可见,所有会话都看不到其他会话的数据,即使其他会话提交了,也看不到。临时表不存在并发行为,因为他们对于当前会话都是独立的。
创建临时表时,ORACLE只创建了表的结构(在数据字典中定义),并没有初始化内存空间,当某一会话使用临时表时,ORALCE会
- 基于Nginx XSendfile+SpringMVC进行文件下载
denger
应用服务器Webnginx网络应用lighttpd
在平常我们实现文件下载通常是通过普通 read-write方式,如下代码所示。
@RequestMapping("/courseware/{id}")
public void download(@PathVariable("id") String courseID, HttpServletResp
- scanf接受char类型的字符
dcj3sjt126com
c
/*
2013年3月11日22:35:54
目的:学习char只接受一个字符
*/
# include <stdio.h>
int main(void)
{
int i;
char ch;
scanf("%d", &i);
printf("i = %d\n", i);
scanf("%
- 学编程的价值
dcj3sjt126com
编程
发一个人会编程, 想想以后可以教儿女, 是多么美好的事啊, 不管儿女将来从事什么样的职业, 教一教, 对他思维的开拓大有帮助
像这位朋友学习:
http://blog.sina.com.cn/s/articlelist_2584320772_0_1.html
VirtualGS教程 (By @林泰前): 几十年的老程序员,资深的
- 二维数组(矩阵)对角线输出
飞天奔月
二维数组
今天在BBS里面看到这样的面试题目,
1,二维数组(N*N),沿对角线方向,从右上角打印到左下角如N=4: 4*4二维数组
{ 1 2 3 4 }
{ 5 6 7 8 }
{ 9 10 11 12 }
{13 14 15 16 }
打印顺序
4
3 8
2 7 12
1 6 11 16
5 10 15
9 14
13
要
- Ehcache(08)——可阻塞的Cache——BlockingCache
234390216
并发ehcacheBlockingCache阻塞
可阻塞的Cache—BlockingCache
在上一节我们提到了显示使用Ehcache锁的问题,其实我们还可以隐式的来使用Ehcache的锁,那就是通过BlockingCache。BlockingCache是Ehcache的一个封装类,可以让我们对Ehcache进行并发操作。其内部的锁机制是使用的net.
- mysqldiff对数据库间进行差异比较
jackyrong
mysqld
mysqldiff该工具是官方mysql-utilities工具集的一个脚本,可以用来对比不同数据库之间的表结构,或者同个数据库间的表结构
如果在windows下,直接下载mysql-utilities安装就可以了,然后运行后,会跑到命令行下:
1) 基本用法
mysqldiff --server1=admin:12345
- spring data jpa 方法中可用的关键字
lawrence.li
javaspring
spring data jpa 支持以方法名进行查询/删除/统计。
查询的关键字为find
删除的关键字为delete/remove (>=1.7.x)
统计的关键字为count (>=1.7.x)
修改需要使用@Modifying注解
@Modifying
@Query("update User u set u.firstna
- Spring的ModelAndView类
nicegege
spring
项目中controller的方法跳转的到ModelAndView类,一直很好奇spring怎么实现的?
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* yo
- 搭建 CentOS 6 服务器(13) - rsync、Amanda
rensanning
centos
(一)rsync
Server端
# yum install rsync
# vi /etc/xinetd.d/rsync
service rsync
{
disable = no
flags = IPv6
socket_type = stream
wait
- Learn Nodejs 02
toknowme
nodejs
(1)npm是什么
npm is the package manager for node
官方网站:https://www.npmjs.com/
npm上有很多优秀的nodejs包,来解决常见的一些问题,比如用node-mysql,就可以方便通过nodejs链接到mysql,进行数据库的操作
在开发过程往往会需要用到其他的包,使用npm就可以下载这些包来供程序调用
&nb
- Spring MVC 拦截器
xp9802
spring mvc
Controller层的拦截器继承于HandlerInterceptorAdapter
HandlerInterceptorAdapter.java 1 public abstract class HandlerInterceptorAdapter implements HandlerIntercep