#Coding style:
- 使用兩個半型空白作為縮排。
- 在 property 宣告中的
:
後面皆一個半型空白。 - 在
{
的宣告前面加上一個半型空白。
範例:
.styleguide-format {
border: 1px solid #0f0;
require 'capistrano/ext/multistage' | |
require 'bundler/capistrano' | |
require 'capistrano_colors' | |
#$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) | |
require "rvm/capistrano" | |
set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"") | |
set :rvm_install_type, :stable | |
set :rvm_type, :system |
#Coding style:
:
後面皆一個半型空白。{
的宣告前面加上一個半型空白。範例:
.styleguide-format {
border: 1px solid #0f0;
#!/usr/bin/env sh | |
## | |
# 以下實用的指令是從下面連結取用的: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
[user] | |
name = gogojimmy | |
email = [email protected] | |
[alias] | |
co = checkout | |
st = status | |
br = branch | |
ci = commit | |
di = diff | |
dc = diff --cached |