Skip to content

Instantly share code, notes, and snippets.

View amniskin's full-sized avatar

Aaron Niskin amniskin

View GitHub Profile
(set-env! :dependencies '[[adzerk/boot-cljs "0.0-3308-0"]
[adzerk/boot-reload "0.3.1"]
[org.clojure/clojurescript "0.0-3308"]
[org.clojure/clojure "1.8.0-alpha2"]
#_[tailrecursion/boot-hoplon "0.1.0"]
[tailrecursion/hoplon "6.0.0-alpha4"]]
:source-paths #{"src"}
:resource-paths #{"assets"})
(require
(defn make-exponentiation [base exponent]
(list '** base exponent))
(defn make-product [m1 m2]
(list '* m1 m2))
(defn make-sum [a1 a2]
(list '+ a1 a2))
" required by vundle {{{
"
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"
Plugin 'gmarik/Vundle.vim'
"
" "}}}
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
#!/usr/bin/env bash
STAMP=$(date +"%Y-%m-%d_%H:%M");
gnome-screenshot -w -f ~/Pictures/Screenshots/$STAMP.png
#!/usr/bin/env bash
# cd ~/.bash/bin/notes; aplay $(ls | shuf -n 1);
amixer -D pulse set Master 5%-; #increase sound volume
#!/usr/bin/env bash
amixer -D pulse set Master toggle; #mute or unmute sound
# cd ~/.bash/bin/notes; aplay $(ls | shuf -n 1); #play pseudo-random sound
#!/usr/bin/env boot
(require '[clojure.string :refer [upper-case]])
(def roman-map
{"I" 1
"V" 5
"X" 10
"L" 50
"C" 100
"D" 500
@amniskin
amniskin / whyJs.js
Last active February 23, 2016 17:10
var Thing = (function() {
function Thing(id, name) {
this.id = id;
this.name = name;
}
return Thing;
})();
var Thing2 = function(id, name) {