Skip to content

Instantly share code, notes, and snippets.

View cookrn's full-sized avatar
👻

Ryan Cook cookrn

👻
View GitHub Profile
abstract (1.0.0)
actionmailer (3.0.0.beta3, 2.3.8)
actionpack (3.0.0.beta3, 2.3.8)
activemodel (3.0.0.beta3)
activerecord (3.0.0.beta3, 2.3.8)
activeresource (3.0.0.beta3, 2.3.8)
activesupport (3.0.0.beta3, 2.3.8)
arel (0.3.3)
awesome_print (0.2.1)
builder (2.1.2)
abstract (1.0.0)
actionmailer (3.0.0.beta3, 2.3.8)
actionpack (3.0.0.beta3, 2.3.8)
activemodel (3.0.0.beta3)
activerecord (3.0.0.beta3, 2.3.8)
activeresource (3.0.0.beta3, 2.3.8)
activesupport (3.0.0.beta3, 2.3.8)
arel (0.3.3)
awesome_print (0.2.1)
builder (2.1.2)
@cookrn
cookrn / keybase.md
Created March 26, 2015 00:56
keybase.md

Keybase proof

I hereby claim:

  • I am cookrn on github.
  • I am cookrn (https://keybase.io/cookrn) on keybase.
  • I have a public key whose fingerprint is 15DF D0D1 294D FE92 BBFE 47AC A77A 94F0 1103 1D5B

To claim this, I am signing this object:

use std::io::println;
fn is_three(num: int) -> bool {
num % 3 == 0
}
fn is_five(num: int) -> bool {
num % 5 == 0
}
example21.rs:70:13: 70:19 error: mismatched types: expected `&str` but found `collections::string::String` (expected &-ptr but found struct collections::string::String)
example21.rs:70 println(answer);
^~~~~~
error: aborting due to previous error
@cookrn
cookrn / quotes.md
Last active August 29, 2015 14:02
A collection of some much appreciated quotes

The bat­tle we have fought, and are still fight­ing for the forests is a part of the eter­nal con­flict between right and wrong, and we can­not expect to see the end of it. …So we must count on watch­ing and striv­ing for these trees, and should always be glad to find any­thing so surely good and noble to strive for.

--john muir

====================

Trying to live a spiritual life in modern society is the most difficult path one can walk. It is a path of pain, of isolation, and of shaken faith, but that is the only way that our Vision can become reality. Thus the true Quest in life is to live the philosophy of the Earth within the confines of man. There is no church or temple we need to seek peace, for ours are the temples of the wilderness. There are no spiritual leaders, for our hearts and the Creator are our only leaders. Our numbers are scattered; few speak our language or understand the things that we live. Thus we walk this path alone, for each Vision, each Quest, is unique unto the individual. B

@cookrn
cookrn / a.rb
Last active August 29, 2015 14:01 — forked from ahoward/a.rb
# fork it
#
# make it print all true with only ONE LINE OF CODE
class A
def A.foo
@foo ||= (
if self == A
'42.0'
else
@cookrn
cookrn / a.rb
Last active August 29, 2015 14:01 — forked from ahoward/a.rb
# make this script run, update your gist with the running script, and it's
# output in a separate gist. the entire quzi should take 1-3 minutes, but you
# get 5.
#
# the meat - take < 5 minutes to do this
#
assert :hash do
x = Hash.new