This file contains hidden or 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
| (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 |
This file contains hidden or 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
| (defn make-exponentiation [base exponent] | |
| (list '** base exponent)) | |
| (defn make-product [m1 m2] | |
| (list '* m1 m2)) | |
| (defn make-sum [a1 a2] | |
| (list '+ a1 a2)) | |
This file contains hidden or 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
| " required by vundle {{{ | |
| " | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " | |
| Plugin 'gmarik/Vundle.vim' | |
| " | |
| " "}}} |
This file contains hidden or 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
| # 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! |
This file contains hidden or 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
| # 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 |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| STAMP=$(date +"%Y-%m-%d_%H:%M"); | |
| gnome-screenshot -w -f ~/Pictures/Screenshots/$STAMP.png |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # cd ~/.bash/bin/notes; aplay $(ls | shuf -n 1); | |
| amixer -D pulse set Master 5%-; #increase sound volume |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| var Thing = (function() { | |
| function Thing(id, name) { | |
| this.id = id; | |
| this.name = name; | |
| } | |
| return Thing; | |
| })(); | |
| var Thing2 = function(id, name) { |
OlderNewer