Skip to content

Instantly share code, notes, and snippets.

@grahams
grahams / gist:2003266
Created March 8, 2012 20:34
fucking with liquidsoap
#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/tmp/basic-radio.log")
url = "http://radio.dosburros.com:8000/iorek"
input = mksafe(input.http(url))
# Stream it out
output.icecast.lame(
==> Installing liquidsoap dependency: objective-caml
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/objective-caml-3.12.1.lion.bottle.tar.gz
==> Pouring objective-caml-3.12.1.lion.bottle.tar.gz
/usr/local/Cellar/objective-caml/3.12.1: 1310 files, 182M
==> Installing liquidsoap dependency: ocaml-findlib
==> Downloading http://download.camlcity.org/download/findlib-1.3.1.tar.gz
==> ./configure -config /usr/local/etc/findlib.conf -sitelib /usr/local/lib/ocaml/site-lib -system osx -bindir /usr/local/Cellar/ocaml-findlib/1.3.1/bin -mandir /usr/local/Cellar/ocaml-findlib/1.3.1/share/man -with-toolbox
==> Build Environment
CPU: dual-core 64-bit penryn
OS X: 10.7.4-x86_64
@grahams
grahams / gist:3260381
Created August 4, 2012 22:34
Sabermetrics, Scouting and the Science of Baseball 2012 (saberseminar) Notes: Day 1
Sabermetrics, Scouting and the Science of Baseball
August 4, 2012
Day One
==
The Science of Catching Balls
Dr. Michael K. McBeath
Dept. of Psychology @ ASU
Adjunct Neuroscience, Life Sceinces, EE, Kinesiology, and Arts, Media & Engr.
@grahams
grahams / easy-git.rdoc
Created August 15, 2012 13:09 — forked from jamiew/easy-git.rdoc
GIT MADE EASY

Checkout new repo

git clone git@github.com:vhx/watchlater

go into your vhx folder

cd ~/dev/vhx

Checks current status of modified files

git status

Shows you all the current modifications

@grahams
grahams / avidemux install log.txt
Created August 16, 2012 12:42
avidemux install log
tacoby:[~]$ brew doctor
Your system is raring to brew.
tacoby:[~]$ brew update
Already up-to-date.
tacoby:[~]$ brew install -v avidemux
==> Downloading http://downloads.sourceforge.net/avidemux/avidemux_2.5.6.tar.gz
Already downloaded: /Library/Caches/Homebrew/avidemux-2.5.6.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/avidemux-2.5.6.tar.gz
@grahams
grahams / avidemux config log.txt
Created August 16, 2012 12:42
avidemux config log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by subversion configure 1.7.5, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --disable-debug --prefix=/usr/local/Cellar/subversion/1.7.5 --with-ssl --with-zlib=/usr --with-sqlite=/usr/local --with-serf=/usr/local --disable-neon-version-check --disable-mod-activation --without-apache-libexecdir --without-berkeley-db
## --------- ##
## Platform. ##
Last login: Thu Aug 16 09:09:22 on ttys001
tacoby:[~]$ brew install -v --HEAD avidemux
==> Checking out http://svn.berlios.de/svnroot/repos/avidemux/branches/avidemux_2.5_branch_gruntster
/usr/local/bin/svn checkout --force http://svn.berlios.de/svnroot/repos/avidemux/branches/avidemux_2.5_branch_gruntster /Library/Caches/Homebrew/avidemux--svn-HEAD
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake/admCheckVorbisDec.cmake
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake/FindPatch.cmake
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake/adm_log.cmake
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake/admDetermineSystem.cmake
A /Library/Caches/Homebrew/avidemux--svn-HEAD/cmake/ae_plugin.cmake
# This is the CMakeCache file.
# For build in directory: /tmp/homebrew-avidemux-HEAD-4g7q/corebuild
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.8/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# This is the CMakeCache file.
# For build in directory: /tmp/homebrew-avidemux-HEAD-4g7q/plugbuild
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.8/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ocaml-ogg configure 0.4.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/ocaml-ogg/0.4.3
## --------- ##
## Platform. ##