NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
| // Tiny Raytracer (C) Gabriel Gambetta 2013 | |
| // ---------------------------------------- | |
| // | |
| // Configuration and scene | |
| // | |
| // Size of the canvas. w is also reused as a "big constant" / "+infinity" | |
| var w = 600; | |
| // Sphere: radius, [cx, cy, cz], R, G, B, specular exponent, reflectiveness | |
| // R, G, B in [0, 9], reflectiveness in [0..9]. |
| alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
| #!/bin/bash | |
| #----changed the git history author info--- | |
| #---see http://baike.corp.taobao.com/index.php/Git-m -- | |
| bldgrn='\e[1;32m' # Green | |
| bldylw='\e[1;33m' # Yellow | |
| txtrst='\e[0m' # Text Reset | |
| function warning (){ | |
| echo -n -e "${bldylw}WARNING:" | |
| echo -n -e "${txtrst}" | |
| echo $1 |
| <?php | |
| /** | |
| * cb.php | |
| * 只处理\?\?.+的情况 | |
| * 部署在项目根目录中 | |
| * author: 拔赤 - lijine00333@163.com | |
| */ | |
| cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
| git clone git://github.com/wbond/sublime_package_control.git Package\ Control | |
| cd Package\ Control | |
| git checkout python3 | |
| # restart Sublime Text 3 and you should have Package Control working |