- 2018-03-23
笑傲江湖201710
图片发自App图片发自App高盛和国家开发银行的关系竟让这么密切,图片发自App中国驻南斯拉夫大使馆被轰炸的时候我正在郑州读大学,早上醒来还真有不少同学上大街示威游行,感觉爱国之心这么热切,中美马上就该打起来了吧.然后就没有然后了……一切照旧,只是书面上和口头上谴责了一下美国而已,后面还有精彩的内容么?明天再来,且听下回分解。
- 2018-03-23
雨灵矜
2018年3月23日9人来到汉川榔头蒸菜小聚,应该是处里现有人数的二分之一吧,不知意义何在,但于我而言,好像和同事又进一步认识与亲近,有暖心话语、有深刻警示、也有无关争斗的爱好之谈,对,这只是我的个人感悟,只是于我个人而言。过去一直在别人眼中的自己与自己心中的自己之间做取舍,当然,我肯定是偏向于做自己心目中的那个人,坚持让我看到了希望,看到了改变,看到了别人眼中不一样的自己。欣赏这个词之前一直离我
- 2018-03-23
syl飘雪
3月23号星期五天气晴亲子日记第二十天早上大宝去上学了,我跟小宝吃了饭跟宝姑姑去商场,商场今天搞活动水果蔬菜限买两种没种限购3斤,我们就买了些,逛完了去了宝姑姑家玩到中午,回家后小宝就午睡了。下午接了大宝宝爸把我们送回了老家,这个周末在老家度过。
- 2018-03-23
GLLost
图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App营业厅内宣传物料到位,营业员知晓翼支付活动,周边商户缺缺少桌贴,客观原因没有贴海报,其中天时达车业和大脸鸡排今天没开门没有核实,
- 【049】2018-03-23
不知道取什么shuai气的名字
1、大部分人买东西有个心理,同样价格的东西,体积大的要比小的更受欢迎。拿榴莲来说,80多块钱买两块大果肉,很多人会觉得贵,而160多块钱买个带壳的榴莲,去去皮后可能还不如只买果肉划算,可还是觉得后者更便宜。2、售楼处定房砸金蛋送礼品,同样是300块钱的礼品,无论客户家里是否需要,宁肯要体积大的空调扇也不要实用性更强的电热锅。同样拿随手礼来说,玻璃水就要比自拍杆更受欢迎。3、最近的推荐会,是否考虑一
- 2018-03-23
沈姐说说
最好的关系是和你相处不累,和相处不累的人在一起,高兴了就笑,难过了就哭,不开心了就发脾气,不需要遮遮掩掩,更不需要畏首畏尾。因为他知道你的性格,了解你的为人,会分享你的喜悦,分担你的悲伤,理解你的脾气。不必勉强,不必假装,不必逞强,放下了「面子」,才是最美好的相处。
- 2018-03-23
nikown
java学习随笔3hashCode函数Object类的方法中有一个本地方法叫hashCode(),简单来说hashCode就是把一个对象转化成一串数字。Stringstr="11";System.out.println(str.hashCode());上面的一段代码可以输出字符串str的hashcode。TA的特性是:不同的对象hashcode可能相同,但是hashcode不同的对象一定不相同。简
- 2018-03-23 太忙了没时间?送你5个易上手的高效率时间利用法则
叶小静Stamy
*为什么需要记录?1.记录时间是合理计划的前提Recordingmakesareasonableplan.由于不清楚自己做某件事事情具体需要多少时间,以及什么时候适合做这件事,很多人的计划都无法得到执行。比如我学生年代经常做的假期计划:7:00起床7:00~8:00语文作业8:00~9:00数学作业9:00~10:00英语作业10:00~11:00物理作业11:00~12:00化学作业12:00午
- 2018-03-23
Swanna
『北齐兰陵王长恭,才武而面美,常着假面以对敌。尝击周师金墉城下,勇冠三军,齐人壮之,为此舞以效其指挥击刺之容,谓之《兰陵王入阵曲》。』图片发自App图片发自App图片发自App图片发自App
- 2018-03-23
梦丹要努力变强
day192018.3.231.新闻话题打卡【国内多地出台无人车路测政策,明确发生事故谁担责】近年来,北上广等经济发达的沿海地区都出台了关于无人车路中行驶的担责政策,通过改善交通信号灯,明确驾驶许可,贴牌区分普通车与无人车。并且由于在无人车测试阶段出现过交通事故,因而明确了应当承担法律责任的主体,这样可以维护整体市场安全与监管力度。2.读书感悟打卡真正的坚守,是没有人给予你任何承诺的,流逝的只是岁
- 2018-03-23
童心_依旧
2018年3月23日周五天气阴转晴今天又是每周放松的晚上,因为周一到周四电视都不能开的,周五晚上可以。晚上两个小时的练球时间,回到家打开电视立马找荒野求生。拍得真不错,敢于挑战。爸爸问淑越,如果过段时间爸爸要出差,你怎么办?淑越说,你去吧,我会听妈妈的话,也会保护妈妈的,你放心吧。爸爸说你长大了,也知道心疼爸爸和妈妈了,晚上自己主动扫地,我奖励一元人民币。宝贝说:“谢谢妈妈,我明天挣两元。”
- 2018-03-23
春风化雨闫
1.感恩天地万物滋养!2.感恩父母养育之恩!3.感恩爱人陪伴包容!4.感恩孩子健康成长!5.感恩兄弟姐妹互相帮助!6.感恩所有的遇见!7.感恩家庭可以让我修养生息!8.感恩群里所有的伙伴!
- 2018-03-23
为为道来
金句分享(张晓风)1、一米阳光,一杯芳茗,一本小书,静静地品味。你是隔了尘世女子,躲在氤氲缭绕的水乡,耳际泉水叮咚,如沐春风。图片发自App2.生命如雨,看似美丽,但更多的时候,你得忍受那些寒冷和潮湿,那些无奈与寂寞,并且以晴天的幻想度日。图片发自App3、一杆简单的雨荷,可绘出多少形象之外的美善。一片亭亭靑叶,支撑了多少世纪的傲骨。倘有荷在池,倘有荷在心,则长长的雨季何患。4、春在婴儿的笑脸上,
- 2018-03-23
北方的海洋
无题文/梨落如风(西安)他要到街市买一只鸡。用刀子杀一条黑鲤鱼。然后用一壶劣质酒催眠,做一场青天白日梦。梦见雪花拉着灯火往下沉,在护城河的对岸,提炼出一把精致的绿檀木梳子。他还要去访问脾气暴躁的城门。看它们在玄武门之变中犀利的切断,一个王朝的头颅。阿门。。。他喃喃自语,手里生锈的剪刀,沦落为一个颗粒无收的农夫。向晚的雨水浇灭了他。他的干燥,他趔趄着磕破的牙齿…………
- 2018-03-23
华少论剑
以行践言学《四书》——《大学》篇27【所谓治国必先齐其家者,其家不可教而能教人者,无之。故君子不出家而成教于国。孝者,所以事君也;悌者,所以事长也;慈者,所以使众也。】接下来讲齐家治国。张居正讲解说,为什么说治国必先齐家?因为家是国之本,若不能修身以教其家,使一家之人有所观法,却能教导一国之人,使之感化,那是绝无此理。所以在上的君子,只修身以教其家,使父子、兄弟、夫妇各尽其道,则身虽不出家庭,而标
- 2018-03-23
miya牙签
你若行事愚顽,自高自傲,或是怀了恶念,就当用手捂口。摇牛奶必成奶油;扭鼻子必出血。照样,激动怒气必起争端。(箴言30:32-33和合本)我赐给你们一条新命令,乃是叫你们彼此相爱;我怎样爱你们,你们也要怎样相爱。你们若有彼此相爱的心,众人因此就认出你们是我的门徒了。”(约翰福音13:34-35和合本)耶稣说:“我就是道路、真理、生命;若不藉着我,没有人能到父那里去。(约翰福音14:6和合本)你们奉我
- 2018-03-23
88e94d537f85
今天一天不是很忙,上午把昨天维修的120交接好,下午客户,过来取车,因为客户第一次进店,能用的尽量先用着,给客户依赖,产生信任,才会有更多的机会,开发项目,服务好客户,从简单开始,加油
- 2018-03-23
清若晨曦一束光
图片发自App今天忙邢台大组会,很困了,以前觉得事情一堆时肯定做不好,应该没有太多事情的时候自己在有其他事情就会好一些,其实不是这样子,当自己想要做时,不管事情多少都是可以做好的,今天感悟,你对世界微笑,对世界温柔,世界会回你一样的温柔。晚安。明天计划:参加公司军训,种子班培训。
- 浮生每恨少欢娱,酗酒常逢夕阳照
ce18140bccc1
春醉薄烟晓寒芽绿轻,渐觉斯夫春光好。浮生每恨少欢娱,酗酒常逢夕阳照。醉觉红杏已枝头,梨花桃花比妲妖。为君持酒劝功名,梦醒二更白头老。xxx宋祁、杨耀宾合作于斯夫小镇2018-03-23
- 2018-03-23
悦曦swws
亲爱的你啊,我想说我渴望回到小时候,我知道,如果我把这句话告诉你,你可能会说,可是那样我们两个就不能在一起了吖,如果真是这样,那么到时候我会说,没关系吖,起码我还可以期待十七岁那年遇到你,而不是害怕七十岁那年完完全全的失去你
- 2018-03-23
许蚀
从上午十点到下午两点,这四个小时的时间。我要抽水浇地。图片发自App浇地必须是连续的,中间不能断停。一是能用的水不多。你不用,它就会自然消失掉的。二是如果间断了,原来可以用作水道的地就会变干,再次浇水的时候,它还会再吸收一部分水,肯定会影响速度。总之,还是一鼓作气的好。所以,我带了一个馒头,一点咸菜和开水,作为午餐。
- 065 如何避开收纳工具的坑?打造舒适安全空间
风水宝地
065如何避开收纳工具的坑?打造舒适安全空间3731次阅读2018-03-23袁春楠:脱胎换骨的人生整理术袁春楠整理屋子,一定离不开的就是整理工具,这期春楠和你聊聊不同材质的收纳工具的优缺点,以及收纳工具里的坑。音频正文:hi,亲爱的同学们,大家好,你现在正在收听的是,袁春楠带来的,让你脱胎换骨的人生整理术。这节课想和大家聊聊收纳箱、收纳盒选择上的坑,帮助详细了解不同材质的优缺点,将来在选择合适工
- 2018-03-23 教课
ipirate
计老师跟我说,我实在太喜欢教课了。而我,又何尝不是如此呢。好为人师,讲东西的时候,就是我的shiningmoment。几个爱教课的人凑在一起,想着怎么能更好的把知识,方法传授给孩子们,让他们轻松,开心的度过每次考试,就是我们做这事的一个初衷吧。学习,本来不应该成为一个很苦逼的事情。长大后,他们会知道。生活中,苦逼的事太多,曾经无忧无虑的学习生涯,可能才真的是人生最美好的时段。有温度,讲方法,因材施
- 2018-03-23
MrRed
image.png"apue.h"是一个非常常用的头文件。其包括一些标准的系统头文件和定义了多种常量和函数。想要使用这个头文件,需要现在系统中进行编译。过程参考:http://www.cnblogs.com/52php/p/5681701.html编译时要链接-lapueProcessControlTherearethreeprimaryfunctionsforprocesscontrol:for
- 幼教工作第一周
施小施
2018年4月##幼教#2018-03-23偶然的机会,我居然很顺利地成为了一名幼教老师。今天刚好上班4天了(20号第一天)。说实话,我是把这份工作当过渡期,我一直在另谋大事的。嗯,说说我对这份工作的认识吧。很喜欢跟小朋友在一起的,貌似我很有孩子缘,第一天就被两位小朋友抱着不放。那位小小的穿花棉袄的小小姑娘,说,第一眼见到我,就喜欢我。所以,每次能挨到我,就死死抓住我的手,时不时抱着我不放,我走,
- 2018-03-23
贵鼠
十五岁十五岁,是一个充满阳光和幻想,充满活力与梦想,懵懂中开始憧憬爱情,快速积聚并且冲动着要释放生命能量的年龄。而现在我想写下的是另一个关于十五岁的故事;我和HELEN十五岁的婚姻的故事。Helen比我小七岁,初次和Helen相识是我刚刚从一场拼尽全力的爱情的战场惨败下来后在伤痛中能量复苏的阶段,Helen是一所中学的音乐老师,文静内敛,举止矜持是第一次见面给我的印像。那时的我处在职场的良好上升期
- 2018-03-23你想要一个什么样的房子
刘霞
自己理想中的房子,不需要太高,不喜欢高层,最好是独门独院,有个小院子,附近有山有水,出门有条长长的林荫大道。心中的房子,是对现实的超越,是不是也是对现实的逃避呢
- 2018-03-23
程文颖
《亲子日记》第六天3月23日星期五晴昨天晚上二宝睡的早,今天早早起床了,我被闹钟惊醒,起来一看她自己在厨房里做饭,真棒!二宝做煎蛋,虽然煎的不是很漂亮,但她已经很满足,吃的也特别香。老师布置了电脑作业,我们家的电脑坏了很长时间了没有修,今天下午刚送去维修了,为了宝的作业我们都来了她舅舅家完成电脑作业。小宝和他表妹一玩积木,一起滑小车,二宝在用电脑做绘图。
- 2018-03-23 25的年龄
雀岛札记
今天晚上我自己呆着,把没关系是爱情呀后两集给看完了。刷了一会李敖逝世的微博。心中是说不上的空落落。最近离开这个世界的厉害的人太多了,尤其是可看到他们的离开让这个世界的这么多人都记住,都扼腕,这是我所羡慕的。起码说明这个人没有白来一遭。今天李敖的一个演讲,大概是讲述自己呆监狱的那六年感觉,说那是好的时光,因为经历过那段时光,觉得日后怎样的日子都是好的日子,因为起点低。“起点低”这个词语真的是有力量,
- 2018-03-23
安之若素_9aec
我们的孩子来自不同家庭,具有不同的性格、不同的智力水平、不同的身体状况、不同的兴趣爱好。教师面对这样的孩子就要采用孔子的教学思想“因材施教,有教无类,教学相长”这样在课堂上才能使每一个孩子的力量和可能性发挥出来。
- apache 安装linux windows
墙头上一根草
apacheinuxwindows
linux安装Apache 有两种方式一种是手动安装通过二进制的文件进行安装,另外一种就是通过yum 安装,此中安装方式,需要物理机联网。以下分别介绍两种的安装方式
通过二进制文件安装Apache需要的软件有apr,apr-util,pcre
1,安装 apr 下载地址:htt
- fill_parent、wrap_content和match_parent的区别
Cb123456
match_parentfill_parent
fill_parent、wrap_content和match_parent的区别:
1)fill_parent
设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或控件为fill_parent将强制性让它布满整个屏幕。
2) wrap_conte
- 网页自适应设计
天子之骄
htmlcss响应式设计页面自适应
网页自适应设计
网页对浏览器窗口的自适应支持变得越来越重要了。自适应响应设计更是异常火爆。再加上移动端的崛起,更是如日中天。以前为了适应不同屏幕分布率和浏览器窗口的扩大和缩小,需要设计几套css样式,用js脚本判断窗口大小,选择加载。结构臃肿,加载负担较大。现笔者经过一定时间的学习,有所心得,故分享于此,加强交流,共同进步。同时希望对大家有所
- [sql server] 分组取最大最小常用sql
一炮送你回车库
SQL Server
--分组取最大最小常用sql--测试环境if OBJECT_ID('tb') is not null drop table tb;gocreate table tb( col1 int, col2 int, Fcount int)insert into tbselect 11,20,1 union allselect 11,22,1 union allselect 1
- ImageIO写图片输出到硬盘
3213213333332132
javaimage
package awt;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imagei
- 自己的String动态数组
宝剑锋梅花香
java动态数组数组
数组还是好说,学过一两门编程语言的就知道,需要注意的是数组声明时需要把大小给它定下来,比如声明一个字符串类型的数组:String str[]=new String[10]; 但是问题就来了,每次都是大小确定的数组,我需要数组大小不固定随时变化怎么办呢? 动态数组就这样应运而生,龙哥给我们讲的是自己用代码写动态数组,并非用的ArrayList 看看字符
- pinyin4j工具类
darkranger
.net
pinyin4j工具类Java工具类 2010-04-24 00:47:00 阅读69 评论0 字号:大中小
引入pinyin4j-2.5.0.jar包:
pinyin4j是一个功能强悍的汉语拼音工具包,主要是从汉语获取各种格式和需求的拼音,功能强悍,下面看看如何使用pinyin4j。
本人以前用AscII编码提取工具,效果不理想,现在用pinyin4j简单实现了一个。功能还不是很完美,
- StarUML学习笔记----基本概念
aijuans
UML建模
介绍StarUML的基本概念,这些都是有效运用StarUML?所需要的。包括对模型、视图、图、项目、单元、方法、框架、模型块及其差异以及UML轮廓。
模型、视与图(Model, View and Diagram)
&
- Activiti最终总结
avords
Activiti id 工作流
1、流程定义ID:ProcessDefinitionId,当定义一个流程就会产生。
2、流程实例ID:ProcessInstanceId,当开始一个具体的流程时就会产生,也就是不同的流程实例ID可能有相同的流程定义ID。
3、TaskId,每一个userTask都会有一个Id这个是存在于流程实例上的。
4、TaskDefinitionKey和(ActivityImpl activityId
- 从省市区多重级联想到的,react和jquery的差别
bee1314
jqueryUIreact
在我们的前端项目里经常会用到级联的select,比如省市区这样。通常这种级联大多是动态的。比如先加载了省,点击省加载市,点击市加载区。然后数据通常ajax返回。如果没有数据则说明到了叶子节点。 针对这种场景,如果我们使用jquery来实现,要考虑很多的问题,数据部分,以及大量的dom操作。比如这个页面上显示了某个区,这时候我切换省,要把市重新初始化数据,然后区域的部分要从页面
- Eclipse快捷键大全
bijian1013
javaeclipse快捷键
Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+En
- js 笔记 函数
征客丶
JavaScript
一、函数的使用
1.1、定义函数变量
var vName = funcation(params){
}
1.2、函数的调用
函数变量的调用: vName(params);
函数定义时自发调用:(function(params){})(params);
1.3、函数中变量赋值
var a = 'a';
var ff
- 【Scala四】分析Spark源代码总结的Scala语法二
bit1129
scala
1. Some操作
在下面的代码中,使用了Some操作:if (self.partitioner == Some(partitioner)),那么Some(partitioner)表示什么含义?首先partitioner是方法combineByKey传入的变量,
Some的文档说明:
/** Class `Some[A]` represents existin
- java 匿名内部类
BlueSkator
java匿名内部类
组合优先于继承
Java的匿名类,就是提供了一个快捷方便的手段,令继承关系可以方便地变成组合关系
继承只有一个时候才能用,当你要求子类的实例可以替代父类实例的位置时才可以用继承。
在Java中内部类主要分为成员内部类、局部内部类、匿名内部类、静态内部类。
内部类不是很好理解,但说白了其实也就是一个类中还包含着另外一个类如同一个人是由大脑、肢体、器官等身体结果组成,而内部类相
- 盗版win装在MAC有害发热,苹果的东西不值得买,win应该不用
ljy325
游戏applewindowsXPOS
Mac mini 型号: MC270CH-A RMB:5,688
Apple 对windows的产品支持不好,有以下问题:
1.装完了xp,发现机身很热虽然没有运行任何程序!貌似显卡跑游戏发热一样,按照那样的发热量,那部机子损耗很大,使用寿命受到严重的影响!
2.反观安装了Mac os的展示机,发热量很小,运行了1天温度也没有那么高
&nbs
- 读《研磨设计模式》-代码笔记-生成器模式-Builder
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/**
* 生成器模式的意图在于将一个复杂的构建与其表示相分离,使得同样的构建过程可以创建不同的表示(GoF)
* 个人理解:
* 构建一个复杂的对象,对于创建者(Builder)来说,一是要有数据来源(rawData),二是要返回构
- JIRA与SVN插件安装
chenyu19891124
SVNjira
JIRA安装好后提交代码并要显示在JIRA上,这得需要用SVN的插件才能看见开发人员提交的代码。
1.下载svn与jira插件安装包,解压后在安装包(atlassian-jira-subversion-plugin-0.10.1)
2.解压出来的包里下的lib文件夹下的jar拷贝到(C:\Program Files\Atlassian\JIRA 4.3.4\atlassian-jira\WEB
- 常用数学思想方法
comsci
工作
对于搞工程和技术的朋友来讲,在工作中常常遇到一些实际问题,而采用常规的思维方式无法很好的解决这些问题,那么这个时候我们就需要用数学语言和数学工具,而使用数学工具的前提却是用数学思想的方法来描述问题。。下面转帖几种常用的数学思想方法,仅供学习和参考
函数思想
把某一数学问题用函数表示出来,并且利用函数探究这个问题的一般规律。这是最基本、最常用的数学方法
- pl/sql集合类型
daizj
oracle集合typepl/sql
--集合类型
/*
单行单列的数据,使用标量变量
单行多列数据,使用记录
单列多行数据,使用集合(。。。)
*集合:类似于数组也就是。pl/sql集合类型包括索引表(pl/sql table)、嵌套表(Nested Table)、变长数组(VARRAY)等
*/
/*
--集合方法
&n
- [Ofbiz]ofbiz初用
dinguangx
电商ofbiz
从github下载最新的ofbiz(截止2015-7-13),从源码进行ofbiz的试用
1. 加载测试库
ofbiz内置derby,通过下面的命令初始化测试库
./ant load-demo (与load-seed有一些区别)
2. 启动内置tomcat
./ant start
或
./startofbiz.sh
或
java -jar ofbiz.jar
&
- 结构体中最后一个元素是长度为0的数组
dcj3sjt126com
cgcc
在Linux源代码中,有很多的结构体最后都定义了一个元素个数为0个的数组,如/usr/include/linux/if_pppox.h中有这样一个结构体: struct pppoe_tag { __u16 tag_type; __u16 tag_len; &n
- Linux cp 实现强行覆盖
dcj3sjt126com
linux
发现在Fedora 10 /ubutun 里面用cp -fr src dest,即使加了-f也是不能强行覆盖的,这时怎么回事的呢?一两个文件还好说,就输几个yes吧,但是要是n多文件怎么办,那还不输死人呢?下面提供三种解决办法。 方法一
我们输入alias命令,看看系统给cp起了一个什么别名。
[root@localhost ~]# aliasalias cp=’cp -i’a
- Memcached(一)、HelloWorld
frank1234
memcached
一、简介
高性能的架构离不开缓存,分布式缓存中的佼佼者当属memcached,它通过客户端将不同的key hash到不同的memcached服务器中,而获取的时候也到相同的服务器中获取,由于不需要做集群同步,也就省去了集群间同步的开销和延迟,所以它相对于ehcache等缓存来说能更好的支持分布式应用,具有更强的横向伸缩能力。
二、客户端
选择一个memcached客户端,我这里用的是memc
- Search in Rotated Sorted Array II
hcx2013
search
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given ta
- Spring4新特性——更好的Java泛型操作API
jinnianshilongnian
spring4generic type
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- CentOS安装JDK
liuxingguome
centos
1、行卸载原来的:
[root@localhost opt]# rpm -qa | grep java
tzdata-java-2014g-1.el6.noarch
java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64
java-1.6.0-openjdk-1.6.0.0-11.1.13.4.el6.x86_64
[root@localhost
- 二分搜索专题2-在有序二维数组中搜索一个元素
OpenMind
二维数组算法二分搜索
1,设二维数组p的每行每列都按照下标递增的顺序递增。
用数学语言描述如下:p满足
(1),对任意的x1,x2,y,如果x1<x2,则p(x1,y)<p(x2,y);
(2),对任意的x,y1,y2, 如果y1<y2,则p(x,y1)<p(x,y2);
2,问题:
给定满足1的数组p和一个整数k,求是否存在x0,y0使得p(x0,y0)=k?
3,算法分析:
(
- java 随机数 Math与Random
SaraWon
javaMathRandom
今天需要在程序中产生随机数,知道有两种方法可以使用,但是使用Math和Random的区别还不是特别清楚,看到一篇文章是关于的,觉得写的还挺不错的,原文地址是
http://www.oschina.net/question/157182_45274?sort=default&p=1#answers
产生1到10之间的随机数的两种实现方式:
//Math
Math.roun
- oracle创建表空间
tugn
oracle
create temporary tablespace TXSJ_TEMP
tempfile 'E:\Oracle\oradata\TXSJ_TEMP.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent m
- 使用Java8实现自己的个性化搜索引擎
yangshangchuan
javasuperword搜索引擎java8全文检索
需要对249本软件著作实现句子级别全文检索,这些著作均为PDF文件,不使用现有的框架如lucene,自己实现的方法如下:
1、从PDF文件中提取文本,这里的重点是如何最大可能地还原文本。提取之后的文本,一个句子一行保存为文本文件。
2、将所有文本文件合并为一个单一的文本文件,这样,每一个句子就有一个唯一行号。
3、对每一行文本进行分词,建立倒排表,倒排表的格式为:词=包含该词的总行数N=行号