I hereby claim:
- I am bradherman on github.
- I am bradleyherman (https://keybase.io/bradleyherman) on keybase.
- I have a public key ASCiHwO_EuB4Iy6_OyaO-7oHNsC3fJ9B-SUUWJExnSFmjQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { action, computed, decorate, observable, runInAction } from 'mobx'; | |
import { observer } from 'mobx-react'; | |
import React, { Component } from 'react'; | |
import RelativeTime from 'react-relative-time'; | |
import { NavLink } from 'react-router-dom'; | |
import { Badge, Button } from 'reactstrap'; | |
import { client } from '../../helpers/client'; | |
import { EarningModal } from '../Modals/EarningModal'; | |
import { SmartTable } from '../SmartTable/SmartTable'; | |
import { Earning } from '../../models/Earning'; |
module Paperclip | |
class Blur < Processor | |
def initialize file, options = {}, attachment = nil | |
super | |
@format = File.extname(@file.path) | |
@basename = File.basename(@file.path, @format) | |
end |
def rle(str) | |
current = {} | |
str.chars.each_with_object([]) do |char, arr| | |
if current.empty? | |
current = {"#{char}": 1} | |
elsif current.keys.first == char.to_sym | |
current[:"#{char}"] += 1 | |
else | |
arr << current | |
current = {"#{char}": 1} |
HAI | |
CAN HAS STDIO? | |
I HAS A NUMBEZ_ARAY | |
MAKE NUMBEZ_ARAY A BUKKIT | |
GIMMEH NUMBEZ_ARAY | |
I IZ MAX_SLISE NUMBEZ_ARAY MKAY | |
KTHXBYE | |
earFrank, | |
Iloveyoufromnowun | |
tildeathdouspart.Rightno | |
w,youlivingsofa rawayfro | |
mmeiskillingm e,butIk | |
nowinmyhearttha tweare | |
doingtherightthi ng.An | |
d,youaretry ingtog etthingsstr aight | |
sowecanlivetherefor everandspendali feti | |
metogether.Idon't wanttoloseyouforanyon |
Thanksgiving menu:
Spatchcocked turkey http://www.seriouseats.com/2014/11/video-how-to-spatchcock-turkey-thanksgiving.html
Porcini gravy - http://www.seriouseats.com/recipes/2013/11/porcini-mushroom-turkey-gravy-thanksgiving-recipe.html
Brussel sprout gratin - http://www.seriouseats.com/2014/11/the-food-lab-creamy-cheesy-brussels-sprouts-gratin-side-dish-thanksgiving.html
Ranch potatoes - https://www.hiddenvalley.com/recipe/809/ranch-mashed-potatoes/
Thanksgiving: | |
Spatchcocked turkey | |
http://www.seriouseats.com/2014/11/video-how-to-spatchcock-turkey-thanksgiving.html | |
Porcini gravy - http://www.seriouseats.com/recipes/2013/11/porcini-mushroom-turkey-gravy-thanksgiving-recipe.html | |
Brussel sprout gratin - http://www.seriouseats.com/2014/11/the-food-lab-creamy-cheesy-brussels-sprouts-gratin-side-dish-thanksgiving.html | |
Ranch potatoes - https://www.hiddenvalley.com/recipe/809/ranch-mashed-potatoes/ |
# config/unicorn.rb | |
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3) | |
timeout 60 | |
preload_app true | |
before_fork do |server, worker| | |
Signal.trap 'TERM' do | |
puts 'Unicorn master intercepting TERM and sending myself QUIT instead' | |
Process.kill 'QUIT', Process.pid | |
end |
# OSX for Hackers (Mavericks/Yosemite) | |
# | |
# Source: https://gist.github.com/brandonb927/3195465 | |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront |