Skip to content

Instantly share code, notes, and snippets.

View dirkkelly's full-sized avatar

Dirk Kelly dirkkelly

View GitHub Profile
@dirkkelly
dirkkelly / Simcast_Plugin.php
Last active June 24, 2019 17:35
Wordpress Simcast 2.0 API Support
<?php
include_once('Simcast_LifeCycle.php');
class Simcast_Plugin extends Simcast_LifeCycle {
/**
* See: http://plugin.michael-simpson.com/?page_id=31
* @return array of option meta data.
*/

Keybase proof

I hereby claim:

  • I am dirkkelly on github.
  • I am dirkkelly (https://keybase.io/dirkkelly) on keybase.
  • I have a public key ASAsjW05W8vRsHoT90mCuCiiZnSqggBBWIws18UzrhWlawo

To claim this, I am signing this object:

@dirkkelly
dirkkelly / README.md
Last active December 17, 2015 23:39
Dashing - Pivotal Tracker

Preview

Description

Simple Dashing job to display your Pivotal Tracker stories status.

  • Green: You don't own any rejected stories
  • Red: You own a rejected story
@dirkkelly
dirkkelly / soloistrc
Created August 25, 2012 17:17
soloistrc
cookbook_paths:
- ./workspace/
recipes:
- pivotal_workstation::ack
- pivotal_workstation::bash_path_order
- pivotal_workstation::bash_profile-aliases
- pivotal_workstation::bash_profile-arch_flags
- pivotal_workstation::bash_profile-better_history
- pivotal_workstation::bash_profile-ctrl-o
- pivotal_workstation::bash_profile-ctrl-s
Feature: Authentication (No Web Steps, Declarative)
As A User
In order to gain access to skynet
I want to be able to login and logout
Background:
Given I have a valid account
Then I should be able to login
@dirkkelly
dirkkelly / console
Created October 7, 2011 02:56
Spine.js Mobile Routing (http://spinejs.com/docs/routing)
Uncaught Unknown record
Model.find
ProfilesShow.active
__bind
Profiles.routes./profiles/:id
Module.proxy
__bind
Spine.Route.Route.match
Spine.Route.Route.matchRoute
Spine.Route.Route.navigate
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = git@github.com:mostlydisco/swoonme.com.git
fetch = +refs/heads/*:refs/remotes/origin/*
[gitflow "branch"]
class RavensController < SiteController
no_login_required
skip_before_filter :verify_authenticity_token
def update
response = CreateSend::Subscriber.add params[:list], params[:email], params[:name], nil, true
respond_to do |format|
{
:en => {
:time => {
:formats => {
:day => "%A",
:date => lambda { |time, _| "#{time.day.ordinalize} %B" },
:time => "%k%p",
:full => lambda { |time, _| "%A #{time.day.ordinalize} %B at %k%p" },
}
}
@dirkkelly
dirkkelly / nginx
Created July 26, 2011 15:59
Nginx init.d Script
/init.d/nginx
#!/bin/sh
# SOURCE http://snipplr.com/view/6125/ubuntudebian-nginx-initd-script/
# Modified for Babushka use
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=SETME
CONFIG_FILE=SETME