I hereby claim:
- I am sumanmukherjee03 on github.
- I am sumanmukherjee03 (https://keybase.io/sumanmukherjee03) on keybase.
- I have a public key ASCpC0bueUpxsCtMsye84bvqoBemWrBM-kHKvrQw8u0KrQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"fmt" | |
"reflect" | |
"strconv" | |
"time" | |
) |
require 'rspec' | |
require 'forwardable' | |
RSpec.configure do |config| | |
config.mock_with :rspec | |
config.color_enabled = true | |
end | |
class Node | |
def initialize(value) |
require 'rspec' | |
require 'forwardable' | |
RSpec.configure do |config| | |
config.mock_with :rspec | |
config.color_enabled = true | |
end | |
module Version | |
NUMBER = 1 |
require 'rspec' | |
RSpec.configure do |config| | |
config.mock_with :rspec | |
config.color_enabled = true | |
end | |
module ArrayExt | |
def merge_sort | |
if self.length <= 1 |
require 'rspec' | |
require 'forwardable' | |
RSpec.configure do |config| | |
config.mock_with :rspec | |
config.color_enabled = true | |
end | |
def program_name | |
"Greeting Messages" |
require 'rspec' | |
RSpec.configure do |config| | |
config.mock_with :rspec | |
config.color_enabled = true | |
end | |
module MyHashTools | |
def get_val_for(sym) |
class Outer | |
class Inner | |
def initialize(attrs) | |
@obj = attrs | |
end | |
def do_something | |
# do somehting with the @obj | |
@obj | |
end |
var Person = function(name) { | |
this.name = name; | |
}; | |
Person.prototype.getName = function() { | |
return this.name; | |
}; | |
var thomas = new Person('Thomas'); | |
var amy = new Person('Amy'); |
Function.prototype.cache = (function() {return {};})(); | |
Function.prototype.setCache = (function() { | |
var self = this; | |
return function(key) { | |
if(!this.cache[key]) | |
this.cache[key] = this.call(self, key); | |
}; | |
})(); |