Css3 animation for switching viewport
This file contains 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
You can change the default company information as below: | |
1, run "regedit" at the command prompt, open the regeditor | |
2, Find the path: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion | |
3, Find the key: RegisteredOrganization, right click "Modify" | |
4, input your lovely new company name,done! |
This file contains 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
# Workflow from https://github.com/necolas/dotfiles | |
# Add the new submodule | |
git submodule add git://example.com/remote/path/to/repo.git vim/bundle/one-submodule | |
# Initialize the submodule | |
git submodule init | |
# Clone the submodule | |
git submodule update | |
# Stage the changes | |
git add vim/bundle/one-submodule |
This file contains 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
/* 首页分类+快捷入口+百宝箱数据 */ | |
{ | |
//首页分类 | |
"cates":[ | |
{ | |
"id":"分类ID", | |
"name":"分类名称" | |
} | |
], | |
//快捷入口 - 更多 |
This file contains 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
/** | |
* 将指定数据渲染指定模板 | |
* @param {Object} opts 配置对象 | |
* @param {String} opts.target 渲染目标的css选择器,例如#test | |
* @param {String} opts.tpl 模板的id选择器或者模板的内容(支持远程模板文件例如http://faso.me/xhogan/tpl/test.html)。如果是模板id,需要以#开始,例如#tpl1 | |
* @param {String} opts.data 渲染模板所需数据,json对象或者远程json文件例如http://faso.me/xhogan/data/test.json | |
* @param {String} opts.tplVersion 模板版本号 | |
* @param {String} opts.dataVersion 数据版本号 | |
* @param {String} opts.appendToTarget 是否将最后的dom追加到目标元素中 | |
* @param {Object} opts.extraTplData 模板渲染的额外数据 |
This file contains 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
## .gitconfig | |
[alias] | |
dt = difftool | |
mt = mergetool | |
[diff] | |
tool = bc3 | |
[difftool] | |
prompt = false | |
[difftool "bc3"] |
This file contains 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
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp *[Bb]in *obj *suo *resharp* *.user *.tmp *.TMP *Resharper* *ReSharper* *.Load *.gpState *.NoLoad *.~m2 *.dbmdl *.gpState _notes *.cache [Tt]est[Rr]esult [Bb]uild[Ll]og.* *.[Pp]ublish.xml *.[Cc]ache [Tt]humbs.db lint.db *.docstates .apdisk [Ll]ogs .DS_Store |
-
Download SourceGear DiffMerge: http://sourcegear.com/diffmerge/index.html
-
Add the following to your global
.gitconfig
file:[diff] tool = DiffMerge [difftool "DiffMerge"] cmd = 'C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe' "$LOCAL" "$REMOTE" [merge]
tool = DiffMerge
This file contains 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
"修改.vimrc文件,设置fileencodings | |
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1 |
This file contains 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
### Firstly | |
Install git via homebrew | |
``` | |
brew --version | |
brew doctor | |
brew install git | |
``` |
OlderNewer