Mark's Blog About Search Activity

Blog Migration

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:

  1. add search
  2. add tags filter
  3. add SO / GH feeds

Building your first gem

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

zsh: no matches found:...

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

alias rake="noglob rake"

to my ~/.zshrc

OSX Terminal Tips

  • 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

FFmpeg essentials

General guide: https://evilsoup.wordpress.com/2013/02/10/general-ffmpeg-encoding-guide-2/

Wiki https://trac.ffmpeg.org/wiki#Encoding