Skip to content

Instantly share code, notes, and snippets.

View imustardsoft's full-sized avatar

iMustardSoft imustardsoft

View GitHub Profile
@imustardsoft
imustardsoft / test1.rb
Created May 13, 2013 15:24
module initialize
require 'active_support/concern'
module MyModule
def my_val
@my_val ||= 2
end
# def self.included(receiver)
# receiver.instance_variable_set('@my_val',2)
require 'benchmark'
result = Benchmark.measure do
"a"*1_000_000_000
end
puts result.total
"include_users": false,
// "include_users": ["user1", "user2"],
// Show the authors of Gists
"show_authors": false,
// Proxy server
// Format: "http://user:pass@proxy:port"
"https_proxy": "",