Skip to content

Instantly share code, notes, and snippets.

View bionicpill's full-sized avatar

Jesse Brown bionicpill

View GitHub Profile
@bionicpill
bionicpill / twitter.com.js
Last active December 17, 2015 10:19
Make ⌘-Enter submit tweets in Twitter.
DotJs = {
is_command_pressed : false,
is_command_key : function (event) {
return (event.which === 91 || event.which === 93);
}
};
$(document).
on("keydown", function(event) {
@bionicpill
bionicpill / email.html
Last active August 29, 2015 13:57 — forked from anonymous/-
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width" name="viewport">
<style data-immutable="true">
@media only screen and (max-width: 600px) {
table[class="body"] img {
width: auto !important;
diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb
index caf2156..71afd75 100644
--- a/app/mailers/admin_mailer.rb
+++ b/app/mailers/admin_mailer.rb
@@ -10,10 +10,10 @@ class AdminMailer < BaseMailer
subject: "[TP] WE GOT ONE: #{@organization.name}"
end
- def logo_resize_failed(file_name, organization_id, exception)
+ def logo_resize_failed(file_name, organization_id, exception_info)
@bionicpill
bionicpill / popular.rb
Created October 31, 2014 20:44
Find most popular item in the array
@bionicpill
bionicpill / popular.rb
Created October 31, 2014 20:44
Find most popular item in the array
@bionicpill
bionicpill / popular.rb
Created October 31, 2014 20:44
Find most popular item in the array
@bionicpill
bionicpill / popular.rb
Last active August 29, 2015 14:08
Find most popular item in the array
diff --git a/app/models/forwarding_phone.rb b/app/models/forwarding_phone.rb
index af93735..d4a9854 100644
--- a/app/models/forwarding_phone.rb
+++ b/app/models/forwarding_phone.rb
@@ -46,15 +46,7 @@ class ForwardingPhone < ActiveRecord::Base
end
def provision_number
- if product_session?
- voice_url = incoming_call_product_session_url
require "delegate"
class BankAccount
def number
123456
end
end
class SimpleDelegatorBankAccount < SimpleDelegator
end

Keybase proof

I hereby claim:

  • I am bionicpill on github.
  • I am jesse_brown (https://keybase.io/jesse_brown) on keybase.
  • I have a public key ASAbytgLUrkBwKhiYoPD3-H4QvggOpvJTSHkHouRMcg8oAo

To claim this, I am signing this object: