上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: 一、本地仓库操作 1、初始化 git init 2、添加版本控制文件 git add README.md3、本地提交 git commit -m “1st commit”4、配置远程仓库 git remote add origin https://git.oschina.net/oftenlin/t 阅读全文
posted @ 2017-03-15 13:44 oftenlin 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 在 OSChina 上建立一个私用的项目mkdir test cd test git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://git.oschi 阅读全文
posted @ 2016-12-20 16:21 oftenlin 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 博客地址: http://blog.csdn.net/wangchsh2008/article/details/8812857 阅读全文
posted @ 2016-07-27 16:38 oftenlin 阅读(1549) 评论(0) 推荐(0) 编辑
摘要: 利用Maven的appassembler-maven-plugin插件,就可以实现自动打包可运行的脚本,还可以跨平台。 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artif 阅读全文
posted @ 2016-07-27 14:07 oftenlin 阅读(9487) 评论(0) 推荐(0) 编辑
摘要: 在 pom.xml 中添加如下代码: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.1< 阅读全文
posted @ 2016-07-27 13:59 oftenlin 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: (1)File 类的基础用法 // 1.创建 一个file 对象File file = new File("D:\\aaa");// 2.判断此 file 是否是一个文件夹file.isDirectory();// 3.判断此 file 是否存在file.exist();// 4.创建一个 Dire 阅读全文
posted @ 2016-07-22 10:31 oftenlin 阅读(148) 评论(0) 推荐(0) 编辑
摘要: numpy 使用 1.使用 array 定义矩阵 dataSet = array([[1.0,1.1],[1.0,1.0],[0.0,0.0],[0,0.1]]) 2.使用 shape 返回矩阵的行数(列数) dataSet.shape[0] #4dataSet.shape[1] #2 3.使用 t 阅读全文
posted @ 2016-05-06 17:40 oftenlin 阅读(14556) 评论(0) 推荐(0) 编辑
摘要: 1、如何使用shell 打印 “Hello World!”(1)如果你希望打印 !,那就不要将其放入双引号中,或者你可以通过转义字符转义(2)echo 'hello world!' 使用单引号echo 时,bash 不会对单引号中的变量求值2、求变量的长度 var='hello world' ... 阅读全文
posted @ 2016-01-14 10:02 oftenlin 阅读(3422) 评论(0) 推荐(0) 编辑
摘要: 新年新气象,注重知识积累,提高手敲代码能力,而不是眼高手低,只会复制黏贴。1、使用shell 打印 “Hello World!”2、求变量'hello world'的字符长度3、$0 、$SHELL 分别a56爆大奖在线娱乐什么含义4、完成定义2个变量 no1=1,no2=2 no3=no1+no3 ,然后打印 n... 阅读全文
posted @ 2016-01-14 10:00 oftenlin 阅读(608) 评论(0) 推荐(0) 编辑
摘要: public class RedisUtil { Logger logger = LoggerFactory.getLogger(RedisUtil.class); private JedisPool pool = null;/***在构造函数中初始化JedisPool**/ public Red... 阅读全文
posted @ 2015-10-29 17:34 oftenlin 阅读(1738) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页