Archive

Archive for January, 2016

Python’s Class Development Toolkit

January 26, 2016 Leave a comment

Python’s Class Development Toolkit Talk by Raymond Hettinger

Categories: Interesting, python

Nylas – How we deploy python code

January 25, 2016 Leave a comment

How we build, package, and deploy Python into versioned artifacts using Debian packages.

https://nylas.com/blog/packaging-deploying-python

Riemann

January 25, 2016 Leave a comment

Riemann aggregates events from your servers and applications with a powerful stream processing language. Send an email for every exception in your app. Track the latency distribution of your web app. See the top processes on any host, by memory and CPU. Combine statistics from every Riak node in your cluster and forward to Graphite. Track user activity from second to second.

Categories: Interesting

Let’s Build A Simple Interpretor

January 25, 2016 Leave a comment
Categories: python

FreeNAS Server Build

January 15, 2016 Leave a comment
Categories: Interesting

Deleting a branch (locally and remotely)

January 13, 2016 1 comment

Problem:

I needed to delete a git branch but not lose the data on the branch. The desired outcome was to have a new branch that had the same details are the old branch and to empty out the old branch.

My existing state:

master # Empty
old_branch # Has a bunch of files I do not want to lose.

My desired state:

master # Empty
old_branch # Empty
new_branch # Has all the files that were in old_branch.

Solution:
It was a pretty painless process and straight forward. Git rocks!

$ git branch --list # See local branches
$ git branch --remotes # List the remote-tracking branches.
$ git checkout <old_branch>
$ git branch <new_branch>
$ git branch --delete <old_branch>
$ git push origin --delete <old_branch> 
$ git fetch origin --prune # After fetching, remove any remote-tracking references that no longer exist on the remote.
$ git push origin <new_branch>
$ git checkout master
$ git branch <old_branch> # Now old_branch is the same as master
$ git push origin <old_branch>
$ git branch --remotes
$ git branch --list

Source:
http://stackoverflow.com/questions/2003505/delete-a-git-branch-both-locally-and-remotely

Categories: git Tags:

View wireless connection password on Mac

January 8, 2016 Leave a comment

Problem:

How to get the wireless connection password.

Solution:
Open Keychain Access
Select/Open the entry for your wireless network
View password.

You will be asked for the administrator username and password.

Source:
https://discussions.apple.com/message/4984428#4984428