在我的程序员生涯中,悟出了以下的一个程序编码流程;期间也接触了很多其它的理论和想法,但是我还是觉得这是最适合我的。大致的样式是这样的:多思考(Think a bit)多编码(Code a bit)多测试(Test a bit)再来一遍(Go to Step 1)第一步:多思考有多少朋友会觉得,噼噼啪...
分类:
其他好文 时间:
2014-07-02 19:37:13
阅读次数:
183
1) Append a slice b to an existing slice a: a = append(a, b...)2) Copy a slice a to a new slice b: b = make([]T, len(a))copy(b, a)3) Delete item at in...
分类:
移动开发 时间:
2014-07-02 18:52:39
阅读次数:
182
1、初始化密码 >sudo bin/mysqladmin -u root password 'pwd string'2、ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 1)添加启动参...
分类:
数据库 时间:
2014-07-02 18:51:21
阅读次数:
172
/*本文章由 莫灰灰 编写,转载请注明出处。 作者:莫灰灰 邮箱:minzhenfei@163.com*/1.漏洞成因Linux kernel对ARM上的get_user/put_user缺少訪问权限检查,本地攻击者可利用此漏洞读写内核内存,获取权限提升。2.受影响的系统Linux kernel ....
分类:
数据库 时间:
2014-07-02 17:43:24
阅读次数:
366
Problem Statement
Rabbits often feel hungry, so when they go out to eat carrots, they jump as quickly as possible.
Initially, rabbit Hanako stands at position init. From position x, she ...
分类:
其他好文 时间:
2014-07-02 17:02:04
阅读次数:
201
http://ionicframework.com/blog/angularjs-console/1: Access ScopesWe can access any scope (even isolated ones!) on the page with a simple JS one-liner:...
分类:
Web程序 时间:
2014-07-02 14:53:37
阅读次数:
443
本篇仅仅是Python的学习和Python和C++数据对接过程中的一些总结。由于工作的需要,用一周的时间学习 Python。Python是基于C实现的一门解释型语言,由于其易用性,俘获了不少开发者和运维的心。据说,Python 在科学计算领域,逐步吞噬着古老语言 Fortran的份额。这门语言是Go...
分类:
编程语言 时间:
2014-07-02 14:38:41
阅读次数:
266
(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us|ca|uk)www.xx00.com^(((ht|f)tp(s?))\://)?(www.|[a-zA-Z].)[a-zA-Z0-9\...
分类:
Web程序 时间:
2014-07-02 14:12:06
阅读次数:
216
转自:http://robert.penz.name/658/howto-access-mtp-devices-via-usb-on-ubuntu-12-04/ A friend asked me how he can access his Nexus 7 device via USB on hi....
分类:
其他好文 时间:
2014-07-02 13:51:19
阅读次数:
289