Skip to content

Instantly share code, notes, and snippets.

// Simplest possible wrapper around IHKeyboardAvoiding.
//
// I don't really know how to Xcode, but I got it to work by:
//
// 1. Checking out the IHKeyboardAvoiding repository.
// https://github.com/IdleHandsApps/IHKeyboardAvoiding
//
// 2. Dragging the Files IHKeyboardAvoiding.{h,m} into my project.
//
// 3. Ensuring that both .m files are in the "Compile Sources" phase of the target.
(ns drum-machine.core
(:require [om.core :as om :include-macros true]
[sablono.core :as html :refer-macros [html]]))
(enable-console-print!)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; UI
(def tau 6.2831853071)
@jellea
jellea / awesome.rb
Created August 21, 2013 19:05 — forked from xorl/gist:2295504
require 'formula'
class Awesome < Formula
url 'http://awesome.naquadah.org/download/awesome-3.4.10.tar.bz2'
homepage 'http://awesome.naquadah.org/'
md5 '245087f8065867eff37a2133287d5c03'
depends_on 'cmake'
depends_on 'lua'
depends_on 'imlib2'
@jellea
jellea / KindleToEvernote.py
Created May 9, 2012 13:56 — forked from jplattel/KindleToEvernote.py
Kindle clippings to Evernote
import os
import time
document = open("My Clippings.txt","r")
data = "".join(document.readlines())
notes = []
try:
clippings = data.split('==========')