Problem D: Airport ExpressIn a small city
called Iokh, a train service,Airport-Express, takes residents to the airport
more quickly than other transpo...
分类:
其他好文 时间:
2014-04-30 13:53:23
阅读次数:
347
--setgithubproxygitconfig--globalhttp.proxyhttp://user_name:user_pwd@user_ip:portgitconfig--systemhttp.sslcainfo/bin/curl-ca-bundle.crt--cancelproxygi...
分类:
其他好文 时间:
2014-04-30 01:13:49
阅读次数:
507
1、查看当前Python版本python -V2、查看当前CentOS版本cat
/etc/redhat-release3、安装所有的开发工具包yum groupinstall "Development tools"4、安装其他必须包yum
install zlib-devel bzip2-deve...
分类:
编程语言 时间:
2014-04-30 00:59:31
阅读次数:
443
1. cd命令格式:cd
[dirName](cd和目录之间使用空格隔开)作用:切换当前目录至dirName。实例:cd /home 切换当前目录到/home
(查看当前目录命令为pwd)cd .. 返回上一级目录cd ../.. 返回上两级目录cd ~ 进入个人的主目录2. ls命令格式:ls [...
分类:
系统相关 时间:
2014-04-29 18:41:53
阅读次数:
821
KEEP GOING表达产品想法, 探讨产品问题, 倾听可能性问题。一次就做好, 有成果展示,
主动展示先确立图, 后确立代码。Hold dream, and never let it go (FOCUS ON MEETING, and think
product)MORE motivation t...
分类:
其他好文 时间:
2014-04-29 14:48:43
阅读次数:
386
一、linux 命令 0.man:查询使用手册1.pwd:Print the full
filename of the current working directory. 打印当前工作目录(文件夹)2.ls:List information
about the FILEs (the current...
分类:
编程语言 时间:
2014-04-29 11:31:46
阅读次数:
489
密码正则表达式至少6位并由数字和字母组成:var pwd=
/^(?!\d+$)(?![A-Za-z]+$)[a-zA-Z0-9]{6,}$/;至少6位并由字母(区分大小写)、数字、符号其中2种组成:var pwd =
/^(?!\d+$)(?![A-Za-z]+$)(?![-.!@#$%^&*()...
分类:
其他好文 时间:
2014-04-29 10:15:46
阅读次数:
356
开闭原则(OCP)是面向对象设计中“可复用设计”的基石,是面向对象设计中最重要的原则之一,其它很多的设计原则都是实现开闭原则的一种手段。
开闭原则中“开”,是指对于组件功能的扩展是开放的,是允许对其进行功能扩展的;开闭原则中“闭”,是指对于原有代码的修改是封闭的,即不应该修改原有的代码。
遵循开闭原则设计出的模块具有两个主要特征:
(1)对于扩展是开放的(Open for e...
分类:
其他好文 时间:
2014-04-27 19:55:53
阅读次数:
622
有个项目需要实现push的方式从左向右,现在记录一下我的学习过程
push 从左向右
- (void)settingBtnMethod{
CATransition *transition = [CATransition animation];
transition.duration = 0.5f;
transition.timingFunction ...
分类:
其他好文 时间:
2014-04-27 18:53:32
阅读次数:
577