Skip to content

Instantly share code, notes, and snippets.

View kingcody's full-sized avatar

Cody Mize kingcody

  • Digitally Seamless
View GitHub Profile
@kingcody
kingcody / gist:7051224
Last active December 25, 2015 22:39 — forked from detrohutt/gist:7051206
extends layout
block content
.container
#accordion.panel-group
- for (var i = 0; i < serviceList.length; i++)
.panel.panel-default
.panel-heading
h4.panel-title
a.accordion-toggle(data-toggle='collapse', data-parent='#accordion', href='#'+serviceList[i].name)=serviceList[i].name
@kingcody
kingcody / activeClassing.patch
Last active December 25, 2015 03:59
Active Classing Patch to routes/index.js
unchanged:
--- b/routes/index.js
+++ b/routes/index.js
@@ -4,6 +4,13 @@
var merge = require('merge'),
fs = require('fs');
+// Returns a camel cased version of input
+var camelCase = function camelCase(input) {
+ return input.toLowerCase().replace(/-(.)/g, function(match, group1) {
@kingcody
kingcody / PKGBUILD
Created June 29, 2013 04:34
Pianobarfly PKGBUILD(ABS) for ghuntly/pianobarfly realease: 20130628
# Contributor: Cyker Way <cykerway at gmail dot com>
pkgname=pianobarfly-git
pkgver=20130628
pkgrel=1
pkgdesc="A console client for the personalized web radio pandora"
url="http://www.ghuntley.com/"
arch=('i686' 'x86_64')
license=('MIT')
depends=('libao' 'faad2' 'libmad' 'readline')
optdepends=('libmad')