This file contains 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
// 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. |
This file contains 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 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) |
This file contains 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
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' |
This file contains 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
import os | |
import time | |
document = open("My Clippings.txt","r") | |
data = "".join(document.readlines()) | |
notes = [] | |
try: | |
clippings = data.split('==========') |