title | permalink | redirect_from |
---|---|---|
Code of Conduct |
/codeofconduct |
/CONDUCT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reachOut(val) { | |
console.log('reach out called with:', val) | |
return new Promise(resolve => { | |
setTimeout(() => { | |
resolve(val); | |
}, 10) | |
}) | |
} | |
async function adderSequence(x) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Squisher | |
def initialize(items) | |
@inputs = items | |
@outputs = [] | |
end | |
attr_reader :outputs, :inputs | |
def build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin for-phone-only { | |
@media (max-width: 599px) { @content; } | |
} | |
@mixin for-tablet-portrait-up { | |
@media (min-width: 600px) { @content; } | |
} | |
@mixin for-tablet-portrait-only { | |
@media (min-width: 600px) and (max-width: 899px) { @content; } | |
} | |
@mixin for-tablet-landscape-up { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sample/sample_app.rb | |
require 'sinatra' | |
require 'pry' | |
# We us "classic" mode where you don't actually see the class | |
# inheriting from Sinatra::Base and you don't start the app with | |
# rackup. This makes the object structure less obvious but lets | |
# Sinatra do more of the behind-the-scenes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sample/sample_app.rb | |
require 'sinatra' | |
require 'pry' | |
# We us "classic" mode where you don't actually see the class | |
# inheriting from Sinatra::Base and you don't start the app with | |
# rackup. This makes the object structure less obvious but lets | |
# Sinatra do more of the behind-the-scenes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sample/sample_app.rb | |
require 'sinatra' | |
require 'pry' | |
# We us "classic" mode where you don't actually see the class | |
# inheriting from Sinatra::Base and you don't start the app with | |
# rackup. This makes the object structure less obvious but lets | |
# Sinatra do more of the behind-the-scenes |