Skip to content

Instantly share code, notes, and snippets.

@branliu0
branliu0 / gist:2692610
Created May 14, 2012 08:02
Brandon Liu's .vimrc
set nocompatible
behave xterm
filetype plugin indent on
syntax on
source $HOME/.vim/vimrc/filetypes.vim
source $HOME/.vim/vimrc/looks.vim
source $HOME/.vim/vimrc/mappings.vim
source $HOME/.vim/vimrc/misc.vim
source $HOME/.vim/vimrc/plugin_configs.vim
@branliu0
branliu0 / ShfitRegister.ino
Created August 1, 2012 18:40
Example Code for Shift Register
// Pin Definitions
// The 74HC595 uses a serial communication link which has three pins
#define PIN_DATA 2
#define PIN_CLOCK 3
#define PIN_LATCH 4
int data = 2;
int clock = 3;
int latch = 4;
void setup() {
/*
http://arduino.cc/en/Tutorial/AnalogInput
*/
#define SENSOR_PIN A0 // select the input pin for the potentiometer
#define NUM_PINS 8
#define START_PIN 1
int pin_interval;
/*
Fade
This example shows how to fade an LED on pin 9
using the analogWrite() function.
This example code is in the public domain.
*/
int brightness = 0; // how bright the LED is
@branliu0
branliu0 / gist:3229723
Created August 1, 2012 18:47
Asana Learning Lunch: Arduino 08/01/2012

Learning Lunch: Arduino

Overview of Arduino

  • interaction with physical world
  • microcontroller board
  • development environment
  • open-source!

Comparison vs other microcontroller platforms

  • Inexpensive (relatively)

Review

Narrative conception of the self is Aristotelian -- it is teleological a) the narrative conception presupposes a certain conception of the good life as a whole b) MacIntyre's conception of the good life involves following the narrative of life. In the process of determing how I ought to act, it would be wrong to step back from the particulars of my situation -- I need to look at my current situation nal Exam 20 MC questions -- broadly thematic 2 essays

Bentham

Founder Bio

I am a 3rd-year undergraduate studying Computer Science at Harvard University, and a recognized leader in CS and tech entrepreneurship at school. I come from a strong quantitative background in the natural sciences and theoretical computer science, and I also have substantial technical engineering experience with numerous consulting, teaching, and internship experiences around software engineering and tech startups. I also have leadership experience starting organizations, building teams, and realizing visions in technology and business.

My passion is to rally ambitious and intelligent people to tackle some of the world's most pressing problems, in a way that combines my experience and expertise in computer science and organizational leadership.

Company Bio

Tech in the World is a national organization providing global health fellowships to top computer science students. We identify the best and brightest computer science students, in both technical talent and leadership capacity, form te

ROGER EHRENBERG

  • Do you want to go the 100m acquisition route, or do you want to go big? Dan: We want to be the second wave of ETF innovation
  • In that case, always stay independent, and do not tie your brand to any other brand. Do not issue ETFs in close collaboration with a Blackrock or Prudential -- once you do that you're tied into their network and it will be very hard to get acquired. Doing such a deal would bring in faster revenue, but would also place you at the mercy of their restrictions and constraints. Doing it yourself will be more work, but will allow you to keep much much more upside.
  • Similar with Markit -- don't mix in your brand with them too much. Try to get a revshare from them, but don't give them a revshare for us. Try to keep our platform separate.
  • On focus: Roger literally says this: "Lack of focus will kill this company. People will have opinions about this, but I am right." He says to stay laser focused on the technology and the current product, and don't worry ab

CS 285: Final Project Proposals

by Brandon Liu November 12, 2013

Proposal: Distributed Hitting Time

(a) Motivation

One part of the course discussed trust, reputation, and sybil-proofness. My independent thesis research has been on this topic, and much of my research has