Skip to content

Instantly share code, notes, and snippets.

Matthew Wells mdespuits

Block or report user

Report or block mdespuits

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mdespuits
mdespuits / book.rb
Created Aug 14, 2018 — forked from sirupsen/book.rb
Script to import books from Instapaper to Airtable
View book.rb
class Book < Airrecord::Table
class Endorser < Airrecord::Table
self.base_key = ""
self.table_name = "Endorser"
end
self.base_key = ""
self.table_name = "Books"
has_many :endorsements, class: 'Book::Endorser', column: 'Endorsements'
@mdespuits
mdespuits / bench_str_building.rb
Created Aug 31, 2012 — forked from alno/bench_str_building.rb
Benchmark: interpolation vs concatenation in Ruby
View bench_str_building.rb
require 'benchmark'
count = 1_000_000
Benchmark.benchmark do |bm|
bm.report("concat") { count.times { 11.to_s + '/' + 12.to_s } }
bm.report("interp") { count.times { "#{11}/#{12}" } }
end
@mdespuits
mdespuits / sublime_shortcuts.md
Last active Oct 9, 2015 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts
View sublime_shortcuts.md

Sublime Text 2 - Useful Shortcuts (Mac OS X)

General

Command Action
⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
@mdespuits
mdespuits / gist:2492087
Created Apr 25, 2012 — forked from thommahoney/gist:2491946
RailsConf 2012 Lightning Talks
View gist:2492087
1 min:
~Painless Javascript
koting hatduklgg
with wind tunnel
~tenderlove.dup jremsikjr
~iwanttolearnruby.com
(collecting resources for learning ruby)
You can’t perform that action at this time.