- 继续《时光音乐会》
湘梅子
平安夜,与我无关。晚饭后陪孙子玩,直到他入睡。回家,看期待的周五《时光音乐会》。今天的庄主是郁可唯。出道十多年,竟然为影视唱了八十多首歌。她的歌声很温暖,有时还很空灵,声音处理很细腻,听起来很享受。原来《知否,知否》是她原唱,当时电视剧很火,歌我也学会了。我也喜欢她的《路过人间》歌友们谈笑风生,我这个观众也不时会心笑着。每次看完这个节目,总是意犹未尽。也只有这个节目,我先生有兴趣跟我一起看完,还总
- 叠音词的妙用
生死不离_76da
叠音词的应用往往给人可爱,生动的感觉,比如,流水潺潺,猪猪侠。在生活中,我们一般用叠音词来哄小孩,比如:来,吃饺饺(饺子),吃包包(包子),看车车(汽车),可能因为小孩刚学说话,学起叠音词比较容易,因为就是同音念两遍而已。国庆回家,妈妈哄小孙子,吃卷卷(馒头),吃豆豆(豆腐,不解),吃晒晒(山药),感觉很有趣。汽车过来了,我会让他靠边边,开车出去玩会说坐车车,当然还会举高高。
- 详解mybatis的一二级缓存以及缓存失效原因
仰望天花板
缓存数据库mybatisjavamysql
数据库的大部分场景下是从磁盘读取,如果数据从内存进行读取,速度较比磁盘要快得多。但因为内存的容量有限,所以一般只会把使用和查询较多的数据缓存起来,以便快速反应,其他使用率不太多的继续存放在磁盘。mybatis分为一级缓存和二级缓存1.一级缓存一级缓存存放在SqlSqeeion上,默认开启1.1pojo@DatapublicclassRole{privateLongid;privateStringr
- 《九鼎风水师》第五百八十二章 和赵家的交易
先峰老师
眼前的一幕入眼,自己也大概能够猜测到是什么情况了。大家族之中就是麻烦多,没有想到一点点的小事情,居然能够有如此多的纠结。场地之中,两人就静静的对视而望。气氛稍微显得有些诡异而又沉默。这平静的气氛并没有持续多久,最多也就是一分钟的样子,就被打破了。“哈哈!少年可谓啊!没有想到,林老头居然有着这么一个出色的孙子,小五,还不快快请尚公子进来?”从大门中走出来出声的是一位白发苍苍的老者,身着一身灰色长衫,
- 两岁娃不会数数?正常!帮娃跨越数字关,点数识数量数对应都要会
说书人熊二娘
前几天,我遇到一个很久不见的年长朋友。他向我吐槽自己的孙子不会数数。他对我说自己有一天拿出了道具,让小孙子学数。两岁多的小孙子看了看那些道具,对他说:“爷爷,我们今天还是算了吧。”两岁多的孩子学数的确是早了一点。孩子的认知水平没有到,学起东西来就会异常困难。等过了一段时间,他认知和理解力达到了学数的程度,分分钟就能搞定这些问题。我儿子3岁7个月,最近突然能够数到100,玩起百数板也非常开心。我偶尔
- 致良知之寄诸用明书
BonSun
众所周知,当今社会,父母和社会、学校对学生的期望往往是唯分数论,包括每个人对成功的理解也往往是功名利禄,忽视了最基本的学问。文中提到,花之千叶者无实,为其华美太发露耳。人只有沉下心来,韬光养晦,才能拥有真正的学问和本领。
- 【621】幼儿园亲子阅读之《小蓝和小黄》
登登一君
我是昭君,我想记录我生活工作的点点滴滴,今天是我每日一篇文章的第621天。公众号搜索赵君可以查看最新文章。《小蓝和小黄》大部分的家长都看过,故事的诞生特别有戏剧性,当时是一位爷爷带着一个五岁的孙子,还有三岁的孙女坐火车,我们都知道三五岁的孩子是特别闹的时候,爷爷想让他们安静下来,拿出了自己讲故事的绝活。他随手从本杂志上撕下了几个不同颜色的纸块,把小颜色的纸块做成了故事的主角,然后就开始讲故事了。小
- WORD批量转换器MultiDoc Converter
uolian
工作word
WORD批量转换器MultiDocConverterhttps://www.52pojie.cn/thread-1318745-1-1.html可批量将doc、docx等文件格式转成doc、docx、pdf、rtf、txt、html、epub等格式。安装包下载地址:https://wws.lanzouj.com/irvVbiz0pkd最终下载文件打包地址(未作成单文件,不确定是否可以直接使用):h
- 孱夫子言语(221)
孱夫子
人人的私邪欲望从哪里来的?人人的祖宗是谁?人人的儿孙子嗣到底归谁?人的私邪欲望应该归功于低级趣味的动物流程。每个人的祖宗到底是谁?有说是女娃造人,有说是耶稣,有说是天主,有人说生死轮回,有人说是猴子演变。人人的子嗣后裔到底是人。人人的私邪欲望总是离不开个体这个小东西。人比人强盛把人人引向自私的沟壑,一人一事胜利了强盛了,人人已经不能是人而比人人高出,脱离了是人的范围,再把家族强调分出姓氏名讳,自私
- 2021-02-08长者心声
雷昊1
长者心声长者心声在193几年和194几年出生的人,即是老长者了。生长在那些年代的人,都已经七十几或八十几勾了。但这些人群早已离开单位,己钻到他她们的享乐窩去了。过着他们无忧无虑的天伦生活:带孙子、外孙、走象棋、钓鱼、打麻雀、唱歌跳舞、旅游、饮早茶。真是先天下之乐而乐,后天下不用忧。这群长者有一种思想很难改变的:毛泽东提昌“勤俭节约反对浦张浪费"。现阶段的他们已经离退休每月都有几千块领,但他们在洒家
- 《这小子真帅》千金追夫入谜案,霸气寨主变忠犬,人均八百个心眼
娱娱鱼
微短剧《这小子真帅》,剧情还是蛮有趣的。千金大小姐姜悦(宋美萱饰),千里迢迢来打探未婚夫——高涯县县令艾枫(王东阳饰)的情况。清风寨大当家刘贝贝(孙子航饰)为救二当家张肥(戎威峰饰)出狱,冒充艾枫担任县令。在路上,姜悦被刘贝贝打劫。到了高涯县,刘贝贝被姜悦各种试探,是欢喜冤家。因为刘贝贝是匪,对仕途这些东西根本不在意,所以办起案来不畏权势,他的刚正不阿,不仅让老百姓们交口称赞,还让姜悦开始倾心于他
- 怀念父亲
信明天lzm
父亲在医院里呆久了,吵着要回家,我和哥哥母亲好说歹说,才让父亲安静下来。第二天,父亲和母亲,哥哥大吵一架,说母亲和哥哥不理解他,对他不好,这一天父亲特别生气,吵得很凶,他想回家,他想见见他的孙子,外孙。父亲曾经偷偷对我说:“小囡,你嘴巴能说,能不能和医生商量一下,不要再叫我每天吃那么多的药了,好吗?每天吃的药比吃的饭还多,不想吃了,真不想吃了,不开心!”“好!我知道了,和医生说说,我和大哥一起去对
- Codeforces Round 969 (Div. 2) C. Dora and C++ (裴蜀定理)
致碑前繁花
刷题记录c语言c++开发语言
什么?竟然是裴蜀定理。。。由于这里给出了a和b两个数,我们或许可以想到使用同样是需要给出两个定值的裴蜀定理,即:如果给定xxx和yyy,那么一定有ax+by=gcd(x,y)ax+by=gcd(x,y)ax+by=gcd(x,y)。所以在这时候我们就可以让输入的所有数都去对gcd(a,b)gcd(a,b)gcd(a,b)取模,这样就能够得到所有数的最简形式(可以当成是让所有数尽可能消去aaa和bb
- MyBatis系统学习(一)——项目结构及其含义
OEC小胖胖
MyBatismybatis学习web后端
1.MyBatis简介MyBatis是一款优秀的持久层框架,它通过SQL映射的方式实现Java对数据库操作的映射,既保留了SQL语句的灵活性,也简化了代码的编写。在一个MyBatis项目中,核心部分主要有:配置文件(mybatis-config.xml)映射文件(Mapper.xml)实体类(Entity/POJO)接口类(Mapper接口)MyBatis会话工厂(SqlSessionFactor
- 诗词精读第16天
紫鸢
击鼓佚名击鼓其镗,踊跃用兵。土国城漕,我独南行。从孙子仲,平陈与宋。不我以归,忧心有忡。爰居爰处,爰丧其马。于以求之,于林之下。死生契阔,与子成说。执子之手,与子偕老。于嗟阔兮,不我活兮。于嗟洵兮,不我信兮。诗词讲解:击鼓的声音震响(耳旁),兵将奋勇操练。(人们)留在国内筑漕城,只有我向南方行去。跟随孙子仲,平定陈、宋(两国)。不允许我回家,(使我)忧心忡忡。于是人在哪里?于是马跑失在哪里?到哪里
- 华杉版资治通鉴【1963】讨伐吴元济。2023-06-26
华杉2009
4、五月十九日,桂王李纶薨逝。5、六月二十七日,任命河中节度使张弘靖为刑部尚书,同平章事。张弘靖,是张延赏之子。6、翰林学士独孤郁,是权德舆的女婿。皇上感叹独孤郁的才华,说:“权德舆能得到独孤郁这样的女婿,我反而不如他吗!”之前选择驸马,都在贵戚及勋臣之家,现在,皇上开始命宰相在公卿、大夫子弟中选择文雅可以担任清闲显贵官职的,诸家多不情愿,惟独杜佑的孙子、司议郎杜悰不推辞。秋,七月二十三日,任命杜
- 甘超波:NLP婚姻中如何与老人相处
甘超波
哈喽,大家好我是甘超波,是一名NLP爱好者,每天一篇原创文章或视频,分享我的实战经验和案例,希望给你些启发和帮助看一下,在家庭中子女与老人观念不一致时案例1:在教育孩子方面,老人习惯用老一套教育方式教育孙子,子女受不了老人这种习惯,从而发生口舌之争?2:在生活习惯方面,老人喜欢吃剩菜剩饭,子女受不了老人这种习惯,从而发生口舌之争?.....这样的事情,我相信你或多或少都听过和看过,甚至了深有感悟。
- 妻子生下双胞胎女儿,婆婆催生三胎,岂料丈夫的行为让人猜不透
俺叫德玛
生下双胞胎女儿后,婆婆非常不满意,一直催我生三胎。我不同意,她就在家又吵又闹,幸好老公明事理,站我这边,并支招:下班后我俩都晚回家,保姆也下班,婆婆一人照顾俩孩子,会特别累,这估计就能断了她抱孙子的心思。我觉得老公聪明又体贴,也连续一段时候下班后就跟闺蜜嗨。直到那天,我在电影院看到了老公与别的女人……我今年34岁,线上教育公司的金牌讲师,老公36岁,企业副总,我们结婚3年,双胞胎女儿2岁。本来我们
- SpringBoot项目
俺叫啥好嘞
spring系列springspringboot
SpringBoot项目大概分为四层:(1)DAO层:包括XxxMapper.java(数据库访问接口类),XxxMapper.xml(数据库链接实现);(这个命名,有人喜欢用Dao命名,有人喜欢用Mapper,看个人习惯了吧)(2)Bean层:也叫model层,模型层,entity层,实体层,就是数据库表的映射实体类,存放POJO对象;(3)Service层:也叫服务层,业务层,包括XxxSer
- 西部五省游,喜登嘉峪关
卢树枝
作者:郑汉兵20OO年五月,我和老伴商量,想外出旅游,看看祖国的大好河山。但是两个孙子上学要照顾,早送晚接,离不开我们怎么办。老伴非常理解我的心情,那我们就轮流外出吧。今年你出去,明年我出去。现在我们腿脚还好,身体又没有什么大的问题,应当走出去,放松心情。于是我们就找到了中南旅游公司,老伴问我想去那里去,我说祖国的南北方巳经去过多次。异国它鄉的味道我以感受过。我是一人外出,从安全方面考虑,选乘旅游
- 我为什么叫你别再花钱投资学习了
最酷的淘米
这是个吃人的社会,鲁迅那个时代是,现在它也是如此。这个社会有三种人,AB和C,A创造了B,B开始慢慢把A吃了,C在旁边用他的计谋加快这个吃人的速度,最后,等到B被养的肥肥胖胖时,C再把他们都吃了。万般皆下品,惟有读书高。这似乎是每个平民百姓都明白的道理,连不懂文化的阿姨都晓得跟她的孙子讲读书最重要了。但事实真是这样子吗?中国实行了这么多年的高考制度,九年义务制度,这些东西都给予了大家接受教育的机会
- 孙子兵法三十六计
上进猫先生爱读书
《狂飙》里的高启强,从《孙子兵法》里学到了什么绝招?“围师必阙,穷寇勿迫”,面对对手的困局,他告诉手下,差不多就行,别把别人逼到绝路。懂得狐假虎威,第一次,安欣带高启强去市场取东西,被阻拦,后来,高启强一次次地假装和安欣关系很好,从而赢得了唐小虎兄弟两的夸目相看。势来不可止,势去不可遏。正因为高启强体验到了关系的重要性,所以他不断借力,不断用大人物的力量,让自己走上人生巅峰。四两拨千斤,普通人无法
- Python【math数学函数】
Alan_Lowe
#Pythonpython
Python【math数学函数】文章目录Python【math数学函数】数论与表示函数1.ceil()和floor()2.comb()3.copysign()4.fabs()5.factorial()6.gcd()7.lcm()幂函数与对数函数1.exp()和math.e和pow()2.log()和log2()和log10()3.sqrt(x)三角函数1.asin、acos()、atan()2.s
- 数据结构OJ作业——队列
nnbs
数据结构数据结构poj队列
POJ3984:http://poj.org/problem?id=3984迷宫,输出最短路径,bfs#include#include#include#includeusingnamespacestd;intmaze[5][5];pairpath[5][5];queue>q;intdx[]={1,-1,0,0};intdy[]={0,0,1,-1};voidbfs(intx,inty){q.pus
- 祖宗十八代
三水畔
清明祭祖,中国传统,认识一下祖宗十八代。什么叫《祖宗十八代》自己之父~父亲父亲之父~祖父祖父之父~曾祖曾祖之父~高祖高祖之父~天祖天祖之父~烈祖烈祖之父~太祖太祖之父~远祖远祖之父~鼻祖父亲之子~儿子儿子之子~孙子孙子之子~曾孙曾孙之子~玄孙玄孙之子~来孙来孙之子~晜孙晜孙之子~仍孙仍孙之子~云孙云孙之子~耳孙这就是上下祖宗十八代,知道的人不多哦!今天才知道,普及下传统知识
- 圣贤经典改变命运!
彼岸_97a6
2018年06月12日周二,累计读经典1140天。通读《老子》1遍,累计4遍。《诗经国风》鄘风,《孟子上》梁惠王章句下,《孙子兵法》形篇第四,《文学启蒙》介之推不言禄《左传》,《易经》分宫卦象次序歌读完百遍的有《易经》、《孝经》,通读七遍的经典有《弟子规》、《笠翁对韵》、《中庸》、《老子》、《三字经》、《论语》《黄帝内经素问》等。当你把希望放在别人身上时,你会选择等待;当你把希望放在自己身上时,你
- python 实现eulers totient欧拉方程算法
luthane
算法python开发语言
eulerstotient欧拉方程算法介绍欧拉函数(Euler’sTotientFunction),通常表示为(),是一个与正整数相关的函数,它表示小于或等于的正整数中与互质的数的数目。欧拉函数在数论和密码学中有广泛的应用。欧拉函数的性质1.**对于质数,有φ(p)=p−1∗∗φ(p)=p−1^{**}φ(p)=p−1∗∗。2.**如果是质数的次幂,即n=pkn=p^kn=pk,则φ(n)=pk−
- 白狼黑狼之争
职面人生
一天晚上,一位上了年纪的切诺基族人(译注:美国田纳西州一支印第安人部落,也是吉普车“切诺基”的名字来源)和他的孙子们一起坐在篝火旁,他把他一生中学到的东西以及他认为孙子们需要知道的东西传授给他们。“在我心里有一场很大的战斗,是两只狼之间的战斗”,他说,声音温和但是充满了力量,“一只狼代表着愤怒、嫉妒、伤心、后悔、贪婪、自负、自怜、罪恶、怨恨、自卑、谎言、妄自尊大、竞争、优越性以及外在自我。”祖父稍
- 偏偏是个煽情雨季
TX故事
从小到大,没经历过什么大起大落,一切都被安排得妥当。遇见深邃的人,继而平平淡淡,幼稚地为了和某人一样,近了视,继而迷迷糊糊。今天人手一部手机,就算戴好眼镜瞪大眼睛,各种原则定理还是听不下去,究竟美好的东西会不会反噬我?想写写文看看字,画好蓝图,离开条条框框,摆脱“不值得定律”里的一人一物,可责任心也得保留住。这一秒钟,注定只能放空,下雨天,操的心总是重一点,窗外雾气重,路面滑,各个人健康与安全都重
- 读经感恩日记(第414篇)
金秀阿美
2019年11月11日农历十月初十五星期一【广西佳鸿妈读经典感恩日记第414篇】系统读经414天读经方法:137累积法读经人员:妈妈今天读经内容:《易经》大壮卦第三十四,《千字文》,《幼学琼林》,通读《易经》28遍。137积累法通读的经典有:《孝经》《弟子规》《大学》《百家姓》《中庸》《德育启蒙》《易经》《老子》《朱子治家格言》《论语》《笠翁对韵》《增广贤文》《孙子兵法》《少年诗词启蒙》《神童诗》
- java杨辉三角
3213213333332132
java基础
package com.algorithm;
/**
* @Description 杨辉三角
* @author FuJianyong
* 2015-1-22上午10:10:59
*/
public class YangHui {
public static void main(String[] args) {
//初始化二维数组长度
int[][] y
- 《大话重构》之大布局的辛酸历史
白糖_
重构
《大话重构》中提到“大布局你伤不起”,如果企图重构一个陈旧的大型系统是有非常大的风险,重构不是想象中那么简单。我目前所在公司正好对产品做了一次“大布局重构”,下面我就分享这个“大布局”项目经验给大家。
背景
公司专注于企业级管理产品软件,企业有大中小之分,在2000年初公司用JSP/Servlet开发了一套针对中
- 电驴链接在线视频播放源码
dubinwei
源码电驴播放器视频ed2k
本项目是个搜索电驴(ed2k)链接的应用,借助于磁力视频播放器(官网:
http://loveandroid.duapp.com/ 开放平台),可以实现在线播放视频,也可以用迅雷或者其他下载工具下载。
项目源码:
http://git.oschina.net/svo/Emule,动态更新。也可从附件中下载。
项目源码依赖于两个库项目,库项目一链接:
http://git.oschina.
- Javascript中函数的toString()方法
周凡杨
JavaScriptjstoStringfunctionobject
简述
The toString() method returns a string representing the source code of the function.
简译之,Javascript的toString()方法返回一个代表函数源代码的字符串。
句法
function.
- struts处理自定义异常
g21121
struts
很多时候我们会用到自定义异常来表示特定的错误情况,自定义异常比较简单,只要分清是运行时异常还是非运行时异常即可,运行时异常不需要捕获,继承自RuntimeException,是由容器自己抛出,例如空指针异常。
非运行时异常继承自Exception,在抛出后需要捕获,例如文件未找到异常。
此处我们用的是非运行时异常,首先定义一个异常LoginException:
/**
* 类描述:登录相
- Linux中find常见用法示例
510888780
linux
Linux中find常见用法示例
·find path -option [ -print ] [ -exec -ok command ] {} \;
find命令的参数;
- SpringMVC的各种参数绑定方式
Harry642
springMVC绑定表单
1. 基本数据类型(以int为例,其他类似):
Controller代码:
@RequestMapping("saysth.do")
public void test(int count) {
}
表单代码:
<form action="saysth.do" method="post&q
- Java 获取Oracle ROWID
aijuans
javaoracle
A ROWID is an identification tag unique for each row of an Oracle Database table. The ROWID can be thought of as a virtual column, containing the ID for each row.
The oracle.sql.ROWID class i
- java获取方法的参数名
antlove
javajdkparametermethodreflect
reflect.ClassInformationUtil.java
package reflect;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
import javassist.Modifier;
import javassist.bytecode.CodeAtt
- JAVA正则表达式匹配 查找 替换 提取操作
百合不是茶
java正则表达式替换提取查找
正则表达式的查找;主要是用到String类中的split();
String str;
str.split();方法中传入按照什么规则截取,返回一个String数组
常见的截取规则:
str.split("\\.")按照.来截取
str.
- Java中equals()与hashCode()方法详解
bijian1013
javasetequals()hashCode()
一.equals()方法详解
equals()方法在object类中定义如下:
public boolean equals(Object obj) {
return (this == obj);
}
很明显是对两个对象的地址值进行的比较(即比较引用是否相同)。但是我们知道,String 、Math、I
- 精通Oracle10编程SQL(4)使用SQL语句
bijian1013
oracle数据库plsql
--工资级别表
create table SALGRADE
(
GRADE NUMBER(10),
LOSAL NUMBER(10,2),
HISAL NUMBER(10,2)
)
insert into SALGRADE values(1,0,100);
insert into SALGRADE values(2,100,200);
inser
- 【Nginx二】Nginx作为静态文件HTTP服务器
bit1129
HTTP服务器
Nginx作为静态文件HTTP服务器
在本地系统中创建/data/www目录,存放html文件(包括index.html)
创建/data/images目录,存放imags图片
在主配置文件中添加http指令
http {
server {
listen 80;
server_name
- kafka获得最新partition offset
blackproof
kafkapartitionoffset最新
kafka获得partition下标,需要用到kafka的simpleconsumer
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.
- centos 7安装docker两种方式
ronin47
第一种是采用yum 方式
yum install -y docker
 
- java-60-在O(1)时间删除链表结点
bylijinnan
java
public class DeleteNode_O1_Time {
/**
* Q 60 在O(1)时间删除链表结点
* 给定链表的头指针和一个结点指针(!!),在O(1)时间删除该结点
*
* Assume the list is:
* head->...->nodeToDelete->mNode->nNode->..
- nginx利用proxy_cache来缓存文件
cfyme
cache
user zhangy users;
worker_processes 10;
error_log /var/vlogs/nginx_error.log crit;
pid /var/vlogs/nginx.pid;
#Specifies the value for ma
- [JWFD开源工作流]JWFD嵌入式语法分析器负号的使用问题
comsci
嵌入式
假如我们需要用JWFD的语法分析模块定义一个带负号的方程式,直接在方程式之前添加负号是不正确的,而必须这样做:
string str01 = "a=3.14;b=2.71;c=0;c-((a*a)+(b*b))"
定义一个0整数c,然后用这个整数c去
- 如何集成支付宝官方文档
dai_lm
android
官方文档下载地址
https://b.alipay.com/order/productDetail.htm?productId=2012120700377310&tabId=4#ps-tabinfo-hash
集成的必要条件
1. 需要有自己的Server接收支付宝的消息
2. 需要先制作app,然后提交支付宝审核,通过后才能集成
调试的时候估计会真的扣款,请注意
- 应该在什么时候使用Hadoop
datamachine
hadoop
原帖地址:http://blog.chinaunix.net/uid-301743-id-3925358.html
存档,某些观点与我不谋而合,过度技术化不可取,且hadoop并非万能。
--------------------------------------------万能的分割线--------------------------------
有人问我,“你在大数据和Hado
- 在GridView中对于有外键的字段使用关联模型进行搜索和排序
dcj3sjt126com
yii
在GridView中使用关联模型进行搜索和排序
首先我们有两个模型它们直接有关联:
class Author extends CActiveRecord {
...
}
class Post extends CActiveRecord {
...
function relations() {
return array(
'
- 使用NSString 的格式化大全
dcj3sjt126com
Objective-C
格式定义The format specifiers supported by the NSString formatting methods and CFString formatting functions follow the IEEE printf specification; the specifiers are summarized in Table 1. Note that you c
- 使用activeX插件对象object滚动有重影
蕃薯耀
activeX插件滚动有重影
使用activeX插件对象object滚动有重影 <object style="width:0;" id="abc" classid="CLSID:D3E3970F-2927-9680-BBB4-5D0889909DF6" codebase="activex/OAX339.CAB#
- SpringMVC4零配置
hanqunfeng
springmvc4
基于Servlet3.0规范和SpringMVC4注解式配置方式,实现零xml配置,弄了个小demo,供交流讨论。
项目说明如下:
1.db.sql是项目中用到的表,数据库使用的是oracle11g
2.该项目使用mvn进行管理,私服为自搭建nexus,项目只用到一个第三方 jar,就是oracle的驱动;
3.默认项目为零配置启动,如果需要更改启动方式,请
- 《开源框架那点事儿16》:缓存相关代码的演变
j2eetop
开源框架
问题引入
上次我参与某个大型项目的优化工作,由于系统要求有比较高的TPS,因此就免不了要使用缓冲。
该项目中用的缓冲比较多,有MemCache,有Redis,有的还需要提供二级缓冲,也就是说应用服务器这层也可以设置一些缓冲。
当然去看相关实现代代码的时候,大致是下面的样子。
[java]
view plain
copy
print
?
public vo
- AngularJS浅析
kvhur
JavaScript
概念
AngularJS is a structural framework for dynamic web apps.
了解更多详情请见原文链接:http://www.gbtags.com/gb/share/5726.htm
Directive
扩展html,给html添加声明语句,以便实现自己的需求。对于页面中html元素以ng为前缀的属性名称,ng是angular的命名空间
- 架构师之jdk的bug排查(一)---------------split的点号陷阱
nannan408
split
1.前言.
jdk1.6的lang包的split方法是有bug的,它不能有效识别A.b.c这种类型,导致截取长度始终是0.而对于其他字符,则无此问题.不知道官方有没有修复这个bug.
2.代码
String[] paths = "object.object2.prop11".split("'");
System.ou
- 如何对10亿数据量级的mongoDB作高效的全表扫描
quentinXXZ
mongodb
本文链接:
http://quentinXXZ.iteye.com/blog/2149440
一、正常情况下,不应该有这种需求
首先,大家应该有个概念,标题中的这个问题,在大多情况下是一个伪命题,不应该被提出来。要知道,对于一般较大数据量的数据库,全表查询,这种操作一般情况下是不应该出现的,在做正常查询的时候,如果是范围查询,你至少应该要加上limit。
说一下,
- C语言算法之水仙花数
qiufeihu
c算法
/**
* 水仙花数
*/
#include <stdio.h>
#define N 10
int main()
{
int x,y,z;
for(x=1;x<=N;x++)
for(y=0;y<=N;y++)
for(z=0;z<=N;z++)
if(x*100+y*10+z == x*x*x
- JSP指令
wyzuomumu
jsp
jsp指令的一般语法格式: <%@ 指令名 属性 =”值 ” %>
常用的三种指令: page,include,taglib
page指令语法形式: <%@ page 属性 1=”值 1” 属性 2=”值 2”%>
include指令语法形式: <%@include file=”relative url”%> (jsp可以通过 include