I hereby claim:
- I am triangletodd on github.
- I am triangletodd (https://keybase.io/triangletodd) on keybase.
- I have a public key ASBIK4ohhlMTNaunJK6ta18ibDLO7SUNbJJrTswY9S9n8go
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'benchmark/ips' | |
SLUG = 'writing-fast-ruby' | |
def slow | |
SLUG.gsub('-', ' ') | |
end | |
def fast |
#!/usr/bin/env ruby | |
$:.push(File.expand_path('../', __FILE__)) | |
require 'soma_fm' | |
puts SomaFM.to_json | |
#!/usr/bin/env ruby | |
require 'pry' | |
require 'rack' | |
require 'thin' | |
class TestingServer | |
def self.start | |
builder = Rack::Builder.new { run Rack::Directory.new('') } | |
Rack::Handler::Thin.run builder, :port => 3000 | |
end |
package middlewares | |
import ( | |
"crypto/hmac" | |
"crypto/sha256" | |
"encoding/hex" | |
"github.com/gin-gonic/gin" | |
) |
#!/usr/bin/env bash | |
#░█ ██ ██ | |
#░█ ░██ ░░ | |
#░█ █████ ██████ ░██ ██████ ██████ ██ ██████ █████ | |
#░█ ██░░░██ ██░░░░██ ░██ ██░░░░██░░██░░█░██░░░░██ ██░░░██ | |
#░█ ░██ ░░ ░██ ░██ ░██░██ ░██ ░██ ░ ░██ ██ ░███████ | |
#░█ ░██ ██░██ ░██ ░██░██ ░██ ░██ ░██ ██ ░██░░░░ | |
#░█ ░░█████ ░░██████ ███░░██████ ░███ ░██ ██████░░██████ | |
#░█ ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░ ░░ ░░░░░░ ░░░░░░ |
#!/usr/bin/env ruby | |
require 'redis' | |
require 'flipper' | |
require 'flipper/adapters/redis' | |
class Feature | |
ENABLED = Flipper::Actor.new(true) | |
DISABLED = Flipper::Actor.new(false) | |
def initialize |
I hereby claim:
To claim this, I am signing this object:
- Temporary commit. | |
#GrammarNazi | |
(\ /)<br/>(O.o)<br/>(> <) Bunny approves these changes. | |
(c) Microsoft 1988 | |
-m \'So I hear you like commits ...\' | |
. | |
... | |
/sigh | |
640K ought to be enough for anybody | |
8==========D |
8.34.208.0/20 | |
8.35.192.0/21 | |
8.35.200.0/23 | |
23.236.48.0/20 | |
23.251.128.0/19 | |
35.184.0.0/14 | |
35.188.0.0/15 | |
35.190.0.0/17 | |
35.190.128.0/18 | |
35.190.192.0/19 |
#!/usr/bin/env bash | |
export CF_CURL_OPTS=() | |
export CF_V4_API='https://api.cloudflare.com/client/v4' | |
_cf_exit() { | |
# if being called directly, don't exit | |
if [ ${#FUNCNAME[@]} -eq 0 ]; then | |
return 1 | |
fi | |
exit 1 |