April 2010
8 posts
由於核心成員全部處於忙碌狀態,本週三(2010/04/21)的 RGBA 聚會暫停乙次。
Apr 20th
Changing Git’s default editor
Git is very nice, but some people may think that using vi is somewhat archaic. Though we have GitX, sometimes we just happen to commit from the command line. git config configures git. Use this line to change Git’s global configuration on which editor to use: $ git config --global core.editor "nano" If you happen to have SubEthaEdit, install its command line tool and you can substitute...
Apr 20th
More WebKit Inspector Updates →
WebKit Nightly. Every Web worker’s swiss army knife. Notice that the new Elements view shows :before & :after pseudo-elements. ev
Apr 20th
More on LESS, LESS/Coda
We (okay, at least myself) love LESS. We also love Coda. Unfortunately the only plug-in widely adopted for Coda that tunnels your LESS code and $ lessc is not immaculate. e.g., the plug-in’s window is immensely HUGE on a 13.3” MacBook(Pro), and compiled .css files are not immediately marked for publishing. Solutions exist to both undesirable situations. It happens that Coda allows you to...
Apr 14th
Mutli-column layouts sans divs, floats, clears,... →
Floating stuff around is flat long-winded, super-painful, error-prone and litter-plenty. A very nice solution to multi-columned layout does exist. Key: display: table-cell et al. ev
Apr 14th
Including current Git branch in your Bash prompt
Open and edit your Bash profile by launching a Terminal and executing $ sudo nano ~/.bash_profile Include these constants in your bash profile, so we have better semantics: BASH_NEWLINE="\n" BASH_GRAY="\[\e[1;30m\]" BASH_LIGHT_GREEN="\[\e[1;32m\]" BASH_WHITE="\[\e[1;0m\]" BASH_LIGHT_GRAY="\[\e[0;37m\]" Insert this function (you decide its name): function parse_git_branch { ref=$(git...
Apr 14th
7 notes
今天4/14聚會照常在生態綠與大家見面
Apr 13th
今天聚會照常在生態綠與大家見面
Apr 6th