02 2014 档案

Python 中的 map, reduce, zip, filter, lambda基本使用方法
摘要:map(function, sequence[, sequence, ...]该函数是对sequence中的每个成员调用一次function函数,如果参数有多个,则对每个sequence中对应的元素调用function。返回值为一个列表如: def func(x): return x + 10; ... 阅读全文

posted @ 2014-02-27 12:26 Stomach_ache 阅读(192) 评论(0) 推荐(0)

C++的替代运算标记符
摘要:标记符and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq, , 都可以用来代替我们常用的&&, &=, &, |, ~, !, !=, ||, |=, ^, ^=, {, }, [ 和 ]。在键盘上缺乏必要的符... 阅读全文

posted @ 2014-02-23 23:37 Stomach_ache 阅读(337) 评论(0) 推荐(0)

Ubuntu无法连接无线网
摘要:shell里输入:suifconfig wlan0 up不行的话rfkill block all rfkill unblock allifconfig wlan0 up 阅读全文

posted @ 2014-02-22 23:38 Stomach_ache 阅读(140) 评论(0) 推荐(0)

MySQL安装后设置root 密码
摘要:Mysql安装完成后初始化root 密码为空,直接回车使用命令行:mysqladmin -u root password "123456"来设置root密码。这里我设置的密码是 123456 阅读全文

posted @ 2014-02-18 13:14 Stomach_ache 阅读(154) 评论(0) 推荐(0)

VMware安装Centos后无法上网
摘要:参考于:http://www.xpxt.net/xtjc/win8/04194953.html 阅读全文

posted @ 2014-02-18 12:57 Stomach_ache 阅读(187) 评论(0) 推荐(0)

Ubuntu 12.04 安装 IQQ
摘要:1. 安装 IQQ 首先应安装jdk包2. 百度网盘下载: http://pan.baidu.com/share/home?uk=30710470223. 运行(1) Linux用户给IQQ-1.0-nightly文件给予执行权限,直接运行IQQ-1.0-nightly文件。(2)终端直接运行:ja... 阅读全文

posted @ 2014-02-16 16:57 Stomach_ache 阅读(169) 评论(0) 推荐(0)

vim中NERDTREE插件的使用
摘要:一个显示目录树的插件,很不错学习于:http://blog.csdn.net/xiongzhengxiang/article/details/7375607 阅读全文

posted @ 2014-02-16 15:16 Stomach_ache 阅读(121) 评论(0) 推荐(0)

python中bisect模块的使用
摘要:一般用于二分查找, 当然列表应该是有序表参考于:http://blog.csdn.net/xiaocaiju/article/details/6975714 阅读全文

posted @ 2014-02-16 14:19 Stomach_ache 阅读(121) 评论(0) 推荐(0)

偶遇一种复制内容到剪贴板的工具
摘要:学习Git偶然看到的,记之。Run the following code to copy the key to your clipboard.sudo apt-get install xclip# Downloads and installs xclip. If you don't have `ap... 阅读全文

posted @ 2014-02-13 15:59 Stomach_ache 阅读(131) 评论(0) 推荐(0)

导航