This file contains 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
Especially, the t1.micro instance type: | |
Use a ZeroMQ example - run it in a loop and time it. | |
python2.7 ~/zguide/examples/Python/wuserver.py & | |
while true; do (time python2.7 ~/zguide/examples/Python/wuclient.py) 2>> ~/wuclient_output ; done | |
This file contains 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
Install latest Zeromq (e.g. 3.2.2) | |
Get an install the latest Python 2.x (e.g. 2.7.3) | |
- install with sudo make altinstall | |
Get and install Cython | |
Get Pyzmq (e.g. git clone git://github.com/zeromq/pyzmq.git) | |
Build Pyzmq with Python 2.7 |
This file contains 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/env python | |
import boto | |
import boto.ec2.cloudwatch | |
from boto.ec2.cloudwatch import MetricAlarm | |
access_key_id='YOUR_ACCESS_KEY_ID' | |
secret_access_key='YOUR_SECRET_ACCESS_KEY' | |
This file contains 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
" Snarkyboojum's Vim configuration | |
" Last updated: 24/06/2006 | |
set nocompatible | |
" turn syntax highlighting on and change tabs to 4 spaces | |
syntax on | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 |
This file contains 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
export DEBIAN_FRONTEND=noninteractive | |
sudo -E apt-get update | |
sudo -E apt-get install -y ubuntu-desktop | |
sudo add-apt-repository ppa:freenx-team | |
sudo apt-get update | |
sudo aptitude install -y freenx | |
wget https://bugs.launchpad.net/freenx-server/+bug/576359/+attachment/1378450/+files/nxsetup.tar.gz | |
tar -xvf nxsetup.tar.gz |
This file contains 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
$ cat build.sh | |
#!/bin/env bash | |
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install perl-devel | |
curl -L http://cpanmin.us | perl - --sudo Dancer | |
curl -L http://cpanmin.us | perl - --sudo YAML |
This file contains 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
* A Logstash client -> Kinesis -> Logstash indexer (scale out?) -> CloudSearch | |
-> Redshift | |
pipeline. | |
* A CloudFormation template to spin up an HA NFS server setup, with drdb replication configured, volumes provisioned, and heartbeat configured and running for failover | |
* Define a new ECU measure that actually makes sense. An automation approach to spinning up all instance types, and run SPECint and SPECfp and generate a relative score of CPU capacity across EC2 instances. | |
* An app to determine how much to run in x region – enumerate all services in account via Billing API, then 1:1 match that with another region pricing to see what it would cost to run in the other region |
This file contains 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
Scott milton | |
10:48 AM (7 hours ago) | |
to me, Peter | |
written using Dragon Naturally Speaking: | |
The boys extended is hideously deformed arm and attempted the grass at | |
the lolly the dangle just above his head he was quite unsuccessful as | |
the dangle his older brother would immediately retract the lolly this | |
father-son minutes until finally the boy left altogether returned to |
This file contains 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
#use Grammar::Tracer; | |
grammar FakeJSON { | |
token TOP { | |
'[' | |
<project>+ % ',' | |
']' | |
} | |
token project { |
This file contains 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
use v6; | |
grammar Vcard::Grammar { | |
rule TOP { | |
<begin> | |
<version> | |
<property> ** | |
<end> | |
} | |
rule version { |