This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Overrides some stuff in suds to make suds play well with app engine. | |
| For more info, see this blog post: | |
| http://omiethenull.blogspot.in/2010/08/suds-and-appengine.html | |
| """ | |
| """ | |
| Created on Aug 25, 2010 | |
| @author: jesse.j.wattenbarger@gmail.com (Jesse Wattenbarger) | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns | |
| #^{:author "Jesse Wattenbarger" | |
| :doc "pulled out of a production program for gist."} | |
| coolquery.core | |
| (:gen-class) | |
| (:require [clojure.java.io :as io] | |
| [clojure.core.async :as a :refer | |
| [chan go go-loop close! <!! <! >! >!!]] | |
| [jdbc.core :as jdbc] ;; good jdbc interop | |
| )) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vi: set ft=ruby : | |
| # -*- mode: ruby -*- | |
| VAGRANTFILE_API_VERSION = "2" | |
| BASE_URL="http://cloud-images.ubuntu.com/vagrant" | |
| PRECISE32_URL="#{BASE_URL}/precise/current/precise-server-cloudimg-i386-vagrant-disk1.box" | |
| PRECISE64_URL="#{BASE_URL}/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box" | |
| QUANTAL32_URL="#{BASE_URL}/quantal/current/quantal-server-cloudimg-i386-vagrant-disk1.box" | |
| QUANTAL64_URL="#{BASE_URL}/quantal/current/quantal-server-cloudimg-amd64-vagrant-disk1.box" | |
| RARING32_URL="#{BASE_URL}/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box" | |
| RARING64_URL="#{BASE_URL}/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Distribution (platform) detection | |
| def detect_distro | |
| # OSX | |
| if `uname`.chomp == 'Darwin' | |
| os_release = %x[ sysctl -n kern.osrelease ].chomp | |
| return [:osx, os_release] | |
| end | |
| # Solaris |
NewerOlder