6ce52b25-f317-44c5-bcd1-2f1af2da9b92
source 'https://rubygems.org' | |
gem 'sinatra' | |
gem 'data_mapper' | |
gem 'bcrypt' | |
gem 'carrierwave' |
alert(); |
I hereby claim:
- I am dekz on github.
- I am dekz (https://keybase.io/dekz) on keybase.
- I have a public key whose fingerprint is 35CC 054C 0454 AD03 5241 0643 2036 DA2A DDFB 0842
To claim this, I am signing this object:
module Entity | |
class World | |
def initialize | |
cat = Entity::Animal::Cat.new | |
cat.cat_method | |
end | |
end | |
end | |
module Entity |
#!/bin/bash | |
# | |
# Publishes CloudWatch metrics about Buildbox queue length | |
set -e | |
API='https://api.buildbox.io' | |
BUILDS_ROUTE='v1/accounts/ACCOUNT_NAME/projects/PROJECT_NAME/builds' | |
# Determines whether a binary exists on the current $PATH |
(by @andrestaltz)
So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
" find file in git repo | |
function! ChooseFile() | |
let dir = expand("%:h") | |
if empty(dir) | let dir = getcwd() | endif | |
let root = system("cd " . dir . " && git rev-parse --show-toplevel") | |
if v:shell_error != 0 | echo "Not in a git repo" | return | endif | |
let root = root[0:-2] | |
let selection = system("cd " . root . " && git ls-files -co --exclude-standard | choose") |
# Input | |
{ task_list: 1, | |
tasks: | |
[{:user=>"jacob", :task=>"feed cat", :id => 1}, | |
{:user=>"jacob", :task=>"mow lawn", :id => 2}, | |
{:user=>"steve", :task=>"feed lawn", :id => 1}, | |
{:user=>"steve", :task=>"mow dog", :id => 2}] | |
} | |
# This seems possible |
#!/usr/bin/env python | |
# Chromium Updater | |
# Download and install the newest Chromium build from http://chromium.org | |
# on Mac OS X. | |
import urllib2, os.path, sys | |
BASE_URL = 'http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/' | |
UPDATE_URL = 'http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/LATEST' | |
DOWNLOAD_PATH = os.path.expanduser('~/Downloads/Chromium Updater') |