Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aviflombaum on github.
  • I am aviflombaum (https://keybase.io/aviflombaum) on keybase.
  • I have a public key ASBF9nK4LCTi2biwf0HSZPqLlRdH4lWXzDs2glHPT3-Iawo

To claim this, I am signing this object:

@aviflombaum
aviflombaum / shape_of_me_sonic_pi.rb
Created May 8, 2019 00:41
Shape of Me, for Sonic Pi
use_bpm(96)
chord_1 = [:Db5, :Ab4, :Db4]
chord_2 = [:E5, :Ab4, :Db4]
chord_3 = [:Db5, :Ab4, :Db4]
chord_4 = [:Db5, :A4, :Gb3]
chord_5 = [:E5, :A4, :Gb3]
chord_6 = [:Db5, :A4, :Gb3]
chord_7 = [:Db5, :A4, :A3]
chord_8 = [:E5, :A4, :A3]
IceBreakersController.Show = async function(req, res, next){
IceBreaker.findBySecret(req.query.secret).then(function(icebreaker){
// this sucks
icebreaker.responses().then(function(icebreakerResponses){
console.log(icebreakerResponses)
console.log(icebreaker)
res.render("icebreakers/show", {icebreaker: icebreaker, icebreakerResponses: icebreakerResponses})
});
})
IceBreakersController.Show = async function(req, res, next){
let icebreaker = await IceBreaker.findBySecret(req.query.secret);
let icebreakerResponses = await icebreaker.responses();
console.log(icebreaker)
console.log(icebreakerResponses)
res.render("icebreakers/show", {icebreaker: icebreaker, icebreakerResponses: icebreakerResponses})
}
class GenreScraper
def initialize(genre_url)
@genre_url = genre_url
end
def scrape
data = # scrape logic
data.each do |movie_info|
Movie.new(movie_info) # pass the raw data to a movie class to store
Hi, I'm Avi, co-founder and Dean at the Flatiron School. It is my pleasure to welcome you to our community bootcamp for learning how to code and become a web application developer.
Since we started Flatiron School over four years ago our goal has always been to provide students with an accessible path to learn to code and to launch their career by helping them land their first job as professional developers.
During this journey we wrote a lot of curriculum about code. We broke down every relevant framework to its core components and developed tutorials and challenges around the topics at the heart of modern programming. Instead of just teaching you how to use the trendiest framework whose popularity is temporary, our curriculum teaches you the concepts behind the frameworks so that your knowledge and fundementals are always relevant. Whether React, or Angular, or Ruby on Rails, our pedgogy is centered around the patterns that power software development rather than just trends. Not only do you learn the lang
@aviflombaum
aviflombaum / gist.md
Created March 23, 2016 17:46
JS IS COOL

This Will Be a Headline

console.log("Hello")

Open me in github

@aviflombaum
aviflombaum / adele.hello.rb
Created March 22, 2016 01:22
Opening chords of Hello by Adele in Sonic Pi
use_synth :piano
use_bpm 148
play(chord(:F1, :minor), amp: 2, release: 16)
# play(:Gs3, release: 16)
# play(:C2, release: 16)
# play(:F1, release: 16)
sleep 3
[
{
type: "button"
icon: "octoface"
tooltip: "Open in Github"
callback: "open-on-github:file"
}
{
type: "button"
icon: "document"
<h3>Class Roster</h3>
<table>
<tr>
<th>First</th>
<th>Last</th>
<th>Gender</th>
<th colspan="2"></th>
</tr>
<% @students.each_with_index do |student, i| %>