sudo su
enable multiverse and universe - http://goo.gl/73C8sq
vim /etc/apt/sources.list
| var config = { | |
| "USER" : "", | |
| "PASS" : "", | |
| "HOST" : "ec2-xx-xx-xx-xx.ap-southeast-2.compute.amazonaws.com", "PORT" : "27017", | |
| "DATABASE" : "my_example" | |
| }; | |
| var dbPath = "mongodb://" + config.USER + ":" + config.PASS + "@" + config.HOST + ":" + config.PORT + "/" + config.DATABASE; | |
| var mongoose = require('mongoose'); | |
| var db = mongoose.connect(dbPath); |
| # Path to your oh-my-zsh configuration. | |
| ZSH=$HOME/.oh-my-zsh | |
| ZSH_THEME="smt" | |
| COMPLETION_WAITING_DOTS="true" | |
| plugins=(git github osx sublime) | |
| source $ZSH/oh-my-zsh.sh | |
| unsetopt correct_all | |
| export NODE_PATH=/usr/local/lib/node |
sudo su
vim /etc/apt/sources.list
| isValidDateLiteral: function (input){ | |
| var validformat = /^\d{1,2}\/\d{1,2}\/\d{4}$/; //Basic check for format validity | |
| if (!input.match(validformat)) return false; | |
| var monthfield=input.split("/")[0]; | |
| var dayfield=input.split("/")[1]; | |
| var yearfield=input.split("/")[2]; | |
| var dayobj = new Date(yearfield, monthfield-1, dayfield); | |
| if ((dayobj.getMonth()+1!=monthfield)||(dayobj.getDate()!=dayfield)||(dayobj.getFullYear()!=yearfield)) { | |
| return false; | |
| } else { |
| #!/usr/bin/env bash | |
| # ~/.osx — http://mths.be/osx | |
| # Ask for the administrator password upfront | |
| sudo -v | |
| # Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
| while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
Friends,
Two years ago I chose to focus my major on the study of biocomputation. My interests then lay and still remain at the intersection of our data and self-representation. Dissapointed with the progress being made at the clinical end of genomics, I opted to forgo promising academic research to join what I believed was an equally promising health prediction startup. Without a clear plan for how I intended to participate, I nevertheless sensed an urgent creative potential.
What began as a summer internship with an undefined role quickly evolved into an unexpected, catalytic journey. In the intervening period, harboring an acquisition and graduation, I've stumbled upon an inestimable quantity of insights. From agile development, organizational structure, and interface design to consumer behavior, mobile health, and wearable computing, I've
| // | |
| // FTInterview.h | |
| // Created by IO on 1/15/14. | |
| // | |
| // | |
| #import <Foundation/Foundation.h> | |
| #pragma mark - Type Definitions |