Skip to content

Instantly share code, notes, and snippets.

View grigorisg9gr's full-sized avatar

Grigoris grigorisg9gr

View GitHub Profile
@grigorisg9gr
grigorisg9gr / tmux_multiple.sh
Last active February 27, 2016 22:49 — forked from dmkash/br.sh
Shell Script for tmux setup
#!/bin/sh
SESSION_NAME="big_red"
cd ~/Sites/within3/big_red
tmux has-session -t ${SESSION_NAME}
if [ $? != 0 ]
then
import json
import os
import time
import requests
from PIL import Image
from StringIO import StringIO
from requests.exceptions import ConnectionError
def go(query, path, min_height=20, min_width=20):
"""Download full size images from Google image search.