Skip to content

Instantly share code, notes, and snippets.

View ericqweinstein's full-sized avatar

Eric Weinstein ericqweinstein

View GitHub Profile
@ericqweinstein
ericqweinstein / keybase.md
Created August 11, 2017 17:15
Proof of identity (GitHub <-> Keybase)

Keybase proof

I hereby claim:

  • I am ericqweinstein on github.
  • I am eqwfox (https://keybase.io/eqwfox) on keybase.
  • I have a public key ASBfXZwwghwRqgYnLNWkzUQMCeeLYjAAJyJwmVlSXm_I-Ao

To claim this, I am signing this object:

@ericqweinstein
ericqweinstein / install.sh
Created April 13, 2016 23:00
Installation script for pre-commit/pre-push hooks
#!/usr/bin/env bash
# Installs all project Git hooks.
# Author: Eric Weinstein <eric.q.weinstein@gmail.com>
set -e
# Output colors
error() {
echo -e "\033[0;31m[!] $1\033[0;m"
}
@ericqweinstein
ericqweinstein / wat.md
Last active April 7, 2016 04:42
Top Six Things Your Grandmother Doesn't Know About JavaScript

Top Six Things Your Grandmother Doesn't Know About JavaScript

  1. It will sort things lexicographically and not tell you
    [5, 1, 10].sort();
    // => [ 1, 10, 5 ]
    // Numbers go in, numbers come out. You can't explain it!
    
    [5, 1, 10].sort(function (a, b) { return a - b; });

// => [ 1, 5, 10 ]

@ericqweinstein
ericqweinstein / git.md
Created November 10, 2015 00:05
Wednesday Workshops: Let's Git Going

Wednesday Workshops: Let's Git Going

About

Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.

Curriculum

Git is hard! It doesn't have to be. We'll be loosely following the progression of content in Pro Git. We'll deviate a bit to cover common use cases at Condé, as well as to include topics like GitHub and Git workflow.

@ericqweinstein
ericqweinstein / 21cjs.md
Last active May 4, 2016 15:16
Wednesday Workshops: 21st Century JavaScript

Wednesday Workshops: 21st Century JavaScript

About

Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.

Curriculum

We'll be covering topics in the ES 2015 specification, loosely following this ebook by Alex Rauschmayer. We'll also cover new JavaScript topics and tooling, including Flow, React Native, Electron, and more.

@ericqweinstein
ericqweinstein / wwfp.md
Last active May 4, 2016 15:17
Wednesday Workshops: Functional Programming Patterns in JavaScript

Wednesday Workshops: Functional Programming Patterns in JavaScript

About

Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.

Curriculum

We'll be using Michael Fogus' Functional Programming in JavaScript as a loose guide. I'll provide you with an electronic copy (EPUB, MOBI, or PDF).

@ericqweinstein
ericqweinstein / wwdsa.md
Last active June 4, 2016 10:27
Wednesday Workshops: Data Structures & Algorithms

Wednesday Workshops: Data Structures & Algorithms

About

Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.

Curriculum

Intro

@ericqweinstein
ericqweinstein / karma.js
Created July 24, 2014 14:13
Karma configuration file (for use with karma-browserify)
module.exports = function(config) {
config.set({
// Config is config/karma.js; project root is one level up.
basePath: '../'
, frameworks: ['jasmine', 'browserify']
, files: [
'spec/javascripts/**/*.js'
]
@ericqweinstein
ericqweinstein / logo.css
Last active December 18, 2015 05:38
CSS for Hacker School logo.
.logo-container {
margin-left: 18px;
}
.monitor {
width: 50px;
height: 40px;
border: 5px solid black;
}
@ericqweinstein
ericqweinstein / logo.html
Created June 8, 2013 03:01
HTML for Hacker School logo.
<div class='logo-container'>
<div class='monitor'>
<div class='screen'>
<div class='dot' id='one'></div>
<div class='dot' id='two'></div>
<div class='dot' id='three'></div>
<div class='dot' id='four'></div>
<div class='dot' id='five'></div>
<div class='dot' id='six'></div>
<div class='dot' id='seven'></div>