Skip to content

Instantly share code, notes, and snippets.

View kpfefferle's full-sized avatar

Kevin Pfefferle kpfefferle

View GitHub Profile
@kpfefferle
kpfefferle / rails_month_dates.js
Created February 28, 2012 02:02
jQuery: Limit day in Rails date_select based on month and year
$(function(){
railsMonthDates();
$("select[id*=_2i], select[id*=_1i]").change( railsMonthDates );
});
function railsMonthDates() {
$("select[id*=_2i]").each(function(){
$monthSelect = $(this);
$daySelect = $(this).siblings("select[id*=_3i]");
$yearSelect = $(this).siblings("select[id*=_1i]");
56k: "https://123.campfirenow.com/images/56k.gif"
bell: ":bell:"
bezos: ":laughing::thought_balloon:"
bueller: "anyone?"
clowntown: "https://123.campfirenow.com/images/clowntown.gif"
cottoneyejoe: ":notes::hear_no_evil::notes:"
crickets: "hears crickets chirping"
dadgummit: "dad gummit!! :fishing_pole_and_fish:"
dangerzone: "https://123.campfirenow.com/images/dangerzone.png"
danielsan: ":fireworks: :trophy: :fireworks:"
@kpfefferle
kpfefferle / keybase.md
Last active October 31, 2017 17:05
Keybase

Keybase proof

I hereby claim:

  • I am kpfefferle on github.
  • I am kpfefferle (https://keybase.io/kpfefferle) on keybase.
  • I have a public key whose fingerprint is 7D93 BF64 A9F5 D56A 2BDF C6CF 1B66 8787 DFB7 8717

To claim this, I am signing this object:

# The ppa will have the sources listed on it's site: https://launchpad.net/~gwendal-lebihan-dev/+archive/cinnamon-stable
# edit /etc/apt/sources.list
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu quantal main
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu quantal main
# Add signing key
wget "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xA777609328949509" -O out && sudo apt-key add out && rm out
@kpfefferle
kpfefferle / ember-cli-deploy.png
Last active October 30, 2017 18:17
Deployment Options for Ember with Rails
ember-cli-deploy.png
@kpfefferle
kpfefferle / 1-circleci.yml
Last active August 31, 2018 16:31
Using CircleCI 2.0 with Ember
# .circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/node:6-browsers
environment:
JOBS: 2
working_directory: ~/gitzoom-web
steps: