摘要: 首先说明下,本人在公司使用windows域账户代理上网,用`pip`在线安装package 返回`ProxyError`,类似`Tunnel connection failed: 407 authenticationrequired`**解决方案**``` shell# UNIXexport htt... 阅读全文
posted @ 2015-08-21 14:16 Bluethon 阅读(4386) 评论(0) 推荐(0) 编辑
摘要: 以下代码只针对当前用户tty1有效, 对我来说足够了`vim ~/.bashrc`加入如下代码``` bashif [ "$(tty)" = "/dev/tty1" ]; then export LC_ALL="en_US.UTF-8" export LANGUAGE="en_US.UTF-8" e... 阅读全文
posted @ 2015-06-11 21:08 Bluethon 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 首先引用下[pythondoc](https://docs.python.org/2/library/stdtypes.html?highlight=dict#dict)> pop(key[, default]) If key is in the dictionary, remove it and ... 阅读全文
posted @ 2015-05-26 17:07 Bluethon 阅读(1998) 评论(0) 推荐(0) 编辑
摘要: ## 语法- [Mastering Markdown](https://guides.github.com/features/mastering-markdown/)- [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wik... 阅读全文
posted @ 2015-04-20 16:50 Bluethon 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 转自[tt-0411](http://www.cnblogs.com/tt-0411/articles/2230234.html)``` bat@echo offclscolor 0AEcho The program is running...Echo Setting the ip and dns.... 阅读全文
posted @ 2015-04-20 10:46 Bluethon 阅读(1080) 评论(0) 推荐(1) 编辑
摘要: ## 原链接地址[StackOverflow](http://stackoverflow.com/questions/9299651/warning-permanently-added-to-the-list-of-known-hosts-message-from-git#comment221342... 阅读全文
posted @ 2015-04-07 15:59 Bluethon 阅读(6208) 评论(0) 推荐(0) 编辑
摘要: sublime2对markdown原生主题支持都没有, 需要通过插件补充## 1.插件安装 通过Package Control安装下列插件:- Markdown Extended- Monokai Extended## 2.设置### Markdown Extended:- 打开一个markdown... 阅读全文
posted @ 2015-04-03 14:40 Bluethon 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 修改grub启动项顺序 在/etc/grub.d/ 目录下 文件前序号越小 在启动界面顺序越靠前, 用sudo mv修改文件名, sudo update-grub更新 阅读全文
posted @ 2015-01-20 11:05 Bluethon 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Python PEP8 Autoformat 插件这是用来按PEP8自动格式化代码的。可以在包管理器中安装。快捷键 CTRL+SHIFT+R 自动格式化python代码 1 { 2 "auto_complete": false, 3 "caret_style": "solid", 4... 阅读全文
posted @ 2014-12-04 19:48 Bluethon 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 一. 在ThisWorkbook中1 Private Sub Workbook_Open()2 '%对应alt键 宏不能加()3 Application.OnKey "%q", "Test"4 End Sub利用open事件触发二. 在Sub中Sub auto_open() ... 阅读全文
posted @ 2014-08-27 09:03 Bluethon 阅读(1249) 评论(0) 推荐(0) 编辑