jq is useful to slice, filter, map and transform structured json data.
brew install jq
| [Unit] | |
| Description=Connecting MySQL Client from Compute Engine using the Cloud SQL Proxy | |
| Documentation=https://cloud.google.com/sql/docs/mysql/connect-compute-engine | |
| Requires=networking.service | |
| After=networking.service | |
| [Service] | |
| WorkingDirectory=/usr/local/bin | |
| ExecStart=/usr/local/bin/cloud_sql_proxy -dir=/var/run/cloud-sql-proxy -instances=<INSTANCE_CONNECTION_NAME>=tcp:3306 | |
| Restart=always | 
##Intro
Janus is a "basic distribution of vim plugins and tools intended to be run on top of the latest MacVIM snapshot." It is maintained by Yehuda Katz and Carl Lerche.
I recently whinged on Twitter that all I really want is vim with TextMate's Command-T go-to-file functionality and some efficient visual tab/buffer navigation. Turns out MacVim + Janus, with just a few tweaks, is all that and more.
Follow the installation instructions on the git page
| #!/usr/bin/env ruby | |
| # Twitter Hashtag Counter | |
| # | |
| # Script to count a twitter hashtag and save the result and last_tweet_id to | |
| # hashtag_counter_result.txt and last_tweet_id.txt | |
| # | |
| # Requirements: twitter gem. | |
| # To install twitter gem: [sudo] gem install twitter | |
| require 'rubygems' |