I hereby claim:
- I am srpouyet on github.
- I am srpouyet (https://keybase.io/srpouyet) on keybase.
- I have a public key whose fingerprint is 6A75 7774 E8D2 770E DDB8 E9B6 849B 68F8 6340 8266
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Bootstrap script for setting up a new OSX machine | |
| # Adapted from a github gist by mrichman | |
| # https://gist.github.com/mrichman/f5c0c6f0c0873392c719265dfd209e12 | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # helpers | |
| function echo_ok() { echo -e '\033[1;32m'"$1"'\033[0m'; } |
I hereby claim:
To claim this, I am signing this object:
| # (I recommend understanding the basics of this first: http://sequel.jeremyevans.net/rdoc/files/doc/object_model_rdoc.html) | |
| # Extending the underlying dataset (http://sequel.jeremyevans.net/rdoc/files/README_rdoc.html#label-Extending+the+underlying+dataset) | |
| # The recommended way to implement table-wide logic by defining methods on the dataset using dataset_module: | |
| class Post < Sequel::Model | |
| dataset_module do | |
| def posts_with_few_comments | |
| where{num_comments < 30} |
| require "rom/http" | |
| require "json" | |
| require "uri" | |
| require "faraday" | |
| require "typhoeus" | |
| require "typhoeus/adapters/faraday" | |
| module ROM | |
| module ExactOnline |
| DROP TABLE if exists d_date; | |
| CREATE TABLE d_date | |
| ( | |
| date_dim_id INT NOT NULL, | |
| date_actual DATE NOT NULL, | |
| epoch BIGINT NOT NULL, | |
| day_suffix VARCHAR(4) NOT NULL, | |
| day_name VARCHAR(9) NOT NULL, | |
| day_of_week INT NOT NULL, |
brew install with the option --env=std so the Ruby in the current PATH will be used while compiling (mac)vim.
brew install --env=std vim --with-custom-ruby --with-override-system-vi --with-lua --with-luajit --with-mzscheme --with-tcl
brew install --env=std macvim --with-lua --with-luajit --with-python3 --HEAD
I hereby claim:
To claim this, I am signing this object:
| def detector(jedi) | |
| case jedi | |
| when :anakin, :darth_vader | |
| puts "I find your lack of faith disturbing." | |
| throw :dark_side, jedi | |
| when :dooku, :dark_tyranus | |
| puts "There is a fine line between neutral and amoral. In fact, there may be no line there at all." | |
| throw :dark_side, jedi | |
| when :luke | |
| puts "I'm Luke" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>comment</key> | |
| <string> | |
| TODO: unresolved issues | |
| text: |