Rackspace API: trove install to enable root user

Rackspace Trove set-up:

Mac OSX:

sudo easy_install pip
sudo pip install python-troveclient

# trove:
# http://docs.rackspace.com/cdb/api/v1.0/cdb-getting-started/content/Install_Trove_Client.html

trove list
trove root-enable

Clear DNS cache on Mac OSX

How to reset (flush) the DNS cache on Mac OSX

OSX 10.9 (Mavericks)
dscacheutil -flushcache
sudo killall -HUP mDNSResponder

should also work for 10.10 (Yosemite)

Get build ID from Git repo

git log --pretty=oneline | wc -l

Run multiple copies of Skype on Mac

sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary

Prettify JSON output from the command line

to show formatted JSON and basic linting:
echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool

GitHub-Pivotal Tracker commit format

Easy integration to change status on Pivotal Tracker when using GitHub. After sync’ing the services via API key, you can use the format:

[Delivers #12345679]

verbs include:
started, fixed, completed, finished, delivered.

see: https://www.pivotaltracker.com/help/api?version=v5

The minimum commit message string that will allow Tracker to associate a /source_commits POST with a story and create a comment is a single story ID enclosed in square brackets: ‘[#12345678]‘. A more typical message, indicating that one commit completes two stories (which need not be in the same Tracker project), might look like this: ‘finally [finished #12345678 #12345779], fixes client/server integration glitch’

If an included story was not already started (it was in the “not started” state), an update to that story from /source_commits that doesn’t contain any other state-change information will automatically start the story.

To automatically finish a story by using a commit message, include “fixed”, “completed”, or “finished” in the square brackets in addition to the story ID. You may use different cases or forms of these verbs, such as “Fix” or “FIXES”, and they may appear before or after the story ID.

« Previous Entries