With Audio and Screen Sharing Enabled
Add the i386
architecture to the list of dpkg
architectures :
sudo dpkg --add-architecture i386
import sys, time, subprocess, socket, telnetlib | |
from datetime import datetime | |
from collections import defaultdict | |
from boto.ec2.cloudwatch import CloudWatchConnection | |
MAPPINGS = { | |
# Memcached name: (AWS Name, AWS Metric Type, Calculation Method) | |
'uptime': ('Uptime', 'Count', 'gauge'), |
#!/bin/bash | |
options=('find' 'delete') | |
PS3='state your wish: ' | |
echo -e "\nfind/delete corrupt whisper-files" | |
select opt in "${options[@]}"; do | |
case $REPLY in | |
[12] ) option=$opt; break;; | |
* ) exit;; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#API Partners at Hacking Journalism
##API Intros There will be API intros to some of the APIs. These will be running through the afternoon on Saturday.
function findHandler(err, docs) { | |
if (!err) { | |
// Return Success & JSON Content-type | |
var length = docs.length; | |
writeMeta(self.res,200,url,length); | |
// Process results from Mongo | |
docs.forEach(function(e,i,a) { | |
//console.log(e,i,a); |