Skip to content

Instantly share code, notes, and snippets.

View carlcrott's full-sized avatar

Carl Crott carlcrott

  • <( '.' <) <( '.' )> (> '.' )>
  • San Francisco CA
View GitHub Profile

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

test.hs:1:1: Parse error: naked expression at top level
$ sudo apt-get install nodejs
$ sudo npm install -g phonegap
$ sudo npm install -g appium
$ appium
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
lilith@lilith:~/javascript_projects/node$ ./configure
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': ['OPENSSL_NO_SSL2=1'],
'include_dirs': [],
'libraries': []},
'variables': { 'clang': 0,
'gcc_version': 46,
'host_arch': 'x64',
'node_install_npm': 'true',
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
tar -xzvf node-v0.10.26.tar.gz
cd node*
./configure --prefix=/usr/local && make && make install
lilith@lilith:/usr/local/platform-tools$ ls
adb api fastboot NOTICE.txt source.properties systrace
lilith@lilith:/usr/local/platform-tools$ ./adb
bash: ./adb: No such file or directory
lilith@lilith:/usr/local/platform-tools$
lilith@lilith:~/javascript_projects/junk$ phantomjs ladybug_screencap.js
TypeError: 'undefined' is not a function (evaluating 'this.login.bind(this)')
http://localhost/www/js/angularfire.min.js:1
http://localhost/www/js/angularfire.min.js:1
http://localhost/www/js/service.login.js:14
http://localhost/www/js/app.js:34
http://localhost/www/js/angular.min.js:34 in d
http://localhost/www/js/angular.min.js:36
lilith@lilith:~/javascript_projects/junk$
lilith@lilith:~/javascript_projects/screengrab$ phantomjs login.js
step 1
load started
loading app.js
loading routes.js
loading config.js
loading services.js
loading service.login.js
loading service.firebase.js
loading service.events.js
root@meteorhack-01:/etc/salt# salt '*' grains.get ipv4
meteorhack-01:
- 10.208.225.53
- 104.130.3.198
- 127.0.0.1
>BBa_K510044 Part-only sequence (8490 bp)
tactagtagcggccgctgcagtccggcaaaaaaacgggcaaggtgtcaccaccctgccctttttctttaaaaccgaaaagattacttcgcgttatgcagg
cttcctcgctcactgactcgctgcgctcggtcgttcggctgcggcgagcggtatcagctcactcaaaggcggtaataggccaaccagataagtgaaatct
agttccaaactattttgtcatttttaattttcgtattagcttacgacgctacacccagttcccatctattttgtcactcttccctaaataatccttaaaa
actccatttccacccctcccagttcccaactattttgtccgcccacaggccgcctaggccggaagcataaagtgtaaagcctggggtgcctaatgagtga
gctaactcacattaattgcgttgcgctcactgcccgctttccagtcgggaaacctgtcgtgccagctgcattaatgaatcggccaacgcgcggggagagg
cggtttgcgtattgggcgctcttccgcttcctcgctcactgactcgctgcgctcggtcgttcggctgcggcgagcggtatcagctcactcaaaggcggta
atacggttatccacagaatcaggggataacgcaggaaagaacatgttaaggtatactttccgctgcataaccctgcttcggggtcattatagcgattttt
tcggtatatccatcctttttcgcacgatatacaggattttgccaaagggttcgtgtagactttccttggtgtatccaacggcgtcagccgggcaggatag
gtgaagtaggcccacccgcgagcgggtgttccttcttcactgtcccttattcgcacctggcggtgctcaacgggaatcctgctctgcgaggctggccgat