Keep SSH Connections Alive When Behind Proxy

On Mac fire up Terminal and use vim to edit the file (username is your account): vim /Users/username/.ssh/config In general you can set the interval for any host: Host* ServerAliveInterval 30 Or you may have a server already defined that you wish to apply this property to: MyServer ServerAliveInterval 30

Program Evaluation and Review Technique (PERT)

Trying to estimate the time to allocate for a specific task can be a troubling undertaking. Many times we have ideas and conditions that can produce several varied estimates, but none of which are perfect. Below is a simple formula to help consider all of those cases. (Optimistic + 4(Most Likely) + Pessimistic) / 6 By using this formula one…

Moving Uncommitted Changes With Git

Sometimes when working on some code you realize that you’re not working in the correct branch. You definitely don’t want to begin copying and pasting changes. So why not just use a Git stash? These 3 lines of code will grab your uncommitted changes and transfer to the branch you want. git stash git checkout branch-you-want-changes-in git stash pop

Binding Live Events in jQuery

Dynamically created DOM elements in Javascript are do not by default have event listeners bound to them. In order to have this automatically happen use the “live” method in jQuery. This method monitors the changes to the DOM and updates the listener. It is much more efficient code than binding listeners after element creation. Below is a quick example of…