上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页

2017年11月4日

*** 使用

摘要: 转到 阅读全文

posted @ 2017-11-04 23:21 Lemo_wd 阅读(4) 评论(0) 推荐(0)

Bash 脚本 去除注释

摘要: sed -i "/^#/d;/^ *$/d" /etc/squid/squid.conf 阅读全文

posted @ 2017-11-04 21:22 Lemo_wd 阅读(195) 评论(0) 推荐(0)

2017年11月3日

centos 安装 python36

摘要: centos6 安装 python36 临时方法: https://www.softwarecollections.org/en/scls/rhscl/rh-python36/ 方法二: http://blog.csdn.net/loyachen/article/details/51878653 c 阅读全文

posted @ 2017-11-03 15:39 Lemo_wd 阅读(832) 评论(0) 推荐(0)

python中 requests 支持 socks代理

摘要: 参考博客 https://zhengheng.me/2016/08/25/python-requests-socks5/ 阅读全文

posted @ 2017-11-03 15:06 Lemo_wd 阅读(272) 评论(0) 推荐(0)

2017年10月29日

linux 下实用软件工具推荐

摘要: 截图:Deepin-Screenshot 音乐:deepin-music netease-music 绘图工具:Draw.io Desktop (chrome extension) / www.processon.com 看图软件:eog/imagemagick/gthumb/feh 字体:gnom 阅读全文

posted @ 2017-10-29 23:08 Lemo_wd 阅读(295) 评论(0) 推荐(0)

2017年10月23日

中州韻输入法框架 ibus-rime 修改样式

摘要: 一键命令移植 Gnome-Shell 主题 手动方法: 找到你当前用的主题。然后修改其中 ibus的样式文件就可以了。比如:gnome shell下的 OSX-Arc-White 主题,则其样式文件为: 搜索 .candidate 关键字,定位到以下内容。对其进行修改: 修改结果如下: 效果: 阅读全文

posted @ 2017-10-23 19:25 Lemo_wd 阅读(2501) 评论(0) 推荐(0)

2017年10月15日

go 的 mysql 的简单操作

摘要: 关于 sql:https://studygolang.com/articles/3022 异常处理: http://www.jianshu.com/p/f30da01eea97 一、数据库的连接及初始化 二、增删改查 三、事务 sql 脚本 imooc.sql 阅读全文

posted @ 2017-10-15 11:52 Lemo_wd 阅读(347) 评论(0) 推荐(0)

go 的文件处理

摘要: 准备一个文件 imooc.txt 一、使用 io/ioutil 包 定义一个 check 函数 1. 读文件(使用 ReadFile 或 ReadAll) 输出 2. 写文件(使用 WriteFile) 再读一遍,输出: 二、使用 os包 1. 打开文件 输出 2. 读方法 输出 3. 写方法 再读 阅读全文

posted @ 2017-10-15 10:22 Lemo_wd 阅读(402) 评论(0) 推荐(0)

2017年10月14日

go 的正则表达式

摘要: go 操作字符串。由于 go 中的字符串不是对象,所以没有直接操作字符串的相关方法。要操作字符串可以使用 strings 包或者 regexp 包处理。 一、简要介绍一下,strings 包 (strings) 常见的方法示例 二、regex 包的介绍 1. 使用的正则语法 google/re2 P 阅读全文

posted @ 2017-10-14 18:59 Lemo_wd 阅读(501) 评论(0) 推荐(0)

sublime3 配置go的开发环境

摘要: 配置go的环境变量:https://studygolang.com/articles/4910 配置sublime:https://studygolang.com/articles/4938 阅读全文

posted @ 2017-10-14 15:37 Lemo_wd 阅读(119) 评论(0) 推荐(0)

上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页

导航