open /Applications/Sublime\ Text.app
example usage:
curl -s https://api.github.com/users/$USER/repos | python git_parse.py | xargs -I{} git clone {} |
from multiprocessing import Pool as MPool | |
from time import sleep | |
import datetime | |
import multiprocessing | |
import random | |
def time_request(): | |
from gevent import monkey; monkey.patch_socket | |
from jsonrequester import JsonRequester |
import math | |
import numpy | |
import numpy.random as nrand | |
""" | |
Note - for some of the metrics the absolute value is returns. This is because if the risk (loss) is higher we want to | |
discount the expected excess return from the portfolio by a higher amount. Therefore risk should be positive. | |
""" | |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
terraform graph | dot -Tsvg > graph.svg && /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome graph.svg |
I hereby claim:
To claim this, I am signing this object:
OpenBazaar Peer ID: QmbtGQ4xeENuh6ktp2rWdiFbetmHy5rPLS5PJf8HS5LXbb
#! /bin/bash | |
# usage: chmod +x ./foxinsock.sh && ./foxinsock.sh 123.456.789.012 | |
export PROXY=$1 | |
# assumes 1 default profile "*.default" | |
if [[ "$OSTYPE" == "darwin"* ]]; then | |
export FFPROFILE=/Users/$USER/Library/Application\ Support/Firefox/Profiles/*.default/ | |
else | |
export FFPROFILE=$HOME/.mozilla/firefox/profiles/*.default |