// http://stackoverflow.com/questions/26581467/creating-woocommerce-order-with-line-item-programatically
$address = array(
'first_name' => 'Fresher',
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
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.