08 Aug 2014
I’m still cleaning up my migration from WP to Jekyll. Today I had to remind me self how to write IIS Rewrite Rules so any existing blog links wouldn’t be broken; e.g.
http://blog.nadigs.net/mark/2011/02/18/more-android-love/
.
The next hurdle I ran into is that Jekyll wants to force posts under any categories; e.g.
My Post http://mark.nadigs.net/2011/02/18/more-android-love/
wanted to only be accessible from http://mark.nadigs.net/android/2011/02/18/more-android-love/
due to the ‘Android’ category. The simple fix here was to change all categories to tags.
Remaining:
- add search
- add tags filter
- add SO / GH feeds
31 Mar 2014
Great writeup on building your first gem, including starting with tests.
http://quickleft.com/blog/step-by-step-guide-to-building-your-first-ruby-gem
29 Jan 2014
I’ve been on zshell (via oh-my-zsh) for some time and have loved most of it. One of my nits was ‘no matches found’ when running various rake tasks; e.g.
$ rake parallel:spec[4]
> zsh: no matches found: parallel:spec[4]
I was a bit fuddled on the root cause, but today I found the solution and the cause. The root cause was zshell’s substitutions http://zsh.sourceforge.net/Guide/zshguide05.html and the solution was to add
to my ~/.zshrc
18 Jan 2014
-
pipe to pbcopy
and pbpaste
-
opensnoop
or lsof
to list files open by process
-
simple http server python -m SimpleHTTPServer 8000
Sources:
http://apple.stackexchange.com/questions/5435/got-any-tips-or-tricks-for-terminal-in-mac-os-x
http://serverfault.com/questions/7346/what-are-useful-command-line-commands-on-mac-os-x