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 / config.ru
Last active September 24, 2015 01:34
Rack::Rewrite CSV Redirect Map Parsing For Drupal
use Rack::Rewrite do
CSV.read("redirects.csv", headers: true).each do |row|
# Lol, yes we had redirects of source to destination, yay Drupal!
if row["source"] != row["destination"]
r301 row["source"], row["destination"]
end
end
end
@dirkkelly
dirkkelly / squid.conf
Last active August 29, 2015 14:14 — forked from mushfiq/squid.conf
# ----------------------------------------------------------------------
# WARNING - do not edit this template unless you know what you are doing
# ----------------------------------------------------------------------
# the parent cache
# disk and memory cache settings
cache_dir ufs /usr/local/squid/var/cache 500 16 256 #set your cache path with size
@dirkkelly
dirkkelly / config-initializers-simple_form-after.rb
Created July 7, 2014 15:56
Simple Form Bootstrap 3 input group WIP
module SimpleForm
module Components
module After
def after
@after ||= begin
options[:after].to_s.html_safe if options[:after].present?
end
end
def has_after?
@dirkkelly
dirkkelly / hello.md
Last active August 29, 2015 14:02
CodeNow NYC Alumni - Meetup #2

Let's Build a Website on Github

There are thousands of ways to build and publish websites, today we're going to look at the way I prefer to create simple concepts and information sites, using Github Pages.

My personal website (which is incredibly out of date) is built on Github Pages, it's a simple, free and rewarding way to publish your work online.

@dirkkelly
dirkkelly / Year Calculator.md
Last active August 29, 2015 14:02
A CodeNow refresher project.

Grade Calculator

Introduction

A refresher program aimed at understanding.

  • Iteratives
  • Conditionals
  • String Interpolation
@dirkkelly
dirkkelly / interexchange-software-engineer-job-description.md
Last active August 29, 2015 14:01
InterExchange - Engineering - Software Engineer

InterExchange is a non-profit organization passionate about connecting young people from all over the world with life-changing international exchange opportunities.

Participants on our programs work as international staff at American summer camps, volunteer on community projects in rural India, sell ice cream on the boardwalks of California, do post graduate internships at green technology companies in New York and provide childcare as au pairs in the U.S. and abroad – to name a few!

At InterExchange, we believe that living and working alongside people in another country increases global understanding. We are dedicated to providing the best exchange experiences possible – and to creating positive global impact in the process.

To that end we are looking for experienced Software Engineers to join us in building our online offerings across the five departments we work with. Our Ruby on Rails and PHP applications serve thousands of users a day who are working with us to simplify and enhance these cultural exch

@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