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:
#!/usr/bin/env ruby | |
if fetched_file_blank? or fetched_file_expired? | |
fetch! | |
end | |
write_cached_screenfetch! | |
BEGIN { | |
COMMAND = 'screenfetch'.freeze |
#!/usr/bin/env ruby | |
require 'drb' | |
require 'irb' | |
DRb.start_service | |
$context = DRbObject.new_with_uri('druby://localhost:9876') | |
IRB.start |
I hereby claim:
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 |
The battle we have fought, and are still fighting for the forests is a part of the eternal conflict between right and wrong, and we cannot expect to see the end of it. …So we must count on watching and striving for these trees, and should always be glad to find anything 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
# 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 |
# 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 |
class Printer | |
attr_reader :printer | |
deftyped :initialize , :printer => [ Proc ] do | |
@printer = printer | |
end | |
deftyped :print , :string => { :splat => true , :type => String } do | |
printer.call string.join( ' ' ) | |
end |