This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "html-pipeline" | |
gem "github-markdown" | |
gem "github-linguist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~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 |
A RailsConf 2013 intro talk by Aimee Simone & Christopher Green
Summary:
- Request Made
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
OlderNewer