各種所用顏色的色碼(主色、輔助色...)
- 字型名稱
- 基礎大小
- 基礎行高
- h1~h6大小
### Keybase proof | |
I hereby claim: | |
* I am gogojimmy on github. | |
* I am gogojimmy (https://keybase.io/gogojimmy) on keybase. | |
* I have a public key whose fingerprint is 1BD7 6CD9 DB41 5053 7E61 8BD5 7E69 2D01 B612 C9F8 | |
To claim this, I am signing this object: |
[user] | |
name = gogojimmy | |
email = jimmy@gogojimmy.net | |
[alias] | |
co = checkout | |
st = status | |
br = branch | |
ci = commit | |
di = diff | |
dc = diff --cached |
#!/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 | |
# |
#Coding style:
:
後面皆一個半型空白。{
的宣告前面加上一個半型空白。範例:
.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 |
Jimmy at gogojimmy in ~/Projects/Personal/babysworld on develop? | |
$ cap deploy:cold | |
triggering start callbacks for `deploy:cold' | |
* 08:05:28 == Currently executing `multistage:ensure' | |
*** Defaulting to `staging' | |
* 08:05:28 == Currently executing `staging' | |
* 08:05:28 == Currently executing `deploy:cold' | |
* 08:05:28 == Currently executing `deploy:update' | |
** transaction: start | |
* 08:05:28 == Currently executing `deploy:update_code' |
#設定 WordPress
#善用第三方工具
# Guide | |
# Configure the essential configurations below and do the following: | |
# | |
# Repository Creation: | |
# cap deploy:repository:create | |
# git add . | |
# git commit -am "initial commit" | |
# git push origin master | |
# | |
# Initial Deployment: |
hash = {}
hash[:foo][:bar] = :hello
=> NoMethodError: undefined method `[]=' for nil:NilClass
請建立一個 Hash 可以不管 key 值是否存在都可以自動設定 key 及 value