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
start cmd /c ""C:\Program Files\Git\bin\sh.exe" --login -i" | |
rem 参考http://stackoverflow.com/questions/21151408/bat-start-w-command-recognized |
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
gem install sass -v 3.4.1 |
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
@echo off | |
rem 要把要删除的文件或目录拖放到这个bat文件的图标上就可删除 | |
DEL /F /A /Q \\?\%1 | |
RD /S /Q \\?\%1 |
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
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a | |
; semicolon, such as this one, are comments. They are not executed. | |
; This script has a special filename and path because it is automatically | |
; launched when you run the program directly. Also, any text file whose | |
; name ends in .ahk is associated with the program, which means that it | |
; can be launched simply by double-clicking it. You can have as many .ahk | |
; files as you want, located in any folder. You can also run more than | |
; one ahk file simultaneously and each will get its own tray icon. |
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
document.write("浏览器分辨率是"+document.documentElement.clientWidth+"*"+document.documentElement.clientHeight ); | |
document.write("屏幕分辨率是"+window.screen.width+"*"+window.screen.height); |
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
<input type="button" id="button" value="点击弹出window.devicePixelRatio" /> | |
document.getElementById("button").onclick = function() { | |
alert(window.devicePixelRatio); | |
}; | |
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
"------default settings安装完就有放入设置--------------- | |
set nocompatible "关闭兼容模式 | |
"模仿win快捷键,如Ctrl+a 全选, Ctrl+c 复制 Ctrl + v 粘贴等 | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
"设置无自动备份文件 如index.php~ | |
set nobackup |
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
Show hidden characters
[ | |
{ "keys": ["alt+/"], "command": "auto_complete" }, | |
{ "keys": ["ctrl+shift+c"], "command": "toggle_side_bar" }, | |
{ "keys": ["ctrl+shift+g"], "command": "find_all_under" }, | |
{ "keys": ["ctrl+shift+x"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} }, | |
{ "keys": ["ctrl+shift+s"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["ctrl+shift+z" ], "command": "view_in_browser" }, | |
{ "keys": ["ctrl+shift+l"], "command": "next_view_in_stack" }, | |
{ "keys": ["ctrl+shift+h"], "command": "prev_view_in_stack" }, | |
{ "keys": ["alt+l"], "command": "focus_neighboring_group" }, |
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
{ | |
"auto_complete_commit_on_tab": false, | |
"auto_match_enabled": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/Monokai (SL).tmTheme", | |
"copy_with_empty_selection": false, | |
"default_encoding": "UTF-8", | |
"detect_slow_plugins": false, | |
"drag_text": false, |