I hereby claim:
- I am fern4lvarez on github.
- I am fern4lvarez (https://keybase.io/fern4lvarez) on keybase.
- I have a public key whose fingerprint is 9A9E 8E62 4F9E 1AEE 88CF 5C20 BB8B 0CE6 6690 29EF
To claim this, I am signing this object:
#!/bin/bash | |
set -ex | |
instanceID=$1 | |
date=$(date +%Y%m%d) | |
function downloadLog () { | |
local log=$1 |
#!/usr/bin/env bash | |
# http://www.last.fm/api/account/create | |
API_KEY="" | |
USER="" | |
TRACKS=$(curl -s https://ws.audioscrobbler.com/2.0/\?method\=user.getRecentTracks\&user\=${USER}\&api_key\=${API_KEY}\&limit\=1\&format\=json) | |
TRACK=$(echo $TRACKS | sed 's/#//g' | jq '.recenttracks.track[0]') |
elasticsearch: | |
image: elasticsearch:latest | |
command: elasticsearch -Des.network.host=0.0.0.0 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
logstash: | |
image: logstash:latest | |
command: logstash -f /etc/logstash/conf.d/logstash.conf | |
volumes: |
I hereby claim:
To claim this, I am signing this object:
import random | |
import time | |
backend = ['mk', 'sf', 'tr', 'oh', 'rm', 'tw', 'fa', 'cl'] | |
frontend = ['sf', 'eo', 'tr', 'oh', 'hp', 'dv', 'pe', 'fa'] | |
teams = [] | |
def draw(backend, frontend): | |
a = backend[random.randint(0, len(backend) - 1)] |
#!/usr/bin/env bash | |
# Execute as super user | |
# chmod +x install_gitsh.sh | |
# sudo ./install_gitsh.sh | |
VERSION="0.9" | |
curl -O http://thoughtbot.github.io/gitsh/gitsh-${VERSION}.tar.gz |
# This is a comment, it is echo'ed to the stdout | |
# Aptofile: 8 Things To Do After Installing Ubuntu 13.10 | |
# 1. Install some extra AppIndicators (applets) | |
install indicator-multiload | |
add atareao/atareao -p my-weather-indicator | |
add peterlevi/ppa -p variety | |
install diodon diodon-plugins |
git clone https://github.com/fern4lvarez/chatzilla.git | |
cd chatzilla | |
cctrlapp APP_NAME create python | |
cctrlapp APP_NAME/default push | |
cctrlapp APP_NAME/default deploy |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.json.simple.JSONObject; | |
import org.json.simple.parser.JSONParser; | |
import org.json.simple.parser.ParseException; |