I hereby claim:
- I am schoblaska on github.
- I am joeyschoblaska (https://keybase.io/joeyschoblaska) on keybase.
- I have a public key ASCRArBI6NglKgKfqf8iB0jbYhuoHcw3XzFTQiFAsyvG8Qo
To claim this, I am signing this object:
class ChatBlock | |
DEFAULT_RETRIES = 2 | |
attr_reader :chat, :retries | |
def self.wrap(chat, retries: DEFAULT_RETRIES, &block) | |
new(chat, retries:).execute(&block) | |
end | |
def initialize(chat, retries: DEFAULT_RETRIES) |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
raise "run with rvmsudo" unless `whoami`.strip == "root" | |
class ThingDoer | |
def self.do_something | |
# TODO | |
end | |
end |
# library that can conjugate any Mandarin verb | |
module Cixing | |
def self.conjugate(verb) | |
verb | |
end | |
end |
#!/usr/bin/env ruby | |
require "rubygems" | |
require "fuzzy_match" | |
def find_match(str, opts = {}) | |
notes = {} | |
Dir["#{ENV["HOME"]}/Dropbox/notes/**/*"].select { |n| n =~ /\./ }.each do |path| | |
key = path.split("Dropbox/notes/")[1] |
#!/bin/bash | |
if [ "$1" != "" ]; then | |
cd $1 | |
fi | |
DIR_NAME=${PWD##*/} | |
tmux has-session -t $DIR_NAME 2>/dev/null | |
if [ $? -eq 1 ] |
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require("webpack"); | |
var ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : null, | |
entry: [ | |
"./js/main.js", | |
"./styles/application.scss", |
<?xml version="1.0"?> | |
<!-- | |
Tap CAPS for ESC, hold CAPS + hjkl for Vim movement. | |
Open "System Preferences > Keyboard > Modifier Keys..." and change caps lock configuration to "No Action" | |
Use Seil to remap caps to F19 (80) | |
--> | |
<root> |
require "date" | |
specs = [] | |
def get_indentation(line) | |
line.match(/^(\s*)/)[1].length | |
end | |
File.open(ENV["FILE"]) do |file| | |
spec = nil |
Whip eggs and sugar, then add remaining ingredients. Garnish with more nutmeg.