I hereby claim:
- I am aramboi on github.
- I am aramboi (https://keybase.io/aramboi) on keybase.
- I have a public key ASCR_ywR3wAIOUUflIJvLT_w1zJjgGDOFt1AUkDWggEm2wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ ! $1 ] | |
then | |
echo "usage: simplescreenrecorder_steam_fix <VERSION>" | |
echo "example: simplescreenrecorder_steam_fix 0.3.6" | |
exit 1; | |
fi | |
VERSION=$1 |
#!/bin/bash | |
set -e | |
apt-get update | |
apt-get upgrade -y | |
apt-get install wkhtmltopdf xfonts-75dpi -y | |
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-i386.deb | |
dpkg -i wkhtmltox-0.12.2.1_linux-trusty-i386.deb |
#!/bin/bash | |
FUSE_VER=2.9.3 | |
S3FS_VER=1.77 | |
sudo apt-get install -y build-essential libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool | |
wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/${FUSE_VER}/fuse-${FUSE_VER}.tar.gz | |
tar xvfz fuse-${FUSE_VER}.tar.gz | |
cd fuse-${FUSE_VER}/ | |
./configure |
def ethiopian_multiplication(a, b): | |
res = 0 | |
while a != 1: | |
if a & 1: | |
res += b | |
b += b | |
a = a / 2 | |
res += b | |
return res |
# Simple interface for rapid prototyping stuff on AWS CloudSearch using boto | |
import time | |
import boto | |
class ProcessingException(Exception): pass | |
class CloudSearch(object): | |
def __init__(self, access_key_id, secret_access_key, domain): | |
conn = boto.connect_cloudsearch(access_key_id, secret_access_key) |