What this will cover
- Host a static website at S3
- Redirect
www.website.com
towebsite.com
- Website can be an SPA (requiring all requests to return
index.html
) - Free AWS SSL certs
- Deployment with CDN invalidation
let categories = [ | |
"56aa371be4b08b9a8d5734db":"🎶", // Amphitheaters | |
"4fceea171983d5d06c3e9823":"🐠", // Aquariums | |
"4bf58dd8d48988d1e1931735":"🎮", // Arcades | |
"4bf58dd8d48988d1e2931735":"🖼", // Art Galleries | |
"4bf58dd8d48988d1e4931735":"🎳", // Bowling Alleys | |
"4bf58dd8d48988d17c941735":"🎰", // Casinos | |
"52e81612bcbc57f1066b79e7":"🎪", // Circuses | |
"4bf58dd8d48988d18e941735":"😂", // Comedy Clubs | |
"5032792091d4c4b30a586d5c":"🎶", // Concert Halls |
For the cv
command, if the supplied parameter is not formatted properly or we cannot return all the changes from that cursor, the response will now be cv:?
. Previously, the server responded with c:?
If the server determines the supplied connection credentials are no longer valid, previously the server responded with two messages:
auth:expired
auth:{"msg":"Token invalid","code":401}
Now, the server will only respond in the error case with the second message (the JSON error object).
As configured in my dotfiles.
start new:
tmux
start new with session name:
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <errno.h> | |
/* MB of memory to allocate */ | |
#define MB 100 | |
/* How many processes to spawn */ | |
#define FORKS 50 | |
/* How many random elements to change in the child process */ |
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