deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\SublimeText]
"Icon"="E:\\Software\\Sublime\\sublime_text.exe,0"
[HKEY_CLASSES_ROOT\*\shell\SublimeText\Command]
@="E:\\Software\\Sublime\\sublime_text.exe \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\SublimeText]
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin]
"Icon"="D:\\Software\\cygwin64\\Cygwin.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin\Command]
@="D:\\Software\\cygwin64\\bin\\mintty.exe -i /Cygwin-Terminal.ico /bin/env _T=\"%V\" /bin/zsh -l"
在~/.bashrc中添加如下代码:
black=$'\[\e[1;30m\]'
red=$'\[\e[1;31m\]'
green=$'\[\e[1;32m\]'
yellow=$'\[\e[1;33m\]'
blue=$'\[\e[1;34m\]'
magenta=$'\[\e[1;35m\]'
cyan=$'\[\e[1;36m\]'
在程序图标上右键选择属性
在目标
里面添加如下代码:
D:\cygwin\bin\mintty -i /Cygwin-Terminal.ico -e /bin/zsh --login -i
-e /bin/zsh
表示启动时加载的bash为zsh而不使用默认的bash
带 --disable-directwrite-for-ui
参数启动 Chrome
然后修改注册表 [HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command]
(我本机是修改这个目录,网上有些说的目录位置不太一样,多试下吧) 这个项 也加入 --disable-directwrite-for-ui
参数。这样其他程序调用 Chrome 的话也会起效果。
路径: File-->Settings-->Editor-->Colors&Fonts-->Android Logcat
https://stackoverflow.com/questions/39993867/android-studio-logcat-colors-best-practice/39993868
Assert: 9C27B0
, Debug: 2196F3
, Error: F44336
, Info: 4CAF50
, Warning: FFC107
, Trace: 808080
mkvirtualenv <env_name>
在$WORKON_HOME创建虚拟环境
rmvirtualenv <env_name> -r
删除虚拟环境
workon [<env_name>]
切换到虚拟环境
deactivate
退出虚拟环境
lsvirtualenvs
列出全部的虚拟环境
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub test1() | |
Dim rowGap As Integer, i As Integer, j As Integer, k As Integer, h As Integer, n As Integer, m As Integer | |
Dim columns(1 To 15) As String, week(2 To 15) As String | |
Dim weekRange As range | |
Dim d As Date | |
Dim col As String | |
Dim dis_res1 As Integer | |
Dim rem_res1 As Integer | |
Dim times(1 To 5) As Integer | |
Dim rowGap2 As Integer |
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Vim]
"Icon"="E:\\Software\\Vim\\vim74\\gvim.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Vim\Command]
@="E:\\Software\\Vim\\vim74\\gvim.exe -p --remote-tab-silent \"%1\""