Skip to content

Instantly share code, notes, and snippets.

View CoreyTrombley's full-sized avatar
💾
Save the floppy

Corey Trombley CoreyTrombley

💾
Save the floppy
View GitHub Profile

Polymorphism

stackoverflow discussion

Subtype Polymorphism

  class Account
    attr_accessor :balance
    def initialize(balance)
self.balance = balance

WDI Final Demo Day

Twitter on #WDIFINAL #WDI @GA @dmgarland @C_Trom

@_AHYI & @WhoisRomanGun

Begoing

  • UX UI
  • Cucumber

Startup weekend NYC

@nycsw #SWNYC

  • Scroll kit @CodyBrown
  • Ask about Google Developers

Pitches

  • Grazor P2P dining
function vpause () {
VBoxManage list vms | grep "$1" | cut -d' ' -f1 | tr -d '"\n ' | xargs -0 -I BOX VBoxManage controlvm BOX pause
}
function vresume () {
VBoxManage list vms | grep "$1" | cut -d' ' -f1 | tr -d '"\n ' | xargs -0 -I BOX VBoxManage controlvm BOX resume
}
function vrunning () {
@CoreyTrombley
CoreyTrombley / modal_notes.md
Last active August 29, 2015 14:13
React modal notes

React modal notes

JSX Spread Attributes

link

Now you can use a new feature of JSX called spread attributes:

  var props = {};
  props.foo = x;
@CoreyTrombley
CoreyTrombley / links
Created February 24, 2015 18:05
Learning Git, Github, and Atom
var LineItemDetailContainer = React.createClass({
displayName: 'LineItemDetailContainer',
mixins: [FluxMixin],
propTypes: {
/**
* lineItemId that we are displaying the
/**
* @file Status toggle mixin
*/
var _ = require('lodash');
var config = require('../../../shared/config');
var Api = require('../../../shared/lib/api')(config());
var authToken = window.authToken;
/**
* @file React Component for Status
*/
var React = require('react');
var _ = require('lodash');
var config = require('../../../shared/config');
var Api = require('../../../shared/lib/api')(config());
var StatusMixin = require('../mixins/statusToggleMixin');
<Route name="resourceList" path="/list/:resourceType" handler={AdminList} />
{/* may need nested route for tab Selections */}
<Route name="details" path="details" >
<Route name="companies" path=":resourceType" >
<Route name="companyId" path=":resourceId" >
<Route name="resourceDetail" path=":detailTab" handler={AdminDetails} >
<Route name="createBrand" path="/create/brand" handler={AdminCreateBrand} />
</Route>
</Route>