Skip to content

Instantly share code, notes, and snippets.

View thomasdavis's full-sized avatar

Thomas Davis thomasdavis

View GitHub Profile
@thomasdavis
thomasdavis / plugin.js
Created October 12, 2011 00:49
UMD Suggestion
// AMD and Plain Enviroment - For the browser so no Common.js needed
if(typeof define !== 'function') {
define = function( deps, definition ) {
window['MyPlugin'] = definition();
}
}
define([], function(){
return {};
@thomasdavis
thomasdavis / jquery.ba-deparam.js
Created November 22, 2011 01:34 — forked from cowboy/jquery.ba-deparam.js
jQuery Deparam -- WORK IN PROGRESS -- NOT DONE YET
// jQuery Deparam - v0.1.0 - 6/14/2011
// http://benalman.com/
// Copyright (c) 2011 Ben Alman; Licensed MIT, GPL
(function($) {
// Creating an internal undef value is safer than using undefined, in case it
// was ever overwritten.
var undef;
// A handy reference.
var decode = decodeURIComponent;
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in server.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write /home/samot/repos/budder-server/package.json
data:
data: {
data: version: '0.0.0-2',
@thomasdavis
thomasdavis / dabblet.css
Created August 9, 2012 01:46
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@thomasdavis
thomasdavis / gist:6017383
Last active December 19, 2015 20:59
Ruby/Mongo developer - Remote
Ruby/Mongo developer - Remote
Are you tired of a broken music industry where major labels play gatekeeper and cut artists out of the deal? Sick of streaming services inundated with commercials?
Earbits is turning the model on its head. On Earbits Radio, artists and labels bid for airtime on a per-stream basis and use the exposure to acquire fans and market products and live events.
It is Google Adwords for music, where data, customer experience and economics surface the best material to each listener - all without commercials.
We’re looking for a back end engineer to help build the algorithm that will maximize artists’ results, listeners’ experience, and the company’s bottom line.
Come help us do for music what Adwords did for every other small business industry.
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="http://thedaywefightback.us3.list-manage.com/subscribe/post?u=d9b90a515aaab135428b797b1&amp;id=1732fb30c4" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<h2>Subscribe to our mailing list</h2>
@thomasdavis
thomasdavis / edges.csv
Created January 22, 2016 01:52 — forked from futureperfect/edges.csv
Sample data for Gephi demonstration
Source Target Type Id Weight Average Degree
1 3 Undirected 1 1.0 1.0
2 10 Undirected 8 1.0 1.0
3 4 Undirected 2 1.0 1.0
4 5 Undirected 3 1.0 1.0
5 10 Undirected 4 1.0 1.0
8 2 Undirected 7 1.0 1.0
8 9 Undirected 11 1.0 1.0
10 1 Undirected 5 1.0 1.0
10 6 Undirected 10 1.0 1.0
// boot.js
require('babel-core/register');
require('coffee-script/register');
module.exports = require('./app');
// app.js
import from 'foo';
import from 'bar';
// foo.js
@thomasdavis
thomasdavis / company-ownership.md
Created July 6, 2016 00:21 — forked from jdmaturen/company-ownership.md
Who pays when startup employees keep their equity?

Who pays when startup employees keep their equity?

JD Maturen, 2016/07/05, San Francisco, CA

As has been much discussed, stock options as used today are not a practical or reliable way of compensating employees of fast growing startups. With an often high strike price, a large tax burden on execution due to AMT, and a 90 day execution window after leaving the company many share options are left unexecuted.

There have been a variety of proposed modifications to how equity is distributed to address these issues for individual employees. However, there hasn't been much discussion of how these modifications will change overall ownership dynamics of startups. In this post we'll dive into the situation as it stands today where there is very near 100% equity loss when employees leave companies pre-exit and then we'll look at what would happen if there were instead a 0% loss rate.

What we'll see is that employees gain nearly 3-fold, while both founders and investors – particularly early investors – get dilute

Keybase proof

I hereby claim:

  • I am thomasdavis on github.
  • I am thomasdavis (https://keybase.io/thomasdavis) on keybase.
  • I have a public key whose fingerprint is 85FF 9DAC 5D77 0454 B574 6F7D 1E8A BFB1 DF7C E9DE

To claim this, I am signing this object: