Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
# Save a copy of this file to the backup directory | |
THEDATE=`date +"%Y%m%d"` | |
THETIME=`date +"%H%M%S"` | |
filedata=`cat` | |
mkdir -p "$TM_BACKUP_DIR/$THEDATE" | |
echo "$filedata" > "$TM_BACKUP_DIR/$THEDATE/$TM_FILENAME.$THEDATE.$THETIME.backup" |
# To maintain your posterous links use the below permalink config | |
# ----------------------- # | |
# Jekyll & Plugins # | |
# ----------------------- # | |
permalink: /:title/ |
Alternative forms of collision detection | |
- Possible use of algorithms like quadtrees and spatial hashing | |
Positioning based on tuples/numpy arrays vs Rects | |
Anchor points | |
Improved layering system | |
"Automated" dirty rendering | |
A Group which implements the Sprite protocol (aggregate sprites) | |
Properties which change sprites in various ways: | |
- angle of rotation | |
- scale (zoom in or out) |
There have been several HOWTOs posted regarding streaming the 2012 Olympics using HTTP / SOCKS proxies via SSH and other similar methods. None of these actually work using the latest Flash on Mountain Lion (with Firefox, Chrome or Safari). Additionally, the third-party streaming sites don't provide BBC's amazing interface, which lets you quickly skip to individual competitors and events. However, setting up an OpenVPN server does work, with some tweaks. You'll get the exact same UX that people in England receive.
Get a Linode VM in the UK. The 512MB server for $20 works just fine. (If you want to use my referral link, go for it: http://bit.ly/OuzdVe)
Follow the standard OpenVPN installation documentation. (Basically, 'apt-get install openvpn' or 'yum install openvpn' and then follow these docs: http://openvpn.net/index.php/open-source/documentation/howto.html). For an OS X client, I prefer Viscosity: http://www.thesparklabs
// window.saveAs | |
// Shims the saveAs method, using saveBlob in IE10. | |
// And for when Chrome and FireFox get round to implementing saveAs we have their vendor prefixes ready. | |
// But otherwise this creates a object URL resource and opens it on an anchor tag which contains the "download" attribute (Chrome) | |
// ... or opens it in a new tab (FireFox) | |
// @author Andrew Dodson | |
// @copyright MIT, BSD. Free to clone, modify and distribute for commercial and personal use. | |
window.saveAs || ( window.saveAs = (window.navigator.msSaveBlob ? function(b,n){ return window.navigator.msSaveBlob(b,n); } : false) || window.webkitSaveAs || window.mozSaveAs || window.msSaveAs || (function(){ |
server { | |
listen 80; | |
server_name subdomain.domain.com; | |
location ~* ^/(favicon.ico|robots.txt|500.html|404.html|422.html)$ { | |
root /home/rails/website/current/public; | |
try_files $uri =404; | |
} | |
} |
{ | |
"directory": "vendor/assets/components" | |
} |
#!/usr/bin/env ruby | |
require 'english' | |
require 'rubocop' | |
ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
changed_files = `git status --porcelain`.split(/\n/). | |
select { |file_name_with_status| | |
file_name_with_status =~ ADDED_OR_MODIFIED |
body{background-image:url("/assets/background-0539f790ccc171714d5ad38f5524423e.jpg")} |