Homebrew Formula patching old ImageMagick release 6.8.9-10
brew install https://gist.github.com/sillyfellow/5ab9ff42705c27868946ca75fb443d0a/raw/6bb85dc345711f6cff0b52231ef4bd5f2bd210e6/imagemagick.rb
To prevent upgrades you can pin this version.
# | |
# python drive.py "origin" ["waypoint" ... ] "destination" | |
# | |
# i.e. python drive.py "Union Square, San Francisco" "Ferry Building, San Francisco" 'Bay Bridge' SFO | |
import sys, json, urllib2, md5, os.path, pprint | |
from math import radians, sin, cos, atan2, pow, sqrt | |
from urllib import quote_plus | |
from xml.sax.saxutils import escape | |
from optparse import OptionParser |
#!/usr/bin/env ruby | |
class CountAndroidMethods | |
def count(path) | |
full_folder_path = File.expand_path(path) | |
total_count = 0 | |
# Traverse the folder | |
Dir.entries(full_folder_path).each {|file| |
package main | |
import ( | |
"encoding/base64" | |
"net/http" | |
"strings" | |
) | |
type handler func(w http.ResponseWriter, r *http.Request) |