Skip to content

Instantly share code, notes, and snippets.

View jbenet's full-sized avatar

Juan Benet jbenet

View GitHub Profile
@jbenet
jbenet / index.html
Last active August 29, 2015 14:13 — forked from mbostock/.block
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.node {
font: 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.link {
stroke: steelblue;
@jbenet
jbenet / imports.json
Last active May 25, 2016 03:18 — forked from mbostock/.block
[{"name":"reflect","size":1000,"imports":["math","runtime","strconv","sync","unsafe"]}
,{"name":"crypto/x509/pkix","size":1000,"imports":["encoding/asn1","math/big","time"]}
,{"name":"unicode/utf8","size":1000}
,{"name":"encoding/asn1","size":1000,"imports":["bytes","errors","fmt","io","math/big","reflect","strconv","strings","time","unicode/utf8"]}
,{"name":"fmt","size":1000,"imports":["errors","io","math","os","reflect","strconv","sync","unicode/utf8"]}
,{"name":"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore","size":1000,"imports":["errors","github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go-uuid/uuid","log","path","strings"]}
,{"name":"github.com/jbenet/go-ipfs/crypto/internal/pb","size":1000,"imports":["github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto","math"]}
,{"name":"crypto/elliptic","size":1000,"imports":["io","math/big","sync"]}
,{"name":"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.crypto/
[
{
"ID": "QmQpPRLXZnqM8nyShCvXVfgowzfGg5UpGrrY7GhHcb2U5a",
"Connections": [
{
"Latency": 0,
"ID": "QmVW2Fwrmck6vgmfDhfKP5QLvM3mUxzBJHa8c1g5Lqwqxz"
},
{
"Latency": 3114468,

Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.

CS183: Startup—Notes Essay—The Challenge of the Future

Purpose and Preamble

@jbenet
jbenet / test.coffee
Last active December 10, 2015 04:38 — forked from anonymous/model.coffee
class Model
constructor: ->
@data = {}
set: (key, val) ->
@data[key] = val
get: (key) ->
@data[key]
@jbenet
jbenet / fix_mail_keyboard_shortcuts.rb
Created September 19, 2011 02:11 — forked from indirect/fix_mail_keyboard_shortcuts.rb
fix Mail keyboard shortcuts containing > in Lion
#!/usr/bin/env ruby
require 'rubygems'
require 'cfpropertylist'
# This is a fix for the bug filed as Radar #1288404 with Apple.
# http://openradar.appspot.com/radar?id=1288404
# So, in Snow Leopard, I always set up Mail.app to have keyboard shortucts
# for my "From" email addresses. You can create your own in the Keyboard
# system preference pane by entering your email address (like "Andre Arko