Skip to content

Instantly share code, notes, and snippets.

Working from home

Roman Valls Guimera brainstorm

Working from home
View GitHub Profile
brainstorm / Preferential attachment algorithm.ipynb
Last active Aug 29, 2015
Preferential attachment algorithm with Guido's graph notation
View Preferential attachment algorithm.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am brainstorm on github.
  • I am brainstorm ( on keybase.
  • I have a public key whose fingerprint is F12F E607 E080 588A F5CE D8F1 12A5 388F 08F8 0CB5

To claim this, I am signing this object:

brainstorm /
Last active Aug 29, 2015 Fetching pipermail gzipped archives and converting them to .mbox format
# Usage:
# automated retrieval of pipermail archives & conversion to mbox file
# Last edit: 2012/10/09 Tue 23:16 PDT
listname=$(echo "$1" | sed 's:^\(http.*\)/\([^/]*\)/$:\2:')
cd /tmp
wget -r -l 1 -nH -A *.txt.gz "$1"
touch /tmp/pipermail/$listname/$listname.mbox
chmod 600 /tmp/pipermail/$listname/$listname.mbox
cd /tmp/pipermail/$listname
brainstorm / dataspace-kibana.json
Created Jun 25, 2014
DataSpace Kibana JSON definition
View dataspace-kibana.json
"title": "Logstash Search",
"services": {
"query": {
"list": {
"0": {
"query": "loglevel: ERROR",
"alias": "errors",
"color": "#BF1B00",
"id": 0,
brainstorm /
Created Sep 1, 2014
Buildbot scripts for Efika MX image/release engineering
dcfldd if=/dev/$1 bs=1M count=1800 status=on statusinterval=1 | xz -z -T3 -c -e >$2
brainstorm / kibana_pacemaker.json
Last active Aug 29, 2015
View kibana_pacemaker.json
"title": "Pacemaker",
"services": {
"query": {
"list": {
"0": {
"query": "verb='GET'",
"alias": "GET",
"color": "#7EB26D",
"id": 0,
brainstorm / Baton-dockerfile
Last active Aug 29, 2015
Baton Dockerfile
View Baton-dockerfile
FROM ubuntu:12.04
ENV IRODS_VAULT /usr/local/var/lib/irods/Vault
RUN apt-cache search autotools
RUN apt-get update -qq
RUN apt-get install -qq odbc-postgresql unixodbc-dev build-essential libjansson-dev libjansson4 git wget autoconf
brainstorm / Vagrantfile
Created Jun 24, 2015
BioStar ansible recipe
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box_url = "" = "base"
View JeOS
sudo vmbuilder kvm ubuntu --hostname cloudbiolinux.local --suite lucid \
--flavour virtual --arch amd64 -o --libvirt qemu:///system \
--user ubuntu --pass password \
--addpkg unattended-upgrades --addpkg acpid --addpkg openssh-server
brainstorm / Dockerfile
Created Sep 11, 2015
SeqControl Dockerfile
View Dockerfile
FROM phusion/baseimage
RUN apt-get update && apt-get install -y wget picard picard-tools samtools bedtools
RUN apt-get autoclean
RUN cd /tmp && wget
RUN cd /tmp && tar xvzf SeqControl_*.tar.gz && mv SeqControl_*/* /usr/local/bin
RUN rm -rf /tmp/SeqControl_*