Skip to content

Instantly share code, notes, and snippets.

View bjeanes's full-sized avatar
🕊️

Bo Jeanes bjeanes

🕊️
View GitHub Profile
@bjeanes
bjeanes / 4bo.clj
Created August 29, 2012 21:03 — forked from gfredericks/4bo.clj
4Bo
(defn loud-numbers
[]
(take 10 (iterate (fn [x] (println "I'm adding to " x) (inc x)) 0)))
(defn less-lazy
([coll] (less-lazy coll 1)
([coll how-far]
(lazy-seq
(future (nth coll how-far))
(cons (first coll) (less-lazy (rest coll))))))
@bjeanes
bjeanes / pre-commit.sh
Last active December 17, 2015 02:39 — forked from proxypoke/pre-commit.sh
#!/bin/bash
# Author: slowpoke <proxypoke at lavabit dot com>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
#
# A pre-commit hook for go projects. In addition to the standard
@bjeanes
bjeanes / README
Last active February 2, 2020 08:13 — forked from jnbt/repairMKV.sh
Synology-compatible script to repair mkv files
https://forums.plexapp.com/index.php/topic/63691-how-to-automated-linux-script-for-fixing-broken-mkv-files-works-with-sickbeard-too/