Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
mmcgrana / s3
Created October 14, 2010 19:52 — forked from adamwiggins/s3
#!/usr/bin/env ruby
require 'rubygems'
require 'aws/s3'
class S3Cmd
include AWS::S3
def initialize
Base.establish_connection!(
@mmcgrana
mmcgrana / server.clj
Created January 8, 2012 22:12 — forked from anonymous/server.clj
http.server example
(ns http.server
(:require [vertx.http :as http]))
(def server (http/server))
(defn vertx-start
[]
(-> server
(http/on-request
(fn [req resp]