Skip to content

Instantly share code, notes, and snippets.

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