One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
$ sudo su
, although it may not be necessary.$ curl https://raw.github.com/timkay/aws/master/aws -o aws
$ perl --install aws
$ mv aws /usr/local/bin/ && chmod +x /usr/local/bin/aws
def cycle_key(self): | |
#TODO: Errors here will tank the system, probably need some better handling... | |
old_session_key = self.session_key | |
old_session = Session.objects.get(session_key=old_session_key) | |
try: | |
cart = Cart.objects.get(session=old_session) | |
super(SessionStore, self).cycle_key() | |
new_session_key = self.session_key | |
new_session = Session.objects.get(session_key=new_session_key) | |
cart.session = new_session |
using Microsoft.Phone.Controls; | |
using System; | |
using System.Windows.Controls.Primitives; | |
/// <summary> | |
/// This class detects the pull gesture on a LongListSelector. How does it work? | |
/// | |
/// This class listens to the change of manipulation state of the LLS, to the MouseMove event | |
/// (in WP, this event is triggered when the user moves the finger through the screen) | |
/// and to the ItemRealized/Unrealized events. |
#!/bin/bash | |
# Authorize TCP, SSH & ICMP for default Security Group | |
#ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0 | |
#ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 | |
# The Static IP Address for this instance: | |
IP_ADDRESS=$(cat ~/.ec2/ip_address) | |
# Create new t1.micro instance using ami-cef405a7 (64 bit Ubuntu Server 10.10 Maverick Meerkat) |