Skip to content

Instantly share code, notes, and snippets.

View codykrieger's full-sized avatar
🇺🇦

Cody Krieger codykrieger

🇺🇦
View GitHub Profile
@codykrieger
codykrieger / keybase.md
Created June 19, 2014 01:27
keybase.md

Keybase proof

I hereby claim:

  • I am codykrieger on github.
  • I am cjk (https://keybase.io/cjk) on keybase.
  • I have a public key whose fingerprint is 2C41 BDAB 1CCA 6C19 E9AA EA2B 7BB7 8ABD D378 65E5

To claim this, I am signing this object:

@codykrieger
codykrieger / gist:4a1199e5d6c48998ae19
Created May 12, 2014 22:12
manager.linode.com DNS stuff
No hosts file modifications:
% dscacheutil -q host -a name manager.linode.com
name: manager.linode.com
ipv6_address: 2600:3c00::34
ipv6_address: 2600:3c00::14
ipv6_address: 2600:3c00::24
name: manager.linode.com
ip_address: 72.14.191.204
@codykrieger
codykrieger / IPInsetLabel.h
Created May 4, 2012 21:14
IPInsetLabel: a simple UILabel subclass that adds padding insets and auto-height-resizing
//
// IPInsetLabel.h
// Instapaper
//
// Created by Marco Arment on 7/23/11.
// Copyright 2011 Instapaper LLC, released to the public domain.
//
#import <UIKit/UIKit.h>
@codykrieger
codykrieger / letter.md
Created April 3, 2012 18:17
Open Letter: Thoughts on GeneSIS/RIT Enrollment

Thoughts on GeneSIS

Introduction.

Hi,

My name is Cody Krieger. I'm an undergraduate student studying Software Engineering here at RIT, and I have some serious concerns about the new RIT Enrollment system.

After taking a good look at the [new search functionality][search-link], and browsing through the [Enrollment "marketing" site][marketing-site], it is clear that GeneSIS is headed in the wrong direction at high velocity.

@codykrieger
codykrieger / gist:1976319
Created March 5, 2012 03:32 — forked from dhh/gist:1975644
Rails mass assignment protection
class PostsController < ActionController::Base
def create
Post.create(post_params)
end
def update
Post.find(params[:id]).update_attributes!(post_params)
end
private
We couldn’t find that file to show.
@codykrieger
codykrieger / deploy.yml
Created April 29, 2011 20:48
Whiskey Disk + RVM problems
production:
domain:
- name: "codykrieger.com"
roles:
- "web"
- "app"
- "db"
deploy_to: "~/codykrieger.com"
repository: "git://github.com/codykrieger/codykrieger.com.git"
branch: "master"
@codykrieger
codykrieger / newpost.rb
Created February 11, 2011 20:56
Nifty automagical post generation script for Jekyll
#!/usr/bin/env ruby
# *********************************************
# Jekyll Post Generator Awesomeness
# by Cody Krieger (http://codykrieger.com)
# *********************************************
# Usage:
# % ./newpost.rb POST NAME