Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
usage()
{
echo
echo "NAME"
echo " ${0##*/} - kickstart git"
echo
echo "SYNOPSIS"
echo " ${0##*/} <EMAIL> [NAME]"
@wolf3d
wolf3d / .Xdefaults
Created October 16, 2015 12:23 — forked from yevgenko/.Xdefaults
URxvt settings with solarized theme
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
@wolf3d
wolf3d / JettyLauncher.scala
Created October 4, 2015 19:43 — forked from lstoll/JettyLauncher.scala
Scalatra on Heroku
/*
* Starts jetty for scalatra programatically
*
* Replace YourApplicationEndpointFilter with the filter in your application
*/
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.servlet.{DefaultServlet, ServletContextHandler}
object JettyLauncher {
def main(args: Array[String]) {
@wolf3d
wolf3d / gist:2ebb9d6009a7831a2a5e
Created October 4, 2015 15:24 — forked from crizCraig/gist:2816295
Download images from Google Image search using Python
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):
"""Download full size images from Google image search.