Skip to content

Instantly share code, notes, and snippets.

Hannes Probst hc2p

Block or report user

Report or block hc2p

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a85571babcc1c5a3b704
$script = <<SCRIPT
echo I am provisioning...
apt-get install -yq git wget autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev alsa-utils
#also do
sudo echo "options snd-hda-intel model=3stack" >> /etc/modprobe.d/alsa-base.conf
git clone
cd shairport-sync
autoreconf -i -f
./configure --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemv
hc2p / gist:3714356
Created Sep 13, 2012 — forked from doginthehat/gist:1890659
compare block helper for handlebars
View gist:3714356
// {{compare unicorns ponies operator="<"}}
// I knew it, unicorns are just low-quality ponies!
// {{/compare}}
// (defaults to == if operator omitted)
// {{equal unicorns ponies }}
// That's amazing, unicorns are actually undercover ponies
// {{/equal}}
// (from
hc2p / gist:2185022
Created Mar 24, 2012 — forked from joefitzgerald/gist:1990736
Handlebars JST Grunt Task
View gist:2185022
* Grunt Task File
* ---------------
* Task: JST-HB
* Description: Compile handlebars templates to JST file.
* Dependencies: underscore@1.2.4
You can’t perform that action at this time.