- 2018-05-26
韩喜文
【韩喜文2018.05.26星期六】好展馆让天下没有卖不出去的产品好展馆让天下没有不能传承的文化日精进:867天假如我们始终以同一种思维方式来考虑问题的话,那么始终只会得到同样的结果。
- 2018-05-26
金方东
姓名:金方东公司:温粥人虹桥店【时间】2018.05.26【日精进打卡第21天】【知~学习】大学2遍【经典名句分享】【行~实践】一、修身:听听音乐走走路二、齐家:三、建功:和伙伴一起做卫生{积善}:无【省~觉悟】暂时无【感谢】【志愿】做事先做人。【打卡始于2018.0526,持续打卡于2019.0506】请各位家人监督:谢谢!
- 亲子日记363:第五次读书会
戴骁勇
2018.05.26周六晴晚上,我们进行了第五次读书会活动。今天的主持是爸爸我,记录是妈妈,总结大宝。我做了一下简单的介绍,读书会开始了。我第一个分享,我的读书内容是高中物理必修二和三体。我介绍了,读高中物理必修二是为了给我们的学生解释我们学习中的一些问题。让学生简单的了解一下高中物理的知识体系,明确现在的物理和将来知识的衔接。让学生对将来的高中物理有个了解,对现在的知识有个前因后果的明确。三体是
- 2018.05.26咖啡冥想
空空dj
目标:五月到七月底在税务筹划,财务日常问题处理,中级会计职称考试准备三个方面提升自己能力到一个阶段。动机:拥有一份五险一金,年终奖,按照法定节假日休息,专业培训,剔除五险一金个人承担部分剩余工资有4000元以上的会计工作,供养父母,有更多的时间与精力去做义工,陪伴老人与小孩。1.今天早上去买早餐,买完后对老板说谢谢,生意兴隆。2.今天种了坏种子,背后对他人评价。种下评判的种子,不和谐的种子。意识到
- [2018/05/26] 美味早餐
lee15166
image美味的早餐,吃的很开心~Deliciousbreakfast~Happy~------2018.05.26
- 2018.05.26 阴 星期六
静尔临音
到今天小宝宝已经97天了,转眼间就快百天了。这三个多月以来,每天看着女儿一点点的成长变化,虽然累的不行,但每每看到她天真可爱的笑脸,仿佛一下子感觉所有的辛苦都值了。而今天最开心也是值得纪念的一件事莫过于看着小宝宝自己翻身了。听老人说孩子要三翻六坐,前几天刚过三个月的时候宝宝还不会翻,总是让人担心她是不是缺钙,或者发育不正常啥的,今天好了,终于在她的不断努力下独立完成了自己的第一个翻身,真心为她感到
- 黄丽钦【反省组】精进打卡2018.05.26
黄丽钦888
姓名:黄丽钦岗位:影视部主管【日精进打卡第153天】【知~学习】《六项精进》2遍共304遍《大学》2遍共304遍【经典名句分享】要每天反省【行~实践】一、修身:(对自己个人)1、早睡早起2、要每天反省修身:(爱的传递:给身边同事做的善事)1、给同事讲解六项精进的好处二、齐家:(对家庭和家人)1、晚上和孩子、婆婆一起出去逛逛三、建功:(对工作)1、制作京科男科宣传片{积善}:发愿从2017年11月2
- 栖鸳
干煸马鲛鱼
梧桐巢雀燕,枳棘却栖鸳,波澜依旧,白日难掩。运筹庙堂前,妒能却斥远,归去来嗟,苦泪难咽。望天地之间,时光如碾,一圈,又一圈,你祭奠时间。弄脏的路牌不见,你徘徊路边,迷失眼前,走到新的起点,却不小心回到昨天。于2018.05.26图片发自App
- 感恩记录百日行D3(2018.05.26)
亲爱的李艳秋
1.感恩婆婆帮我们把小女儿照顾的特别好!感恩婆婆为我们家不辞辛劳的默默的付出!感恩婆婆的腿疼减轻了很多!2.感恩小姑子对我婆婆和我小女儿的关爱与陪伴!在我和老公不在家的时候她依然把婆婆和我小女儿照顾的很周到!3.感恩二宝珠心算比赛得了特等奖!感恩珠心算瑶瑶老师,夏老师和王莹老师对二宝的辛勤培养和照顾!感恩神墨教育给孩子提供这么好的学习机会!4.感恩大宝在语言班选上了副班长!感恩语言班老师对大宝的培
- 《拆掉思维里的墙》| 走出安全感的思维固圈
汪小可Lisa
2018.05.26阅读者:汪小可阅读书名:《拆掉思维里的墙》(第1-25页)总阅读天数:第69天作者:古典(于2007年创办精英生涯,致力于职业生涯规划,被业内认为是“中国职业规划界的新一代领军人物”。)嗨,你还好吗?我是小可,很高兴与你相遇,在阅读的路上。这里准备了一张桌子,请你来说说心里话。你有多久没有踏进电影院,去看一部电影了?你有多久没有彻底的放松自己,给假期一个出门的理由?你有多久没有
- 2018.05.26
紫smile
焦点网络八期初级紫分享第176天有个孩子小时候只要做错事,就被父亲罚跪凳子面壁思过3小时,常常错过吃饭的时候,母亲和奶奶如何哀求父亲让孩子先吃饭,父亲都不为所动。年幼的孩子忍受着饥饿的折磨,很无助,不知道发怒也不敢发怒,那时的父亲对他来说是那么强大,他无法对抗。他长大成人,是某部门领导。只要他的就餐时间安排稍晚一点,他都会控制不住自己对人大发脾气。有一次,他们去检查下属单位,一切都非常顺利,但到中
- 刘叶叶 精进打卡2018.05.26
小火纸儿
刘叶叶~349期~利他一组【日精进打卡第125天】【知~学习】《六项精进》2遍共195遍《大学》2遍共206遍【经典名句分享】爱不是占有–《狐狸和我》。【行~实践】一、修身:(对自己个人)1、早睡早起修身:(利他:对帮扶对象做的事)1、对身边同事做的事1、二、齐家:(对家庭和家人)1、三、建功:(对工作)1、2、{积善}:发愿从2018年1月22日起1年内做365件善事。今日1善,累计133善。1
- 蔡瑞雪【乐观组】精进打卡2018.05.26
蔡瑞雪
【日精进打卡第150天】【知~学习】《六项精进》2遍共208遍《大学》2遍共208遍【经典名句】分享每日三省吾身【行~实践】一、修身:(对自己个人)1、早起2、看书修身:(利他:为帮扶对像做的事)1、休息日修身:(爱的传递:给身边同事做的善事)1、二、齐家:(对家庭和家人)1、三、建功:(对工作)1、渠道账号维护,本职所在,不算建功。2、跟踪患者。3、整理思路。,对接工作。{积善}:发愿从2017
- 王道
宇宙之爱黄昊贵
2018.05.26编号28日精进724天今日感悟:1智者只招认可企业的人。当一个企业招到大多数认可企业的人,最高领导想要做好任何事情都会变得简单!2一个管理者最大的悲哀,就是一直再用不如自己的人——用徒者亡!一个真正优秀的管理者,永远知道把下属的优势用到极致——用师者王!3优秀团队一定会允许员工在任何事情上犯第一次错。当员工重复犯错,直接上级要承担首要责任!4领导者做的到的事才能去要求下属去做,
- 2018.05.26
Mr_Oldman
It'sSaturday.Pahadnotsaidanythingaboutthewolvesyet.Laurawishedhewould.ButsheknewthatshemustnotinterruptwhenPawastalking.Hesaidthatthesebachelorsdidnotknowthatanyoneelsewasinthecountry.Theyhadseennobod
- 2018.05.26 周六
一帘月风闲
图片发自App【周末小游】周末第一天,带着欣儿来了心心念念的大贝壳蹦蹦床,欣儿因为发烧,所以玩的并不是很尽兴。应该是我大意了,还给她吃了冷的东西。在我心里我一直觉得欣儿身体很棒,可是不想,她毕竟还是一个孩子,再棒的身体抵抗力也是不能和大人比的。
- 李丽【感谢组】精进打卡2018.05.26
李知言
李丽【日精进打卡第182天】【知~学习】《六项精进》0遍共216遍《大学》2遍共256遍【经典名句分享】拥有更少物品的生活总能让人感觉自由,给人以蓬勃的生命力,使人们充满希望和目标。它使人们在精神层面得以拓展,不仅仅是作为物品的累积者而生活。”【行~实践】一、修身:(对自己个人)1、阅读《传习录》2、遇事让自己冷静一下再思考修身:(利他:为帮扶对像做的事)修身:(爱的传递:给身边同事做的善事)二、
- 周明善【乐观组】精進打卡2018.05.26
周明善
【日精进打卡第151天】【知~学习】《六项精进》0遍共304遍《大学》0遍共258遍【经典名句分享】君子贵人贱己,先人而后己。【行~实践】一、修身:(对自己个人)反省过往,包容他人,利他之心对人修身:(利他:为帮扶对像做的事)无修身:(爱的传递:给身边同事做的善事)关心同事二、齐家:(对家庭和家人)跟家人聊天三、建功:(对工作)对接地推,疤痕市场渠道挖掘{积善}:发愿从2017年12月25日起1年
- 2018年五月目标达成回顾及六月计划
Ares1981
一、月回顾基本信息月开始时间:2018.04.29月结束时间:2018.05.26月回顾时间:2018.05.27~2018.05.28二、回顾内容一)打分注意事项不要受他人分数影响,只凭自己感觉,因为各人的标准不同;既然已经打分了,就写在那里,不要马上改。如果打完分感觉不对,那是个提示,提示你有个bug;如果八项都打到8、9分,提醒自己,是否当前的标准较低,下个月要重新调整?同样,如果不止一项打
- 伊水河畔
天天_27d6
朱会利焦点讲师班五期洛阳坚持分享第566天《伊水之边》2018.05.26加班结束回到县城,给朋友送书,碰巧他在河边钓鱼,于是我得以有机会走进了好久不曾踏足的公园……日子总是匆匆,工作、学习、加班几乎成了生活的全部,偶有空闲,也是处理家务琐事,总之心总难以静下来。到了公园,背上“书包”,漫步朝河边走,看着堤坝上的垂柳长长的腰肢随风荡漾,感觉自己的脚步也轻盈了许多,好像做回了一个无忧无虑的小姑娘。图
- 斯人若彩虹 遇上方知有
壹粒尘埃
.2018.05.26现在是2018.05.27凌晨12:46分我最爱的他前天早晨延误四小时的飞机上海大暴雨雷暴天气他凌晨到机场等了四五个小时他说为了早点来见我陪我过一个难忘的生日买了最早的航班延误了几个小时大暴雨加上雷暴天气我很害怕和担心既很欣喜他的到来却更多的是担心天气不好航班状态不佳此时的我既怨恨老天的不作美更多的是只愿一路平安他陪我过了最难忘的一个生日鲜花甜点好吃的菜肴浪漫的摩天轮是他给我
- 2018.05.26
万里无云2018
当我我疲惫时眼睛很酸很涩可是闭不上。头脑很满很沉可是停不住。心憔悴,关不拢。躺在床上想睡可是睡不着。
- 旁观者“清”,当局者“迷”
诗心小鹿
昆明梁艳分享371天。网络中级五期。2018.05.26昨天下午进行了中级八期以来的第四次约练,我作为观察员,在咨询临近结束时,我的脑海中一直呈现出“旁观者清,当局者迷”这句话,不是说自己做咨询师会如何,而是觉得,“第三只眼”带给我重新思考——咨询师的不易。为什么这么说?一是约练前,我正好复习了前天晚上刘老师的现场咨询,并与自己当时记录的“点”,进行了分析和比较。恰巧约练的时候,来访者的困惑正好与
- 亲子日记83
任国旭妈妈
2018.05.26.星期六,天气晴今天是泰华店卡姿兰做小美课的活动,早上上班的时候只有妈妈起床了,我和妈妈说“中午吃饭别等我了,我今天上泰华店做活动,会有厂家老师去的,中午就不回家吃饭了”,妈妈答应着,可没想到我说的话让还没起床的大宝听到了,他生气的说“妈妈,妈妈你等等我,上泰华也不和我说声,我好久没去了,今天周六我又不上学,数学的作业写完了,只有语文作业了,我穿衣服很快的妈妈,”这时妈妈笑了说
- 互联网早报 2018.05.26 星期六
淇奥qiaoqiao
互联网早报2018.05.26星期六【昨日头条】腾讯另一款短视频App“下饭视频”已上线,聚焦1-5分钟短视频美团旗下生鲜超市小象生鲜落地北京,可人脸识别支付今日头条:封杀很可能是腾讯表达敬意的一种方式小米据称寻求6月7日为香港IPO融资100亿美元举行上市聆讯【昨日要闻】美图CEO吴欣鸿:做社交永远都有机会,要和微信、微博错位竞争小米智能灯因欧盟新规停止服务创始人:是暂时下线北京共享单车总数比去
- 尹吭【谦虚组】精进打卡 2018.05.26
老黑1983
内容:【日精进打卡第154天】【知~学习】《六项精进》2遍共296遍《大学》通篇1遍共3遍《大学》2遍共312遍《易经》乾卦坤卦2遍共6遍••••••【经典名句分享】人不知而不愠不亦君子乎【行~实践】一、修身:(对自己个人)俯卧撑20个五组修身:(利他:页面结构调整)修身:(帮扶:朋友圈策划)二、齐家:(对家庭和家人)1、陪孩子游戏三、建功:(对工作)1、新着陆测试{积善}:发愿从2017年12月
- 2018.05.26家长师资班打卡第六天
姣燕
图片发自App图片发自App夜如此美好这几天在外面,一回来先生和儿子都很开心,特别是儿子,问我有无买礼物,他和我说要个保温杯可以带学校喝茶用,我说妈妈在学习,根本没有时间买东西,来去都有点赶,我们下次再买。儿子也很理解,为儿子点赞。先生把外墙用涂料刷了下,看起来漂亮好多,干净好多,对他也夸赞了一番。他也很开心,我回来洗漱,他在做晚饭,晚饭的炒面特别好吃,真的很感恩他的付出。家里的鱼缸里又增加了好几
- 2018.05.26 高东华 共读指数基金投资指南 第二篇 【如何定位选择】
一心?
能产生现金流的资产通常比不能产生现金流的资产长期收益率更高,能产生现金流的资产中现金流越高,长期收益率更高。复利的威力如何获取长期稳定的投资收益。但是该如何挑选?投资如何投?指数基金最常见分类分为宽指数和行业指数,行业指数基金主要投资消费行业的公司,这种指数基金就是行业指数资金,行业指数基金受行业特性的影响非常大。上证50指数:上证50指数是反映上交所的大盘股走势,所以上证50挑选的都是以大盘股为
- python第二十四次课 2018.05.26
qq_38981827
python
python任务调度模块celery(二)多worker和多队列首先是多worker和多队列的原理及流程图。一般情况下对于多worker和多队列的配置文件单独写在一个配置文件,方便管理和配置。定义任务列表multique.pyfromceleryimportCeleryapp=Celery()app.config_from_object("celeryconfig")@app.taskdeftas
- 王丽丽【努力组】精进打卡2018.05.26
王丽丽1
【日精进打卡第153天】【知~学习】《六项精进》0遍共274遍《大学》0遍共274遍【经典名句分享】不要有感谢的烦恼【行~实践】一、修身:(对自己个人)1、运动2、看书修身:(利他:为帮扶对像做的事)1、人员调整修身:(爱的传递:给身边同事做的善事)1、帮同事点红包二、齐家:(对家庭和家人)1、和我家人逛街三、建功:(对工作)1、回访跟踪患者{积善}:发愿从2017年12月25日起1年内730善事
- HQL之投影查询
归来朝歌
HQLHibernate查询语句投影查询
在HQL查询中,常常面临这样一个场景,对于多表查询,是要将一个表的对象查出来还是要只需要每个表中的几个字段,最后放在一起显示?
针对上面的场景,如果需要将一个对象查出来:
HQL语句写“from 对象”即可
Session session = HibernateUtil.openSession();
- Spring整合redis
bylijinnan
redis
pom.xml
<dependencies>
<!-- Spring Data - Redis Library -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redi
- org.hibernate.NonUniqueResultException: query did not return a unique result: 2
0624chenhong
Hibernate
参考:http://blog.csdn.net/qingfeilee/article/details/7052736
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
在项目中出现了org.hiber
- android动画效果
不懂事的小屁孩
android动画
前几天弄alertdialog和popupwindow的时候,用到了android的动画效果,今天专门研究了一下关于android的动画效果,列出来,方便以后使用。
Android 平台提供了两类动画。 一类是Tween动画,就是对场景里的对象不断的进行图像变化来产生动画效果(旋转、平移、放缩和渐变)。
第二类就是 Frame动画,即顺序的播放事先做好的图像,与gif图片原理类似。
- js delete 删除机理以及它的内存泄露问题的解决方案
换个号韩国红果果
JavaScript
delete删除属性时只是解除了属性与对象的绑定,故当属性值为一个对象时,删除时会造成内存泄露 (其实还未删除)
举例:
var person={name:{firstname:'bob'}}
var p=person.name
delete person.name
p.firstname -->'bob'
// 依然可以访问p.firstname,存在内存泄露
- Oracle将零干预分析加入网络即服务计划
蓝儿唯美
oracle
由Oracle通信技术部门主导的演示项目并没有在本月较早前法国南斯举行的行业集团TM论坛大会中获得嘉奖。但是,Oracle通信官员解雇致力于打造一个支持零干预分配和编制功能的网络即服务(NaaS)平台,帮助企业以更灵活和更适合云的方式实现通信服务提供商(CSP)的连接产品。这个Oracle主导的项目属于TM Forum Live!活动上展示的Catalyst计划的19个项目之一。Catalyst计
- spring学习——springmvc(二)
a-john
springMVC
Spring MVC提供了非常方便的文件上传功能。
1,配置Spring支持文件上传:
DispatcherServlet本身并不知道如何处理multipart的表单数据,需要一个multipart解析器把POST请求的multipart数据中抽取出来,这样DispatcherServlet就能将其传递给我们的控制器了。为了在Spring中注册multipart解析器,需要声明一个实现了Mul
- POJ-2828-Buy Tickets
aijuans
ACM_POJ
POJ-2828-Buy Tickets
http://poj.org/problem?id=2828
线段树,逆序插入
#include<iostream>#include<cstdio>#include<cstring>#include<cstdlib>using namespace std;#define N 200010struct
- Java Ant build.xml详解
asia007
build.xml
1,什么是antant是构建工具2,什么是构建概念到处可查到,形象来说,你要把代码从某个地方拿来,编译,再拷贝到某个地方去等等操作,当然不仅与此,但是主要用来干这个3,ant的好处跨平台 --因为ant是使用java实现的,所以它跨平台使用简单--与ant的兄弟make比起来语法清晰--同样是和make相比功能强大--ant能做的事情很多,可能你用了很久,你仍然不知道它能有
- android按钮监听器的四种技术
百合不是茶
androidxml配置监听器实现接口
android开发中经常会用到各种各样的监听器,android监听器的写法与java又有不同的地方;
1,activity中使用内部类实现接口 ,创建内部类实例 使用add方法 与java类似
创建监听器的实例
myLis lis = new myLis();
使用add方法给按钮添加监听器
- 软件架构师不等同于资深程序员
bijian1013
程序员架构师架构设计
本文的作者Armel Nene是ETAPIX Global公司的首席架构师,他居住在伦敦,他参与过的开源项目包括 Apache Lucene,,Apache Nutch, Liferay 和 Pentaho等。
如今很多的公司
- TeamForge Wiki Syntax & CollabNet User Information Center
sunjing
TeamForgeHow doAttachementAnchorWiki Syntax
the CollabNet user information center http://help.collab.net/
How do I create a new Wiki page?
A CollabNet TeamForge project can have any number of Wiki pages. All Wiki pages are linked, and
- 【Redis四】Redis数据类型
bit1129
redis
概述
Redis是一个高性能的数据结构服务器,称之为数据结构服务器的原因是,它提供了丰富的数据类型以满足不同的应用场景,本文对Redis的数据类型以及对这些类型可能的操作进行总结。
Redis常用的数据类型包括string、set、list、hash以及sorted set.Redis本身是K/V系统,这里的数据类型指的是value的类型,而不是key的类型,key的类型只有一种即string
- SSH2整合-附源码
白糖_
eclipsespringtomcatHibernateGoogle
今天用eclipse终于整合出了struts2+hibernate+spring框架。
我创建的是tomcat项目,需要有tomcat插件。导入项目以后,鼠标右键选择属性,然后再找到“tomcat”项,勾选一下“Is a tomcat project”即可。具体方法见源码里的jsp图片,sql也在源码里。
补充1:项目中部分jar包不是最新版的,可能导
- [转]开源项目代码的学习方法
braveCS
学习方法
转自:
http://blog.sina.com.cn/s/blog_693458530100lk5m.html
http://www.cnblogs.com/west-link/archive/2011/06/07/2074466.html
1)阅读features。以此来搞清楚该项目有哪些特性2)思考。想想如果自己来做有这些features的项目该如何构架3)下载并安装d
- 编程之美-子数组的最大和(二维)
bylijinnan
编程之美
package beautyOfCoding;
import java.util.Arrays;
import java.util.Random;
public class MaxSubArraySum2 {
/**
* 编程之美 子数组之和的最大值(二维)
*/
private static final int ROW = 5;
private stat
- 读书笔记-3
chengxuyuancsdn
jquery笔记resultMap配置ibatis一对多配置
1、resultMap配置
2、ibatis一对多配置
3、jquery笔记
1、resultMap配置
当<select resultMap="topic_data">
<resultMap id="topic_data">必须一一对应。
(1)<resultMap class="tblTopic&q
- [物理与天文]物理学新进展
comsci
如果我们必须获得某种地球上没有的矿石,才能够进行某些能量输出装置的设计和建造,而要获得这种矿石,又必须首先进行深空探测,而要进行深空探测,又必须获得这种能量输出装置,这个矛盾的循环,会导致地球联盟在与宇宙文明建立关系的时候,陷入困境
怎么办呢?
 
- Oracle 11g新特性:Automatic Diagnostic Repository
daizj
oracleADR
Oracle Database 11g的FDI(Fault Diagnosability Infrastructure)是自动化诊断方面的又一增强。
FDI的一个关键组件是自动诊断库(Automatic Diagnostic Repository-ADR)。
在oracle 11g中,alert文件的信息是以xml的文件格式存在的,另外提供了普通文本格式的alert文件。
这两份log文
- 简单排序:选择排序
dieslrae
选择排序
public void selectSort(int[] array){
int select;
for(int i=0;i<array.length;i++){
select = i;
for(int k=i+1;k<array.leng
- C语言学习六指针的经典程序,互换两个数字
dcj3sjt126com
c
示例程序,swap_1和swap_2都是错误的,推理从1开始推到2,2没完成,推到3就完成了
# include <stdio.h>
void swap_1(int, int);
void swap_2(int *, int *);
void swap_3(int *, int *);
int main(void)
{
int a = 3;
int b =
- php 5.4中php-fpm 的重启、终止操作命令
dcj3sjt126com
PHP
php 5.4中php-fpm 的重启、终止操作命令:
查看php运行目录命令:which php/usr/bin/php
查看php-fpm进程数:ps aux | grep -c php-fpm
查看运行内存/usr/bin/php -i|grep mem
重启php-fpm/etc/init.d/php-fpm restart
在phpinfo()输出内容可以看到php
- 线程同步工具类
shuizhaosi888
同步工具类
同步工具类包括信号量(Semaphore)、栅栏(barrier)、闭锁(CountDownLatch)
闭锁(CountDownLatch)
public class RunMain {
public long timeTasks(int nThreads, final Runnable task) throws InterruptedException {
fin
- bleeding edge是什么意思
haojinghua
DI
不止一次,看到很多讲技术的文章里面出现过这个词语。今天终于弄懂了——通过朋友给的浏览软件,上了wiki。
我再一次感到,没有辞典能像WiKi一样,给出这样体贴人心、一清二楚的解释了。为了表达我对WiKi的喜爱,只好在此一一中英对照,给大家上次课。
In computer science, bleeding edge is a term that
- c中实现utf8和gbk的互转
jimmee
ciconvutf8&gbk编码
#include <iconv.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>
int code_c
- 大型分布式网站架构设计与实践
lilin530
应用服务器搜索引擎
1.大型网站软件系统的特点?
a.高并发,大流量。
b.高可用。
c.海量数据。
d.用户分布广泛,网络情况复杂。
e.安全环境恶劣。
f.需求快速变更,发布频繁。
g.渐进式发展。
2.大型网站架构演化发展历程?
a.初始阶段的网站架构。
应用程序,数据库,文件等所有的资源都在一台服务器上。
b.应用服务器和数据服务器分离。
c.使用缓存改善网站性能。
d.使用应用
- 在代码中获取Android theme中的attr属性值
OliveExcel
androidtheme
Android的Theme是由各种attr组合而成, 每个attr对应了这个属性的一个引用, 这个引用又可以是各种东西.
在某些情况下, 我们需要获取非自定义的主题下某个属性的内容 (比如拿到系统默认的配色colorAccent), 操作方式举例一则:
int defaultColor = 0xFF000000;
int[] attrsArray = { andorid.r.
- 基于Zookeeper的分布式共享锁
roadrunners
zookeeper分布式共享锁
首先,说说我们的场景,订单服务是做成集群的,当两个以上结点同时收到一个相同订单的创建指令,这时并发就产生了,系统就会重复创建订单。等等......场景。这时,分布式共享锁就闪亮登场了。
共享锁在同一个进程中是很容易实现的,但在跨进程或者在不同Server之间就不好实现了。Zookeeper就很容易实现。具体的实现原理官网和其它网站也有翻译,这里就不在赘述了。
官
- 两个容易被忽略的MySQL知识
tomcat_oracle
mysql
1、varchar(5)可以存储多少个汉字,多少个字母数字? 相信有好多人应该跟我一样,对这个已经很熟悉了,根据经验我们能很快的做出决定,比如说用varchar(200)去存储url等等,但是,即使你用了很多次也很熟悉了,也有可能对上面的问题做出错误的回答。 这个问题我查了好多资料,有的人说是可以存储5个字符,2.5个汉字(每个汉字占用两个字节的话),有的人说这个要区分版本,5.0
- zoj 3827 Information Entropy(水题)
阿尔萨斯
format
题目链接:zoj 3827 Information Entropy
题目大意:三种底,计算和。
解题思路:调用库函数就可以直接算了,不过要注意Pi = 0的时候,不过它题目里居然也讲了。。。limp→0+plogb(p)=0,因为p是logp的高阶。
#include <cstdio>
#include <cstring>
#include <cmath&