I hereby claim:
- I am egabancho on github.
- I am egabancho (https://keybase.io/egabancho) on keybase.
- I have a public key whose fingerprint is 6E8B 3572 0D3C 8A62 88E7 D754 0F80 9AC0 AF0D A61E
To claim this, I am signing this object:
#!/usr/bin/env python | |
"""Compare two aligned images of the same size. | |
Usage: python compare.py first-image second-image | |
""" | |
import sys | |
from scipy.misc import imread | |
from scipy.linalg import norm |
#!/usr/bin/env python | |
import sys | |
from invenio.dbquery import run_sql | |
from invenio.search_engine import get_tag_name | |
from invenio.search_engine import get_collection_reclist | |
from invenio.intbitset import intbitset | |
collection = sys.argv[1] |
#!/usr/bin/env python | |
from invenio.search_engine import get_collection_reclist, get_record | |
from invenio.intbitset import intbitset | |
from click import progressbar | |
collection = sys.argv[1] | |
recids = list(get_collection_reclist(collection)) | |
recids.reverse() |
I hereby claim:
To claim this, I am signing this object:
This Gist contains the script and generated output file for an Acer B276HUL.
The pre-generated file below is known to work with:
For El Capitan:
#!/usr/bin/ruby | |
require 'open-uri' | |
require 'json' | |
user = 'imathis' | |
repos = open("https://api.github.com/users/#{user}/repos") { |f| | |
JSON.parse(f.readlines.join) | |
} |
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.8 |
function service { | |
# Needs brew services installed: brew tap homebrew/services | |
# $1 the service and $2 the action | |
# service mysql stop | |
# service mysql status | |
if [ $2 == "status" ]; then | |
STATUS=`brew services ls | grep --color=never $1` | |
if [ -n "$STATUS" ]; then | |
echo $STATUS | |
else |
#!/bin/bash | |
set -e | |
export WORKON_HOME=~/Work/envs | |
source /usr/local/bin/virtualenvwrapper.sh | |
#Create virtualenv and workdir | |
mkvirtualenv $1 | |
cdvirtualenv | |
mkdir src; cd src |
mkdir -p /opt/pkgs | |
# cmake 2.8 (for some vim plugins) | |
cd /opt/pkgs | |
wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz | |
tar -zxvf cmake-*.tar.gz | |
rm -f cmake-*.tar.gz | |
cd cmake* |