I hereby claim:
- I am deadkarma on github.
- I am bryanbrunetti (https://keybase.io/bryanbrunetti) on keybase.
- I have a public key whose fingerprint is 92D9 076E D973 A15F 46F0 AFF8 14FF 8018 22FF D06F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| defmodule BriteVerify do | |
| @briteverify_api "https://bpi.briteverify.com/emails.json" | |
| def verify(email) do | |
| parent = self() | |
| {:ok, _pid} = Task.start fn -> | |
| send parent, verify_task(email) | |
| end | |
| receive do |
| Date/Time: 2015-11-25 09:39:59 -0500 | |
| OS Version: Mac OS X 10.11.1 (Build 15B42) | |
| Architecture: x86_64 | |
| Report Version: 22 | |
| Command: OpenEmu | |
| Path: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu | |
| Version: ??? (1.0.4) | |
| Parent: launchd [1] | |
| PID: 26364 |
| require "sinatra/base" | |
| require "puma" | |
| require "rack/handler/puma" | |
| require "minitest/autorun" | |
| require "net/http" | |
| require "slim" | |
| class App < Sinatra::Base | |
| post "/" do |
| require 'zeus/rails' | |
| class CustomPlan < Zeus::Rails | |
| def sidekiq | |
| # Based on bin/sidekiq | |
| require 'sidekiq/cli' | |
| begin | |
| cli = Sidekiq::CLI.instance | |
| cli.parse |
| require 'benchmark/ips' | |
| require 'multi_json' | |
| require 'json' | |
| require 'msgpack' | |
| hash = { | |
| "site_config"=> | |
| { | |
| "created_at"=>"2014-03-24T19:58:25Z", | |
| "data"=>"", |
| git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
| require 'benchmark' | |
| n = 100000 | |
| Benchmark.bmbm do |x| | |
| x.report("rescue") { n.times { raise NoMethodError rescue nil } } | |
| x.report('logic') { n.times { nil if Kernel.const_defined? "Foo"; } } | |
| x.report('throw') { n.times { catch(:foo) { throw(:foo) } } } | |
| end |
| require 'benchmark' | |
| n = 1000000 | |
| Benchmark.bmbm do |x| | |
| x.report("assign single") { n.times do; c = 'a string'; end} | |
| x.report("assign double") { n.times do; c = "a string"; end} | |
| x.report("concat single") { n.times do; 'a string ' + 'b string'; end} | |
| x.report("concat double") { n.times do; "a string " + "b string"; end} | |
| x.report("use << single") { n.times do; 'a string ' << 'b string'; end} |
| rand(36**8).to_s(36) |