Skip to content

Instantly share code, notes, and snippets.

View gogogarrett's full-sized avatar

Garrett Heinlen gogogarrett

  • Netflix
  • San Francisco, CA
View GitHub Profile
@juliocesar
juliocesar / .eslintrc
Last active September 3, 2015 05:48
Ok Build - a build system that's ok, as far as build systems go
{
"ecmaFeatures": {
"globalReturn": true,
"jsx": true,
"modules": true
},
"env": {
"browser": false,
"es6": true,
@willrax
willrax / Gulpfile.js
Last active August 29, 2015 14:14
Angular, Gulp and a Server
var gulp = require("gulp"),
gutil = require("gulp-util"),
jshint = require("gulp-jshint"),
concat = require("gulp-concat"),
clean = require("gulp-clean"),
connect = require("gulp-connect"),
sourcemaps = require("gulp-sourcemaps"),
bowerPath = "bower_components/";
var bowerComponents = [
@prestonparris
prestonparris / reactjs-conf-2015-notes.md
Last active April 6, 2017 21:32
Notes from the 2015 React.js Conference

Reactjs conf 2015 Notes

  • react native announced

    • Allows you to use react style javascript to target native ios and android, native views, live reloading
    • intro pt1
    • intro pt2
    • facebook groups app uses react native with graphql and relay
  • realtime page tweaking

    • rethink best practices and workflows
  • inmutability is a good idea

@gbuesing
gbuesing / ml-ruby.md
Last active February 28, 2024 15:13
Resources for Machine Learning in Ruby

UPDATE a fork of this gist has been used as a starting point for a community-maintained "awesome" list: machine-learning-with-ruby Please look here for the most up-to-date info!

Resources for Machine Learning in Ruby

Gems

[
{ "keys": ["super+b"], "command": "run_single_ruby_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
},
{ "keys": ["super+shift+b"], "command": "run_all_ruby_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
@martinstannard
martinstannard / gist:2f9b463e695327bc56e1
Created August 19, 2014 04:42
Phoenix for ember.js channel integration
# room_channel.ex
defmodule Stadium.RoomChannel do
use Phoenix.Channel
def join(socket, "lobby", _) do
reply socket, "joined", "you joined"
{:ok, socket}
end
@martinstannard
martinstannard / gist:2c633b92854984b0fcb3
Created August 19, 2014 04:38
ember.js phoenix framework channel
# ember-cli
# chat router
`import Ember from 'ember'`
ChatRoute = Ember.Route.extend
setupController: (controller, model)->
@_super(controller, model)
@ryansobol
ryansobol / gist:5252653
Last active November 22, 2023 11:53
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.