Skip to content

Instantly share code, notes, and snippets.

View simeonwillbanks's full-sized avatar
☀️
😎

Simeon Willbanks simeonwillbanks

☀️
😎
View GitHub Profile
# A sample Gemfile
source "https://rubygems.org"
gem "html-pipeline"
gem "github-markdown"
gem "github-linguist"
@simeonwillbanks
simeonwillbanks / form.html
Created February 7, 2014 22:00
Credit Card Form Tips via @forest
<input type="email" name="email" x-autocompletetype="email" autocomplete="email" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Email">
<input type="text" class="numberInput unknown" name="card_number" x-autocompletetype="cc-number" autocompletetype="cc-number" autocomplete="cc-number" placeholder="Card number">
<input type="tel" class="cvcInput" name="cc-csc" x-autocompletetype="cc-csc" autocompletetype="cc-csc" autocomplete="false" maxlength="4" placeholder="CVC">
@simeonwillbanks
simeonwillbanks / shell.txt
Created March 11, 2014 16:06
goenv environment; cross compile with goxc #golang
~GOPATH/src/github.com/BurntSushi/toml/tomlv master
❯ GOROOT="${HOME}/.goenv/versions/$(goenv version)" goxc -goroot=$GOROOT
...
[goxc:pkg-build] 2014/03/11 09:03:28 Task pkg-build succeeded
[goxc:rmbin] 2014/03/11 09:03:28 Task rmbin succeeded
[goxc:downloads-page] 2014/03/11 09:03:28 Task downloads-page succeeded
~GOPATH/src/github.com/BurntSushi/toml/tomlv master
❯ ls snapshot
README.md tomlv_darwin_amd64.zip tomlv_freebsd_arm.zip tomlv_linux_arm.tar.gz tomlv_netbsd_arm.zip tomlv_plan9_386.zip tomlv_snapshot_i386.deb
downloads.md tomlv_freebsd_386.zip tomlv_linux_386.tar.gz tomlv_netbsd_386.zip tomlv_openbsd_386.zip tomlv_snapshot_amd64.deb tomlv_windows_386.zip
@simeonwillbanks
simeonwillbanks / how-a-request-becomes-a-response.md
Last active August 29, 2015 14:02
"How a Request Becomes a Response (In Rails)" Summary
@simeonwillbanks
simeonwillbanks / install.md
Created January 9, 2015 16:12
Install REE on OS X 10.9

Use a REE fimilar OpenSSL

❯ brew tap homebrew/versions
❯ brew install openssl098
❯ RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/opt/openssl098 rbenv install ree-1.8.7-2012.02
@simeonwillbanks
simeonwillbanks / gist:904ff7978589015e70dc
Last active August 29, 2015 14:14
SNOOP DOGG "Gin And Juice"
Heah hah hah!
I'm serious nigga one of y'all niggaz got this ass motherfuckin up
Aiy baby, aiy baby... aiy baby get some bubblegum in this motherfucker
Steady long, steady long nigga
With so much drama in the L-B-C
It's kinda hard bein Snoop D-O-double-G
But I, somehow, some way
Keep comin up with funky ass shit like every single day
May I, kick a little something for the G's (yeah)
@simeonwillbanks
simeonwillbanks / php_property_accessors_person.rb
Created March 20, 2010 20:56
#Ruby Property Accessors Person
class Person
def initialize(first_name, last_name)
@first_name = first_name
@last_name = last_name
end
# access method
def full_name
"%s %s" % [@first_name, @last_name]
end
end
@simeonwillbanks
simeonwillbanks / php_property_accessors_person.py
Created March 20, 2010 20:58
Python: Property Accessors Person
class Person(object):
def __init__(self, first_name, last_name):
self.first_name = first_name
self.last_name = last_name
# property decorator
@property
def full_name(self):
return "%s %s" % (self.first_name, self.last_name)
me = Person("Simeon", "Willbanks")
@simeonwillbanks
simeonwillbanks / php_property_accessors_person_ver1.php
Created March 20, 2010 21:01
PHP: Property Accessors Example Person Version 1
<?php
class Person {
public $first_name;
public $last_name;
public function __construct($first_name, $last_name)
{
$this->first_name = $first_name;
$this->last_name = $last_name;