git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
A quick overview of the node.js streams interface with basic examples.
This is based on @brycebaril's presentation, Node.js Streams2 Demystified
Streams are a first-class construct in Node.js for handling data.
Think of them as as lazy evaluation applied to data.
| #!/bin/bash | |
| # Written by Andrew McDonough | |
| # Prerequisites: xdotool must be installed and in your path (http://tinyurl.com/xdotool) | |
| # A simple bash script that uses xdotool to move the window that is currently in focus to different parts of the screen. | |
| # Particularly useful for reading web pages with flexible layouts on wide monitors. | |
| # Assign the various options to keyboard shortcuts e.g. '<Super>Left' assigned to 'swind left' | |
| # See http://tinyurl.com/ubuntukeys for help with assigning keyboard shortcuts. | |
| # Added fetching display geometry |