Monero Address:
42ETQViAC5gfxMnto9eQXLL1tQNgGZBzUKDJN4CXVfSthwn2vAmPdv6EqA7VAV3K1Cfu7ZQYkBMdeFdASxnXdWqwAz8vJBG
Pools:
gulf.moneroocean.stream:443 us-west.minexmr.com:443
# this works! | |
🐙 = 8 | |
puts 🐙 | |
#> 8 | |
# this doesn't work | |
class 🍕 | |
def eat |
Monero Address:
42ETQViAC5gfxMnto9eQXLL1tQNgGZBzUKDJN4CXVfSthwn2vAmPdv6EqA7VAV3K1Cfu7ZQYkBMdeFdASxnXdWqwAz8vJBG
Pools:
gulf.moneroocean.stream:443 us-west.minexmr.com:443
class Node | |
getter name, edges | |
def initialize(@name : String) | |
@edges = {} of Node => Float64 | |
end | |
def add_edge(node, weight) | |
@edges[node] = weight | |
end |
fs.project.template.fields.map{ |x| fs.field_values.select{|fv| fv.field == x }.map{|fv| {x.name => fv.string_value}}} |
def from(n: Int): Stream[Int] = n #:: from(n + 1) | |
def sieve(s: Stream[Int]): Stream[Int] = s.head #:: sieve(s.tail filter (_ % s.head != 0)) | |
val primes = sieve(from(2)) | |
primes.take(10).toList // produces first 10 primes | |
primes.take(100).toList // produces first 100 primes |
char input = 0; | |
int blue = 9; | |
int red = 10; | |
int green = 11; | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
delay(100); |
import random | |
if random.randint(0,1): | |
(True,False) = (False,True) |
require 'rubygems' | |
require 'net/http' | |
require 'json' | |
require 'date' | |
if ARGV[0] | |
username = ARGV[0] | |
else | |
abort("You must supply a Fitocracy username.") | |
end |
git pull -r # pull with rebase instead of merge | |
rspec -c -fd # run rspec tests with color, verbose output | |
######################### | |
# Sane Ruby Setup on OSX | |
# Install X-Code Command Line Tools | |
xcode-select --install | |
# Install Home Brew |
class Struct | |
def self.new_singleton(name, *fields) | |
if Struct::const_defined?(name) | |
Struct.const_get(name) | |
else | |
Struct.new(name, *fields) | |
end | |
end | |
end |