- 30天风格练习-DAY2
黄希夷
Day2(重义)在一个周日/一周的最后一天,我来到位于市中心/市区繁华地带的一家购物中心/商场,中心内人很多/熙熙攘攘。我注意到/看见一个独行/孤身一人的年轻女孩/,留着一头引人注目/长过腰际的头发,上身穿一件暗红色/比正红色更深的衣服/穿在身体上的东西。走下扶梯的时候,她摔倒了/跌向地面,在她正要站起来/让身体离开地面的时候,过长/超过一般人长度的头发被支撑身体/躯干的手掌压/按在下面,她赶紧用
- 今日囧事
唯愿岁月可回首
今天晚上,房东打来电话说晚上过来取个东西。晚上到家后,洗了一下水果,把卧室的空调打开,在卧室的阳台叠衣服。不一会儿,听见了敲门声,老公和丫头出去开门,果然是房东来了。由于我在叠衣服,床上比较乱,老公随手就把卧室门带上了。我赶紧把衣服收在柜子里,一拧门,好吧,打不开。听见外面热热闹闹的,我喊老公帮我开门,开了几次都开不开。丫头说:妈妈,你先在里面休息一会,我们正在找钥匙。听见外面房东拿了自己东西,老
- 没有一件绝对好看的衣服
段童
没有一件绝对好看的衣服只有好看的人没有绝对好看的人只有你可能会爱上的他没有你绝对会爱上的他只有你从来就缺少的那一部分的自己爱是本能的脆弱是欲望的茧——《没有一件绝对好看的衣服》
- 简介Shell、zsh、bash
zhaosuningsn
Shellzshbashshelllinuxbash
Shell是Linux和Unix的外壳,类似衣服,负责外界与Linux和Unix内核的交互联系。例如接收终端用户及各种应用程序的命令,把接收的命令翻译成内核能理解的语言,传递给内核,并把内核处理接收的命令的结果返回给外界,即Shell是外界和内核沟通的桥梁或大门。Linux和Unix提供了多种Shell,其中有种bash,当然还有其他好多种。Mac电脑中不但有bash,还有一个zsh,预装的,据说
- 上班的路
毛毛虫小姑娘
七点半起床,拉开窗帘,天公不作美今儿是个阴雨天,天灰蒙蒙的,毛毛雨细细密密洒落下来。脑海里的两个小人开始斗争了,一个说:“毛毛雨啦,穿着风衣打着伞穿行在雨中,是一道亮丽的风景,说不定能遇见帅哥呢!”一个说:“不要不要,走到公司衣服鞋子都潮呼呼的,趴在身上很不舒服,外面湿气这么重,对身体不好!”我思索片刻,慢吞吞为自己冲了杯五谷粉,悠哉悠哉喝完去坐班车了。
- 928、在新冠的日子里(2)隔离
天使小鱼儿
昨天YD全部人员核酸检测阴性。但是也都不能回家,要隔离14天,按规定执行。小红也是其中之一,今天是第三天,第二夜,门把手的源头还没有通报,在排查中。隔离措施是对的。是人?是物?是相似病毒?希望是虚惊一场。昨天,单位排长队,做核酸检测。我们都统一做了检测。现在出去做事,核酸检测是必须的。我今天也要外出做事,所以核酸检测也要提供。给小红准备了简单的替换衣服。我们也按规定执行。问闺蜜你们也都不回家吗?回
- “日舍一物”之42——活在当下,并向前看
記二十一
这件衣服已经有十五、六年了(突然发现我可真是能囤东西啊)。这原本是一件我非常喜欢的衣服,无论是样子,还是质地。照片拍的比较渣,但其实,白色棉质衣料中,尚织有银色的丝线,在阳光或灯光下,会闪亮,不晃眼,但很漂亮。或许正是因为太喜欢了,所以一直保留着,尽管很多年都没有再穿过了。因为不合适了。首先是随着年龄的增长,尽管体重总量没有太多变化(哦,其实还是涨了)。但是体型还是和十几年前不一样了,最明显的就是
- 年的味道~
心理疗愈师英子
小时候,最期盼过年,一想到过年有压岁钱拿、有新衣服穿、不用上学还有好东西吃,就兴奋不已。可是不知道从什么时候开始,很多人那种儿时满怀期待过年的感觉没有了,对年的期盼也越来越少。现在物质极大丰富,以前过年才有的丰盛年夜饭,现在几乎已成家常便饭,对过年有好东西吃的期盼没了。现在网络购物发达,服装店也遍布大街小巷,随时都可以添置新衣服,而不必非要等到过年,儿时那种大年初一从头新到脚的仪式感没有了。放鞭炮
- 【学生作品】写给未来孩子的一封信(徐奥)
简思莼
1、人皆养子望聪明,无灾无难到公卿——写给未来孩子的一封信文/徐奥亲爱的孩子:你好啊!我是你过去的母亲,和你一样,现在的我也是一个孩子,这是我给你写的第一封信。未来的你如果是个天真可爱的小公主,我便化身为王子。宠爱你,但不是溺爱;呵护你,但不是纵容。我会坐在书桌前,陪你一起读书写字,一起学习,一起散步。我会在街上给你挑选衣服,把你打扮成漂亮的洋娃娃。我不会压制你的天赋,我会让你选择自己的兴趣爱好。
- 黄丽红日精进98/105
做自己小太阳
感恩感恩今日份的拍照ing感恩今日份电视重新可以看感恩妹妹帮忙晾衣服感恩在路上的自己感恩我的朋友们和家人见1.今日份看了胡歌的一个节目,2010年的,10年之前,他的真实和有爱感动了我,不愧是我喜欢的胡歌2.今日份每日一练终于自己开始了调整后计划,流行病也开始复习,一切在路上3.妆容精致心情没好,在家注意收拾自己,画个淡妆最起码要精神面貌佳,回村后的我已经很像大妈了!!!感1.自己也是一个温暖的人
- 努力不需要仪式感
宇韩叔叔
在一次踏青活动中,我认识了彩虹,一个皮肤很白的小美女。她对自己的外形不太满意,一米六的身高,体重接近130斤。听说我是一个跑步爱好者,她马上加微信,希望每天能跟我一起晨跑,锻炼出一个好身材。我满口答应,承诺每天电话催她起床,到约定地点一起跑。第一天见面,彩虹让我眼前一亮:崭新的运动服、高束的马尾辫、箍在大臂上的手机袋,浑身上下都透着一股踌躇满志的精气神。我开始跟她讲路线和跑步要领,她却摆摆手示意我
- 3月28日
e3e0025147a7
亲子日记第九篇星期三晴早上孩子们走后我就开始打扫卫生,把地扫完拖完,把他们换下来的脏衣服洗完,今天我们这里逢大集又去买了一些孩子们爱吃的蔬菜,女儿想吃牛扎糖又去超市买了需要用的材料一天就这样忙忙叨叨的过完了,晚上回来开始做牛扎糖,由于材料买少了牛扎糖最后以失败告终。都九点了儿子就在一边催我妈妈你怎么还不写日记呢?哎呀你看我这脑子差点又忘了多亏了儿子的提醒!明天一定不会再让你在提醒我了!
- 2018年12月23日 星期日 晴
刘一鸣妈妈
早晨舒舒服服睡个懒觉,睁开眼已经快八点了。简单洗漱之后,准备吃早饭。嫂子给煎的牛排,七成熟,孩子吃的津津有味。我只能吃十二分熟的,可以外焦,不要里嫩。早饭后到世纪金源给然然选照片,几番挣扎后忍痛割爱删掉近百张,最后只保留三十张做相册。下午然然继续拍一套影楼赠送的台历照片,商家看到我带着孩子,也赠送了一套作为体验。拍照的过程特别欢乐,孩子很享受穿着帅气的衣服摆出帅帅的动作。然然拍过一套照片后明显找到
- 《教育信息化2.0素养提升》思考与总结———2019兴成长4⃣️班
宁都5940李娟
迎来了美好的假期生活。你可以放松。但是不可以向自己的惰性妥协。你决定不了太阳几点升起,但你可以决定你何时起床。暑假前一个星期很喜欢这样的生活。上午逛逛超市,中午陪爸妈吃饭。下午午觉或者看看书。洗洗衣服干干活。晚上七点钟开始去上课。晚上回来看看电视。熬夜、这样的生活。没有压力。没有目的。没有成果。看似乎一切都可以。这样的生活最多只能过一个星期。暑假的第一个星期学校就开始安排个为教师的素养提升以及自身
- (已完结小说)--《我的美女上司》王鹏--(全文免费阅读)
小说推书
(已完结小说)--《我的美女上司》王鹏--(全文免费阅读)主角:王鹏简介:王鹏,第一天上班,发现他竟然成为了自己公司董事长的男人!!关注微信公众号【小北文楼】去回个书号【47】,即可阅读【我的美女上司】小说全文!“九亿元,确实有资本炫耀……”白蒹葭张开杏目,笑脸盈盈的看向王鹏,岂料,王鹏却开口纠正她说:“不是九亿元,是二十七亿元。”王鹏此言一出,全场再度哗然,二十七亿元的销售额,这是多么大一笔业绩
- (已完结小说)--《完美盛宴/无缺盛宴》刘洋姜海燕--(全文免费阅读)
九月文楼
(已完结小说)--《完美盛宴/无缺盛宴》刘洋姜海燕--(全文免费阅读)主角:刘洋姜海燕简介:女朋友背叛,倒霉男人刘洋又得罪了美女上司,看他如何拯救自己的事业,创造一段传奇……关注微信公众号【寒风书楼】去回个书号【263】,即可阅读【完美盛宴】小说全文!第6章:就这样走了?刘洋心里微微一动,也起身说道:“姐,咱们要是在一起时间长了,你就会发现我不是有两下子,而是还有好几下子呢……”“咯咯,说你胖你还
- 最新小说《美女老婆种回家》吴敏霍小燕&全文阅读无删减
小说推书
最新小说《美女老婆种回家》吴敏霍小燕&全文阅读无删减主角:吴敏霍小燕简介:在我的老家农村倒是经常听到老人们说起这种事情,或是某人没生育能力,然后找个族亲的同辈来传宗接代。可以关注微信公众号【小北文楼】去回个书号【53】,即可免费阅读【美女老婆种回家】小说全文!晚上,我熬了半个通宵,做出了一个自我感觉很是完美的企划案,第二天我兴冲冲的来到公司打算交给经理请功,没想到刚到经理办公室门口,就听到了秘书小
- 【华为OD技术面】 - 考到的Lettcode手撕算法代码真题目录
算法大师
华为od算法
华为OD面试真题精选专栏:华为OD面试真题精选目录:2024华为OD面试手撕代码真题目录以及八股文真题目录文章目录华为OD面试真题精选目录目录题目备注1052.爱生气的书店老板2024-4LCR058.我的日程安排表I技术二面
- 酒瓶变花瓶!
敏敏_7b1d
今天早上我和梁大美女正在食堂吃饭的时候,杨柳同志凑到我俩跟前对梁大美女说吃完饭到餐饮楼下拿酒瓶子,弄得我一头雾水?拿酒瓶子干啥呢?梁大美女说:那天她在办公室里说家里的花瓶都是敞口的,要插一大束花才能撑起门面,想买个小口葫芦肚的花瓶,插一枝花多有情趣?看来这是没事找事儿的节奏啊?杨柳同志赶紧说家里有小口葫芦肚造型的酒瓶子可以用来插花,如果看不上再买花瓶也不迟,这不周五说的,今天周一早上就到位了!真是
- 小儿咳嗽治疗
毋梦
家有小女,4岁,前段时间穿了一不透气的衣服跳床,出来后吹了阵风,当晚就嗓子哑了,第二天带她去古镇玩,嗓子哑加重,于是买了一杯暖和和的冰糖雪梨粥,想润润嗓子,没有大的效果。观察她的舌苔,有些白,稍有点腻,再加上没有大便,前一天吃得有点多,想起家里还有午时茶颗粒,给吃了些。无效,且开始发烧,38度以上,睡着时喉咙不干净,有呼哧呼哧的声音,而且开始咳嗽,有点像小儿喉炎的症状,因为之前得过,知道这个疾病的
- 《刘润商业洞察力》:结构性张力
飘皓宇
结构性张力是发现理想与现实的差距后忍不住缩小期望与现实之间差距的力量,它是增强回路系统里的“元动力”。这个原动力通常要靠我们自己的努力和奋斗来填平,也就是自驱动。自驱动除了使命以外,还可以靠外力吗?按照弗鲁姆的“期望理论”是可以建立员工个体的自驱力的。如果你用找“结构性张力”的视角找“元动力”,世界就不一样了。比如,美丽,是女孩子买漂亮衣服的元动力吗?准确地说,不是。和美丽之间的“差距”,才是。成
- 2019.12.29
3edc4fc38269
今天周日终于可以懒床了,八点了,小淏淏自己穿衣服起来了,还给我说你再睡会吧,我睡不着了,我自己起来玩。可捞着周末了,玩具现在全部进柜子里了,自己不知道玩什么了。时间长了电视都不知道看了。让他默写拼音,到现在韵母竟然还能掉两三个,这马上要期末考试了,还丢三落四的,我对他的期末考试没有信心了。就睡觉比较听话,趟床上一会就睡着了,上学时候还不懒床,一叫就起来,这个习惯挺好。今天从舞蹈课回来,看我打针还问
- 杏子
玩玉玩心情
文心儿时的杏树长在屋后一颗苦核杏一颗甜核杏一颗苦核杏记忆深处的杏子是那颗甜核杏奶奶说这是她种的杏树很久了麦黄六月瓜也被车子从县城拉到了农村杀开一个瓜一家人都可以尝到对于瓜没有太多记忆依稀记得拿锯条打磨的小刃刀杀瓜利器同样也在唇上留下了印记那颗甜核杏枝丫超过了屋檐小小的我们站在院中央等待着半红半黄的掉落奶奶用推耙摇晃着树枝我们几个在院子里撑开衣服捡拾一个又一个的塞进小小的口袋一捡就是一天一捡就是一个
- 给史多多的第521封信 多多今天吃葡萄了
七千22
你好,这里是七千每日文字输出的第603天。你好,史多多今天早上多多都快把爸爸挤下床了,哈哈多多应该是热,就往爸爸方向滚,爸爸怕压着多多就尽力往外挪,然后就导致爸爸坚决要求今晚横着睡,他说他一晚上都是一半身子在床上,一半是空的,哈哈。早上奶奶给多多换上了球衣,说实话妈妈都怕多多凉着,因为今天最高温度28度,那个衣服太清凉了。哈哈小家伙每天早上都要吃饱了趴下来,然后撕海报。刚洗过澡的原因,没觉得上早上
- 2021-10-09
鸿心
2021-10-09每日复盘昨天晚上感觉睡的不大好,就是没有很入睡的那种感觉,而且感觉醒了好几次。早上闹钟响了,还是起来了,因为要上班。杰哥还在睡。起来,先煮个白粥,蒸鸡蛋,洗漱,护肤,换个衣服,吃早餐。吃完后,跟杰哥说下要上班了,就骑着电动车上班了。中午下班后,到家,杰哥已经煮好饭了,今天是白米饭+玉米胡萝卜排骨汤+豆子炒五花肉,太好吃了。感觉每天都吃的很饱,最近都胖了,吃完后,站了一会消化下,
- 优衣库联名遭疯抢,读书不是为了让你盲目跟风
染木木
今天打开朋友圈,又被优衣库刷屏了,上次优衣库出名还是好几年前的事情。这次刷屏是因为什么?点开视频一看,简直是如同丧尸电影里面演的一样,人们为了活命躲避丧尸一路狂奔。视频里,狂奔的小哥手机掉落都毫不在意,店门没开,人们都纷纷从卷帘门下面钻过去,进入店内一顿疯抢。图片来自网络图片来自网络不论尺码和大小,直接抢走,就连模特身上的也粗暴扒下。更有甚者,还因为抢夺衣服打了起来,几个人都拉不开。什么衣服这么火
- 之前,现在
源梦缘
年少的时候,总喜欢穿暗色的衣服,因为害怕被人嘲笑说幼稚。可到了这奔三了年纪,看到粉色的亮黄色的衣服,总忍不住多看几眼,买上一两件,因为害怕自己看起来确实不小了。年少的时候,总喜欢听怀旧的老歌,感觉很有时代韵味。可到了这奔三的年纪,总想去试试最新的歌曲,因为害怕自己听不懂这快速改变的世界在说些什么。之前呀,总想着要流浪,要离开家乡,感觉远方好酷,满满的都是憧憬。现在呢,家才是远方…之前呀,梦想好单纯
- 学生党网上兼职什么好?推荐几个适合学生的网上兼职
氧惠全网优惠
说到学生时代的兼职,不仅可以赚点零花钱,还可以增加社会经验,绝对是一举两得。这里我总结了4个学生党可以做的兼职,给大家参考。1、优惠券平台推广优惠券APP是什么?在淘宝、京东、拼夕夕等平台买东西有一些隐藏的优惠券,比如原来衣服卖两百元,用了优惠券,只要150元,不仅买的便宜,而且优惠券APP还会给买家返利,所以说是相当划算的。当然,如果你把这个有优惠券的商品推荐给别人买,你也就可以赚佣金啦!那用哪
- 2018年12月24日 梦-难上的厕所 计划建造新厕所
我的疯人院后花园
今天的梦有些特别。以前梦到上厕所,都是脏的没法下脚,或者是会把大便弄在自己衣服或者裤子上。今天的梦到在某国际大学上课,去厕所要排队,并且要进过一座很难过去的石桥。我跟同学(发小小玲)一起爬桥,看到前面的小玲爬得异常吃力,我就在她后面推她,在共同努力下,她终于爬上了石桥,然后轮到我吃力地爬那最难爬非常陡峭并且很滑的台阶,小玲在桥上伸出手来拉我,最后也终于爬了上去。但是没有梦到厕所里面的样子。有位外国
- 2019-9-1亲子日记345《开学第一天》
冰园哲月
今天是暑假过后开学的日子,早上儿子一如往常要求穿班服系红领巾,看来为了开学准备的几套新衣服也排不上什么大用场了。今天开学第一天,根据教体局的安排,全市中小学进行返校检测,放松了整个暑假,也不知道小家伙能考个什么样子,顺其自然吧!晚上回家儿子把语文试卷带回来了,老师没有批,儿子说,老师让照着阅读书把答案找到填上,我拿起卷子一看,考的全是阅读题,有些题儿子没有答上,应该是不会。有好几个题目考了《西游记
- java Illegal overloaded getter method with ambiguous type for propert的解决
zwllxs
javajdk
好久不来iteye,今天又来看看,哈哈,今天碰到在编码时,反射中会抛出
Illegal overloaded getter method with ambiguous type for propert这么个东东,从字面意思看,是反射在获取getter时迷惑了,然后回想起java在boolean值在生成getter时,分别有is和getter,也许我们的反射对象中就有is开头的方法迷惑了jdk,
- IT人应当知道的10个行业小内幕
beijingjava
工作互联网
10. 虽然IT业的薪酬比其他很多行业要好,但有公司因此视你为其“佣人”。
尽管IT人士的薪水没有互联网泡沫之前要好,但和其他行业人士比较,IT人的薪资还算好点。在接下的几十年中,科技在商业和社会发展中所占分量会一直增加,所以我们完全有理由相信,IT专业人才的需求量也不会减少。
然而,正因为IT人士的薪水普遍较高,所以有些公司认为给了你这么多钱,就把你看成是公司的“佣人”,拥有你的支配
- java 实现自定义链表
CrazyMizzz
java数据结构
1.链表结构
链表是链式的结构
2.链表的组成
链表是由头节点,中间节点和尾节点组成
节点是由两个部分组成:
1.数据域
2.引用域
3.链表的实现
&nbs
- web项目发布到服务器后图片过一会儿消失
麦田的设计者
struts2上传图片永久保存
作为一名学习了android和j2ee的程序员,我们必须要意识到,客服端和服务器端的交互是很有必要的,比如你用eclipse写了一个web工程,并且发布到了服务器(tomcat)上,这时你在webapps目录下看到了你发布的web工程,你可以打开电脑的浏览器输入http://localhost:8080/工程/路径访问里面的资源。但是,有时你会突然的发现之前用struts2上传的图片
- CodeIgniter框架Cart类 name 不能设置中文的解决方法
IT独行者
CodeIgniterCart框架
今天试用了一下CodeIgniter的Cart类时遇到了个小问题,发现当name的值为中文时,就写入不了session。在这里特别提醒一下。 在CI手册里也有说明,如下:
$data = array(
'id' => 'sku_123ABC',
'qty' => 1,
'
- linux回收站
_wy_
linux回收站
今天一不小心在ubuntu下把一个文件移动到了回收站,我并不想删,手误了。我急忙到Nautilus下的回收站中准备恢复它,但是里面居然什么都没有。 后来我发现这是由于我删文件的地方不在HOME所在的分区,而是在另一个独立的Linux分区下,这是我专门用于开发的分区。而我删除的东东在分区根目录下的.Trash-1000/file目录下,相关的删除信息(删除时间和文件所在
- jquery回到页面顶端
知了ing
htmljquerycss
html代码:
<h1 id="anchor">页面标题</h1>
<div id="container">页面内容</div>
<p><a href="#anchor" class="topLink">回到顶端</a><
- B树、B-树、B+树、B*树
矮蛋蛋
B树
原文地址:
http://www.cnblogs.com/oldhorse/archive/2009/11/16/1604009.html
B树
即二叉搜索树:
1.所有非叶子结点至多拥有两个儿子(Left和Right);
&nb
- 数据库连接池
alafqq
数据库连接池
http://www.cnblogs.com/xdp-gacl/p/4002804.html
@Anthor:孤傲苍狼
数据库连接池
用MySQLv5版本的数据库驱动没有问题,使用MySQLv6和Oracle的数据库驱动时候报如下错误:
java.lang.ClassCastException: $Proxy0 cannot be cast to java.sql.Connec
- java泛型
百合不是茶
java泛型
泛型
在Java SE 1.5之前,没有泛型的情况的下,通过对类型Object的引用来实现参数的“任意化”,任意化的缺点就是要实行强制转换,这种强制转换可能会带来不安全的隐患
泛型的特点:消除强制转换 确保类型安全 向后兼容
简单泛型的定义:
泛型:就是在类中将其模糊化,在创建对象的时候再具体定义
class fan
- javascript闭包[两个小测试例子]
bijian1013
JavaScriptJavaScript
一.程序一
<script>
var name = "The Window";
var Object_a = {
name : "My Object",
getNameFunc : function(){
var that = this;
return function(){
- 探索JUnit4扩展:假设机制(Assumption)
bijian1013
javaAssumptionJUnit单元测试
一.假设机制(Assumption)概述 理想情况下,写测试用例的开发人员可以明确的知道所有导致他们所写的测试用例不通过的地方,但是有的时候,这些导致测试用例不通过的地方并不是很容易的被发现,可能隐藏得很深,从而导致开发人员在写测试用例时很难预测到这些因素,而且往往这些因素并不是开发人员当初设计测试用例时真正目的,
- 【Gson四】范型POJO的反序列化
bit1129
POJO
在下面这个例子中,POJO(Data类)是一个范型类,在Tests中,指定范型类为PieceData,POJO初始化完成后,通过
String str = new Gson().toJson(data);
得到范型化的POJO序列化得到的JSON串,然后将这个JSON串反序列化为POJO
import com.google.gson.Gson;
import java.
- 【Spark八十五】Spark Streaming分析结果落地到MySQL
bit1129
Stream
几点总结:
1. DStream.foreachRDD是一个Output Operation,类似于RDD的action,会触发Job的提交。DStream.foreachRDD是数据落地很常用的方法
2. 获取MySQL Connection的操作应该放在foreachRDD的参数(是一个RDD[T]=>Unit的函数类型),这样,当foreachRDD方法在每个Worker上执行时,
- NGINX + LUA实现复杂的控制
ronin47
nginx lua
安装lua_nginx_module 模块
lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenResty
Centos和debian的安装就简单了。。
这里说下freebsd的安装:
fetch http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxvf lua-5.1.4.tar.gz
cd lua-5.1.4
ma
- java-递归判断数组是否升序
bylijinnan
java
public class IsAccendListRecursive {
/*递归判断数组是否升序
* if a Integer array is ascending,return true
* use recursion
*/
public static void main(String[] args){
IsAccendListRecursiv
- Netty源码学习-DefaultChannelPipeline2
bylijinnan
javanetty
Netty3的API
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/channel/ChannelPipeline.html
里面提到ChannelPipeline的一个“pitfall”:
如果ChannelPipeline只有一个handler(假设为handlerA)且希望用另一handler(假设为handlerB)
来
- Java工具之JPS
chinrui
java
JPS使用
熟悉Linux的朋友们都知道,Linux下有一个常用的命令叫做ps(Process Status),是用来查看Linux环境下进程信息的。同样的,在Java Virtual Machine里面也提供了类似的工具供广大Java开发人员使用,它就是jps(Java Process Status),它可以用来
- window.print分页打印
ctrain
window
function init() {
var tt = document.getElementById("tt");
var childNodes = tt.childNodes[0].childNodes;
var level = 0;
for (var i = 0; i < childNodes.length; i++) {
- 安装hadoop时 执行jps命令Error occurred during initialization of VM
daizj
jdkhadoopjps
在安装hadoop时,执行JPS出现下面错误
[slave16]
[email protected]:/tmp/hsperfdata_hdfs# jps
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working
- PHP开发大型项目的一点经验
dcj3sjt126com
PHP重构
一、变量 最好是把所有的变量存储在一个数组中,这样在程序的开发中可以带来很多的方便,特别是当程序很大的时候。变量的命名就当适合自己的习惯,不管是用拼音还是英语,至少应当有一定的意义,以便适合记忆。变量的命名尽量规范化,不要与PHP中的关键字相冲突。 二、函数 PHP自带了很多函数,这给我们程序的编写带来了很多的方便。当然,在大型程序中我们往往自己要定义许多个函数,几十
- android笔记之--向网络发送GET/POST请求参数
dcj3sjt126com
android
使用GET方法发送请求
private static boolean sendGETRequest (String path,
Map<String, String> params) throws Exception{
//发送地http://192.168.100.91:8080/videoServi
- linux复习笔记 之bash shell (3) 通配符
eksliang
linux 通配符linux通配符
转载请出自出处:
http://eksliang.iteye.com/blog/2104387
在bash的操作环境中有一个非常有用的功能,那就是通配符。
下面列出一些常用的通配符,如下表所示 符号 意义 * 万用字符,代表0个到无穷个任意字符 ? 万用字符,代表一定有一个任意字符 [] 代表一定有一个在中括号内的字符。例如:[abcd]代表一定有一个字符,可能是a、b、c
- Android关于短信加密
gqdy365
android
关于Android短信加密功能,我初步了解的如下(只在Android应用层试验):
1、因为Android有短信收发接口,可以调用接口完成短信收发;
发送过程:APP(基于短信应用修改)接受用户输入号码、内容——>APP对短信内容加密——>调用短信发送方法Sm
- asp.net在网站根目录下创建文件夹
hvt
.netC#hovertreeasp.netWeb Forms
假设要在asp.net网站的根目录下建立文件夹hovertree,C#代码如下:
string m_keleyiFolderName = Server.MapPath("/hovertree");
if (Directory.Exists(m_keleyiFolderName))
{
//文件夹已经存在
return;
}
else
{
try
{
D
- 一个合格的程序员应该读过哪些书
justjavac
程序员书籍
编者按:2008年8月4日,StackOverflow 网友 Bert F 发帖提问:哪本最具影响力的书,是每个程序员都应该读的?
“如果能时光倒流,回到过去,作为一个开发人员,你可以告诉自己在职业生涯初期应该读一本, 你会选择哪本书呢?我希望这个书单列表内容丰富,可以涵盖很多东西。”
很多程序员响应,他们在推荐时也写下自己的评语。 以前就有国内网友介绍这个程序员书单,不过都是推荐数
- 单实例实践
跑龙套_az
单例
1、内部类
public class Singleton {
private static class SingletonHolder {
public static Singleton singleton = new Singleton();
}
public Singleton getRes
- PO VO BEAN 理解
q137681467
VODTOpo
PO:
全称是 persistant object持久对象 最形象的理解就是一个PO就是数据库中的一条记录。 好处是可以把一条记录作为一个对象处理,可以方便的转为其它对象。
BO:
全称是 business object:业务对象 主要作用是把业务逻辑封装为一个对象。这个对
- 战胜惰性,暗自努力
金笛子
努力
偶然看到一句很贴近生活的话:“别人都在你看不到的地方暗自努力,在你看得到的地方,他们也和你一样显得吊儿郎当,和你一样会抱怨,而只有你自己相信这些都是真的,最后也只有你一人继续不思进取。”很多句子总在不经意中就会戳中一部分人的软肋,我想我们每个人的周围总是有那么些表现得“吊儿郎当”的存在,是否你就真的相信他们如此不思进取,而开始放松了对自己的要求随波逐流呢?
我有个朋友是搞技术的,平时嘻嘻哈哈,以
- NDK/JNI二维数组多维数组传递
wenzongliang
二维数组jniNDK
多维数组和对象数组一样处理,例如二维数组里的每个元素还是一个数组 用jArray表示,直到数组变为一维的,且里面元素为基本类型,去获得一维数组指针。给大家提供个例子。已经测试通过。
Java_cn_wzl_FiveChessView_checkWin( JNIEnv* env,jobject thiz,jobjectArray qizidata)
{
jint i,j;
int s