- 2020-05-09
蜗牛的节奏
今天有忙乎,等闲下来想写日更,此刻大脑空白,又来瓶颈期了,脑子里其实还是有东西要写的,但就是没感觉。那也要坚持每天都写一篇,我有时在猜想,职业作家们,是不是每天都有要写的内容呢?但我无论如何每天必须要去寻找写作得源泉,锻炼生活中的细节观察,只要用心我相信每天都会有切入点的。
- 2020-05-09米罗Joan Miró
来自北北熊
米罗JoanMiró(1893-1983年)西班牙画家,是和毕加索、达利齐名的20世纪超现实主义绘画大师之一。他出生于西班牙巴塞罗那附近的塔拉戈纳的蒙特罗伊格。那里是东西方文化交流的桥梁,是产生罗马风格的摇篮,深受意大利文艺复兴的影响,又是最先接受现代艺术的地方,是诞生毕加索和达利的国家。米罗-生平1893年4月20日,米罗出生于西班牙的巴塞罗那,父亲是一位钟表匠和银匠。体弱多病的小米罗并不喜欢读
- 2020-05-09
superpi
还在天天吃油条吗?了解完下面几点再说吧https://m.toutiaocdn.com/item/6824818836244529672/?app=news_article×tamp=1589027683&use_new_style=0&req_id=202005092034420101290410181BD3466C&group_id=6824818836244529672&tt_from=an
- 夜景(2020-05-09)
我家弟子三千
夜景,各个地方都有着独一无二的夜景。它大致可分为两种:一是乡村宁静的夜景;一是都市繁华的夜景。虽说都是晚上的景色,可就凭着在不同的地点,就能轻易地分辨出与众不同的特点。乡村的夜景充满着宁静与和平,月光下的小路上没有一人,只能见到树的影子,微风吹过,树叶摇曳,地上的影子也随着变幻出各种各样的姿态。远远望去,还可见依稀的灯光,时隐时现,增添了几分神秘感。田野,在月光的衬托下,像被铺上了一件银色的轻纱,
- 2020-05-09
初心Edu潘小芳
让更多的人因为心理学而受益“用心灵温暖心灵,让更多的人因为心理学而受益”,是韦志中心理学网校的办学理念。而这句话的内涵是什么呢?该如何理解呢?在我看来:首先,是你自己学习了心理学,并且因为心理学而受益了,那么然后呢,想要去帮助他人,让别的人也受益。那么具体到如何帮助他人呢?由于不同的人会遇到不同的心理问题和烦恼,那么我们如何去帮助他们解决生活中的问题和遇到的烦恼呢?怎样更好的去帮助他们呢,那么就需
- 2020-05-09 随笔
自律出众不自律出局
有人曾问左宗棠:“天与地之间的高度是多少?”左宗棠毫不迟疑地回答:“三尺。”提问者不以为然:“我们每个人都有五尺高,若果天地间只有三尺,天空岂不都是窟窿吗?”左宗棠回答说:“所以啊,我们学会了低头。”水低成海,人低成王。学会低头,从容面对人生。01学会低头,从不怕麻烦别人开始《西游记》作为我们耳熟能详的名著。讲述的是,唐僧师徒四人历经艰难困苦,终于取得真经的故事。其中,最功不可没的就是大徒弟孙悟空
- 2020-05-09
金城不肖生
某天清晨醒来时,发现自己的生活完全不是自己理想的模样。人总有做梦的权利。设想十年前自己稍微有些坚持,就觉不至于走到今日的地步。今天的光景也未必差,当然只是在别人眼里如此。梦总会醒来,生活还是要继续,无休无止。
- 2020-05-09
饼干芯
恋爱嘛,之前很渴望,在得不到的时候就会吃不到葡萄说葡萄酸,但是真正拥有了,也就不想放弃,想好好的珍惜。我就是那种人,在青春期的刚刚到来的时候特别渴望,但是求之不得的时候,会说,害,有什么好的,但是真正接触到了爱情,感觉,真的,真香!
- 2020-05-09
路人瓶子
今天和丝丝的演练,感觉收获很大,包括下午崔姐的讲解,感觉丝丝和崔姐真的是优秀,不一样的性格却是同一件事情上同样的优秀,要多考虑和会员聊天中的细节
- 电影教父:以前是家人,后来是家族!
盲观
电影|教父2020-05-09又到了一年中看《教父》的时间了!没有看过教父的人应该不多吧,很多人都说教父是男人的成长片,必看,但是我一直都感觉这有些片面了,因为里面对于女性的表演以及塑造,说是女人的成长教育片也一定不为过!电影主要说的是一个黑手党家族的故事,电影随着柯里昂家族的发展,我们也很自然地融入到电影之中,电影一开始就已经点名主题了,一个私设法庭,教父同乡女儿被人强暴,法庭没有给予惩罚,于是
- 2020-05-09
痛不欲生之重头再来
我们每个人都会经历失败,当我们遇到挫折或者摔倒的时候,我们特别希望有人能够来扶起我们。但是,实际上我们可能会发现,在我们倒霉的时候,有人无力帮助我们,有人会远离我们,甚至还有人会落井下石。其实,在人生最黑暗的时候,我们更要靠自己,靠自己的坚韧性。每一种人生挫折,都要让你付出心血。在人生逆境当中,我们要用自己的力量来激励自己,重新站立起来,继续往前走。这就是一种心理的复原力,它体现出一种超越自我的推
- 2020-05-09
田垄
远看泰山黑乎乎,上头细来下头粗。有朝一日倒过来,下头细来上头粗。你被狗咬了,难道还去咬狗吗?
- 2020-05-09心情记录
潘宝拉的盒子
今天是2020年5月9日,天气多云,心情有点复杂。今天一上午,集团及各子公司的人力行政条线做第一季度的述职汇报,前几天才回公司上班的我也参加了这个会议。集团三地视频连线,久违的各位同事的面孔,以及新加入集团大家庭的新人面孔,让我觉得一切既熟悉又有点陌生。尽管带着口罩,每个人熟悉的声音和面孔依旧是那么亲切,陌生的是自己不在公司的这大半年的时间里,公司的很多事情也在不断变化。但是我看到的更多是所有人都
- 2020-05-09
superpi
细数方便面的几个危害,您还敢经常吃吗?https://m.toutiaocdn.com/item/6824716960513655311/?app=news_article×tamp=1589027846&use_new_style=0&req_id=202005092037250101290262101CD68E1C&group_id=6824716960513655311&tt_from=an
- 2020-05-09
宇宙飞船飞过你的天空
鲍鹏山,鲁达判断人的4项标准1不从地位上判断人,从声望商判断人;2不仅从声望上判断人,还有从事迹上判断人3不仅从事迹上判断人,更要从气质上判断人4不仅要从气质上判断人,还要从心胸上判断人地位<声望<事迹<气质<心胸苗而不秀者有矣夫,秀而不实者有矣夫
- 2020-05-09晚上睡不着觉的时候,想什么呢?
up兰梦
晚上突然有一下思考,我的焦虑到底是什么呢?是缺钱吗?是呀!好,那么从天而降10万够不够?不够吧?100万呢?真的从天而降100万,你过的会比现在开心吗?我仔细的想了一下,会的!有100万我就可以不用勒紧裤腰带想吃什么吃什么,想买什么买什么,那么然后呢?那些物质的东西全部被满足,你开心了?我再深长的仔细的想了想,当过了满足物欲的兴奋劲过后,当日子回归平淡,还不是一样?物欲的满足只是一时的。那么什么才
- 2020-05-09
初陌北城
最后,他们都活着离我而去了。最近在读一本书,不知道是翻译还是文法的原因,读不进。中途接了一个电话,一个年轻的女孩子和我推销酒店优惠的消息,我说你把消息发在我手机上,稍后回复你。然后我说,你声音很好听。她愣了一下,说谢谢。不知道一天里几十一百个的电话,千篇一律的,像机器录入的官方对话中,这句话会不会让她觉得对面是一个活生生的人。我并不太常说这样“多余的话”,在与陌生人的交际中,我是一个连扶盲人奶奶过
- 2020-05-09
马海风
巜生活的哲学》,人生本来就是一场修炼的过程,没有生活的哲学,你将撑不起那些艰难的岁月。就好比航海,不可能一直一帆风顺,人生哲学就是应对一切苦逆和暴风骤雨的措施和方法。每个人的一生,都不容易,想平庸地渡过都很难。每个阶段都得有弹性,心灵的成长是一辈子的事,这个心灵的成长就靠生活哲学。我是学而知之的,当被生活困的碰的头破血流时,遇上了孔子,老子,庄子,释迦牟尼,樊登,学习上了传统文化,还遇到了一起共修
- 2020-05-09
楷妈养生知识
让你惊讶的湿气症状虚胖|肥胖|水肿………湿气重→脾胃虚→代谢慢→吃的多排的少→食物堆积→脂肪堆积→肥胖。就是这么个道理。让你惊讶的湿气症状眼袋|长斑|冒痘出油|皮肤晦暗...让你惊讶的湿气症状瞌睡多|爱出虚汗|起床昏沉爱出虚汗是脾虚,容易困倦没精神是“湿重如裹”湿邪困体。肝排毒不好,就长痘长斑,脸色晦暗;机体代谢功能差,湿邪困体,眼睑浮肿;让你惊讶的湿气症状妇科病|妇科炎症|尿路感染妇科疾病其根本
- 2020-05-09
杜林燃
大事讲原则,小事讲变通原则性强,办事灵活,能兼备二者的女人一定是一个优秀的女人,这种人能给人留下极好的印象,能够担当大任,办事能力强,生活中有很多事情需要女人单独应对,遵循原则形式处理问题的大方向,但也不能忽视灵活性的作用,两者缺一不可,极品女人为了达到自己的目的,要学会应用很多对策,但大事坚持原则是永恒不变的,至于小事上要学会变通,只让女人在小事面前不可苛刻,一些及时的事情都能够得到完美的处理斯
- 2020-05-09
StoneShineWorld
想夸夸自己的进步:没有立即回复小伙伴的提问,而是连续问小伙伴问题,引导她自己去挖掘和反思。关键还是希望小伙伴们有大姐大的心态,别把自己当成一个宝宝,一个小女孩,而是能独立引导和承担的成熟的职业人。内心坚强又坚定,外表柔软。用温和的方式达成自己的目标。怎么样达成自己的目标呢?知道终点,有节奏的拆分和推进。别一口气就想吃成一个胖子。慢慢来。10美金难以接受,那就从5美金开始。客户的心中充满着恐惧,要去
- 觉察日记2020-05-09
Wangyitang
主题是什么?对成长的懈怠、对欲望的执着事件是什么?昨天下班回家的路上一路在听投资老师的语音讲解,回到小区停车时突然觉察到自己每天坚持听老师的语音课已经3个多月了,每天最少半小时的语音课加上工作日里每天几个小时的在线关注,自己完全可以坚持的下来甚至每天都在期待着,同时觉察到东方九型这两年带给了我很多积极正向的变化,我非常认同东方九型传递的价值和理念,心里明白这里才是解决自己面临问题根源的场域,这里的
- 2020-05-09
rick3000
从群众中来,到群众中去群众从个体来说,大概率是比精英蠢的,是能力差的,是分辨能力低的。但是要是群众比你高明,你作为精英还有啥存在价值?有的人把民主理解为什么事情都听群众的,这不是民主,这是民粹。毛泽东所主张的从群众中来,到群众中去,是指的你要主动深入群众,搞清楚群众的想法是什么,利益诉求在哪里,然后汇集整合群众的意见,并且用你的专业去分析,结合当前的约束条件去权衡,群众说的对的,你就听。群众说的错
- 2020-05-09
926a3455a669
2020.5.9星期六天气阴转小雨睁开朦胧的睡眼,天稍稍有所放晴,心情也变得美好起来,洗漱语音打卡!中午开始阴天了,"仿佛一个阴郁的孩子,天空刚刚的灰白脸色渐渐沉下来,被沉重的灰黑取代。调皮的风四处流窜着,幸灾乐祸地看着人们的狼狈。树无奈地摇着头。冷冷的小风吹过几片云彩,天空飘起了小雨!字如其人,本以为写字很简单,其不然,把字写好写规整需要静心去写,今天居然被一个“木”字绊倒,经过几次高老师耐心指
- 2020-05-09
张雪旗
就是没有表情,分不清性别,没有任何语调,纯粹的文字本身,that'swhatIsatisfymyself,�
- 2020-05-09 作者自白
遁地乌贼
本系列又更新了一篇。因为想要继续更这个系列的想法出现的时候,前两章已经写完很久了,所以预计本文后面的发展可能会和最初的构想不太一样哈哈。在我们的主人公们更加成熟年长之后,会有一些足控以外的但也是小众喜好的内容。足控很多年了,现在我们的社会也都在对小众群体,也包括性癖,变得更友好。但是呢,大家一定记得,永远永远不要做影响别人的事情。小说归小说,爽文归爽文,如果一切都遵从真实的话那我们的剧情就没法继续
- 2020-05-09
萧玄辞
为什么视频网站的视频链接地址是blob?blob更新于3月27日约30分钟为什么视频网站的视频链接地址是blob?自从HTML5提供了video标签,在网页中播放视频已经变成一个非常简单的事,只要一个video标签,src属性设置为视频的地址就完事了。由于src指向真实的视频网络地址,在早期一般网站资源文件不怎么通过referer设置防盗链,当我们拿到视频的地址后可以随意的下载或使用(每次放假回家
- 2020-05-09
27b99eea3bc7
这个周每天的新闻精读没有认真记笔记,要改进,很喜欢夏鹏老师的讲解,有知识,有情怀。连着三个周都有督导检查,光是精神紧绷就让人够够得了。周末要回顾一下之前的论文阅读,整理一下教学设计,为下周的比赛做准备
- 2020-05-09 继续走起
枫叶落尽
什么是BFC?BlockFormattingContext,BFC:假设我要修一个房子,墙就相当于border,margin相当于势力范围。总有些东西要多付出,总有些坑要踩,总有些青春要辜负。。怎么会有这么多,这么好的机会呢?我把握不住啊,想哭。星辰变领域-margin有意思自成一片天地postion:absoulte和float都会新生成BFC,但是浏览器在渲染时会考虑到float对textco
- 2020-05-09六项精进第560期乐观一组
六项精进第560期乐观一组
姓名:张雪艳公司:苏州万千工品有限公司第560期学员【日精进打卡第220天】【知~学习】《六项精进》1遍共426遍《大学》1遍共426遍《带孩子去旅行》《红楼梦》青少版11.24开始看《水浒传》上卷12.27看完上下册。《三个吹鼓手》1.1《三国演义》未看完1.20《隋唐演义》【经典名句分享】积善之家必有余庆【行~实践】一、修身:(对自己)看书二、齐家:(对家人)早起做饭吃下班和昊昊一起做时钟,研
- html
周华华
html
js
1,数组的排列
var arr=[1,4,234,43,52,];
for(var x=0;x<arr.length;x++){
for(var y=x-1;y<arr.length;y++){
if(arr[x]<arr[y]){
&
- 【Struts2 四】Struts2拦截器
bit1129
struts2拦截器
Struts2框架是基于拦截器实现的,可以对某个Action进行拦截,然后某些逻辑处理,拦截器相当于AOP里面的环绕通知,即在Action方法的执行之前和之后根据需要添加相应的逻辑。事实上,即使struts.xml没有任何关于拦截器的配置,Struts2也会为我们添加一组默认的拦截器,最常见的是,请求参数自动绑定到Action对应的字段上。
Struts2中自定义拦截器的步骤是:
- make:cc 命令未找到解决方法
daizj
linux命令未知make cc
安装rz sz程序时,报下面错误:
[root@slave2 src]# make posix
cc -O -DPOSIX -DMD=2 rz.c -o rz
make: cc:命令未找到
make: *** [posix] 错误 127
系统:centos 6.6
环境:虚拟机
错误原因:系统未安装gcc,这个是由于在安
- Oracle之Job应用
周凡杨
oracle job
最近写服务,服务上线后,需要写一个定时执行的SQL脚本,清理并更新数据库表里的数据,应用到了Oracle 的 Job的相关知识。在此总结一下。
一:查看相关job信息
1、相关视图
dba_jobs
all_jobs
user_jobs
dba_jobs_running 包含正在运行
- 多线程机制
朱辉辉33
多线程
转至http://blog.csdn.net/lj70024/archive/2010/04/06/5455790.aspx
程序、进程和线程:
程序是一段静态的代码,它是应用程序执行的蓝本。进程是程序的一次动态执行过程,它对应了从代码加载、执行至执行完毕的一个完整过程,这个过程也是进程本身从产生、发展至消亡的过程。线程是比进程更小的单位,一个进程执行过程中可以产生多个线程,每个线程有自身的
- web报表工具FineReport使用中遇到的常见报错及解决办法(一)
老A不折腾
web报表finereportjava报表报表工具
FineReport使用中遇到的常见报错及解决办法(一)
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、address pool is full:
含义:地址池满,连接数超过并发数上
- mysql rpm安装后没有my.cnf
林鹤霄
没有my.cnf
Linux下用rpm包安装的MySQL是不会安装/etc/my.cnf文件的,
至于为什么没有这个文件而MySQL却也能正常启动和作用,在这儿有两个说法,
第一种说法,my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动,
第二种说法,MySQL在启动时自动使用/usr/share/mysql目录下的my-medium.cnf文件,这种说法仅限于r
- Kindle Fire HDX root并安装谷歌服务框架之后仍无法登陆谷歌账号的问题
aigo
root
原文:http://kindlefireforkid.com/how-to-setup-a-google-account-on-amazon-fire-tablet/
Step 4: Run ADB command from your PC
On the PC, you need install Amazon Fire ADB driver and instal
- javascript 中var提升的典型实例
alxw4616
JavaScript
// 刚刚在书上看到的一个小问题,很有意思.大家一起思考下吧
myname = 'global';
var fn = function () {
console.log(myname); // undefined
var myname = 'local';
console.log(myname); // local
};
fn()
// 上述代码实际上等同于以下代码
m
- 定时器和获取时间的使用
百合不是茶
时间的转换定时器
定时器:定时创建任务在游戏设计的时候用的比较多
Timer();定时器
TImerTask();Timer的子类 由 Timer 安排为一次执行或重复执行的任务。
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定
- JDK1.5 Queue
bijian1013
javathreadjava多线程Queue
JDK1.5 Queue
LinkedList:
LinkedList不是同步的。如果多个线程同时访问列表,而其中至少一个线程从结构上修改了该列表,则它必须 保持外部同步。(结构修改指添加或删除一个或多个元素的任何操作;仅设置元素的值不是结构修改。)这一般通过对自然封装该列表的对象进行同步操作来完成。如果不存在这样的对象,则应该使用 Collections.synchronizedList 方
- http认证原理和https
bijian1013
httphttps
一.基础介绍
在URL前加https://前缀表明是用SSL加密的。 你的电脑与服务器之间收发的信息传输将更加安全。
Web服务器启用SSL需要获得一个服务器证书并将该证书与要使用SSL的服务器绑定。
http和https使用的是完全不同的连接方式,用的端口也不一样,前者是80,后
- 【Java范型五】范型继承
bit1129
java
定义如下一个抽象的范型类,其中定义了两个范型参数,T1,T2
package com.tom.lang.generics;
public abstract class SuperGenerics<T1, T2> {
private T1 t1;
private T2 t2;
public abstract void doIt(T
- 【Nginx六】nginx.conf常用指令(Directive)
bit1129
Directive
1. worker_processes 8;
表示Nginx将启动8个工作者进程,通过ps -ef|grep nginx,会发现有8个Nginx Worker Process在运行
nobody 53879 118449 0 Apr22 ? 00:26:15 nginx: worker process
- lua 遍历Header头部
ronin47
lua header 遍历
local headers = ngx.req.get_headers()
ngx.say("headers begin", "<br/>")
ngx.say("Host : ", he
- java-32.通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小(两数组的差最小)。
bylijinnan
java
import java.util.Arrays;
public class MinSumASumB {
/**
* Q32.有两个序列a,b,大小都为n,序列元素的值任意整数,无序.
*
* 要求:通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小。
* 例如:
* int[] a = {100,99,98,1,2,3
- redis
开窍的石头
redis
在redis的redis.conf配置文件中找到# requirepass foobared
把它替换成requirepass 12356789 后边的12356789就是你的密码
打开redis客户端输入config get requirepass
返回
redis 127.0.0.1:6379> config get requirepass
1) "require
- [JAVA图像与图形]现有的GPU架构支持JAVA语言吗?
comsci
java语言
无论是opengl还是cuda,都是建立在C语言体系架构基础上的,在未来,图像图形处理业务快速发展,相关领域市场不断扩大的情况下,我们JAVA语言系统怎么从这么庞大,且还在不断扩大的市场上分到一块蛋糕,是值得每个JAVAER认真思考和行动的事情
- 安装ubuntu14.04登录后花屏了怎么办
cuiyadll
ubuntu
这个情况,一般属于显卡驱动问题。
可以先尝试安装显卡的官方闭源驱动。
按键盘三个键:CTRL + ALT + F1
进入终端,输入用户名和密码登录终端:
安装amd的显卡驱动
sudo
apt-get
install
fglrx
安装nvidia显卡驱动
sudo
ap
- SSL 与 数字证书 的基本概念和工作原理
darrenzhu
加密ssl证书密钥签名
SSL 与 数字证书 的基本概念和工作原理
http://www.linuxde.net/2012/03/8301.html
SSL握手协议的目的是或最终结果是让客户端和服务器拥有一个共同的密钥,握手协议本身是基于非对称加密机制的,之后就使用共同的密钥基于对称加密机制进行信息交换。
http://www.ibm.com/developerworks/cn/webspher
- Ubuntu设置ip的步骤
dcj3sjt126com
ubuntu
在单位的一台机器完全装了Ubuntu Server,但回家只能在XP上VM一个,装的时候网卡是DHCP的,用ifconfig查了一下ip是192.168.92.128,可以ping通。
转载不是错:
Ubuntu命令行修改网络配置方法
/etc/network/interfaces打开后里面可设置DHCP或手动设置静态ip。前面auto eth0,让网卡开机自动挂载.
1. 以D
- php包管理工具推荐
dcj3sjt126com
PHPComposer
http://www.phpcomposer.com/
Composer是 PHP 用来管理依赖(dependency)关系的工具。你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer 会帮你安装这些依赖的库文件。
中文文档
入门指南
下载
安装包列表
Composer 中国镜像
- Gson使用四(TypeAdapter)
eksliang
jsongsonGson自定义转换器gsonTypeAdapter
转载请出自出处:http://eksliang.iteye.com/blog/2175595 一.概述
Gson的TypeAapter可以理解成自定义序列化和返序列化 二、应用场景举例
例如我们通常去注册时(那些外国网站),会让我们输入firstName,lastName,但是转到我们都
- JQM控件之Navbar和Tabs
gundumw100
htmlxmlcss
在JQM中使用导航栏Navbar是简单的。
只需要将data-role="navbar"赋给div即可:
<div data-role="navbar">
<ul>
<li><a href="#" class="ui-btn-active&qu
- 利用归并排序算法对大文件进行排序
iwindyforest
java归并排序大文件分治法Merge sort
归并排序算法介绍,请参照Wikipeida
zh.wikipedia.org/wiki/%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F
基本思想:
大文件分割成行数相等的两个子文件,递归(归并排序)两个子文件,直到递归到分割成的子文件低于限制行数
低于限制行数的子文件直接排序
两个排序好的子文件归并到父文件
直到最后所有排序好的父文件归并到输入
- iOS UIWebView URL拦截
啸笑天
UIWebView
本文译者:candeladiao,原文:URL filtering for UIWebView on the iPhone说明:译者在做app开发时,因为页面的javascript文件比较大导致加载速度很慢,所以想把javascript文件打包在app里,当UIWebView需要加载该脚本时就从app本地读取,但UIWebView并不支持加载本地资源。最后从下文中找到了解决方法,第一次翻译,难免有
- 索引的碎片整理SQL语句
macroli
sql
SET NOCOUNT ON
DECLARE @tablename VARCHAR (128)
DECLARE @execstr VARCHAR (255)
DECLARE @objectid INT
DECLARE @indexid INT
DECLARE @frag DECIMAL
DECLARE @maxfrag DECIMAL
--设置最大允许的碎片数量,超过则对索引进行碎片
- Angularjs同步操作http请求with $promise
qiaolevip
每天进步一点点学习永无止境AngularJS纵观千象
// Define a factory
app.factory('profilePromise', ['$q', 'AccountService', function($q, AccountService) {
var deferred = $q.defer();
AccountService.getProfile().then(function(res) {
- hibernate联合查询问题
sxj19881213
sqlHibernateHQL联合查询
最近在用hibernate做项目,遇到了联合查询的问题,以及联合查询中的N+1问题。
针对无外键关联的联合查询,我做了HQL和SQL的实验,希望能帮助到大家。(我使用的版本是hibernate3.3.2)
1 几个常识:
(1)hql中的几种join查询,只有在外键关联、并且作了相应配置时才能使用。
(2)hql的默认查询策略,在进行联合查询时,会产
- struts2.xml
wuai
struts
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache