摘自:http://litchiware.github.io/centos/2015/07/05/centos7%E4%B8%8B%E5%AE%89%E8%A3%85numpy+matplotlib+scipy/1、安装numpy安装numpy的依赖包sudo yum install gcc-gfo...
分类:
其他好文 时间:
2015-09-19 16:32:56
阅读次数:
430
写过Android程序的都知道Activity中有一个名称叫onCreate的方法。该方法是在Activity创建时被系统调用,是一个Activity生命周期的开始。可是有一点容易被忽视,就是onCreate方法的参数savedInstanceState。因为在一般的程序开发中,很少用到这个参数。o...
分类:
其他好文 时间:
2015-09-19 16:33:03
阅读次数:
208
http://fancyxinyu.blog.163.com/blog/static/1823213662013719115245699/http://blog.chinaunix.net/uid-7589639-id-114113.htmlhttp://www.cnblogs.com/y04103...
分类:
其他好文 时间:
2015-09-19 16:31:52
阅读次数:
184
1、在linuxbash下北京时间与unix时间戳互转:获取unix timestamp:命令:date "+%s"输出:1372654714获取北京时间:命令:date '+%Y-%m-%d %H:%M:%S'输出:2013-07-01 12:55:56unix timestamp转北京时间:命令...
分类:
其他好文 时间:
2015-09-19 16:29:42
阅读次数:
169
看了这几篇文章我感到深有感触,来到大二,突然感觉到好忙啊,没有大一时候的那种闲情,对于计算机什么都不懂,面对英文我就会感到头疼,看了你发的文章,我们是需要自己努力的,态度是很重要的,我们必须要正确的对待。计算机有太多的地方需要我们学习,而我们的知识光靠课本是远远不够的,大学的所有知识都是可以自学.....
分类:
其他好文 时间:
2015-09-19 16:29:49
阅读次数:
143
安装samba 这个很简单一条命令就OK了 yum -y install samba修改配置文件/etc/samba/smb.conf在末尾加上 [user_name] comment = user_name path = /home/users/user_name wri...
分类:
其他好文 时间:
2015-09-19 16:28:16
阅读次数:
146
功能简介 对象拷贝的应用现状简介:业务系统中经常需要两个对象进行属性的拷贝,不能否认逐个的对象拷贝是最快速最安全的做法,但是当数据对象的属性字段数量超过程序员的容忍的程度,代码因此变得臃肿不堪,使用一些方便的对象拷贝工具类将是很好的选择。 目前流行的较为公用认可的工具类:Apache的两个版本:(反...
分类:
其他好文 时间:
2015-09-19 16:29:34
阅读次数:
181
java命令行程序就是执行一个main。如果我们要命令行跑测试用列怎么办呢?当然maven可以很方便的做到,下面介绍一种比较原始的做法。这里要用到org.junit.runner.JUnitCore 1、待执行的测试类,为了篇幅,我尽...
分类:
其他好文 时间:
2015-09-19 15:26:54
阅读次数:
257
1、题目名称 Valid Number(判断字符串中内容是否为数字) 2、题目地址 https://leetcode.com/problems/valid-number/ 3、题目内容 英文:Validate if a given string is numeric. 中文:给出一个字符串,检查这个...
分类:
其他好文 时间:
2015-09-19 15:26:04
阅读次数:
212
首先说下Qt IFW = Qt Installer Framework → 传送门(点我、点我、点我) ← 打开比较慢,不过是可以打开的 顾名思义,Qt安装框架。 据说咱们下载来的Qt安装包,就是用她打包发布的,多去看看Qt安装目录结构和内容...
分类:
其他好文 时间:
2015-09-19 15:25:43
阅读次数:
1418
首先,我们需要知道在viewController 的生命周期 当在loadView里面重写[super loadView]的时候 父类的view视图已经加载初始化并开辟了空间,所以此时应该调用 self.view addSubView 进行子视图的加载,如果调用 ...
分类:
其他好文 时间:
2015-09-19 15:25:12
阅读次数:
178
一、hello world ????在线参考文档:http://mybatis.github.io/mybatis-3/zh/index.html ????首先我们定义一个需求:根据id查询用户。 ????1、编写必须的配置文件。 ????开发mybatis入门程序需要...
分类:
其他好文 时间:
2015-09-19 15:24:57
阅读次数:
336
在redmine/config/configuration.yml中做后添加 openssl_verify_mode: ‘none‘
分类:
其他好文 时间:
2015-09-19 15:25:47
阅读次数:
150
curl -sSL https://rvm.io/mpapis.asc | gpg --import curl -L https://get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh rvm requirements rvm install 2.2.3 rvm use 2.2.3 --default gem sources --...
分类:
其他好文 时间:
2015-09-19 15:25:15
阅读次数:
318
原文:http://www.codeproject.com/Articles/813912/Create-Primary-Key-using-Entity-Framework-Code-Fir Introduction This article describes the effect of Ent...
分类:
其他好文 时间:
2015-09-19 15:22:53
阅读次数:
294
原文:http://nvie.com/posts/a-successful-git-branching-model/In this post I present the development model that I’ve introduced for all of my projects (bo...
分类:
其他好文 时间:
2015-09-19 15:20:53
阅读次数:
189
对于之前一直使用C#语言的我来说,刚开始接触Objective-c来创建对象时很迷惑,为何创建对象一般情况下需要通过发送两个消息(调用两个方法)才能创建一个类实例对象(例如[[UIButton alloc] init])?相信使用Java的也会有这样的感受,给个类型调用一下初始化方法不就完了吗?.....
分类:
其他好文 时间:
2015-09-19 15:20:32
阅读次数:
149