Skip to content

Instantly share code, notes, and snippets.

(This is the text of the keynote I gave at Startup Riot 2009. Will update when video becomes available.)

Hi everyone, I’m Chris Wanstrath, and I’m one of the co-founders of GitHub.

GitHub, if you haven’t heard of it, has been described as “Facebook for developers.” Which is great when talking about GitHub as a website, but not so great when describing GitHub as a business. In fact, I think we’re the polar opposite of Facebook as a business: we’re small, never took investment, and actually make money. Some have even called us successful.

Which I’ve always wondered about. Success is very vague, right? Probably even relative. How do you define it?

After thinking for a while I came up with two criteria. The first is profitability. We employ four people full time, one person part time, have thousands of paying customers, and are still growing. In fact, our rate of growth is increasing – which means January was our best month so far, and February is looking pretty damn good.

CDbException
CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '127' for key 'PRIMARY'. The SQL statement executed was: INSERT INTO `slides` (`slide_order`, `ID_item`, `type`, `file`, `fullscreen`, `name`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5)
/nfs/c02/h05/mnt/26673/domains/dev.mass.com/html/framework/db/CDbCommand.php(336)
324 return $n;
325 }
326 catch(Exception $e)
327 {
@ilteris
ilteris / backup_Restore
Created August 18, 2013 16:01
Manually backup and restore a User Home Folder When troubleshooting a computer problem sometimes its best to just wipe the hard drive and start fresh. I developed the following method for backing up user home folders so that they can easily be restored to another computer or the same computer while preserving proper permissions, ACLs, and file/f…
To backup, use Disk Utility (in /Applications/Utilities/) to backup the user home folder.
Login as a local administrator, but not as the user account you want to backup.
Launch Disk Utility.
Choose File » New » Image from Folder...
Select the user's home folder /Users/[username].
Save the disk image to your backup drive.
Enter an admin username and password when prompted.
To restore:
When starting with a freshly restored or new computer use the Setup Assistant to create a local admin account that is NOT the same user name and short name as the user you are restoring.
Login as that local admin account.
-
<textView clipsSubviews="YES" multipleTouchEnabled="YES" tag="2" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" editable="NO" usesAttributedText="YES" selectable="NO" id="Ckl-nu-FmR">
19 +
<textView clipsSubviews="YES" multipleTouchEnabled="YES" tag="2" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" usesAttributedText="YES" id="Ckl-nu-FmR">
'use strict';
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %>
var gulp = require('gulp');
var open = require('open');
var wiredep = require('wiredep').stream;
// Load plugins
var $ = require('gulp-load-plugins')();
#import <UIKit/UIKit.h>
@interface DateFlowLayout : UICollectionViewFlowLayout
@end
//
// StickyHeaderLayout.h
// Wombat
//
// Created by Todd Laney on 1/9/13.
// Copyright (c) 2013 ToddLa. All rights reserved.
//
// Modified from http://blog.radi.ws/post/32905838158/sticky-headers-for-uicollectionview-using THANKS!
//
var Transform = require ('stream').Transform;
var util = require('util');
var parser = new Transform();
parser._transform = function(data,encoding, done) {
if (this.readingData) {
this.push(data, encoding)
} else {
{
"objects": [
{
"name": "fraction",
"term": [
{
"name": "number",
"value": "1"
},
{
{
"objects": [
{
"name": "sqrt",
"term":
[
{
"name" : "variable",
"value" : "x"
},