- 想家
爆米花机
也许不同于大家对家乡的思念,我对家乡甚至是疯狂的不舍。还未踏出车站就感觉到幸福,我享受这里的夕阳、这里的浓烈柴火味、这里每一口家常菜。我是宅女,我贪恋家的安逸。刚刚踏出大学校门,初出茅庐,无法适应每年只能国庆和春节回家。我焦虑、失眠、无端发脾气,是无法适应工作的节奏,是无法接受我将一步步离开家乡的事实。我不想承认自己胸无大志,选择再次踏上征程。图片发自App
- 那个抄袭的大张伟
猫小努
最近一直在追《即刻电音》这个综艺,除了觉得出场节目的音乐制作人有意思之外,也觉得有两个导师挺有趣的(另外一个就忽略了吧)。孙艺兴在上一篇文章里面已经说过了,那么这篇就说说我们的大老师,大张伟吧。其实在节目刚开始大张伟出来的时候,我以为他是属于导师里面来活跃气氛负责搞笑的,毕竟孙艺兴属于卖萌卖傻卖老实的,尚雯婕一般负责装逼耍狠的,而大张伟一贯以来上综艺的形象基本上都是蹦蹦跳跳带动气氛的。谁知道,两期
- 虚张声势
六月荷清香
绵绵密密的细雨不间断地下个不停,给这初冬的天气添了几份清冷和寂寥。午后的菜市场内没有一个顾客光顾,几个分肉的屠户望着案板上那些没有分完的肉,还在期待着来一个主顾将它们一起买走。贩卖小菜的女人一边漫不经心地择着菜,一边不时打个哈欠,这样的时光正是好睡觉的时候,可是一天的工作没有完成,还是要坚守岗位。喜欢开玩笑的屠户不时说几句黄段子,调侃着胖胖的卖鸡老板娘,大家说说笑笑着以打发这无聊的时光。张屠户打了
- 178 坚守自律
花儿迎风飞扬
如果错过了太阳时你流了泪,那么你也要错过群星了。如果你错过了早上而懊悔,那么你也要错过一整天了。白俊庭老师说,如果没有外部环境的咄咄逼人和自己逼自己,我们一般都不会自己走出舒适区,就像那只温水里的青蛙。百炼成钢,就是要锻造,就是锤打,给自己压力才有动力。咄咄逼人的外部环境是他律,是外力,走出舒适区是觉醒,是顿悟;而自己逼自己,是自律,是意志,是恒心,是内驱力。女儿的中学生活开始,开学整整一个月,也
- 我过生日啦!
小娜威
今天是我的生日,我又长了一岁,以后我要更加听话懂事。妈妈给我订的娃娃蛋糕,还给我买了生日礼物。吹蜡烛,许愿望,还有我最喜欢吃的菜。图片发自App图片发自App
- 但行好事,莫问前程
娟恋YOU
下班路上,路过菜市场,突然想吃火锅了。于是于是边去常去批发雪糕的地方去买些涮火锅的丸子类的菜,选了一些后,结算是24.9,老板爽快的说,给我24.5就行,正好钱包有现金25元,超递给老板结账,老板又给我一元钱,说24就行,我说那怎么可以,我又沾光了,总沾你的光,多不好意思!老板说你常来我就是沾你的光了!最后还是收了我24块钱,心里还是很开心的。不是因为沾光而开心,而是被让的开心!这样的老板做生意闻
- 2022-04-10
凤凰语言艺术吴老师
读刘院日更《再读稻盛和夫:习惯于用自己的承诺,倒逼自己成功》有感过去讲做人做事要“不言实行”,换言之,比起豪言壮语,默不作声、埋头实干才是美德。现如今社会,闷头干有时候也会失去动力。因为闷头干没有外界的监督,制定的计划只有自己知道,即使没有百分百完成,别人也不知道,久之就养成了得过且过的心态。就像当初自己花了不少钱报名学习日语一样,当时只是闷头学,没有开公失去了众人的监督,以致于后来因为工作和日常
- APQP,ASPICE,敏捷,功能安全,预期安全,这些汽车行业的一堆标准
二大宝贝
安全架构
前言APQP,ASPICE,敏捷,功能安全,预期安全,PMP,PRICE2汽车行业的有这样一堆标准。我是半路出家来到汽车行业做项目经理的,对几个标准的感觉是,看了文档和各种解析之后还是一头雾水,不知道到底说了个啥,别人问我还是一脸懵逼。APQP(TS16949的最重要工具),ASPICE(软件)这些是质量标准,是优化整个公司体系的,但这套体系对项目管理有要求;敏捷,PMP这些是项目管理的标准;项目
- 如何培养孩子的独立性
孙瑞华
最近好多小宝(2周岁以内)的妈妈反馈说孩子黏人,每次离开的时候哭的好伤心,不知道该如何处理,自己也非常的煎熬!很多父母认为孩子粘人就是不独立,于是用各种办法“逼”着孩子与自己分离。但其实小宝宝粘人是非常正常的。依恋是指婴儿与抚养着(一般指母亲)之间产生的特殊的情感关系,也是婴儿情感社会化的重要标志。依恋是婴幼儿与成人最早建立的关系之一,也相当于最早的人际关系,依恋关系的好坏会影响儿童的个性发展及影
- 让你过得越来越好的几点建议
素缘之美
越拼的人因为身边的人很拼或者很优秀,所以,一定要挤进优秀的圈子越长大,我们感觉与人的差距越大,于是就狠下心来,报名各种培训班来学习,或者买各种励志成长的书来看再懒的人都有上进的时候,与其未来我们学不动的时候学,还不如乘现在逼自己一把,努力的去学习提升自己10年,20年后,你就能在优秀的圈子里混的顺风顺水这是永久不变的规律!!!不是鸡汤,社会在进步,你不去学习,不进步你会被淘汰的养成主动学习习惯,逼
- 喜欢和妈妈逛菜场
鱼丢丢
12月1日跟妈妈逛了两次菜场,超级开心,看到很多新鲜的菜,可爱的菜,古老的菜,真有意思。妈妈跟卖鱼老伯的讨价还价,生动活泼,老伯风趣幽默。妈妈说我像个孩子,对什么都感兴趣。卖年糕的女人手上有粗糙的裂口,我拉着一定要买年糕,要用大仙菜炒,妈妈说买一斤吧。卖大仙菜的老婆婆自信地夸她的菜漂亮极了,因为是老婆婆她不用支付宝,我和妈妈都没有现金。我跑去卖年糕的女人那里换钱,让她换我10块现金,感谢她。吆喝卖
- 亲子日记39做一个大大方方的孩子
甘怀
我的同事都认为王一梦是一个大大方方的孩子,敢和别人说话,也敢和别人打招呼,也算是有礼貌,挺好的。今天阿姨派王一梦去问问别人怎么没有菜,没有水果,他就去了,也敢问这挺好的啊,就是没找到,后来来问那地方,她也找到了地方,说明他自己有办法。你吃饭的时候表现真的是不好,不好好吃饭,一心光想着喝饮料,喝饮料是去吃饭吗?那饮料没喝过吗?如果下次想出去喝饮料,就不用跟着我去吃饭了,还有就是一个基本上就不算辣的东
- 踩咸菜
小豆本子
听到这个名字,你是不是觉得很奇怪,咸菜怎么是用来踩的呢?你小时候洗完澡站在浴巾上,两只脚用力踩浴巾,还让我给你唱《采蘑菇的小男孩》你还记得么?对了,这回说的就是那个用脚丫子用力“踩”的踩咸菜。我小的时候家家户户都要踩咸菜。时间大概就是这几天(今天11月23号,农历十月十六)开始准备咸菜的菜。这种菜的学名叫雪里蕻,也叫雪菜。我小时候在农场长大,你外公和你外婆会种很大一片的雪里蕻。到了雪里蕻长大成熟的
- 【美食分享】油炸牛奶
吴老师教语文
一直宅在家里,闺女感觉很无聊,又不想学习,干嘛呢?突发奇想:做一道菜!啥菜呢?通过多方搜索,发现有一道菜看起来比较诱人:油炸牛奶。说做就做,这个喜欢拖延的娃,居然这次没有拖延。一个下午的忙碌,居然还真的做出了一道色香味俱全的菜肴。不信,晒图为证:这道菜,看着就很诱人,外焦里嫩。轻轻夹起一块,咬上一口,嫩嫩的,香香的,糯糯的,滑滑的,哇,唇齿留香,美味无比!闺女盯着我,期待地眼光看着我:“咋样?好吃
- 小米和蛋壳 第七节 和三三吃饭
斜晲众生
李南还是老样子,笔直,严谨,脸上线条硬度极佳,总是一副不苟言笑的样子。身上除了黑色就是深色的搭配,把自己平添了许多收敛的气息。和旁边像精灵一样的三三真真是反差萌。“我已经点好了菜。我在微博微信上已经盯了好久了,这次点菜集各家吃货推荐所长,应该不会踩雷。点了有焖鸡,牛肉饵丝,油爆猪皮,香茅烤鸡,稀豆粉,炒小瓜,蒜香鸡脚,小锅米线,黄金虾饼,喝的除了自酿米酒、苹果芒果汁和酸角汁。三碗米饭,一份菠萝饭。
- 感恩38天--幸福来得突然
金莉聊家庭育儿
每每看到优美的词语,总是在潜意识中不断强化记忆,可能总喜欢或者向住美好的事物。当心中放下很多的时候,发现自己的内心变得柔软。当学会不断感恩的时候,发现自己时常是有落泪的冲动!当自己无法去把控太多事的时候,发现自己能时时警醒自己活在当下!当自己每天去做自己最喜欢的时候,发现自己现在好事不断!世上没有白走路的,更没有白读的书。我相信每天不断记录自己的心路历程。多年后我会感谢现在不断精时逼自己奋斗的自己
- ⭐算法入门⭐《归并排序》简单01 —— LeetCode 21. 合并两个有序链表
英雄哪里出来
《LeetCode算法全集》算法数据结构链表c++归并排序
饭不食,水不饮,题必须刷C语言免费动漫教程,和我一起打卡!《光天化日学C语言》LeetCode太难?先看简单题!《C语言入门100例》数据结构难?不存在的!《数据结构入门》LeetCode太简单?算法学起来!《夜深人静写算法》文章目录一、题目1、题目描述2、基础框架3、原题链接二、解题报告1、思路分析2、时间复杂度3、代码详解三、本题小知识一、题目1、题目描述 将两个不降序链表合并为一个新的不降
- 重新挑战日更
荣清
写作这件事情一直困扰着我,我以前很讨厌写作,尤其是写考试作文,每次读到作文题目,一脸懵逼,需要绞尽脑汁去思考怎样才能凑足800字。喜欢上写作,是因为这些年来读了不少的杂志、小说、历史书籍、哲学书籍、专业书籍等等。对我印象最深的当属小说了,尤其是网络小说,通俗易懂,画面感很强,顺着作者的思路可以在脑海中构建一幅完整的画面。从那时起,我心里边就有一个写作梦。梦想者带着自己手上的笔记本电脑或者华为平板电
- 人生最好是小满
周哥建辉
苦菜秀,靡草死,麦秋至。夏天已至,炽热未满。今日小满。小满,是二十四节气之一,是夏季的第二个节气——四月中,小满者,物致于此小得盈满。其含义是夏熟作物的籽粒开始灌浆、饱满,但还未成熟,只是小满,还未大满。小满是一个充满传统智慧的节气。中国传统文化讲中庸之道,二十四节气中很多是相对着的,比如小暑大暑、小雪大雪、小寒大寒等等,唯独有小满,没有大满。俗话有“月满则亏,水满则溢”,以及“盛极必衰”的说法,
- 2019-08-27
苏苏女孩
时常会想起童年时的天真无邪,更多的是感慨少年时的懵懂无知。从我的少年时期就开始我这一生叛逆的行事和代价。那时候的电视播放的电影是蛊惑仔,最火的电视剧是流星花园。我和我的朋友时常羡慕古惑仔里面的主角,他们放浪不羁,无拘无束。也幻想自己跟杉菜一样有个高大帅气的富二代男友。蹦迪、喝酒、抽烟让我们的生活充满伪激情,夜不归宿成了家常便饭。父母的苦口婆心让我们厌烦,父母的苛责打骂成了我们离家出走的借口,不懂反
- SAP IoT能力揭秘
小哈公社
SAP是企业软件行业的一哥,不过一哥也要拓展地盘。物联网(IoT)就是SAP最近很想占据的新地盘,让我们来看看SAP有些什么新菜端上桌。很多人都知道SAP推出了Leonardo这个最新的产品组合,其中就包括了物联网(InternetofThings,IoT)解决方案。SAP试图在Leonardo这个产品中把未来企业数字化转型所需的各种功能都包括进来,而IoT就是相当重要的一块拼图。Leonardo
- Chat GPT带来的几点思考
淡定的胡萝卜
OpenAI公司推出的ChatGPT引起了广泛关注,网上出现各类专家开始预测随着ChatGDP的普及,将会有哪些行业的人面临失业,引发人们的焦虑。不可否认它会给我们的教育行业、媒体行业、学术界等众多行业产生影响,面对这些影响,我们该如何看待呢?近期我阅读了不少相关文章,引发的几点思考,想与大家分享。ChatGPT将会倒逼传统教育的改革。中国传统教育是教师对知识点的传授、学生对知识点的掌握,不仅量多
- 当野鸡“心理学”变成赚钱的工具
Z小姐不吐不快
今日乘车闲来无事便听起了电台(可在网易云音乐搜索「报刊选读」,点击20180212那一期),听罢,不禁感叹,怪不得「洗稿惯犯」周冲说,“与其教育傻逼,不如赚傻逼点钱。”哎,如果我没啥良心,估计也能赚这钱了。▲图片摘自六神磊磊读金庸《今儿就从头彻底扒一下周冲,看是什么成色》头痛、脚痛,不管是哪里痛,家排疗法总会告诉你,身体的每一处疼痛都喻示着你的“心事”影响身体健康,只要找出病因,无论疼痛还是癌症都
- 新编儿时童话【112】小皇子5---麻婆豆腐,是姓麻的老婆婆发明的吗
大熊之影
我深怕自己本非美玉,故不敢加以辛苦琢磨,却又半信自己是块美玉,故又不肯庸庸碌碌与瓦砾为伍。伴随着店小二稳重的脚步声,食物的香味也一起来带小皇子的面前。卖相不咋地,味道很好闻,小皇子在心中默默的给店小二送来的食物点评。“客官,您的菜上齐了,请慢用!”店小二恭敬的语气说完,两秒钟的停顿,接受到了客官没有需求的信号后,安静的退出房间。看着眼前满满一桌的冒着热气的饭菜,小皇子迫不及待的拿起筷子吃了起来,他
- 晚间语录(一)
仙人掌柜
回到家,母亲坐在凳子上,涂抹着不知道是什么的白色东西。“你在涂什么?”我好奇的问。“阿司匹林粉末”“什么?去哪里看到的?怎么乱涂?”我惊讶的叫起来。“我在网上看到,可以祛斑”母亲得意的继续涂抹着。“该死的互联网”。心里想着却又无可奈何。放下包,我继续着做我的事。也许因为是我的生日,母亲连续问我“想吃什么菜,叫你爸买回来”“随便”我也连续的答着。“粑粑吃吗,我准备煮了”。“不吃”“你怎么那么挑食,一
- 修车铺
蓝色逍遥398
2021年4月18日阴周日早上和老婆买完菜后收拾妥当,她忽然一拍脑门说:“哎呀,忘了要去修单车,竟然把衣服都换了!”“修单车?车咋了?”我问。“车的挡泥板没啥用,下雨骑车的时候雨水都溅到我后背了!”老婆骑的单车,是姐夫买车送的,还是奔驰牌子。他用不上,便给了我。正好老婆骑去地铁口的那辆单车已经没有修的必要,有了这辆新车,就正好淘汰旧车了。新车很小巧,全身白色。奔驰的标志很是显眼,挡泥板向上翘着,显
- 公益读书会《朱子治家格言》讲记第五周周记
61c5879944cf
欧素芬2021年正月初九过年体会今年响应国家号召就地过年,一家3口在中山过家。往日热闹的街市随着人流的返巢,渐渐的平静下来,店铺关门,路上两边空了,人影也没有几个。广场也显得开阔了起来。早起早睡人清爽许多。早上起来带着孩子做做业,然后去广场晒晒太阳。进年关置办年货,买了孩子喜欢的福字上有百菜图案的。想着祖先祭祀不可不诚。按家中习俗买了鸡,一块肉,一条鱼。喻意三生。四样水果。喻意四季发。酒行三巡恭请
- 母亲节
木易然
今天是一年一度的母亲节,我知道母亲是不怎么过节的,关键是怕浪费。每年生日、三八、母亲节,作为子女,真的不知如何庆祝。因为母亲非常勤俭节约,一些花哨的是不要的。那就买些衣服啥的,那也是不好买的,很难符合心意。做顿好吃的,也是没啥的,一日三餐怎么吃都习惯了。家里烧的菜也就那些,没有什么新奇的地方。给钱实在是最不用心的了,但也没办法。以后还是要多记录下母亲的喜好,尽量买点东西给她。要不然钱给着也是作为日
- 夜半 惊醒
34d0acf27bf4
不知道有没有人有我同样的经历:其实很平淡的日子,也没有发现老公有任何出轨的蛛丝马迹,但偏偏我总是会被一个老公出轨我正与之两人撕逼大战的噩梦惊醒。梦中的我没有半点风度,和电视剧里的那些最惨被出轨原配没有什么两样,在三个人的口水战里,老公站在另一个人的立场,对我呵斥着。虽然,在梦中我已经不像十年前的梦中那样害怕离婚,没有底气。但醒来后我却还清楚的记得,梦里的自己是多么伤心难过,是多么垂死挣扎的感觉。自
- 青春与你(56)
何廿三
在市中心的一家自助火锅,招牌上面写着“自助火锅,28元一位”,经过宿舍6个人的讨论,按照平时吃火锅的价格,28元算是比较低的了,就它了。韩一一个宿舍六个大汉,没开始吃之前,就摆了满满的一桌菜,各种的饮料。按照自助餐的吃法,就是要“扶着墙进去,扶着墙出来”,才算对得起自助餐。开始还真不知道舍友的战斗力,可是吃了之后才发现,这几个在一起就没停过,肥牛和肥羊都吃了30盘,还有虾,就连青菜都把店家的菜库一
- LeetCode[Math] - #66 Plus One
Cwind
javaLeetCode题解AlgorithmMath
原题链接:#66 Plus One
要求:
给定一个用数字数组表示的非负整数,如num1 = {1, 2, 3, 9}, num2 = {9, 9}等,给这个数加上1。
注意:
1. 数字的较高位存在数组的头上,即num1表示数字1239
2. 每一位(数组中的每个元素)的取值范围为0~9
难度:简单
分析:
题目比较简单,只须从数组
- JQuery中$.ajax()方法参数详解
AILIKES
JavaScriptjsonpjqueryAjaxjson
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。
type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。
timeout: 要求为Number类型的参数,设置请求超时时间(毫秒)。此设置将覆盖$.ajaxSetup()方法的全局
- JConsole & JVisualVM远程监视Webphere服务器JVM
Kai_Ge
JVisualVMJConsoleWebphere
JConsole是JDK里自带的一个工具,可以监测Java程序运行时所有对象的申请、释放等动作,将内存管理的所有信息进行统计、分析、可视化。我们可以根据这些信息判断程序是否有内存泄漏问题。
使用JConsole工具来分析WAS的JVM问题,需要进行相关的配置。
首先我们看WAS服务器端的配置.
1、登录was控制台https://10.4.119.18
- 自定义annotation
120153216
annotation
Java annotation 自定义注释@interface的用法 一、什么是注释
说起注释,得先提一提什么是元数据(metadata)。所谓元数据就是数据的数据。也就是说,元数据是描述数据的。就象数据表中的字段一样,每个字段描述了这个字段下的数据的含义。而J2SE5.0中提供的注释就是java源代码的元数据,也就是说注释是描述java源
- CentOS 5/6.X 使用 EPEL YUM源
2002wmj
centos
CentOS 6.X 安装使用EPEL YUM源1. 查看操作系统版本[root@node1 ~]# uname -a Linux node1.test.com 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@node1 ~]#
- 在SQLSERVER中查找缺失和无用的索引SQL
357029540
SQL Server
--缺失的索引
SELECT avg_total_user_cost * avg_user_impact * ( user_scans + user_seeks ) AS PossibleImprovement ,
last_user_seek ,
 
- Spring3 MVC 笔记(二) —json+rest优化
7454103
Spring3 MVC
接上次的 spring mvc 注解的一些详细信息!
其实也是一些个人的学习笔记 呵呵!
- 替换“\”的时候报错Unexpected internal error near index 1 \ ^
adminjun
java“\替换”
发现还是有些东西没有刻子脑子里,,过段时间就没什么概念了,所以贴出来...以免再忘...
在拆分字符串时遇到通过 \ 来拆分,可是用所以想通过转义 \\ 来拆分的时候会报异常
public class Main {
/*
- POJ 1035 Spell checker(哈希表)
aijuans
暴力求解--哈希表
/*
题意:输入字典,然后输入单词,判断字典中是否出现过该单词,或者是否进行删除、添加、替换操作,如果是,则输出对应的字典中的单词
要求按照输入时候的排名输出
题解:建立两个哈希表。一个存储字典和输入字典中单词的排名,一个进行最后输出的判重
*/
#include <iostream>
//#define
using namespace std;
const int HASH =
- 通过原型实现javascript Array的去重、最大值和最小值
ayaoxinchao
JavaScriptarrayprototype
用原型函数(prototype)可以定义一些很方便的自定义函数,实现各种自定义功能。本次主要是实现了Array的去重、获取最大值和最小值。
实现代码如下:
<script type="text/javascript">
Array.prototype.unique = function() {
var a = {};
var le
- UIWebView实现https双向认证请求
bewithme
UIWebViewhttpsObjective-C
什么是HTTPS双向认证我已在先前的博文 ASIHTTPRequest实现https双向认证请求
中有讲述,不理解的读者可以先复习一下。本文是用UIWebView来实现对需要客户端证书验证的服务请求,网上有些文章中有涉及到此内容,但都只言片语,没有讲完全,更没有完整的代码,让人困扰不已。但是此知
- NoSQL数据库之Redis数据库管理(Redis高级应用之事务处理、持久化操作、pub_sub、虚拟内存)
bijian1013
redis数据库NoSQL
3.事务处理
Redis对事务的支持目前不比较简单。Redis只能保证一个client发起的事务中的命令可以连续的执行,而中间不会插入其他client的命令。当一个client在一个连接中发出multi命令时,这个连接会进入一个事务上下文,该连接后续的命令不会立即执行,而是先放到一个队列中,当执行exec命令时,redis会顺序的执行队列中
- 各数据库分页sql备忘
bingyingao
oraclesql分页
ORACLE
下面这个效率很低
SELECT * FROM ( SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_FS_RETURN order by id desc) A ) WHERE RN <20;
下面这个效率很高
SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_
- 【Scala七】Scala核心一:函数
bit1129
scala
1. 如果函数体只有一行代码,则可以不用写{},比如
def print(x: Int) = println(x)
一行上的多条语句用分号隔开,则只有第一句属于方法体,例如
def printWithValue(x: Int) : String= println(x); "ABC"
上面的代码报错,因为,printWithValue的方法
- 了解GHC的factorial编译过程
bookjovi
haskell
GHC相对其他主流语言的编译器或解释器还是比较复杂的,一部分原因是haskell本身的设计就不易于实现compiler,如lazy特性,static typed,类型推导等。
关于GHC的内部实现有篇文章说的挺好,这里,文中在RTS一节中详细说了haskell的concurrent实现,里面提到了green thread,如果熟悉Go语言的话就会发现,ghc的concurrent实现和Go有点类
- Java-Collections Framework学习与总结-LinkedHashMap
BrokenDreams
LinkedHashMap
前面总结了java.util.HashMap,了解了其内部由散列表实现,每个桶内是一个单向链表。那有没有双向链表的实现呢?双向链表的实现会具备什么特性呢?来看一下HashMap的一个子类——java.util.LinkedHashMap。
- 读《研磨设计模式》-代码笔记-抽象工厂模式-Abstract Factory
bylijinnan
abstract
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* Abstract Factory Pattern
* 抽象工厂模式的目的是:
* 通过在抽象工厂里面定义一组产品接口,方便地切换“产品簇”
* 这些接口是相关或者相依赖的
- 压暗面部高光
cherishLC
PS
方法一、压暗高光&重新着色
当皮肤很油又使用闪光灯时,很容易在面部形成高光区域。
下面讲一下我今天处理高光区域的心得:
皮肤可以分为纹理和色彩两个属性。其中纹理主要由亮度通道(Lab模式的L通道)决定,色彩则由a、b通道确定。
处理思路为在保持高光区域纹理的情况下,对高光区域着色。具体步骤为:降低高光区域的整体的亮度,再进行着色。
如果想简化步骤,可以只进行着色(参看下面的步骤1
- Java VisualVM监控远程JVM
crabdave
visualvm
Java VisualVM监控远程JVM
JDK1.6开始自带的VisualVM就是不错的监控工具.
这个工具就在JAVA_HOME\bin\目录下的jvisualvm.exe, 双击这个文件就能看到界面
通过JMX连接远程机器, 需要经过下面的配置:
1. 修改远程机器JDK配置文件 (我这里远程机器是linux).
 
- Saiku去掉登录模块
daizj
saiku登录olapBI
1、修改applicationContext-saiku-webapp.xml
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern=&qu
- 浅析 Flex中的Focus
dsjt
htmlFlexFlash
关键字:focus、 setFocus、 IFocusManager、KeyboardEvent
焦点、设置焦点、获得焦点、键盘事件
一、无焦点的困扰——组件监听不到键盘事件
原因:只有获得焦点的组件(确切说是InteractiveObject)才能监听到键盘事件的目标阶段;键盘事件(flash.events.KeyboardEvent)参与冒泡阶段,所以焦点组件的父项(以及它爸
- Yii全局函数使用
dcj3sjt126com
yii
由于YII致力于完美的整合第三方库,它并没有定义任何全局函数。yii中的每一个应用都需要全类别和对象范围。例如,Yii::app()->user;Yii::app()->params['name'];等等。我们可以自行设定全局函数,使得代码看起来更加简洁易用。(原文地址)
我们可以保存在globals.php在protected目录下。然后,在入口脚本index.php的,我们包括在
- 设计模式之单例模式二(解决无序写入的问题)
come_for_dream
单例模式volatile乱序执行双重检验锁
在上篇文章中我们使用了双重检验锁的方式避免懒汉式单例模式下由于多线程造成的实例被多次创建的问题,但是因为由于JVM为了使得处理器内部的运算单元能充分利用,处理器可能会对输入代码进行乱序执行(Out Of Order Execute)优化,处理器会在计算之后将乱序执行的结果进行重组,保证该
- 程序员从初级到高级的蜕变
gcq511120594
框架工作PHPandroidhtml5
软件开发是一个奇怪的行业,市场远远供不应求。这是一个已经存在多年的问题,而且随着时间的流逝,愈演愈烈。
我们严重缺乏能够满足需求的人才。这个行业相当年轻。大多数软件项目是失败的。几乎所有的项目都会超出预算。我们解决问题的最佳指导方针可以归结为——“用一些通用方法去解决问题,当然这些方法常常不管用,于是,唯一能做的就是不断地尝试,逐个看看是否奏效”。
现在我们把淫浸代码时间超过3年的开发人员称为
- Reverse Linked List
hcx2013
list
Reverse a singly linked list.
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
p
- Spring4.1新特性——数据库集成测试
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- C# Ajax上传图片同时生成微缩图(附Demo)
liyonghui160com
1.Ajax无刷新上传图片,详情请阅我的这篇文章。(jquery + c# ashx)
2.C#位图处理 System.Drawing。
3.最新demo支持IE7,IE8,Fir
- Java list三种遍历方法性能比较
pda158
java
从c/c++语言转向java开发,学习java语言list遍历的三种方法,顺便测试各种遍历方法的性能,测试方法为在ArrayList中插入1千万条记录,然后遍历ArrayList,发现了一个奇怪的现象,测试代码例如以下:
package com.hisense.tiger.list;
import java.util.ArrayList;
import java.util.Iterator;
- 300个涵盖IT各方面的免费资源(上)——商业与市场篇
shoothao
seo商业与市场IT资源免费资源
A.网站模板+logo+服务器主机+发票生成
HTML5 UP:响应式的HTML5和CSS3网站模板。
Bootswatch:免费的Bootstrap主题。
Templated:收集了845个免费的CSS和HTML5网站模板。
Wordpress.org|Wordpress.com:可免费创建你的新网站。
Strikingly:关注领域中免费无限的移动优
- localStorage、sessionStorage
uule
localStorage
W3School 例子
HTML5 提供了两种在客户端存储数据的新方法:
localStorage - 没有时间限制的数据存储
sessionStorage - 针对一个 session 的数据存储
之前,这些都是由 cookie 完成的。但是 cookie 不适合大量数据的存储,因为它们由每个对服务器的请求来传递,这使得 cookie 速度很慢而且效率也不