This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Test</title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script> | |
| <script src="//cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js" type="text/javascript"></script> | |
| <script src="//cloud.github.com/downloads/emberjs/ember.js/ember-latest.js" type="text/javascript"></script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"><head> | |
| <meta charset="UTF-8" /> | |
| <title>Test</title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script> | |
| <script src="//cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js" type="text/javascript"></script> | |
| <script src="//cloud.github.com/downloads/emberjs/ember.js/ember-latest.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| var App = Ember.Application.create(); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Test</title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script> | |
| <script src='https://github.com/JoePettersson/pretty-gist/raw/master/dist/jquery.prettygist.min.js' type='text/javascript' /> | |
| <script type='text/javascript'> | |
| alert('hey'); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log('01', this); | |
| console.log('02', Object.keys(this)); | |
| // Browser: | |
| // [object XrayWrapper [object Window]] | |
| // ["window", "document", "InstallTrigger", "console", "getInterface"] | |
| // Console: | |
| // [object Window] | |
| // ["console", "$", "$$", "$x", "$0", "clear", "keys", "values", "help", "inspect", "pprint", "print"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log('01', undefined); // undefined | |
| console.log('02', typeof undefined); // undefined | |
| console.log('03', this.undefined); // undefined | |
| console.log('04', this.unknownProperty); // undefined | |
| console.log('05', 'undefined' in this); // true in browser, false in Node | |
| console.log('06', 'unknownProperty' in this); // false | |
| o = { | |
| foo: function () { console.log('07', 'undefined' in this); }, // false | |
| bar: function () { console.log('08', this.unknownProperty === undefined ); } // true | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //console.log('01', v1); // generates ReferenceError and halts execution | |
| //console.log('02', v2); // same | |
| v2 = 23; | |
| console.log('03', v2); // 23 | |
| console.log('04', v3); // undefined | |
| var v3; | |
| console.log('05', v3); // undefined | |
| v3 = 42; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //console.log('01', v1); // generates ReferenceError and halts execution | |
| var v2; | |
| console.log('02', v2); // undefined | |
| v2 = undefined; | |
| console.log('03', v2); // undefined | |
| v2 = null; | |
| console.log('04', v2); // null | |
| v2 = 42; | |
| console.log('05', v2); // 42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| acroread adobe-flashplugin apache2 autoconf automake bison build-essential bum curl gimp git-core gnucash imagemagick libc6-dev libncurses5 libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt1-dev libyaml-dev make mysql-client mysql-common mysql-server openjdk-7-jre openshot openssl pidgin postgresql postgresql-client rcconf ruby-rvm rubygems skype sqlite3 subversion ubuntu-restricted-extras vlc xchat zlib1g zlib1g-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PPAs | |
| add-apt-repository | |
| apt-get update | |
| bitcoin-qt -> ppa:bitcoin/bitcoin | |
| google-chrome-stable -> "deb http://dl.google.com/linux/chrome/deb/ stable main" | |
| ALT: > echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list | |
| mongodb-10gen -> "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | |
| apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File "./import.py", line 92, in load_batch | |
| nodes = batch.submit() | |
| File "/usr/local/lib/python2.7/dist-packages/py2neo/neo4j.py", line 154, in submit | |
| for response in self._submit() | |
| File "/usr/local/lib/python2.7/dist-packages/py2neo/neo4j.py", line 123, in _submit | |
| for id_, request in enumerate(self.requests) | |
| File "/usr/local/lib/python2.7/dist-packages/py2neo/rest.py", line 372, in _send | |
| raise SocketError(err) | |
| py2neo.rest.SocketError: error(104, 'Connection reset by peer') |