- 铭刻于星(四十二)
随风至
69夜晚,绍敏同学做完功课后,看了眼房外,没听到动静才敢从书包的夹层里拿出那个心形纸团。折痕压得很深,都有些旧了,想来是已经写好很久了。绍敏同学慢慢地、轻轻地捏开折叠处,待到全部拆开后,又反复抚平纸张,然后仔细地一字字默看。只是开头的三个字是第一次看到,让她心漏跳了几拍。“亲爱的绍敏:从四年级的时候,我就喜欢你了,但是我一直不敢说,怕影响你学习。六年级的时候听说有人跟你表白,你接受了,我很难过,但
- 三大师传
beca酱
巴尔扎克的作品被誉为“法国社会的一面镜子”。文学大师维克多·雨果对巴尔扎克的评价是:“在最伟大的人物中间,巴尔扎克是名列前茅者;在最优秀的人物中间,巴尔扎克是佼佼者之一。”一个原本寂寂无名的小人物,从地中海的某个海岛上,只身一人来到巴黎,没有朋友,也没有名望。作为一个一文不名的外乡人,凭着赤手空拳赢得了巴黎,征服了整个法兰西,并且赢得了世界。这个人就是十九世纪法国伟大的军事家、政治家,法兰西第一帝
- Google earth studio 简介
陟彼高冈yu
旅游
GoogleEarthStudio是一个基于Web的动画工具,专为创作使用GoogleEarth数据的动画和视频而设计。它利用了GoogleEarth强大的三维地图和卫星影像数据库,使用户能够轻松地创建逼真的地球动画、航拍视频和动态地图可视化。网址为https://www.google.com/earth/studio/。GoogleEarthStudio是一个基于Web的动画工具,专为创作使用G
- 烟花美,但瞬间即逝的样子像极了爱情。
胡萝卜很甜
我见过烟花在天上绽放时绚烂的模样也目睹过爱情消逝曾经相爱的两人变冷漠的样子其实我特别喜欢烟花绽放的艳丽大年初一凌晨的烟花手机拍的没有眼睛看到的美但是烟花虽美,稍纵即逝,眼睛刚记录下它的美好,就转眼消失不见。天空又恢复一片黑。烟花的样子像极了爱情啊……不论曾经多么山盟海誓,海枯石烂。只要吵架或者分手。就变得那么冷漠,那么陌生。你甚至开始怀疑你有过爱情么?真正的爱情到底是什么样子。来的快去的也快么?对
- 学霸父母学渣娃,这孩子真是亲生的?太扎心了!
东北SK皇家成长中心
现在的社会,每个家庭基本都把孩子的教育放在第一位,哪怕父母平时上班再苦再累也不敢在孩子的教育上有丝毫的马虎,平时对孩子的照顾真的是无微不至,每天早起送孩子上学,晚上回家辅导孩子写作业,有的父母的文化程度非常高,但是每每到了辅导孩子写作业这个时候,父母们内心都有这样一种想法,这个孩子真的是我亲生的吗?真想一巴掌拍死他,我上辈子是做了什么孽生出这么一个智障的孩子,家里每每就要上演全武行,看看这些孩子到
- 2018-12-07
旅一06丁琪琪
旅管一班6组学号链接06丁琪琪16家国鑫26孟令慧30王思宁36温红丽46朱赵筱楠
- “日舍一物”之42——活在当下,并向前看
記二十一
这件衣服已经有十五、六年了(突然发现我可真是能囤东西啊)。这原本是一件我非常喜欢的衣服,无论是样子,还是质地。照片拍的比较渣,但其实,白色棉质衣料中,尚织有银色的丝线,在阳光或灯光下,会闪亮,不晃眼,但很漂亮。或许正是因为太喜欢了,所以一直保留着,尽管很多年都没有再穿过了。因为不合适了。首先是随着年龄的增长,尽管体重总量没有太多变化(哦,其实还是涨了)。但是体型还是和十几年前不一样了,最明显的就是
- 七月你好
茗蕙原创
告别了说变天就变的六月正值七月酷暑之时没有嬉戏的鱼水之乐站在窗边抬头望着蔚蓝天空万里无云万里天七月你好在月末的几天里在家期盼出门时的喜悦别样的天气别样的心情七月你好让大地经受着煎熬让空气中充呲着滚滚热浪去抵御往年严冬带来的湿气七月你好你的到来如逢甘露愿你带来的温暖去除病菌让人们重新看到生活的希望向往南山一角
- 摄影小白,怎么才能拍出高大上产品图片?
是波妞唉
很多人以为文案只要会码字,会排版就OK了!说实话,没接触到这一行的时候,我的想法更简单,以为只要会写字就行!可是真做了文案才发现,码字只是入门级的基本功。一篇文章离不开排版、配图,说起来很简单!从头做到尾你就会发现,写文章用两个小时,找合适的配图居然要花掉半天的时间,甚至更久!图片能找到合适的就不怕,还有找不到的,比如产品图,只能亲自拍。拿着摆弄了半天,就是拍不出想要的效果,光线不好、搭出来丑破天
- 每日头像|爱与时光,终年不遇
一宝先生
小可爱们晚上好呀今天晚上来推送一期情侣头像~喜欢的小可爱可以点赞收藏评论哟~部分素材来自网络,版权归原创者,如有侵权请联系删除今天的头像结束啦喜欢的小可爱可以点下关注哟~如果喜欢本期的内容可以转发分享哦~那我们下期再见咯~拜了个拜~
- 2019-04-10
shuaigefeng
姓名:王林锋企业名称:三亚蔚蓝时代实业有限公司组别:420期努力6组【日精进打卡251天】【知~学习、诵读】《六项精进》2遍,累计256遍《大学》2遍,累计220遍【经典分享】1、想过成功、想过失败、也想过放弃。【行~实践】一、修身:(对自己个人)1.拍打腿部两侧50下,舌顶上颚50下。2.坚持诵读、阅读。3.坚持锻炼、按时睡觉起床。4.控制健康饮食,饭后走动30分钟。5.每天反省自己的思想和行为
- 动画电影《心灵奇旅》教你怎么做人,皮克斯为全人类上了一课
韩漫小说
皮克斯出品,必属精品。不知从什么时候,这句话成了中国影迷和动画迷对皮克斯的认可和肯定。作为八十年代的人,虽然现在已经迈入中年,但是从小就对动画片十分痴迷。从《奥特曼》到《高达》,从《黑猫警长》到《海贼王》。动画伴我成长,给了我很多快乐。接触皮克斯的动画,是《玩具总动员》,看了真的令人感动。这不仅是儿童的欢乐片,也是给八零九零后奉献的精美大作。然而这一次的《心灵奇旅》,更是让我对皮克斯刮目相看。这次
- 狼牙山人-画家张国富原创写意作品剖析第65帧《数枝浓艳对秋光啚》
张国富字腴田
狼牙山人-画家张国富原创写意作品剖析第65帧《数枝浓艳对秋光啚》2016年3月原創寫意作品《數枝農艷對秋光圖》。
- 感兴趣的事情,才会去理会!
幸福小玉米
【齐帆齐微课】一件事情,为什么会有人视而不见?又有人“斤斤计较”?在所有的事物面前,只有你感兴趣的时候,你才会发现它,理会它,知道它的存在。宣纸,毛笔,你知道多少?当你对一件事物,感兴趣时,你会去发现它,去了解它,哪怕只是一点皮毛。就像当我对中国国画感兴趣时,我会去了解那些工具。宣纸宣纸分为生宣,半生半熟宣,熟宣。生宣:吸墨好润墨快。适合于写意国画,行书,草书。不适合写楷书和小楷。半生半熟宣:介于
- 2018年12月23日 星期日 晴
刘一鸣妈妈
早晨舒舒服服睡个懒觉,睁开眼已经快八点了。简单洗漱之后,准备吃早饭。嫂子给煎的牛排,七成熟,孩子吃的津津有味。我只能吃十二分熟的,可以外焦,不要里嫩。早饭后到世纪金源给然然选照片,几番挣扎后忍痛割爱删掉近百张,最后只保留三十张做相册。下午然然继续拍一套影楼赠送的台历照片,商家看到我带着孩子,也赠送了一套作为体验。拍照的过程特别欢乐,孩子很享受穿着帅气的衣服摆出帅帅的动作。然然拍过一套照片后明显找到
- Post teen
达米安曾
提起绵阳这个城市,你会想起什么?可能是那碗味道淡得让人骂娘的绵阳米线,这种把粉扔碗里拿热汤一冲就给你端上来的敷衍食物如今会在某个无聊的夜晚缓慢地折磨你的味蕾。可能是凯德广场的扶梯,去隔壁沃尔玛买几瓶劣质黑啤后慢悠悠地站在扶梯上打量上上下下的人,情侣家人老人年轻人女人男人,他们是一本本或者无聊或者生动的小说。可能是学校的情人坡,其实情人坡没有多少情人,大三的时候学校放弃治疗没再打理这个地方,杂草长得
- 女性在婚姻中不能放弃自我成长
谢家牛牛
我们不得不承认,婚姻有时候是很现实和很功利的。势均力敌才能并肩而行,共同进步才能举案齐眉。“我喜欢你,是因为你身上有一种很美好的东西。”,“我开始讨厌你,也是因为你身上的美好一点点消散。”是啊,喜欢时,爱你爱得无可救药,不喜欢时,就要一拍两散。婚姻中的双方,如果有一方不懂得自我成长,跟不上对方前进的步伐,导致婚姻中的二人步调不一致,那他俩的婚姻状况就会变得令人堪忧。眼见我事业一路高升,你却越来越安
- 【原创小说】总是东风错丨第十三章
郭勒的鱼
郑重声明:文章系原创非首发,首发平台:头条号,ID:郭勒的鱼,文责自负。天刚亮,府外面一片嘈杂,门被拍的山响,这一夜苏府惊魂,人们吓得如同惊弓之鸟,听到这敲门声,连苏福都不敢贸然开门。趴在门缝往外一看,是大太太的哥哥舅姥爷虞南基来了,连忙着人开门,不但是虞南基来了,还领来一队三十多个全副武装的士兵。南竹看着哥哥。嘴扁了扁,蓦然鼻子一酸哭得泣不成声,虞南基很诧异。他这个妹妹他了解,外表的柔婉其实都是
- 一篇丧文/廉价的感情不值得
穆临渊
其实谁不想遇到真爱,爱的绝对,爱的坦白。--------《越来越不懂爱》正如歌词所言,谁不想遇到真爱,爱的绝对,爱的坦白呢!可是现在的人越来越不懂爱,谈一场恋爱好似吃一顿快餐一般,开始若骤风暴雨,然后潦草收场。进入大学也将近一年了,见过把社团每个女生都骚扰一遍的变态,也见过说着天长地久第三天就分手的小情侣,反正算是知道了尘世广袤无奇不有。昨天参加元旦晚会的排演,在休息时与社团的朋友们聊天打趣,听到
- 2018-11-10
菜菜_d868
姓名:邢彩颜公司:蔚蓝时代【日精进打卡第101天】【知-学习】1.读0六项精进【经典名句分享】努力不一定成功,但不努力一定不会成功行:今日休息【省-觉悟】躺一整天没有运动。【感谢】感谢420谦虚2组的成员,感恩父母,感谢我的领导、我的团队。感谢身边的朋友,【发愿】愿我身边的朋友健健康康。愿爱我的人每天都快乐,幸福。愿自己能够每天进步一点点。愿我的家人都健康快乐幸福。今日0善,累计103件.
- 2021-11-06
简藏格物奢侈品服务中心
找代购买奢侈品,一定要做这两件事,才不会被骗上一期我们聊到,找代购为什么会买到仿品。其实大部分代购都是诚信的,为什么还有那么多会买到仿品。那是因为很多挂着代购名衔的,他们就不是代购,只是朋友圈包装成一个忙碌的“搬运工”。大家在购买之前,最好找卖家要几张鉴定点的高清图,大家可以先拿图鉴定。最好让卖家多拍些实物图,并且挂上防调包扣。这样做,一点是为了确定收到的货,与图片是同一个,防调包扣是避免后续纠纷
- 架构师备考的一些思考(三)
kiba518
网络
前言这个考题的大部分内容,我感觉都是我们会的,但所有的考题都穿上了马甲,穿上马甲我们就不好认了,而且如果是一个两个人穿马甲,还好推断,如果1000人穿马甲,你识别的概率就会急速下降。有些题的内容则是即无法识别,也无法背,因为它也没有个前因后果,完全是出题人拍脑袋想的,所以,这种题我们是无法通过知识来判断的,因为用知识来判断,你会发现,四个选项全是正确的,这时我们可以采用逐字读题法,就是一个字一个字
- 18W26-殿下
筱筱殿下
被一个写手关注了。本来这是两个人的空间,像被安了摄像头一样。他也在写周报,挺有意思的,两个都还活着的人,在不同的城市,写着各自的故事。潦草的生活。创意行当就是这样,听着黑胶爵士写着稿,灵感来的时候感觉满天空都在放礼花,拿出去被毙了就想骂娘。充分交流、摆正心态,我佛渡所有人。前晚梦到一个超级有创意的烟花,是自带弧形轨迹的,在天空中兜一大圈,边兜边绽放,在喊你看。昨晚梦到回家路上碰见C罗儿子在踢球,拍
- 罗永浩的《真还传》为什么值得敬佩?
已经是老汪了
其实老罗是我一直以来比较喜欢的一个人。最近罗永浩在脱口秀大会讲的真还传引起了大家的热议,有褒有贬。大概的意思是罗永浩之前各种创业欠下了6个亿,但是他勇敢的扛下了责任,曾经的理想主义者变身为下海的接地气的直播带货主播,经过这段时间的努力,已经偿还了4个亿的债务,剩下的2个亿,预计一年内也可以还清了,到时他就拍一部戏,就叫《真还传》。为什么说他值得敬佩呢?因为欠的这6个亿,其实大部分都是挂在公司名下的
- 【寒假日记】3《打羽毛球》
袁杉杉
今天是大年初五是阳光明媚的一天,我和爸爸在外婆家打羽毛球。我先开始发球,我把球向上抛,拿羽毛球拍用力一拍,球向爸爸那边飞去,爸爸看见了用力一拍,球向我这边飞过来,我没怎么注意,球跟我擦肩而过了,落在了地上,妈妈告诉我们:“一号一分,二号零分,一号暂时领先。”我听了非常不服气,下定决心要赢爸爸。接着又开始了第二局的竞争,爸爸先发球,爸爸把球向上抛,拿羽毛球用力一拍,球向我这边飞来了,我见了用力一拍,
- 人生:三不斗,三不争,五不近
再一步不过是悬崖
人生三不斗:不与君子斗名;不与小人斗利;不与天地斗巧。人生三不争:不与上级争锋;不与同级争宠;不与下级争功。人生三修炼:看得透想的开;拿得起放得下;走的正行的直。人生三福:平安是福;健康是福;吃亏是福。人生三为:“和”为贵;“善”为本;“诚”为先。一定要远离的五个人1、第一个人不孝敬父母,甚至辱骂、打骂父母,此为第一种,畜生不如的人!2、第二个人开口向朋友借钱的时候,恨不得跪下来,拍胸拍脯,表示感
- 飘雪
朱曦侦探事务所
我抖动着黑色大衣,拍落附在上面的白雪,而思维沉浸在《雪の华》的音乐中,沿着大街,走在这寒冷的深夜。偶尔飞驰过的汽车带起了很多风雪,使我大衣乱飘,也吹进我的眼睛,朦胧了前面的路。两边的路灯泛出橙黄色的光,把附近的雪染上了颜色,仅剩几缕可怜的红光落到了我的身上,眼前的一片白色加重了我的步伐。大雪随风卷起,我的眼神凝望着风雪交加的深处,一个比雪色白、雪点子大的影子正向我靠近。我怀疑是自己被雪拍打的眼睛错
- 修车铺
蓝色逍遥398
2021年4月18日阴周日早上和老婆买完菜后收拾妥当,她忽然一拍脑门说:“哎呀,忘了要去修单车,竟然把衣服都换了!”“修单车?车咋了?”我问。“车的挡泥板没啥用,下雨骑车的时候雨水都溅到我后背了!”老婆骑的单车,是姐夫买车送的,还是奔驰牌子。他用不上,便给了我。正好老婆骑去地铁口的那辆单车已经没有修的必要,有了这辆新车,就正好淘汰旧车了。新车很小巧,全身白色。奔驰的标志很是显眼,挡泥板向上翘着,显
- 免税概念股九连板?为啥免税店能成股市最热的当红“炸子鸡”?
慕容随风
根据封面新闻7月10日的报道,随着王府井6月9日的一纸“获得免税牌照”的公告,免税概念股逐渐引爆市场,此后免税概念股乘风破浪,一路飙升,个股受到追捧。6月以来王府井股价涨幅已超3倍;免税概念龙头中国国旅改名中国中免;凯撒旅业连续9天无量涨停······我国对免税业实行“统一经营、统一组织进货、统一制定零售价格、统一制定管理规定”的政策,各类免税业态均以授权牌照、指定专营公司的模式运营。王府井之前,
- 2019.11.12
浅简的
姓名:蔡江燕公司:海南蔚蓝时代实业有限公司组别:365期谦虚3组学员【日精进打卡第591天】【知~学习】《六项精进》大纲0遍共1543遍《大学》0遍共1543遍《六项精进》通篇0遍共472遍《活法.壹》每天必读2页,今日未完成。《5分钟商学院》每天听书10分钟,未完成。【经典名句】有希望,使我们能憧憬未来;有忍耐,使我们能渡过苦难;有自主,使我们能不受摆布。【行~实践】一、修身:(对自己个人)无二
- ASM系列五 利用TreeApi 解析生成Class
lijingyao8206
ASM字节码动态生成ClassNodeTreeAPI
前面CoreApi的介绍部分基本涵盖了ASMCore包下面的主要API及功能,其中还有一部分关于MetaData的解析和生成就不再赘述。这篇开始介绍ASM另一部分主要的Api。TreeApi。这一部分源码是关联的asm-tree-5.0.4的版本。
在介绍前,先要知道一点, Tree工程的接口基本可以完
- 链表树——复合数据结构应用实例
bardo
数据结构树型结构表结构设计链表菜单排序
我们清楚:数据库设计中,表结构设计的好坏,直接影响程序的复杂度。所以,本文就无限级分类(目录)树与链表的复合在表设计中的应用进行探讨。当然,什么是树,什么是链表,这里不作介绍。有兴趣可以去看相关的教材。
需求简介:
经常遇到这样的需求,我们希望能将保存在数据库中的树结构能够按确定的顺序读出来。比如,多级菜单、组织结构、商品分类。更具体的,我们希望某个二级菜单在这一级别中就是第一个。虽然它是最后
- 为啥要用位运算代替取模呢
chenchao051
位运算哈希汇编
在hash中查找key的时候,经常会发现用&取代%,先看两段代码吧,
JDK6中的HashMap中的indexFor方法:
/**
* Returns index for hash code h.
*/
static int indexFor(int h, int length) {
- 最近的情况
麦田的设计者
生活感悟计划软考想
今天是2015年4月27号
整理一下最近的思绪以及要完成的任务
1、最近在驾校科目二练车,每周四天,练三周。其实做什么都要用心,追求合理的途径解决。为
- PHP去掉字符串中最后一个字符的方法
IT独行者
PHP字符串
今天在PHP项目开发中遇到一个需求,去掉字符串中的最后一个字符 原字符串1,2,3,4,5,6, 去掉最后一个字符",",最终结果为1,2,3,4,5,6 代码如下:
$str = "1,2,3,4,5,6,";
$newstr = substr($str,0,strlen($str)-1);
echo $newstr;
- hadoop在linux上单机安装过程
_wy_
linuxhadoop
1、安装JDK
jdk版本最好是1.6以上,可以使用执行命令java -version查看当前JAVA版本号,如果报命令不存在或版本比较低,则需要安装一个高版本的JDK,并在/etc/profile的文件末尾,根据本机JDK实际的安装位置加上以下几行:
export JAVA_HOME=/usr/java/jdk1.7.0_25  
- JAVA进阶----分布式事务的一种简单处理方法
无量
多系统交互分布式事务
每个方法都是原子操作:
提供第三方服务的系统,要同时提供执行方法和对应的回滚方法
A系统调用B,C,D系统完成分布式事务
=========执行开始========
A.aa();
try {
B.bb();
} catch(Exception e) {
A.rollbackAa();
}
try {
C.cc();
} catch(Excep
- 安墨移动广 告:移动DSP厚积薄发 引领未来广 告业发展命脉
矮蛋蛋
hadoop互联网
“谁掌握了强大的DSP技术,谁将引领未来的广 告行业发展命脉。”2014年,移动广 告行业的热点非移动DSP莫属。各个圈子都在纷纷谈论,认为移动DSP是行业突破点,一时间许多移动广 告联盟风起云涌,竞相推出专属移动DSP产品。
到底什么是移动DSP呢?
DSP(Demand-SidePlatform),就是需求方平台,为解决广 告主投放的各种需求,真正实现人群定位的精准广
- myelipse设置
alafqq
IP
在一个项目的完整的生命周期中,其维护费用,往往是其开发费用的数倍。因此项目的可维护性、可复用性是衡量一个项目好坏的关键。而注释则是可维护性中必不可少的一环。
注释模板导入步骤
安装方法:
打开eclipse/myeclipse
选择 window-->Preferences-->JAVA-->Code-->Code
- java数组
百合不是茶
java数组
java数组的 声明 创建 初始化; java支持C语言
数组中的每个数都有唯一的一个下标
一维数组的定义 声明: int[] a = new int[3];声明数组中有三个数int[3]
int[] a 中有三个数,下标从0开始,可以同过for来遍历数组中的数
- javascript读取表单数据
bijian1013
JavaScript
利用javascript读取表单数据,可以利用以下三种方法获取:
1、通过表单ID属性:var a = document.getElementByIdx_x_x("id");
2、通过表单名称属性:var b = document.getElementsByName("name");
3、直接通过表单名字获取:var c = form.content.
- 探索JUnit4扩展:使用Theory
bijian1013
javaJUnitTheory
理论机制(Theory)
一.为什么要引用理论机制(Theory)
当今软件开发中,测试驱动开发(TDD — Test-driven development)越发流行。为什么 TDD 会如此流行呢?因为它确实拥有很多优点,它允许开发人员通过简单的例子来指定和表明他们代码的行为意图。
TDD 的优点:
&nb
- [Spring Data Mongo一]Spring Mongo Template操作MongoDB
bit1129
template
什么是Spring Data Mongo
Spring Data MongoDB项目对访问MongoDB的Java客户端API进行了封装,这种封装类似于Spring封装Hibernate和JDBC而提供的HibernateTemplate和JDBCTemplate,主要能力包括
1. 封装客户端跟MongoDB的链接管理
2. 文档-对象映射,通过注解:@Document(collectio
- 【Kafka八】Zookeeper上关于Kafka的配置信息
bit1129
zookeeper
问题:
1. Kafka的哪些信息记录在Zookeeper中 2. Consumer Group消费的每个Partition的Offset信息存放在什么位置
3. Topic的每个Partition存放在哪个Broker上的信息存放在哪里
4. Producer跟Zookeeper究竟有没有关系?没有关系!!!
//consumers、config、brokers、cont
- java OOM内存异常的四种类型及异常与解决方案
ronin47
java OOM 内存异常
OOM异常的四种类型:
一: StackOverflowError :通常因为递归函数引起(死递归,递归太深)。-Xss 128k 一般够用。
二: out Of memory: PermGen Space:通常是动态类大多,比如web 服务器自动更新部署时引起。-Xmx
- java-实现链表反转-递归和非递归实现
bylijinnan
java
20120422更新:
对链表中部分节点进行反转操作,这些节点相隔k个:
0->1->2->3->4->5->6->7->8->9
k=2
8->1->6->3->4->5->2->7->0->9
注意1 3 5 7 9 位置是不变的。
解法:
将链表拆成两部分:
a.0-&
- Netty源码学习-DelimiterBasedFrameDecoder
bylijinnan
javanetty
看DelimiterBasedFrameDecoder的API,有举例:
接收到的ChannelBuffer如下:
+--------------+
| ABC\nDEF\r\n |
+--------------+
经过DelimiterBasedFrameDecoder(Delimiters.lineDelimiter())之后,得到:
+-----+----
- linux的一些命令 -查看cc攻击-网口ip统计等
hotsunshine
linux
Linux判断CC攻击命令详解
2011年12月23日 ⁄ 安全 ⁄ 暂无评论
查看所有80端口的连接数
netstat -nat|grep -i '80'|wc -l
对连接的IP按连接数量进行排序
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
查看TCP连接状态
n
- Spring获取SessionFactory
ctrain
sessionFactory
String sql = "select sysdate from dual";
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
String[] names = wac.getBeanDefinitionNames();
for(int i=0; i&
- Hive几种导出数据方式
daizj
hive数据导出
Hive几种导出数据方式
1.拷贝文件
如果数据文件恰好是用户需要的格式,那么只需要拷贝文件或文件夹就可以。
hadoop fs –cp source_path target_path
2.导出到本地文件系统
--不能使用insert into local directory来导出数据,会报错
--只能使用
- 编程之美
dcj3sjt126com
编程PHP重构
我个人的 PHP 编程经验中,递归调用常常与静态变量使用。静态变量的含义可以参考 PHP 手册。希望下面的代码,会更有利于对递归以及静态变量的理解
header("Content-type: text/plain");
function static_function () {
static $i = 0;
if ($i++ < 1
- Android保存用户名和密码
dcj3sjt126com
android
转自:http://www.2cto.com/kf/201401/272336.html
我们不管在开发一个项目或者使用别人的项目,都有用户登录功能,为了让用户的体验效果更好,我们通常会做一个功能,叫做保存用户,这样做的目地就是为了让用户下一次再使用该程序不会重新输入用户名和密码,这里我使用3种方式来存储用户名和密码
1、通过普通 的txt文本存储
2、通过properties属性文件进行存
- Oracle 复习笔记之同义词
eksliang
Oracle 同义词Oracle synonym
转载请出自出处:http://eksliang.iteye.com/blog/2098861
1.什么是同义词
同义词是现有模式对象的一个别名。
概念性的东西,什么是模式呢?创建一个用户,就相应的创建了 一个模式。模式是指数据库对象,是对用户所创建的数据对象的总称。模式对象包括表、视图、索引、同义词、序列、过
- Ajax案例
gongmeitao
Ajaxjsp
数据库采用Sql Server2005
项目名称为:Ajax_Demo
1.com.demo.conn包
package com.demo.conn;
import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;
//获取数据库连接的类public class DBConnec
- ASP.NET中Request.RawUrl、Request.Url的区别
hvt
.netWebC#asp.nethovertree
如果访问的地址是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree%3C&n=myslider#zonemenu那么Request.Url.ToString() 的值是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree<&
- SVG 教程 (七)SVG 实例,SVG 参考手册
天梯梦
svg
SVG 实例 在线实例
下面的例子是把SVG代码直接嵌入到HTML代码中。
谷歌Chrome,火狐,Internet Explorer9,和Safari都支持。
注意:下面的例子将不会在Opera运行,即使Opera支持SVG - 它也不支持SVG在HTML代码中直接使用。 SVG 实例
SVG基本形状
一个圆
矩形
不透明矩形
一个矩形不透明2
一个带圆角矩
- 事务管理
luyulong
javaspring编程事务
事物管理
spring事物的好处
为不同的事物API提供了一致的编程模型
支持声明式事务管理
提供比大多数事务API更简单更易于使用的编程式事务管理API
整合spring的各种数据访问抽象
TransactionDefinition
定义了事务策略
int getIsolationLevel()得到当前事务的隔离级别
READ_COMMITTED
- 基础数据结构和算法十一:Red-black binary search tree
sunwinner
AlgorithmRed-black
The insertion algorithm for 2-3 trees just described is not difficult to understand; now, we will see that it is also not difficult to implement. We will consider a simple representation known
- centos同步时间
stunizhengjia
linux集群同步时间
做了集群,时间的同步就显得非常必要了。 以下是查到的如何做时间同步。 在CentOS 5不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。 1)确认已经ntp程序包: # yum install ntp 2)配置时间源(默认就行,不需要修改) # vi /etc/ntp.conf server pool.ntp.o
- ITeye 9月技术图书有奖试读获奖名单公布
ITeye管理员
ITeye
ITeye携手博文视点举办的9月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。 9月试读活动回顾:http://webmaster.iteye.com/blog/2118112本次技术图书试读活动的优秀奖获奖名单及相应作品如下(优秀文章有很多,但名额有限,没获奖并不代表不优秀):
《NFC:Arduino、Andro