上一页 1 ··· 7 8 9 10 11
摘要: String转intint i = Integer.parseInt([String]);int 转Stringint i=11111;String s="";1.s=i+"";2.s=String.valueOf(i); 阅读全文
posted @ 2015-04-03 15:51 sflik 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Map集合,就是有一对属性值的集合,属性包含key,和value。关键字key是唯一不重复的。Map是一个有序的集合,所以查询起来速度很快。而HashSet就像是把HashMap中value去掉,说白了就是只有一个key的HashMap集合。Set是数学中定义的集合,所以元素无序, 且不能重复添加。... 阅读全文
posted @ 2015-04-03 10:09 sflik 阅读(137) 评论(0) 推荐(0) 编辑
摘要: redis简单调用jar包:jedis-2.1.0.jar commons-pool-1.5.4.jarpublic static void main(String[] args) {Jedis jedis = new Jedis("192.168.1.125");jedis.set("lsf... 阅读全文
posted @ 2015-04-02 23:28 sflik 阅读(122) 评论(0) 推荐(0) 编辑
摘要: nexus下载地址 :http://www.sonatype.org/nexus/archived/ ps:jdk1.6最高兼容Nexus 2.5.1 默认端口:8081 登录名:admin 密码admin123 先要把Download Remote Indexes设置为True,然后它会把jar包 阅读全文
posted @ 2015-04-02 23:10 sflik 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 火车:安装:$ sudo apt-get install sl输入:sl奶牛:安装:$sudo apt-get install cowsay输入:cowsay “hello world” cowsay -f sheep “I too love linux” cowsay -l字符矩阵:安装... 阅读全文
posted @ 2015-04-02 23:04 sflik 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 日常积累的一些命令,过于简单的我就不提了。。。。。 下载 https下载跳过检查 wget --no-check-certificate 安装mysql(centos) 查看是否安装 rpm -qa|grep -i mysql 查看可安装列表 yum list installed|grep mysq 阅读全文
posted @ 2015-04-02 20:19 sflik 阅读(221) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11