- 正确的护肤步骤,爱美的女生一定要了解一下
焕颜研究所
皮肤和孩子一样要养,是个长期的工作,天生好皮肤也需要护理。说起护肤其实倒没那么太复杂,主要大家只要了解了护肤步骤并且搭配适合自己的护肤品以后按照规则来就行了,今天给大家正确的护肤步骤,仅供大家参考!【正确的护肤步骤简单说明】晨间护肤顺序是:洗脸—化妆水—眼霜—精华—乳液/面霜—防晒。按照质地从轻薄到厚重的顺序来涂,晚间护肤步骤稍微复杂一点。关于眼霜步骤问题,其实眼霜的步骤比较灵活,在化妆水后任意一
- 努力不需要仪式感
宇韩叔叔
在一次踏青活动中,我认识了彩虹,一个皮肤很白的小美女。她对自己的外形不太满意,一米六的身高,体重接近130斤。听说我是一个跑步爱好者,她马上加微信,希望每天能跟我一起晨跑,锻炼出一个好身材。我满口答应,承诺每天电话催她起床,到约定地点一起跑。第一天见面,彩虹让我眼前一亮:崭新的运动服、高束的马尾辫、箍在大臂上的手机袋,浑身上下都透着一股踌躇满志的精气神。我开始跟她讲路线和跑步要领,她却摆摆手示意我
- 防不胜防的宝宝湿疹竟然因为这样做而渐渐消除。。。
xinju8830
宝宝在未满一周岁之前很容易罹患湿疹,婴儿湿疹是一种过敏性皮肤炎症,1-3个月的婴儿出生后就可以发现。南方婴儿湿疹在春夏季是高发季节,北方婴儿湿疹高发季在春秋时节。因为婴儿患湿疹的环境因素最主要是潮湿、阴暗造成的,南方的春夏最为潮湿,所以婴儿患湿疹的概率也就增加。能够引起婴幼儿湿疹的因素除了环境因素之外,还有遗传、饮食等多方因素,令家长防不胜防。那么在孩子出现了湿疹的症状时,妈妈们都应该怎么做?如何
- 我们一起喵喵喵
米菲兴哥
2021-4-16星期五晴天今天忙碌了2件事情,车险和接种疫苗。对比平安的车险,电销的保险是优惠不少,还送电子门锁(不含安装费用),等会儿查核电子门锁的价格。今天在公司接种疫苗,上次公司安排到社区接种,有点心虚,没有去。这次安排到公司的,就接种吧。早晚要接种的,这次安排这么好,上班时间接种疫苗,直接干呢。下次的接种时间已经安排好啦。刚开始还感觉有点怕怕,皮肤消毒过后,就只有凉凉的感觉,护士的手一接
- 今天来讲一下我们皮肤缺水都有哪些危害,先了解一下,别让皮肤严重了才后悔,
海之冬情澜逸韵
今天来讲一下我们皮肤缺水都有哪些危害,先了解一下,别让皮肤严重了才后悔,在大家的认知力,皮肤缺水都有哪些危害啊?第一点:皮肤缺水导致皮肤敏感,甚至过敏,出现红血丝,我们皮肤表层最表面的是角质层,就是我们手可以摸到的那一层,角质层作用是可以抵抗外界的刺激,和帮助皮肤储存水分,如果说你的皮肤干燥缺水的话,表皮会像土地一样开裂出现缝隙,所以就会出现脱皮起皮的现象,皮肤出现开裂甚至是因为脱皮导致角质层受损
- 乘风破浪,我们眼里藏着努力和未来
刘娟娟_培训师
居里夫人说:“17岁时你不漂亮,可以怪罪于母亲没有遗传好的容貌;但是30岁了依然不漂亮,就只能责怪自己,因为在那么漫长的日子里,你没有往生命里注入新的东西。”30岁之后相由心生,你内心的善良、智慧、经历都会写满整个脸。美一定是内外兼修我曾经遇到过很多女孩问我说说娟娟老师你怎么那么美,皮肤又好,还会穿搭。我笑笑想说其实是我天生底子好,但是我通常会说你要是稍加修饰美起来就没我啥事了。以前的我每天都是素
- 小儿推拿李波:炎炎夏日,防晒、防蚊、防扉,宝宝皮肤护理有门道
55e69701d1dd
小儿推拿李波:炎炎夏日,防晒、防蚊、防扉,宝宝皮肤护理有门道眼下,天气热湿度高,在这样的环境里,宝宝娇嫩的皮肤更容易产生问题。晒伤、长痱子、红屁股、蚊虫叮咬……诸如此类的皮肤问题困扰着不少新手爸妈。想要宝宝的皮肤健康,防晒、防蚊、防痱等“功课”家长可以提前做。小儿推拿李波:炎炎夏日,防晒、防蚊、防扉,宝宝皮肤护理有门道痱子痱子是宝宝夏季最常见的皮肤问题。夏天出汗多,喜欢活动的宝宝,最容易出汗。过多
- 《野草》复仇(其一) 读书笔记
女人知书香
“复仇”是鲁迅从早年到晚年,念兹在兹,一以贯之的恶一个思绪。几十年间在他心头萦绕不去,回环往复,多次谈及,成为作品和思想的重要主题之一。人的皮肤之厚,大概不到半分,鲜红的热血,就循着那后面,在比密密层层地爬在墙壁上的槐蚕更其密的血管里奔流,散出温热。于是各以这温热互相蛊惑,煽动,牵引,拼命希求偎倚,接吻,拥抱,以得生命的沉酣的大欢喜。【议论】如有人以丽人刺穿其皮肤,则有鲜血喷灌于杀戮者,这是动态的
- 微小说:七夕
3e2271b99ca3
时光荏苒,星河流逝,地球已走完它的寿命,化作星迹尘埃,而人类早已飞出太阳系,将文明播散在宇宙各个角落。天鹰座α上,一个青年正在清点物料,马上就是一年一次的暗能量交接,又可以与天琴座α上的她相会了。飞入“鹊桥”星空站后,发现她已早早等候在此。“七哥!”“小夕!”同为黑头发黄皮肤的他们,经过近百次的能量交接,已经再熟悉不过了。“七哥,每年只能见你一次,我好不甘啊。”“小夕,我们都是各自星座上唯一的人类
- 黑与白
笑笑小郎君
四月春风流淌,鲜花流淌在我心的湖上夜夜流淌夜夜有蝴蝶朝我走来含情的走来轻轻地停在我的额头生出许多的小蝴蝶没有比夜晚更加浪漫的夜晚我是夜里唯一放荡的浪子我要和这夜里的一切偷情和一只蝴蝶,又或者贴着我皮肤的黑融入我眸子里的,都属于我的眼睛那些比黑暗还遥远的,远在光明的我也爱你你们都属于我的心可是我只有一个我我无法成为你们共同的丈夫我选择了黑暗我也将像所有负心汉一样我也将成为一个自己也讨厌的人唯你,安静
- 芭睿芭睿:开启生物护肤之门 缔造美丽奇迹
3adced8f1ee8
生物护肤并不是营销噱头,是人类对生物科学的一种新认识和新体验。美国JDD皮肤科药学临床杂志在其2014年第13刊中就写道:护肤品已经从低端的物理防护和中等精细化学上升到了生物护肤时代。一个偶然的机会,在一次世界高级化妆品配方师闭门研讨会中,强微特公司的生物科学家们当时了解到:“在世界化妆品原料中,90%以上是化学合成原料,生物原料只占比不到10%,但恰恰是这10%能够真正引导皮肤自我修护”。强微特
- 小鸟依人
段子小说
小鸟依人来源于《段子小说》李航这小子最近新交了一个女朋友小希,平时在朋友圈各种秀恩爱,这不,今天给大家请客正是要展示一下小希的厨艺。我们来到李航的出租屋,看到一个容貌秀丽的女子,想必就是小希了,我仔细观察着她,这女孩皮肤白皙,身材娇小,眼睛大大,扎着个丸子头,应该是大多数男生喜欢的类型。小希看到我们有些羞涩,红着脸悄悄退到李航后边,俨然一副小鸟依人的模样,就连我这个一米七的高妹也有想要保护她的冲动
- 李湘和意中人同住酒店,男方帅气皮肤白皙,李湘贴心为他整理围巾
娱乐扒九叔
王岳伦被拍到三天三夜会两女之后,果断承认了和李湘已经离婚,王岳伦声称,两个人虽然不再是夫妻,却会是永远的朋友和爱女的父母。他们夫妻长达10多年的感情终断,希望各自安好。在这场事件中,李湘并未正面回应,很快就开始了新的生活,状态非常不错。12月6日,媒体拍摄到李湘和此前王岳伦所形容的意中人露面了,李湘还与该男士一起同住酒店,并且双方之间的互动显得很亲密。李湘仍旧还是富贵打扮,而且整个人的气场明显感觉
- 海水洗澡对皮肤好吗 洗澡的益处和害处
一起高省
海面这类水相较于我们平常看到的水为有一定的差别的,这类种类的水喝起來是较为咸的,可是这类水对我们身体是有一定的益处的,但是它除开有益处之外也是会出現一些弊端的,海面里边有很多对身体有益处的原素,因此愈来愈多的人喜爱用海面冼澡,那麼海面冼澡对皮肤白吗?1.高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个自用省钱佣金高,分享推广赚钱多的平台,百度有几百万篇报道,也期待你的加入。古楼导师高省
- 爱上120岁的自己
和120岁的约定
年底,总是一个忙忙碌碌的时间,我也不列外。今年年底忙到把自己的房子都着火烧毁了。于是乎,我想做个列外,我要停下来。思想造就行动,结果现状的自己总会明天早晚抽出一个小时的时间和自己独处,不再是急急忙忙赶来赶去。停下来的时间,看到过往的自己,发挥极大地想象,想到120岁的自己。用些想要的形容词有:健康,优雅,自信,笃定,淡然,超然,幽默,富有童趣,身材一定要特别棒,皮肤也要特别细腻…思维一定非常敏捷,
- 这半年,我老了10岁
夏玫小墨
自从生完宝宝这半年来,我觉得我老了十岁。有了宝宝以后,每天都过得相当充实,她哭了,快去哄她,她拉了尿了,快去给她换尿布,她不高兴了,绞尽脑汁想尽办法,让她停止哭泣,晚上,还要起夜喂奶,换尿布。半年了,我没有睡过一个自然醒的安稳觉。想想曾经,自己是多么的幸福。初为人母,孩子的事情,让我忙的手忙脚乱的,对于自己的皮肤疏于保养,还自我感觉比较年轻。今天,洗完澡,一个想法在脑海里一闪而过,好久没有做面膜了
- 2020/12/17感恩日记
德胜
感恩感谢自己的皮肤越来越好越来越年轻态,感恩感谢敏姐同学于教授的产品和私人订制的产品,给我们带来安全美丽的产品。感恩感谢好种子开花结果带给我的回向和收获,感恩感谢坏种子爆破带给我的教训和改变,感恩感谢咖啡冥想的力量给我强大的力量和美好善愿一一实现,感恩感谢家人们都平安健康。感恩感谢先生的事业顺利,财源茂盛。感恩感谢需要帮忙的人都能得到帮助。感恩感谢孙总和侯总的支持和帮助。
- 今日护肤日记……了解一下黑色素和斑点的关系
海之冬情澜逸韵
首先我们来先了解一下黑色素和斑点的关系[,左边是健康的肌肤状态,右边是皮肤已经受损了导致黑色素蔓延到角质层的肌肤,黑色素就是到肌肤基质层,并且沉淀在皮肤表面,所以才会出现斑点哦,斑点的黑色素就没办法代谢出来就是容易形成斑点是吧,那就是要抑制黑色素的分泌量,让肌肤的新城代谢变得正常,那么斑点就可以淡化掉,斑点的话,白天主要是补水,晚上可以用时间轴套装,
- 风浪时代ll第三十四章 深陷海外断家音
江南铁鹰
第三十四章深陷海外断家音张淳羽在床上足足躺了半年。三木春户派了家中仆役专门照顾他。由于长时间的海水浸泡,不仅让他的心肺和皮肤都出现了严重问题,全身神经系统,特别是四肢出现了麻痹,几乎完全不能自主,除了头部尚可转动,眼睛和嘴没有问题,可以看东西、说话和吃饭,完全已经变成像植物人一样瘫痪在床上。如果不是三木春户坚持叫人日夜看护,又有医护人员精心治疗,只怕他早就死了。这半年真是让张淳羽觉得不如死了倒好,
- 辟谷日记(第五天2020.03.27)
睢静波1
早起早起服完气以后,做一个冥想。感觉好极了。体重早起称体重68.45Kg,晚上称也是这样的。运动今天从家出门走到民生量贩超市,又走回来!在超市里买了山药,竟然发现山药之间区别。铁棍山药细长,淮山药粗。虽然粗,但不压称。铁棍山药细长弹,但拿着沉甸甸的。据说铁棍的药用价值很大。身体变化今天发现皮肤光了,脸小了,并且腿和肚子都瘦了。自我感觉良好。今天服气,又有些流鼻涕。天气凉的原因。这两天枸杞红枣水特别
- 2020-09-22
鹿luuuuu
女人皆为“脂粉动物”化妆品是指以涂抹、喷洒或者其他类似方法,散布于人体表面的任何部位,如皮肤、毛发、指趾甲、唇齿等,以达到清洁、保养、美容、修饰和改变外观,或者修正人体气味,保持良好状态为目的的化学工业品或精细化工产品。张爱玲曾说女人皆为“脂粉动物”,从旧时的胭脂水粉到现如今的眼影口红,化妆品到底是什么?是女人对自己的怜爱,对岁月的流连;对着镜子一笔笔涂上去的,是“为悦己者容”的女儿梦。自商周时代
- 2020-02-20操心
想要随心所欲的北极熊
一说起孩子,总有说不完的话题,不是担心吃不饱,就是担心穿不暖,再不然就是担心拉不出屎,皮肤出皮疹,骨头长不好等等等等!只要话题一沾上“孩子”这两个字,总有说不完的话,唠不完的嗑!然而,当妈的,总是担心这个担心那个,还是阻止不了一些事情的发展走向。可谓心力憔悴!
- 骨神经纤维瘤应该怎么治疗
乐一_d7c7
骨神经纤维瘤是生长在神经干处的以纤维细胞为主的良性肿瘤,是皮肤、深部软组织、神经和骨的一种复杂性肿瘤。瘤体并非都与大神经干相连,亦可起于很小的无髓纤维。外有疏松透亮薄包膜,其外有或无轻反应区。骨神经纤维瘤这种病引起有可能与胚胎发育早期变异有关,不易预防。目前已知本病在染色体上的基因定位。多发性神经纤维瘤病为胚胎形成早期阶段神经嵴分化和迁徙异常导致的多系统损害的、常见的常染色体显性遗传病。神经纤维瘤
- 圣罗兰皮革气垫好用吗?
氧惠爱高省
圣罗兰皮革气垫非常好用。我是混干皮,皮肤薄,脸上瑕疵挺明显的,尤其是红血丝和熬夜熬出来的泪沟,素颜真的太显脸憔悴了,我用的色号是B10,上脸轻拍一层,红血丝和小痘痘几乎都能盖住,水润的质地能和我的干皮贴合的很好。今天给大家介绍圣罗兰皮革气垫效果吧!购物、看电影、点外卖、用氧惠APP!更优惠!氧惠(全网优惠上氧惠)——是与以往完全不同的抖客+淘客app!2023全新模式,我的直推也会放到你下面,送1
- 第三次作业/努力的人到底有多美
清风灵儿
罗文是大二的女生,齐肩的长发,乌黑透亮,大大的眼睛,白皙的皮肤,一米七的高个儿,真是让人羡慕!唯一的遗憾,就是太胖了,足足有160斤!原本漂亮的大眼睛,因为脸上的肉肉,挤得缩小了一圈。罗文身上的肉,在她刚上高中的时候就开始有了,每个月都会增加几斤肉,一年下来,自己竟然长了26斤肉。为什么会这样呢?高中的时候,压力很大,学习很紧张,时间根本不够用,根本没空去锻炼。家长怕她费脑子,饮食上面很丰富很有营
- 第六章 心心念念的只是梦罢了
月亮是一座孤岛
苏自茉回去的时候,是晚上九点多了,寝室门口,顾涞穿着卡其色风衣和淡灰色牛仔裤,里面白色的衬衫把他的皮肤衬托得更加雪亮,风里,把他的影子都差点吹斜了。“顾涞,你怎么来了?”苏自茉看着双手揣在风衣口袋里的顾涞,率先开口道。“没事,看到你没事我就放心了”苏自茉看着欲言又止的顾涞,从没看到他这样子过,那么失落,暗黄的灯光下,看得见丝丝缕缕的细雨,给他的背影增添一点冷意,怅然若失。只是回眸那一瞬间,他眼角的
- 敏感肌补水护肤品排行榜前十名 平价好用的敏感肌护肤品推荐
禾页子楚
现在正处于春夏交替季节,起皮、泛红、刺痛还有些发痒成为很多人遇到的肌肤问题,其实这种状况与日常的皮肤护理也有很大的关系,那么我们应该用哪些护肤品来护理和拯救我们的皮肤呢?当皮肤敏感脆弱之际,选择保养品时不宜再给皮肤过多的负担及厚重的霜状质地。合理的使用护肤品很重要!下面,就给大家分享好用不贵的平价敏感肌护肤品,特别适合实用党。贝德玛净颜洁肤卸妆水贝德玛净颜洁肤卸妆水一般我回到家不再出门,就会想要马
- 匆忙记下的混乱梦境1
游拾柒
死了之后我的灵魂长出一对翅膀,遭到贵族的猎杀,他们想要我的翅膀。在世的时候我也本是贵族,因为不喜欢那种颓靡的生活而放弃贵族身份和那些荣华,正因为原贵族身份的加成这样的翅膀就更为难得。刚长出翅膀的我手足无措,根本不知道怎么办。这时一个全身雪白的同样长着翅膀的姑娘出来救了我,她连睫毛都是雪白,皮肤上都闪闪发光。她带我去了有翅膀的人的聚居地,在那里还有好多长着翅膀的人,和死去的人的灵魂,他们在一起很开心
- 怪梦杂谈
木子李呀林夕梦
2018-5-5我是一个学生,20多岁,眼镜男。我能触摸到自己的皮肤肌肉,我能感受到我的思维。可是我不清楚我是谁,我是怎样诞生的。模糊中我出现在了这个世界。我有两个死党,从小光屁股玩到大,可是我想不起任何和他们玩耍的记忆。好像有一个声音在我脑海里重复着:“记住他们,他们是你的朋友”。于是,他们是我最好的朋友。暂且称呼他们是A君和B君。我为什么会无所事事?这个也不清楚,只记得,我们三个本来就是这样的
- 巴厘岛游记
霞光和蓝天
并没怎么规划的行程,也出乎意料地好玩。跟着下图这位同学,中秋出发,国庆返回。这位同学,正如图片中所见,脸大皮肤黑,邪恶不正经,额对,他就是我的男朋友---谢同学。谢同学正脸照出发前晚,我说收拾东西,他说不用,说是第二天早上他分分钟就可以搞定了。我说,你不想收东西自己待着,我来收,你别打扰我就行了。他不听,任性地拉着我看电影,结局就是第二天早上两人慌慌张张地倒腾行李,还好我之前分类存放,不至于忘记东
- 对于规范和实现,你会混淆吗?
yangshangchuan
HotSpot
昨晚和朋友聊天,喝了点咖啡,由于我经常喝茶,很长时间没喝咖啡了,所以失眠了,于是起床读JVM规范,读完后在朋友圈发了一条信息:
JVM Run-Time Data Areas:The Java Virtual Machine defines various run-time data areas that are used during execution of a program. So
- android 网络
百合不是茶
网络
android的网络编程和java的一样没什么好分析的都是一些死的照着写就可以了,所以记录下来 方便查找 , 服务器使用的是TomCat
服务器代码; servlet的使用需要在xml中注册
package servlet;
import java.io.IOException;
import java.util.Arr
- [读书笔记]读法拉第传
comsci
读书笔记
1831年的时候,一年可以赚到1000英镑的人..应该很少的...
要成为一个科学家,没有足够的资金支持,很多实验都无法完成
但是当钱赚够了以后....就不能够一直在商业和市场中徘徊......
- 随机数的产生
沐刃青蛟
随机数
c++中阐述随机数的方法有两种:
一是产生假随机数(不管操作多少次,所产生的数都不会改变)
这类随机数是使用了默认的种子值产生的,所以每次都是一样的。
//默认种子
for (int i = 0; i < 5; i++)
{
cout<<
- PHP检测函数所在的文件名
IT独行者
PHP函数
很简单的功能,用到PHP中的反射机制,具体使用的是ReflectionFunction类,可以获取指定函数所在PHP脚本中的具体位置。 创建引用脚本。
代码:
[php]
view plain
copy
// Filename: functions.php
<?php&nbs
- 银行各系统功能简介
文强chu
金融
银行各系统功能简介 业务系统 核心业务系统 业务功能包括:总账管理、卡系统管理、客户信息管理、额度控管、存款、贷款、资金业务、国际结算、支付结算、对外接口等 清分清算系统 以清算日期为准,将账务类交易、非账务类交易的手续费、代理费、网络服务费等相关费用,按费用类型计算应收、应付金额,经过清算人员确认后上送核心系统完成结算的过程 国际结算系
- Python学习1(pip django 安装以及第一个project)
小桔子
pythondjangopip
最近开始学习python,要安装个pip的工具。听说这个工具很强大,安装了它,在安装第三方工具的话so easy!然后也下载了,按照别人给的教程开始安装,奶奶的怎么也安装不上!
第一步:官方下载pip-1.5.6.tar.gz, https://pypi.python.org/pypi/pip easy!
第二部:解压这个压缩文件,会看到一个setup.p
- php 数组
aichenglong
PHP排序数组循环多维数组
1 php中的创建数组
$product = array('tires','oil','spark');//array()实际上是语言结构而不 是函数
2 如果需要创建一个升序的排列的数字保存在一个数组中,可以使用range()函数来自动创建数组
$numbers=range(1,10)//1 2 3 4 5 6 7 8 9 10
$numbers=range(1,10,
- 安装python2.7
AILIKES
python
安装python2.7
1、下载可从 http://www.python.org/进行下载#wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
2、复制解压
#mkdir -p /opt/usr/python
#cp /opt/soft/Python-2
- java异常的处理探讨
百合不是茶
JAVA异常
//java异常
/*
1,了解java 中的异常处理机制,有三种操作
a,声明异常
b,抛出异常
c,捕获异常
2,学会使用try-catch-finally来处理异常
3,学会如何声明异常和抛出异常
4,学会创建自己的异常
*/
//2,学会使用try-catch-finally来处理异常
- getElementsByName实例
bijian1013
element
实例1:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/x
- 探索JUnit4扩展:Runner
bijian1013
java单元测试JUnit
参加敏捷培训时,教练提到Junit4的Runner和Rule,于是特上网查一下,发现很多都讲的太理论,或者是举的例子实在是太牵强。多搜索了几下,搜索到两篇我觉得写的非常好的文章。
文章地址:http://www.blogjava.net/jiangshachina/archive/20
- [MongoDB学习笔记二]MongoDB副本集
bit1129
mongodb
1. 副本集的特性
1)一台主服务器(Primary),多台从服务器(Secondary)
2)Primary挂了之后,从服务器自动完成从它们之中选举一台服务器作为主服务器,继续工作,这就解决了单点故障,因此,在这种情况下,MongoDB集群能够继续工作
3)挂了的主服务器恢复到集群中只能以Secondary服务器的角色加入进来
2
- 【Spark八十一】Hive in the spark assembly
bit1129
assembly
Spark SQL supports most commonly used features of HiveQL. However, different HiveQL statements are executed in different manners:
1. DDL statements (e.g. CREATE TABLE, DROP TABLE, etc.)
- Nginx问题定位之监控进程异常退出
ronin47
nginx在运行过程中是否稳定,是否有异常退出过?这里总结几项平时会用到的小技巧。
1. 在error.log中查看是否有signal项,如果有,看看signal是多少。
比如,这是一个异常退出的情况:
$grep signal error.log
2012/12/24 16:39:56 [alert] 13661#0: worker process 13666 exited on s
- No grammar constraints (DTD or XML schema).....两种解决方法
byalias
xml
方法一:常用方法 关闭XML验证
工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。
方法二:(个人推荐)
添加 内容如下
<?xml version=
- Netty源码学习-DefaultChannelPipeline
bylijinnan
netty
package com.ljn.channel;
/**
* ChannelPipeline采用的是Intercepting Filter 模式
* 但由于用到两个双向链表和内部类,这个模式看起来不是那么明显,需要仔细查看调用过程才发现
*
* 下面对ChannelPipeline作一个模拟,只模拟关键代码:
*/
public class Pipeline {
- MYSQL数据库常用备份及恢复语句
chicony
mysql
备份MySQL数据库的命令,可以加选不同的参数选项来实现不同格式的要求。
mysqldump -h主机 -u用户名 -p密码 数据库名 > 文件
备份MySQL数据库为带删除表的格式,能够让该备份覆盖已有数据库而不需要手动删除原有数据库。
mysqldump -–add-drop-table -uusername -ppassword databasename > ba
- 小白谈谈云计算--基于Google三大论文
CrazyMizzz
Google云计算GFS
之前在没有接触到云计算之前,只是对云计算有一点点模糊的概念,觉得这是一个很高大上的东西,似乎离我们大一的还很远。后来有机会上了一节云计算的普及课程吧,并且在之前的一周里拜读了谷歌三大论文。不敢说理解,至少囫囵吞枣啃下了一大堆看不明白的理论。现在就简单聊聊我对于云计算的了解。
我先说说GFS
&n
- hadoop 平衡空间设置方法
daizj
hadoopbalancer
在hdfs-site.xml中增加设置balance的带宽,默认只有1M:
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>10485760</value>
<description&g
- Eclipse程序员要掌握的常用快捷键
dcj3sjt126com
编程
判断一个人的编程水平,就看他用键盘多,还是鼠标多。用键盘一是为了输入代码(当然了,也包括注释),再有就是熟练使用快捷键。 曾有人在豆瓣评
《卓有成效的程序员》:“人有多大懒,才有多大闲”。之前我整理了一个
程序员图书列表,目的也就是通过读书,让程序员变懒。 程序员作为特殊的群体,有的人可以这么懒,懒到事情都交给机器去做,而有的人又可以那么勤奋,每天都孜孜不倦得
- Android学习之路
dcj3sjt126com
Android学习
转自:http://blog.csdn.net/ryantang03/article/details/6901459
以前有J2EE基础,接触JAVA也有两三年的时间了,上手Android并不困难,思维上稍微转变一下就可以很快适应。以前做的都是WEB项目,现今体验移动终端项目,让我越来越觉得移动互联网应用是未来的主宰。
下面说说我学习Android的感受,我学Android首先是看MARS的视
- java 遍历Map的四种方法
eksliang
javaHashMapjava 遍历Map的四种方法
转载请出自出处:
http://eksliang.iteye.com/blog/2059996
package com.ickes;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
/**
* 遍历Map的四种方式
- 【精典】数据库相关相关
gengzg
数据库
package C3P0;
import java.sql.Connection;
import java.sql.SQLException;
import java.beans.PropertyVetoException;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class DBPool{
- 自动补全
huyana_town
自动补全
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo
- jquery在线预览PDF文件,打开PDF文件
天梯梦
jquery
最主要的是使用到了一个jquery的插件jquery.media.js,使用这个插件就很容易实现了。
核心代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
- ViewPager刷新单个页面的方法
lovelease
androidviewpagertag刷新
使用ViewPager做滑动切换图片的效果时,如果图片是从网络下载的,那么再子线程中下载完图片时我们会使用handler通知UI线程,然后UI线程就可以调用mViewPager.getAdapter().notifyDataSetChanged()进行页面的刷新,但是viewpager不同于listview,你会发现单纯的调用notifyDataSetChanged()并不能刷新页面
- 利用按位取反(~)从复合枚举值里清除枚举值
草料场
enum
以 C# 中的 System.Drawing.FontStyle 为例。
如果需要同时有多种效果,
如:“粗体”和“下划线”的效果,可以用按位或(|)
FontStyle style = FontStyle.Bold | FontStyle.Underline;
如果需要去除 style 里的某一种效果,
- Linux系统新手学习的11点建议
刘星宇
编程工作linux脚本
随着Linux应用的扩展许多朋友开始接触Linux,根据学习Windwos的经验往往有一些茫然的感觉:不知从何处开始学起。这里介绍学习Linux的一些建议。
一、从基础开始:常常有些朋友在Linux论坛问一些问题,不过,其中大多数的问题都是很基础的。例如:为什么我使用一个命令的时候,系统告诉我找不到该目录,我要如何限制使用者的权限等问题,这些问题其实都不是很难的,只要了解了 Linu
- hibernate dao层应用之HibernateDaoSupport二次封装
wangzhezichuan
DAOHibernate
/**
* <p>方法描述:sql语句查询 返回List<Class> </p>
* <p>方法备注: Class 只能是自定义类 </p>
* @param calzz
* @param sql
* @return
* <p>创建人:王川</p>
* <p>创建时间:Jul