- 幸福成功日记2023-02-18(第246天)
Wendy如意芳霏
对我工作提效,读书的回报率要有真正的回报,应用。而不是读了也白读。理解自己喜欢读书的原因。连续早起天数:1222天打卡早睡打卡天数:1028天打卡累计天数:8/73/1222/1028日期:2023.2.18周六坐标:上海日出:6:37日落:17:40天气:晴气温:7-14℃,空气质量指数47(优)东北风起床:5:05就寝:22:55(×)【360天目标】4个90天1.完成佛法课的学习和认证。2.
- 高效能慢生活践行第675天1222-2020
1d8e109700b7
2020.12.22(星期二)晨间检视今天是什么日子:农历:十一月初八地点:吕梁天气:温度:日出:日落:起床:5:30就寝:基础清单:a早起第6个100天(2020.10.4-2021.1.12)目标(100/80)b冥想必做:上厕所-穿衣-喝水ಥ选做:洗脸c运动本周目标:冥想时间点刻意练习&今日三只1.冥想第246次(中断23次)&开始节点刻意练习第156次(中断34次)2.3.昨日三只检视1.
- 高原【第七期百天践行第15周】践行总结
时光高原
20191216-1222【周总结】第七期第15周26号高原【本周计划/总结】1、早起:早7-8点,形成固定作息习惯;2、写作,日更一篇,500字+;(百日目标)3、英语学习;一、职业发展1、坚持出好作品2、精进+长期主义二、财务状况1、催款,陆续进入付款环节2、撤销重大投资(以稳健为要)三、健康1、睡眠回归正常四、娱乐1、看电影《昆虫总动员2》五、朋友与重要他人1、与混沌同学线下聚会2、见朱总,
- 伦理三
王婷灏常用
一、《伦理三》王婷灏,中原焦点团队讲师、心理咨询师,持续原创分享第1222天,2022年4月1日一、专业保密咨询师非经个案同意或法律允许,不得透露个案隐私给第三者。二、特权沟通具有特权沟通身份的专业人员可以在法律诉讼程序中拒绝陈述个案的隐私。三、隐私心理咨询师在执行业务时,应该随时留意个案的隐私权,避免不自觉的透露个案的隐私资料。四、保密在专业服务开始时,心理师有责任向寻求专业服务者说明工作的保密
- 备战蓝桥杯 Day3
了一li
insist蓝桥杯算法深度优先
搜索与回溯1222:放苹果【题目描述】把M�个同样的苹果放在N�个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K�表示)5,1,1和1,5,1是同一种分法。【输入】第一行是测试数据的数目t�(0≤t≤200≤�≤20)。以下每行均包含二个整数M�和N�,以空格分开。1≤M,N≤101≤�,�≤10。【输出】对输入的每组数据M�和N�,用一行输出相应的K。【输入样例】173【输出
- 假期刷题打卡--Day28
a-626
假期打卡学习c++c语言
1、MT1220斐波那契数列III输入一个正整数N(Nusingnamespacestd;voidf(intn){intf1=1;intf2=1;intfn;for(inti=1;i>n;f(n);return0;}2、MT1222等差数列求等差数列前N项的级数之和。不考虑不合理的输入等特殊情况。格式输入格式:输入N,首项M,差值K,整型,空格分隔。输出格式:输出整型样例1输入:513输出:35相
- 1222
Rachel曹
偶然发现同事小哥是曾经的校友,他迫不及待地跟我核对着当初学校的种种,看着他各种激动欣喜,我佯装着同样的感情。其实不然,对我而言,对于那所学校的记忆不少,可我却没有那么深的归宿感,于我而言,学校只是一个住所,随着时间推移,设备会更新,建筑会翻修,老师也会辞职。那个处所就是一个外壳,里面的一起全然不是你当初所接触的,只是一个外在,还留给你一点模糊的记忆,或者说你只是企图妄想用这种方式给自己留下点什么,
- mybatis查询修改mysql的json字段
占星安啦
数据库理论笔记mybatismysqljson
前言:mysql5.7版本之后支持json字段类型,推荐mysql8版本,适用于属性不确定的个性化字段,比如:身份信息{“职业”,“学生”,“兴趣”:“打乒乓球”,“特长”:“跳高,书法”};图片信息{“日期”:“2023-12-1222:12”,“尺寸”:“215*720”,“拍摄地”:“xxx”,“作者”:“xxx”};标签信息:[“历史”,“军事”,“都市”,“科幻”]。这部分信息每条数据差
- mysql中union与join_sql语句之union与join的区别
weixin_39604350
union查询:使用union可以将多个select语句的查询结果组合起来。语法:select字段1,字段2fromtable1unionselect字段1,字段2fromtable2;例:注意:1、union关键字两边的select语句的字段数量是需要一致的,并不要求字段名称一致。例:error1222字段不一致2、查询的最终结果集的字段是以第一个select语句的字段来命名。例:3、union
- 感恩成功日记1222
Sharon_2020
昨日早睡:22点45今日早起:6点15今日运动:步数5000多英语情境启蒙和摸耳朵30分钟:连续39天语音打卡连续第171天能量文阅读:连续第34天感恩成功日记:连续第119天【发现优势】我是个很有耐心,很有爱心,很认真,很有责任感的人,非常有感恩意识,赋能他人意识,很上进,很好学,想事情非常全面,考虑问题比较深刻,逻辑思维很强,很有条理,总结延伸能力也很强,内化知识能力很强,越来越自信,情绪管理
- 2019-04-27 工作总结 工作做细致,记录每一条销售线索。
创意邦杨洋
一、目标完成情况及原因分析目标:利润1000元,完成1222元,阿胶礼品袋出货3000个,24号的订单,今天付款的。袜子1380双。还有25台新款灭蚊器。本周目标7000元,已完成6117元。明天吴进总下订单,之后本周的任务就可以完成了。连续两周完成目标。5月份需要制定月度计划,月度总目标,周目标、周计划。平台商城需要上线了,以现有模式不能扩大销售额,每天1000元的目标是不够的。需要更加深入合作
- 决心决定行动,行动决定未来
_玉_生_
【日精进打卡1222天】姓名:孙玉生沈阳盛和商学院六项精进第177期学员(队长),271期284期288期295期299期305A期306期310期315期323期325期330期335期337期338期346期357期带队志工,341期(山东)392(北京)397(上海)401(太原)403(宁波)410(杭州)419(无锡)421(大连)423(上海)426(慈溪)431(成都)441(哈市)
- 1222--整理情绪的力量1
Bonnie徐丫丫
我给这一篇文章的主题定义为反省。1反省自己的生活。2反省自己的情绪。3反省自己的期待。4反省自己的作为。已经连续看了3本关于情绪管理或者人际沟通方面的书籍,实际上我迫切需要这些书籍的营养,我突然发现如果我的情绪问题再得不到解决和控制,会影响到我日后生活的方方面面。直到这个月月初我还是坚信自己只要能够坚持自己的原则,做出正确的选择,一切可能都是浮云。某一天,公司开了一个会议,会上我提出了自己的一些关
- 王团长区块链日记1222篇:比特币暴跌了
王团长日记
哎呀,这是要完蛋崩盘喽,比特币今天暴跌7个点,一根针插下来,24小时爆仓了100多亿人民币,市场钱真的多啊,100多亿就这样成了大牛市的燃料,你说要100多亿拿来给我数,点钞机肯定会被数冒烟我刚才写日记的时候,登陆火币一看仓位没有了,吓了一跳,定神一看,原来账户没登录,我的小心脏啊,昨天还赚0.5个币呢,现在就还剩0.2个币,保时捷轱辘又还回去了市场的无序波动,玩合约的都是凶多吉少,特别是高杠杆的
- 狂人日记1222人比人,乐死人,家家有本易念的经
朵朵朵朵雪中莲
亲爱的“长明灯家庭”精准陪伴总群的家人们:中午好!昨晚10点过后不久,秒睡。今晨3点醒来,再也睡不着,毛估估有五小时的睡眠了,真是天大的进步。3点醒来对于一般人来说是失眠,本来是件很痛苦的事,但是,我却开始享受学习。开灯教育自身和谐篇第1天的回放课程,听着听着,我听笑了。两小时的课程,我却听了三小时。因为听着听着,我又睡着了。醒来继续听,早上6点听结束。连续三晚的课程结束了,我却没有一晚在直播中听
- 数组练习 Leetcode 1222.可以攻击国王的王后
诶嘿嘿kk
leetcode刷题笔记数据结构算法
题目传送门:1222.可以攻击国王的皇后在一个下标从0开始的8x8棋盘上,可能有多个黑皇后和一个白国王。给你一个二维整数数组queens,其中queens[i]=[xQueeni,yQueeni]表示第i个黑皇后在棋盘上的位置。还给你一个长度为2的整数数组king,其中king=[xKing,yKing]表示白国王的位置。返回能够直接攻击国王的黑皇后的坐标。你可以以任何顺序返回答案。示例1:输入:
- ATA-1222A宽带放大器在二极管测试中的应用有哪些
Aigtek安泰电子
宽带放大器经验分享
宽带放大器是一种用于放大高频信号的电子设备,它在二极管测试中有多种应用。下面安泰电子将介绍宽带放大器在二极管测试中的几种常见应用。宽带放大器可以用于二极管参数测试。二极管是一种常见的半导体器件,有正向电压-电流特性和反向电压-电流特性。为了测量和分析二极管的特性,我们需要对其进行电压和电流的变化,并记录对应的电压和电流值。宽带放大器可以提供足够的增益和带宽,使得我们能够测量和记录非常小的电压和电流
- 1222感恩日记
蟹蟹谢老师
1.感恩百合、感恩小宇宙的信任和支持,让我感受到每天收钱的快乐。2.感恩群友的分享,又激发了我做明年社群的新思路。3.感恩Mary,每一天的成长都让我欣喜,昨天要求分房独立睡觉,老母亲突然有了独立的睡后时间,久违的自由的幸福感哈哈哈!4.感恩Chris,每次看到Chris渴望吃东西的小眼神和使劲张大的小嘴巴,让我强烈感受到生命最原始的动力。5.感恩老师们的授课,不断地学习新知。6.感恩我自己,不跟
- 1222. 密码脱落(dp划分)
hz2.0
dp算法c++数据结构
题目:1222.密码脱落-AcWing题库思路:代码:#include#includeusingnamespacestd;constintN=1010;intf[N][N];//表示以L和R为两端点的字符串的“最长”回文序列长度chars[N];//存储输入的字符串intmain(){scanf("%s",&s);intn=strlen(s);//递归枚举字符串的长度for(intlen=1;le
- 2012
光辉岁月无声
2012发表于网易博客2012-01-1222:00:21--从家里回来有几天了~依稀记得家里的感觉年迈的爷爷奶奶更加沧桑的老爸三十来亩地两间破屋日夜思念的家~为了我的幸福~他们付出了他们的一生~我能说什么~嘴上笑着~心里难受着~可是行动上还是骗不了自己没主动去做饭也没主动去刷锅圈里的猪也没去喂过~回到家还是那样~光知道吃和睡~为什么呢?太习惯了家里的感觉吧~下次努力改变家里的月亮很明~家里的星空
- pandas 读取和保存多级表头数据
sky0Lan
pandaspandas
importpandasaspddata={"case1":{"aaa":1222,"bbb":1333,},"case2":{"ddd":1444,"ccc":1555,}}case1_df=pd.DataFrame(data["case1"],index=[0])case2_df=pd.DataFrame(data["case2"],index=[0])#生成多级表头DFdf=pd.conca
- 好心情从哪来|朋友篇:好朋友突然变脸,你要怎么安放你的情绪?
拂尘记
这是拂尘记的第455篇原创文章,字数1222,阅读大概需要3分钟在哔哩哔哩上看到个视频,有个VLOG主,她拍了很多视频,分享到网上,每次都会收获N多点赞鼓励。可有一天她惊讶地看到,她很要好的一个朋友,在弹幕里攻击她、黑她怼她,那一瞬间,她的第一反应是,天啊,难道她忘记切小号了?她平时跟我那么好,给我加油鼓劲,难道都是假的?再想想,如果平时点赞的人,都这样虚情假意的话,那这个世界真的太黑暗、太可怕了
- 2019-10-14
A稀里糊涂
六项精进打卡姓名:仇君文公司:扬州市方圆建筑工程有限公司【日精进打卡第413天】第424期反省一组【知~学习】《六项精进》3遍共1222遍《大学》3遍共1222遍【经典名句分享】吾日三省吾身【行~实践】一、修身:(对自己个人)1、做俯卧撑20个二、齐家:(对家庭和家人)1,和家人视频,三、建功,1,控制室室外刮白2,控制室安装插座,贴地砖3,支模灌浆4,加热炉区东侧地坪浇筑5,脱渣机外墙刮白。6,
- 1216-1222.周成长总结
海上大王
【收获】1、根据周统计,因为周一周二总会完成较少清单任务,换成番茄钟统计时间也发现任务强度都不大,给这两日调换了阅读和整理文档的任务。结果时间使用效率直线上升,这周保持下去将会超过以往平均的完成度,对这两日的时间利用方案有效。在后面抚平了周一周二日效应的区别,同等对待将没有什么阻力;2、经常聊到“焦虑”一词,之前很不愿承认“焦虑”的状况,但慢慢发现先正确认识到有时会焦虑,却能更好的帮助自己与它和解
- 2022-12-22 疑似阳了
一颗yk
第一天1222:症状起床咽痛上午咽痛低烧37.4-37.8下午咽痛低烧37.2-37.6-37.7晚上咽痛低烧37.6饮食早餐,上午茶:半个火龙果,冰糖梨子水午餐:牛肉炒四季豆爆炒油麦菜下午:玉米胡萝卜排骨汤苹果,橘子一个晚餐:玉米胡萝卜排骨汤橘子生姜冰糖水情绪有点难过,感觉孤独...自己一个人
- 【遇见Doris】Apache Doris (incubating) 0.12.0版本预览
ApacheDoris
运维大数据数据库pythonjava
Doris线下沙龙完美收官!本次沙龙邀请了来自百度、美团、京东的技术大牛带来实战分享。了解更多详情请关注Doris官方公众号,嘉宾分享回顾会陆续放出。公众号后台回复“1222”立即get现场录像及嘉宾PPT。今天带来的是Doris主创团队的黄康平带来的ApacheDoris(incubating)0.12.0版本预览。What'sDorisDoris是一款基于Mesa模型的MPP、列式数据仓库,具
- 【Element】el-tree-select 限制只能同级选择
努力挣钱的小鑫
Elementjavascript前端vue.js
需求就是只能同时多选同一层级的,比如上面122和1222是一层的,可以同时选,但是不能选择从1111,如果要选择只能清空了,选择第二层的,需求大概就是这样,不知道你听懂了没?我反正当时没听到哈哈哈核心思路就是给层级树添加个level属性,再设置一个全局level变量来保存,在选择change事件的时候进行判断和控制。这里要注意你是不是需要全选同层的,就是选了第二层,全选,就只能选第二层代码可以参考
- 2021-07-14
香花盛开
中原焦点团队翟湘云,教师,国家二级心理咨询师。焦点团队初九期、高级二期、讲师七期成员。2021.7.14,坚持分享第1222天。第六期咨询挑第2周第3次.(观察员)每个来访者在他面对现状有些迷茫和纠结,而自己又无法排解的情况下不得已才来做咨询的。面对来访者的诉说,咨询师稳稳地倾听,来访者边说边疏理。咨询师摘要并身后一步引导,让来访者一直走在咨询的主线上。咨询师了了几句,每句话都很有价值,都能引起来
- 2021-10-24
霖霖z
日期:2021年10月23日【日精进打卡第1222】【知~学习】《六项精进》0遍共293遍《通篇》0遍共195遍《大学》0遍共499遍《坚强工作,温柔生活》ok《不抱怨的世界》ok《活法》ok《干法》ok《羊皮卷》ok《心法》ok《京瓷哲学》ok《OKR工作法》ok《老板财务管控必修课》第二遍ok《阿米吧经营实践》ok《稻盛和夫自传》ok《弟子规》《稻盛哲学与阳明心学》ok《论语与算盘》ok《墨菲
- 云原生MeetUp| 1222 KubeSphere + 敏捷 主题分享会
c_zyer
skywalking云原生Kubernetes云原生kubernetesskywalking
date:2023-12-22location:西交利物浦大学全文概要Section-1Agile-头部智能电动车公司敏捷转型实践分享Section-2KubeSphere可查吧架构下DevOps插件实现方法Section-3KubeSphere在vsleem的落地实践Section-4Zabbix+SkyWalking实现全域监控Section-5AI时代的战略思维Section-6闪电演讲——
- 辗转相处求最大公约数
沐刃青蛟
C++漏洞
无言面对”江东父老“了,接触编程一年了,今天发现还不会辗转相除法求最大公约数。惭愧惭愧!
为此,总结一下以方便日后忘了好查找。
1.输入要比较的两个数a,b
忽略:2.比较大小(因为后面要的是大的数对小的数做%操作)
3.辗转相除(用循环不停的取余,如a%b,直至b=0)
4.最后的a为两数的最大公约数
&
- F5负载均衡会话保持技术及原理技术白皮书
bijian1013
F5负载均衡
一.什么是会话保持? 在大多数电子商务的应用系统或者需要进行用户身份认证的在线系统中,一个客户与服务器经常经过好几次的交互过程才能完成一笔交易或者是一个请求的完成。由于这几次交互过程是密切相关的,服务器在进行这些交互过程的某一个交互步骤时,往往需要了解上一次交互过程的处理结果,或者上几步的交互过程结果,服务器进行下
- Object.equals方法:重载还是覆盖
Cwind
javagenericsoverrideoverload
本文译自StackOverflow上对此问题的讨论。
原问题链接
在阅读Joshua Bloch的《Effective Java(第二版)》第8条“覆盖equals时请遵守通用约定”时对如下论述有疑问:
“不要将equals声明中的Object对象替换为其他的类型。程序员编写出下面这样的equals方法并不鲜见,这会使程序员花上数个小时都搞不清它为什么不能正常工作:”
pu
- 初始线程
15700786134
暑假学习的第一课是讲线程,任务是是界面上的一条线运动起来。
既然是在界面上,那必定得先有一个界面,所以第一步就是,自己的类继承JAVA中的JFrame,在新建的类中写一个界面,代码如下:
public class ShapeFr
- Linux的tcpdump
被触发
tcpdump
用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者的定义对网络上的数据包进行截获的包分析工具。 tcpdump可以将网络中传送的数据包的“头”完全截获下来提供分析。它支 持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻辑语句来帮助你去掉无用的信息。
实用命令实例
默认启动
tcpdump
普通情况下,直
- 安卓程序listview优化后还是卡顿
肆无忌惮_
ListView
最近用eclipse开发一个安卓app,listview使用baseadapter,里面有一个ImageView和两个TextView。使用了Holder内部类进行优化了还是很卡顿。后来发现是图片资源的问题。把一张分辨率高的图片放在了drawable-mdpi文件夹下,当我在每个item中显示,他都要进行缩放,导致很卡顿。解决办法是把这个高分辨率图片放到drawable-xxhdpi下。
&nb
- 扩展easyUI tab控件,添加加载遮罩效果
知了ing
jquery
(function () {
$.extend($.fn.tabs.methods, {
//显示遮罩
loading: function (jq, msg) {
return jq.each(function () {
var panel = $(this).tabs(&
- gradle上传jar到nexus
矮蛋蛋
gradle
原文地址:
https://docs.gradle.org/current/userguide/maven_plugin.html
configurations {
deployerJars
}
dependencies {
deployerJars "org.apache.maven.wagon
- 千万条数据外网导入数据库的解决方案。
alleni123
sqlmysql
从某网上爬了数千万的数据,存在文本中。
然后要导入mysql数据库。
悲剧的是数据库和我存数据的服务器不在一个内网里面。。
ping了一下, 19ms的延迟。
于是下面的代码是没用的。
ps = con.prepareStatement(sql);
ps.setString(1, info.getYear())............;
ps.exec
- JAVA IO InputStreamReader和OutputStreamReader
百合不是茶
JAVA.io操作 字符流
这是第三篇关于java.io的文章了,从开始对io的不了解-->熟悉--->模糊,是这几天来对文件操作中最大的感受,本来自己认为的熟悉了的,刚刚在回想起前面学的好像又不是很清晰了,模糊对我现在或许是最好的鼓励 我会更加的去学 加油!:
JAVA的API提供了另外一种数据保存途径,使用字符流来保存的,字符流只能保存字符形式的流
字节流和字符的难点:a,怎么将读到的数据
- MO、MT解读
bijian1013
GSM
MO= Mobile originate,上行,即用户上发给SP的信息。MT= Mobile Terminate,下行,即SP端下发给用户的信息;
上行:mo提交短信到短信中心下行:mt短信中心向特定的用户转发短信,你的短信是这样的,你所提交的短信,投递的地址是短信中心。短信中心收到你的短信后,存储转发,转发的时候就会根据你填写的接收方号码寻找路由,下发。在彩信领域是一样的道理。下行业务:由SP
- 五个JavaScript基础问题
bijian1013
JavaScriptcallapplythisHoisting
下面是五个关于前端相关的基础问题,但却很能体现JavaScript的基本功底。
问题1:Scope作用范围
考虑下面的代码:
(function() {
var a = b = 5;
})();
console.log(b);
什么会被打印在控制台上?
回答:
上面的代码会打印 5。
&nbs
- 【Thrift二】Thrift Hello World
bit1129
Hello world
本篇,不考虑细节问题和为什么,先照葫芦画瓢写一个Thrift版本的Hello World,了解Thrift RPC服务开发的基本流程
1. 在Intellij中创建一个Maven模块,加入对Thrift的依赖,同时还要加上slf4j依赖,如果不加slf4j依赖,在后面启动Thrift Server时会报错
<dependency>
- 【Avro一】Avro入门
bit1129
入门
本文的目的主要是总结下基于Avro Schema代码生成,然后进行序列化和反序列化开发的基本流程。需要指出的是,Avro并不要求一定得根据Schema文件生成代码,这对于动态类型语言很有用。
1. 添加Maven依赖
<?xml version="1.0" encoding="UTF-8"?>
<proj
- 安装nginx+ngx_lua支持WAF防护功能
ronin47
需要的软件:LuaJIT-2.0.0.tar.gz nginx-1.4.4.tar.gz &nb
- java-5.查找最小的K个元素-使用最大堆
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
public class MinKElement {
/**
* 5.最小的K个元素
* I would like to use MaxHeap.
* using QuickSort is also OK
*/
public static void
- TCP的TIME-WAIT
bylijinnan
socket
原文连接:
http://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html
以下为对原文的阅读笔记
说明:
主动关闭的一方称为local end,被动关闭的一方称为remote end
本地IP、本地端口、远端IP、远端端口这一“四元组”称为quadruplet,也称为socket
1、TIME_WA
- jquery ajax 序列化表单
coder_xpf
Jquery ajax 序列化
checkbox 如果不设定值,默认选中值为on;设定值之后,选中则为设定的值
<input type="checkbox" name="favor" id="favor" checked="checked"/>
$("#favor&quo
- Apache集群乱码和最高并发控制
cuisuqiang
apachetomcat并发集群乱码
都知道如果使用Http访问,那么在Connector中增加URIEncoding即可,其实使用AJP时也一样,增加useBodyEncodingForURI和URIEncoding即可。
最大连接数也是一样的,增加maxThreads属性即可,如下,配置如下:
<Connector maxThreads="300" port="8019" prot
- websocket
dalan_123
websocket
一、低延迟的客户端-服务器 和 服务器-客户端的连接
很多时候所谓的http的请求、响应的模式,都是客户端加载一个网页,直到用户在进行下一次点击的时候,什么都不会发生。并且所有的http的通信都是客户端控制的,这时候就需要用户的互动或定期轮训的,以便从服务器端加载新的数据。
通常采用的技术比如推送和comet(使用http长连接、无需安装浏览器安装插件的两种方式:基于ajax的长
- 菜鸟分析网络执法官
dcj3sjt126com
网络
最近在论坛上看到很多贴子在讨论网络执法官的问题。菜鸟我正好知道这回事情.人道"人之患好为人师" 手里忍不住,就写点东西吧. 我也很忙.又没有MM,又没有MONEY....晕倒有点跑题.
OK,闲话少说,切如正题. 要了解网络执法官的原理. 就要先了解局域网的通信的原理.
前面我们看到了.在以太网上传输的都是具有以太网头的数据包. 
- Android相对布局属性全集
dcj3sjt126com
android
RelativeLayout布局android:layout_marginTop="25dip" //顶部距离android:gravity="left" //空间布局位置android:layout_marginLeft="15dip //距离左边距
// 相对于给定ID控件android:layout_above 将该控件的底部置于给定ID的
- Tomcat内存设置详解
eksliang
jvmtomcattomcat内存设置
Java内存溢出详解
一、常见的Java内存溢出有以下三种:
1. java.lang.OutOfMemoryError: Java heap space ----JVM Heap(堆)溢出JVM在启动的时候会自动设置JVM Heap的值,其初始空间(即-Xms)是物理内存的1/64,最大空间(-Xmx)不可超过物理内存。
可以利用JVM提
- Java6 JVM参数选项
greatwqs
javaHotSpotjvmjvm参数JVM Options
Java 6 JVM参数选项大全(中文版)
作者:Ken Wu
Email:
[email protected]
转载本文档请注明原文链接 http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm!
本文是基于最新的SUN官方文档Java SE 6 Hotspot VM Opt
- weblogic创建JMC
i5land
weblogicjms
进入 weblogic控制太
1.创建持久化存储
--Services--Persistant Stores--new--Create FileStores--name随便起--target默认--Directory写入在本机建立的文件夹的路径--ok
2.创建JMS服务器
--Services--Messaging--JMS Servers--new--name随便起--Pers
- 基于 DHT 网络的磁力链接和BT种子的搜索引擎架构
justjavac
DHT
上周开发了一个磁力链接和 BT 种子的搜索引擎 {Magnet & Torrent},本文简单介绍一下主要的系统功能和用到的技术。
系统包括几个独立的部分:
使用 Python 的 Scrapy 框架开发的网络爬虫,用来爬取磁力链接和种子;
使用 PHP CI 框架开发的简易网站;
搜索引擎目前直接使用的 MySQL,将来可以考虑使
- sql添加、删除表中的列
macroli
sql
添加没有默认值:alter table Test add BazaarType char(1)
有默认值的添加列:alter table Test add BazaarType char(1) default(0)
删除没有默认值的列:alter table Test drop COLUMN BazaarType
删除有默认值的列:先删除约束(默认值)alter table Test DRO
- PHP中二维数组的排序方法
abc123456789cba
排序二维数组PHP
<?php/*** @package BugFree* @version $Id: FunctionsMain.inc.php,v 1.32 2005/09/24 11:38:37 wwccss Exp $*** Sort an two-dimension array by some level
- hive优化之------控制hive任务中的map数和reduce数
superlxw1234
hivehive优化
一、 控制hive任务中的map数: 1. 通常情况下,作业会通过input的目录产生一个或者多个map任务。 主要的决定因素有: input的文件总个数,input的文件大小,集群设置的文件块大小(目前为128M, 可在hive中通过set dfs.block.size;命令查看到,该参数不能自定义修改);2. 
- Spring Boot 1.2.4 发布
wiselyman
spring boot
Spring Boot 1.2.4已于6.4日发布,repo.spring.io and Maven Central可以下载(推荐使用maven或者gradle构建下载)。
这是一个维护版本,包含了一些修复small number of fixes,建议所有的用户升级。
Spring Boot 1.3的第一个里程碑版本将在几天后发布,包含许多