- 2021-08-26
影幽
在生活中,女人与男人的感悟往往有所不同。人生最大的舞台就是生活,大幕随时都可能拉开,关键是你愿不愿意表演都无法躲避。在生活中,遇事不要急躁,不要急于下结论,尤其生气时不要做决断,要学会换位思考,大事化小小事化了,把复杂的事情尽量简单处理,千万不要把简单的事情复杂化。永远不要扭曲,别人善意,无药可救。昨天是张过期的支票,明天是张信用卡,只有今天才是现金,要善加利用!执着的攀登者不必去与别人比较自己的
- 圣诞节后的人气又回来了?好丽友、特斯拉们的生意却不好做| 每周热点汇总
饭Sir看天下
新的一年来了大家好,今天是2022年12月26日,星期一,农历十二月初四。这个月,相信我们很多人都遇到了身体不适的情况,饭Sir上周也因为发烧不得不停更了一周,这几天才刚刚恢复,好在这一切最后都能过去。疫情之外,一些好消息也逐渐到来,例如北京等多座大城市在年底的圣诞节期间又恢复了生机,一些迹象也在预示着久违的热闹春节要回来了。但另一方面,明年不确定的经济形势又带来一些不利的消息,不禁让人有些担心。
- 11.19星期四,是五彩斑斓的黑
大龙猫说
这学期,每到周四的早晨,当闹钟响起时,我都会脑补一百种可以请假不上班的情境。因为我的星期四,是黑色的。从早读,到早操,再连堂两节课,再连堂两节课教研,这是周四的上午。中午和下午第一节课虽然空闲,但我必须马不停蹄地改作业,因为最后一节课还是我的。上完这节课,再看完阳光体育,检查值日,我这一天才算“熬”过去。这时候,如果学生再来点什么纠纷,我就需要动用仅有的空闲时间来处理,那可真是“压垮骆驼的最后一根
- 中原焦点秦皇岛站第5期,每日分享第122天,2021年4月6日
5804c210041b
4.家长这个职业需要大量的背景知识。(1)关于人的基本知识:人的功能太强大,如果我们了解他的成长规律,就会很容易把他培养成天才。(2)关于教育学的基本知识:教育者与被教育在孩子生命初期和家长形成的关系对孩子起决定性作用。(3)关于心理学的基本知识:人的外在的动作是由里边的心里动因决定的。家长不许的孩子都想干,所以不要说不,而是说要怎样做才好。(4)关人际互动的基本知识:人际有互动就会形成固定的关系
- 如何做好人生的选择题?百科全书式天才——赫伯特·西蒙给你答案
伽马有话说
赫伯特·西蒙是谁?想必知道的人非常少。但当看到他的履历后,相信没有人再怀疑他是个“天才”。西蒙出生于1916年6月15日,是个美国人,他的名字全称为赫伯特·亚历山大·西蒙,在2001年2月9日与世长辞,在这84年的岁月中,西蒙以27岁时取得的政治学博士学位为开端,先后步入了政治学、管理学、认知心理学、信息科学、人工智能、科学哲学、应用数学、统计学、运筹学、控制论、数理经济学、公共管理等领域,在这些
- 十年坚持做一件事,是怎样一种体验
作家格格
01今天,偶然看到了雨果奖得主郝景芳的故事。之前,我只觉得她是清华才女,天赋异能。今天才发现,原来她惊人的才华背后,也有不为人知的付出与汗水。许多人知道“郝景芳”这个名字,都是从2016年的雨果奖开始。但很少有人知道,在那之前,她其实已经坚持写作了十年。如果说在校读博还能为她提供比较宽松的环境(尽管她学的是和写作完全无关的经济管理),毕业后进入职场,写作便成为一桩难以继续的事情。拿着四千块的工资,
- 0053/1000 天才少年 画圣拉斐尔
坚持坚持再坚持00
1.首先带你看看拉斐尔,“三杰”中最年轻的一位。他可是个不折不扣的“少年天才”。为什么这么说?拉斐尔曾经在当时的名家佩鲁吉诺门下学画,经过短短几年的学习就青出于蓝,他在21岁时画的《圣母的婚礼》,就已经超越了老师。左:拉斐尔《圣母的婚礼》右:佩鲁吉诺《圣母的婚礼》2.拉斐尔在艺术史上留下的最杰出的形象,就是圣母。之前很多画作,都把圣母作为一个宗教象征,表现得在受苦受难。拉斐尔却把圣母拉回了人间,画
- 平平无奇的逃命小天才carry全场,李春来凭啥全剧血条最长?
娱史通鉴
如果问我,最近印象最深刻的角色是哪个?我一定会说——李春来!刚刚收官的《龙岭迷窟》以豆瓣8.3分的高口碑持续发酵,如果你跟上潮流看了这部剧,一定会知道这个胆小的农民是谁。本来是冲着《鬼吹灯》系列的好口碑点开了这部剧,却万万没想到,竟然被一个在原著里出场几章就领盒饭的农民圈了粉;也万万没想到,胡明饰演的李春来成了新一届快乐源泉。作为胆小贪财的农民,李春来的出场就诠释了他的“怂”,以马大胆为首的古蓝十
- 我得了奖状
小痘痘胡
上周五学校组织手工作品大奖赛。要求让我们做一幅作品,回到家,我考虑了半天才想到要做什么。我利用。以前没用完的魔珠做了一幅潜水艇和武装艇。周一我到学校去,同学们都把作品带到学校来了。有的做飞机,有的做杯子,还有的是做的是赛车。看到同学们的作品,感觉他们好厉害呀!肯定下了不少功夫。经过领导和老师的评比,我得了二等奖,我非常开心!争取图片发自App下次科技节我还要得奖状。
- 掌握ChatGPT:高效利用AI助手
kkai人工智能
chatgpt人工智能媒体学习ai
2023年3月15日,ChatGPT-4的诞生标志着人类进入了一个全新的人机协作时代。这个时代就像一个混沌初开的新世界,而ChatGPT则是这个新世界里诞生的一个新物种。这个新物种的心智如同一个四五岁的小孩,在与它频繁互动中,人们逐渐发现它既让人惊奇,又让人困惑。ChatGPT宛如一个“天才”儿童,自幼饱读四书五经,拥有着海量的知识储备。每次与它交流,都能让人发现它身上隐藏着无限的潜能。然而,令人
- 5月6日碎碎念
莉萍LP
今天立夏,孩子们记得今天是妈妈可以给他们买冰棒的日子。前一段时间里有几天很热,俩个孩子看见别人吃冰棒,他们也想吃,于是我说到只有到了夏天才可以吃,褀说,那立夏那天就可以吃了,我也同意,于是俩孩子盼星星盼月亮盼立夏快点到来。有时褀还说夏天最大的优点就是我们可以吃冰棒,说完做出流口水的动作,看得出,他们很喜欢冰棒的味道。今天是立夏,可是今天的天气却比较冷,最高才20度,还下着雨,空气里更是湿润,一点都
- 2020-05-28
sunshu
《鬓边不是海棠红》里的京剧均出自哪些典故今天我们就来盘点一下前段时间热播的电视剧《鬓边不是海棠红》里的京剧均出自哪些典故。该剧改编自水如天儿的同名网络小说,讲述二十世纪三十年代的北平,一代天才京剧名伶商细蕊与爱国热血商人程凤台因戏结缘相知,1937年,日军占领北平,面对他们令人发指的烧杀抢掠的行径,两人在梨园百态和战火动乱中并肩奋斗前行,坚定了振兴京剧国粹的信念和定倾扶危以身救国的崇高理想,携手与
- 孩 子 与 教 育
激流扬帆
(2019年9月21日分享第6篇)滑县小规模学校联盟小田小学杜冠鹏今天通过学习陶行知的几篇文章,我收获很大,同时也感悟很多,最让我感悟深的就是孩子与教育。小孩子的力量是不可思议的,小孩子能做老师,做老师不限定要毕业师范毕业。在陶行知致潘一尘先生的信中,谈到一个不满13岁的孩子领导小朋友建学校,表现出超越的天才。小孩子可以把自己读的书教人,一面复习一面把学到的知识传给他人,那是再好无比的啦!陶行知在
- 《隐秘的角落》细思极恐的几个细节:隐藏在童话结局当中的人性善恶
莫染说
《隐秘的角落》是辛爽执导,秦昊、王景春领衔主演的悬疑短剧集,豆瓣评分9.1分,一口气看完了六集,细思极恐,发现了其中很多隐秘的细节。一、张东升和朱朝阳都是高智商犯罪心理扭曲朱朝阳是张东升的前身,张东升是朱朝阳的后身,可以说朱朝阳是微缩版的张东升,他长大以后很可能成为第二个张东升。其实这两个人在很多方面是同样的人,同样是数学天才,高智商犯罪。同样不合群,人际交往孤僻,心理阴暗,朱朝阳考试时面对同学的
- 100天拆书挑战第五十五天
久久一夏
《蒋勋谈达芬奇——忧伤的微笑》“在黑夜里,人们都在熟睡,他过早地醒来,这是天才的不幸,却是人类的大幸。”第一次听说达芬奇这个名字,是小学课文里那个会画鸡蛋奇怪的小孩,后来长大了,知道了画鸡蛋只是一个传说,知道了著名的(主要是值钱)《蒙娜丽莎》,我既不会画画,也对绘画没有任何兴趣,所以对达芬奇的印象就停留在一个非常著名的画家。2003年丹布朗的《达芬奇密码》出版,我断断续续听了广播剧,后来又看了电影
- #归来仍是少年
熙sunny
未过三载,却曲终人散,匆匆离去。纵有千言万语却一时凝噎。挽不住将要离去的你的手腕,回忆却如小河,悠悠淌的闲。即使短暂两年相处,印象中的你却格外深刻。尤记得你明亮的笑脸,总能传递正能量,一排整齐的洁白牙齿,便给你贴上乐观的标签。你看似无所畏惧,却粗中有细,大方宽容,容易打成一片。你聪明机灵,偶尔也能拿个高分,却稍有不慎跌到谷底。你是跑步的健将,常能得到名次。你自称天才,有时骄傲却不令人厌烦,反是自己
- 《傲娇帝尊独宠我》云筝全文免费阅读【完结小说】
云轩书阁
《傲娇帝尊独宠我》云筝全文免费阅读【完结小说】主角:云筝简介:云筝,是华国隐世族地的天才瞳术师以及玄术师!一朝穿越,成了世人唾弃的废材!废材?关注微信公众号【云精灵】去回个书號【757】,即可阅读【傲娇帝尊独宠我】小说全文!众人一听,下意识地离方焱更远了,看着方焱的神情犹如瞧见洪水猛兽一般。这可把方焱给气得喉咙涌出一抹腥甜,幸好他压了回去,不至于在大庭广众之下吐血。方家的人离方焱很近,自然能闻到他
- 祖宗十八代
三水畔
清明祭祖,中国传统,认识一下祖宗十八代。什么叫《祖宗十八代》自己之父~父亲父亲之父~祖父祖父之父~曾祖曾祖之父~高祖高祖之父~天祖天祖之父~烈祖烈祖之父~太祖太祖之父~远祖远祖之父~鼻祖父亲之子~儿子儿子之子~孙子孙子之子~曾孙曾孙之子~玄孙玄孙之子~来孙来孙之子~晜孙晜孙之子~仍孙仍孙之子~云孙云孙之子~耳孙这就是上下祖宗十八代,知道的人不多哦!今天才知道,普及下传统知识
- 老子是天才,不是神经病!
风间久护
刘镇伟:当时我写了《大话西游》,个人觉得很天才,但出来后被骂得很惨。特别是邵氏里面的方逸华小姐,她觉得我是神经病,孙悟空怎么可以有爱情?我听了很难过,就决定把《回魂夜》写成一个以为自己很天才的人,能捉鬼之类的,但不被人接受,别人认为你有神经病。图片发自App就是因为如此,刘镇伟和周星驰就合作拍摄了《回魂夜》。在1994年刘镇伟和周星驰一起合作了两部作品《大话西游之月光宝盒》《大话西游之仙履奇缘》图
- 小天才电话手表实用吗?性比价高吗?
测评君高省
现在很多家长都很关心孩子的安全健康问题,尤其是孩子上下学的时候,可能会出现迷路的情况。这个时候,如果拥有一款优质的定位功能的儿童电话手表,自然可以解决家长的后顾之忧。买电话手表上高省领隐藏优惠券,优惠券真的大,佣金真的高,我们真的省!大家好,我是高省APP最大团队,高省APP,是2021年推出的平台,0投资,0风险、高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个可省钱佣金高,能赚钱有
- 努力
7531
天才:请务必好好努力,不努力你没有车没有房没有孩子没有老婆,如你所见我拥有一切还在努力呢,好好干活吧!鬼雄:你觉得努力就对了吧,你觉得磨练就够了吧。要不送你去地狱或者你的孩子或者你的至亲去地狱如何?既然努力那么好的话,你们全家都去地狱努力一番如何?我不否认通常意义下的努力,也感动于与我同甘共苦共同奋斗的同伴鼓励——我要努力。但对于你们基于自身利益的教唆方式,我只想祝福你们与你们的无礼和傲慢一起下地
- 叶华芳随笔第1094篇:
叶华芳随笔
2022/01/13星期四,农历十二月十一[离农历新年还有18天,今天是2022年的第13天】叶华芳随笔第1094篇:父母体质好,孩子生病少。几经翻滚茶见质,几番交往见人心。不能忘记来时的路,继续走好前行的路。今年过年太难了!几乎全国都通知要做48小时阴性的核酸检测报告,现在最怕的就是:阳性,红码,高风险地区。手机充电时切不能边通话边喝水。视频男子触电身亡了。涨知识了!今天才知道有一个贼姓,这姓氏
- Android Graphics 显示系统 - VirtualDisplay的初印象 - 简单示例
向晚流年
android
“开始准备这篇文章时巴黎奥运会赛场上激战正酣,写完时奥运已落下帷幕,期间也看了许多精彩的赛事直播,拼搏与汗水书写的传奇无不激励着平凡岗位上的我们。每一枚奖牌的背后,都凝聚着运动员数不尽的汗水付出与坚持不懈,学习AndroidGraphics显示系统的知识,也需要我们长久的坚持、不断地探索实践。一点一滴地积累,一万小时天才定律,相信你终将赢得属于自己的金牌。”前言在许多场景中都会用到Android虚
- 财富天赋~三部曲
拥有温暖的家
财富天赋~三部曲❤天赋!不是天生的擅长❤天赋,是天生的心动❤天赋就是用你巨大的心动,来降低事情的难度❤天才,永远都是最勤快的❤天才,就是天天持续的人才❤真正的天才,都是勤快的❤不是我勤快,是我心动啊最美妙最共振的感觉,和那份独一无二的节奏感❤我是常人无法理解的病态❤我非常明白我自己,我只是在追求那份永恒的乐❤天才,就是天性回归之才❤我从来不追求成功的样子,我只是回归自己本来的样子❤在天性能量的回归
- 【找借口】5月21日
静起风云
这一段时间习惯躺在床上看书,事出有因的。上次和女儿去眼镜店,眼睛阿姨帮我也测测眼睛,我的视力太好了,25度。以前听老人说:“年轻时眼睛不近视,老了就容易眼花。”所以自从知道自己视力特别好,时不时的就想练练近视眼,方法就是躺在床上看书,也为偷懒找了一个借口。由好姐妹推荐应童老师的书,去年我就把她的书占上了,到今天才读完。这正应验了那句话:书非借不能读也。要是借来的书,起早爬半夜的也把它读完。而读自己
- 【熊出没天才威乙女向同人文】1
卒卒子
乙女的最高境界就是子供向都不放过(狗头)你因为自己的一个发明,现在在全国各地爆火。啊?要问是什么作品?你一个宅女一天到晚都窝在家里看番。是个标准的二刺猿,因为是暑假所以异常放纵。哦,对了,你的理科全市第一。是的,你就是这么一个屑女人。但是上帝为你打开了一扇窗,就要关上一扇门。于是,你顶着英语零蛋的战绩在台上光荣领咧理科奖(什)毕竟英语什么的真的是屑!!!!你看着几乎都有三刷的动漫,开始逐渐无聊了。
- 最近比较烦
不忘初心_9974
酷狗音乐-就是歌多最近比较烦(李华冠兴奋Jam熬夜全记录)-周华健(EmilWakinChau)词:李宗盛曲:李宗盛/周华健/品冠最近比较烦比较烦比较烦总觉得日子过得有一些极端我想我还是不习惯从默默无闻到有人喜欢最近比较烦比较烦比较烦我看那前方怎么也看不到岸那个后面还有一班天才追赶哎唷写一首皆大欢喜的歌是越来越难比较烦比较烦比较烦比较烦烦烦烦烦烦烦烦烦烦烦烦烦烦烦烦烦比较烦比较烦-
- python 漏洞扫描器_自动扫描全网漏洞的扫描器
weixin_39649736
python漏洞扫描器
“因为我相信你以后一定会成为很厉害的人呀”设计初衷早在17年11月份的时候就有这个想法,可是一直没有去做,后来快到除夕前几天才正式开始整个软件工程的设计。当时的想实现的功能比较简单,就是能做到无限采集到网站使用的CMS,比如www。xx。com使用的是DEDECMS,那么我就把www。xx。com|dedecms这样的数据存到数据库里面,如果下次dedecms爆出新的漏洞后,我能在第一时间内发现哪
- 穷爸爸与富爸爸读书笔记
梦时随笔
第五课富人的投资1、过分的害怕和自我怀疑是毁掉我们才能的最大因素。在现实生活中,人们往往是依靠勇气而不是智慧去取得领先的位置的。2、要成为财务上的天才既需要专业知识,又需要足够的勇气。就是为了获得更多的选择机会。愿意经过精心筹划后再去冒险。3、我们唯一的,也是最重要的资产是我们的头脑。如果受到良好的训练,它转瞬间就能创造大量的财富。4、学习市场的重要性,培养对于机遇的嗅觉,平常理财是收入增多保持有
- 【微信小程序】制作个人信息页面
m0_67393593
面试学习路线阿里巴巴android前端后端
题外:也许前端学习也应包括审美。在我学习前端路上,以前模仿视频内容,现在模仿别人成品…我曾想过作为前端是不是也应学习UI设计方向的美术知识,再不济也应具备页面布局的审美。但这个想法被一位大佬否定了,所以这个想法也只好放在心里成为另一种可能。分享一个今天才学会的CSDN写文章的技巧~正题:先上成品图1.架构进行编程前,我们要架构。对整体项目叫架构,对一个页面而言不如说叫整理思路以本图为例,除去底部t
- 遍历dom 并且存储(将每一层的DOM元素存在数组中)
换个号韩国红果果
JavaScripthtml
数组从0开始!!
var a=[],i=0;
for(var j=0;j<30;j++){
a[j]=[];//数组里套数组,且第i层存储在第a[i]中
}
function walkDOM(n){
do{
if(n.nodeType!==3)//筛选去除#text类型
a[i].push(n);
//con
- Android+Jquery Mobile学习系列(9)-总结和代码分享
白糖_
JQuery Mobile
目录导航
经过一个多月的边学习边练手,学会了Android基于Web开发的毛皮,其实开发过程中用Android原生API不是很多,更多的是HTML/Javascript/Css。
个人觉得基于WebView的Jquery Mobile开发有以下优点:
1、对于刚从Java Web转型过来的同学非常适合,只要懂得HTML开发就可以上手做事。
2、jquerym
- impala参考资料
dayutianfei
impala
记录一些有用的Impala资料
1. 入门资料
>>官网翻译:
http://my.oschina.net/weiqingbin/blog?catalog=423691
2. 实用进阶
>>代码&架构分析:
Impala/Hive现状分析与前景展望:http
- JAVA 静态变量与非静态变量初始化顺序之新解
周凡杨
java静态非静态顺序
今天和同事争论一问题,关于静态变量与非静态变量的初始化顺序,谁先谁后,最终想整理出来!测试代码:
import java.util.Map;
public class T {
public static T t = new T();
private Map map = new HashMap();
public T(){
System.out.println(&quo
- 跳出iframe返回外层页面
g21121
iframe
在web开发过程中难免要用到iframe,但当连接超时或跳转到公共页面时就会出现超时页面显示在iframe中,这时我们就需要跳出这个iframe到达一个公共页面去。
首先跳转到一个中间页,这个页面用于判断是否在iframe中,在页面加载的过程中调用如下代码:
<script type="text/javascript">
//<!--
function
- JAVA多线程监听JMS、MQ队列
510888780
java多线程
背景:消息队列中有非常多的消息需要处理,并且监听器onMessage()方法中的业务逻辑也相对比较复杂,为了加快队列消息的读取、处理速度。可以通过加快读取速度和加快处理速度来考虑。因此从这两个方面都使用多线程来处理。对于消息处理的业务处理逻辑用线程池来做。对于加快消息监听读取速度可以使用1.使用多个监听器监听一个队列;2.使用一个监听器开启多线程监听。
对于上面提到的方法2使用一个监听器开启多线
- 第一个SpringMvc例子
布衣凌宇
spring mvc
第一步:导入需要的包;
第二步:配置web.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi=
- 我的spring学习笔记15-容器扩展点之PropertyOverrideConfigurer
aijuans
Spring3
PropertyOverrideConfigurer类似于PropertyPlaceholderConfigurer,但是与后者相比,前者对于bean属性可以有缺省值或者根本没有值。也就是说如果properties文件中没有某个bean属性的内容,那么将使用上下文(配置的xml文件)中相应定义的值。如果properties文件中有bean属性的内容,那么就用properties文件中的值来代替上下
- 通过XSD验证XML
antlove
xmlschemaxsdvalidationSchemaFactory
1. XmlValidation.java
package xml.validation;
import java.io.InputStream;
import javax.xml.XMLConstants;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schem
- 文本流与字符集
百合不是茶
PrintWrite()的使用字符集名字 别名获取
文本数据的输入输出;
输入;数据流,缓冲流
输出;介绍向文本打印格式化的输出PrintWrite();
package 文本流;
import java.io.FileNotFound
- ibatis模糊查询sqlmap-mapping-**.xml配置
bijian1013
ibatis
正常我们写ibatis的sqlmap-mapping-*.xml文件时,传入的参数都用##标识,如下所示:
<resultMap id="personInfo" class="com.bijian.study.dto.PersonDTO">
<res
- java jvm常用命令工具——jdb命令(The Java Debugger)
bijian1013
javajvmjdb
用来对core文件和正在运行的Java进程进行实时地调试,里面包含了丰富的命令帮助您进行调试,它的功能和Sun studio里面所带的dbx非常相似,但 jdb是专门用来针对Java应用程序的。
现在应该说日常的开发中很少用到JDB了,因为现在的IDE已经帮我们封装好了,如使用ECLI
- 【Spring框架二】Spring常用注解之Component、Repository、Service和Controller注解
bit1129
controller
在Spring常用注解第一步部分【Spring框架一】Spring常用注解之Autowired和Resource注解(http://bit1129.iteye.com/blog/2114084)中介绍了Autowired和Resource两个注解的功能,它们用于将依赖根据名称或者类型进行自动的注入,这简化了在XML中,依赖注入部分的XML的编写,但是UserDao和UserService两个bea
- cxf wsdl2java生成代码super出错,构造函数不匹配
bitray
super
由于过去对于soap协议的cxf接触的不是很多,所以遇到了也是迷糊了一会.后来经过查找资料才得以解决. 初始原因一般是由于jaxws2.2规范和jdk6及以上不兼容导致的.所以要强制降为jaxws2.1进行编译生成.我们需要少量的修改:
我们原来的代码
wsdl2java com.test.xxx -client http://.....
修改后的代
- 动态页面正文部分中文乱码排障一例
ronin47
公司网站一部分动态页面,早先使用apache+resin的架构运行,考虑到高并发访问下的响应性能问题,在前不久逐步开始用nginx替换掉了apache。 不过随后发现了一个问题,随意进入某一有分页的网页,第一页是正常的(因为静态化过了);点“下一页”,出来的页面两边正常,中间部分的标题、关键字等也正常,唯独每个标题下的正文无法正常显示。 因为有做过系统调整,所以第一反应就是新上
- java-54- 调整数组顺序使奇数位于偶数前面
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
import ljn.help.Helper;
public class OddBeforeEven {
/**
* Q 54 调整数组顺序使奇数位于偶数前面
* 输入一个整数数组,调整数组中数字的顺序,使得所有奇数位于数组的前半部分,所有偶数位于数组的后半
- 从100PV到1亿级PV网站架构演变
cfyme
网站架构
一个网站就像一个人,存在一个从小到大的过程。养一个网站和养一个人一样,不同时期需要不同的方法,不同的方法下有共同的原则。本文结合我自已14年网站人的经历记录一些架构演变中的体会。 1:积累是必不可少的
架构师不是一天练成的。
1999年,我作了一个个人主页,在学校内的虚拟空间,参加了一次主页大赛,几个DREAMWEAVER的页面,几个TABLE作布局,一个DB连接,几行PHP的代码嵌入在HTM
- [宇宙时代]宇宙时代的GIS是什么?
comsci
Gis
我们都知道一个事实,在行星内部的时候,因为地理信息的坐标都是相对固定的,所以我们获取一组GIS数据之后,就可以存储到硬盘中,长久使用。。。但是,请注意,这种经验在宇宙时代是不能够被继续使用的
宇宙是一个高维时空
- 详解create database命令
czmmiao
database
完整命令
CREATE DATABASE mynewdb USER SYS IDENTIFIED BY sys_password USER SYSTEM IDENTIFIED BY system_password LOGFILE GROUP 1 ('/u01/logs/my/redo01a.log','/u02/logs/m
- 几句不中听却不得不认可的话
datageek
1、人丑就该多读书。
2、你不快乐是因为:你可以像猪一样懒,却无法像只猪一样懒得心安理得。
3、如果你太在意别人的看法,那么你的生活将变成一件裤衩,别人放什么屁,你都得接着。
4、你的问题主要在于:读书不多而买书太多,读书太少又特爱思考,还他妈话痨。
5、与禽兽搏斗的三种结局:(1)、赢了,比禽兽还禽兽。(2)、输了,禽兽不如。(3)、平了,跟禽兽没两样。结论:选择正确的对手很重要。
6
- 1 14:00 PHP中的“syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM”错误
dcj3sjt126com
PHP
原文地址:http://www.kafka0102.com/2010/08/281.html
因为需要,今天晚些在本机使用PHP做些测试,PHP脚本依赖了一堆我也不清楚做什么用的库。结果一跑起来,就报出类似下面的错误:“Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/kafka/test/
- xcode6 Auto layout and size classes
dcj3sjt126com
ios
官方GUI
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html
iOS中使用自动布局(一)
http://www.cocoachina.com/ind
- 通过PreparedStatement批量执行sql语句【sql语句相同,值不同】
梦见x光
sql事务批量执行
比如说:我有一个List需要添加到数据库中,那么我该如何通过PreparedStatement来操作呢?
public void addCustomerByCommit(Connection conn , List<Customer> customerList)
{
String sql = "inseret into customer(id
- 程序员必知必会----linux常用命令之十【系统相关】
hanqunfeng
Linux常用命令
一.linux快捷键
Ctrl+C : 终止当前命令
Ctrl+S : 暂停屏幕输出
Ctrl+Q : 恢复屏幕输出
Ctrl+U : 删除当前行光标前的所有字符
Ctrl+Z : 挂起当前正在执行的进程
Ctrl+L : 清除终端屏幕,相当于clear
二.终端命令
clear : 清除终端屏幕
reset : 重置视窗,当屏幕编码混乱时使用
time com
- NGINX
IXHONG
nginx
pcre 编译安装 nginx
conf/vhost/test.conf
upstream admin {
server 127.0.0.1:8080;
}
server {
listen 80;
&
- 设计模式--工厂模式
kerryg
设计模式
工厂方式模式分为三种:
1、普通工厂模式:建立一个工厂类,对实现了同一个接口的一些类进行实例的创建。
2、多个工厂方法的模式:就是对普通工厂方法模式的改进,在普通工厂方法模式中,如果传递的字符串出错,则不能正确创建对象,而多个工厂方法模式就是提供多个工厂方法,分别创建对象。
3、静态工厂方法模式:就是将上面的多个工厂方法模式里的方法置为静态,
- Spring InitializingBean/init-method和DisposableBean/destroy-method
mx_xiehd
javaspringbeanxml
1.initializingBean/init-method
实现org.springframework.beans.factory.InitializingBean接口允许一个bean在它的所有必须属性被BeanFactory设置后,来执行初始化的工作,InitialzingBean仅仅指定了一个方法。
通常InitializingBean接口的使用是能够被避免的,(不鼓励使用,因为没有必要
- 解决Centos下vim粘贴内容格式混乱问题
qindongliang1922
centosvim
有时候,我们在向vim打开的一个xml,或者任意文件中,拷贝粘贴的代码时,格式莫名其毛的就混乱了,然后自己一个个再重新,把格式排列好,非常耗时,而且很不爽,那么有没有办法避免呢? 答案是肯定的,设置下缩进格式就可以了,非常简单: 在用户的根目录下 直接vi ~/.vimrc文件 然后将set pastetoggle=<F9> 写入这个文件中,保存退出,重新登录,
- netty大并发请求问题
tianzhihehe
netty
多线程并发使用同一个channel
java.nio.BufferOverflowException: null
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:183) ~[na:1.7.0_60-ea]
at java.nio.ByteBuffer.put(ByteBuffer.java:832) ~[na:1.7.0_60-ea]
- Hadoop NameNode单点问题解决方案之一 AvatarNode
wyz2009107220
NameNode
我们遇到的情况
Hadoop NameNode存在单点问题。这个问题会影响分布式平台24*7运行。先说说我们的情况吧。
我们的团队负责管理一个1200节点的集群(总大小12PB),目前是运行版本为Hadoop 0.20,transaction logs写入一个共享的NFS filer(注:NetApp NFS Filer)。
经常遇到需要中断服务的问题是给hadoop打补丁。 DataNod