- Go to http://tigerline.census.gov/cgi-bin/shapefiles2009/national-files
- Select "New York", click submit
- Select "Suffolk County", click submit
- check off Area Hydrography
- click "download selected files"
- unzip the "multiple_tiger_files.zip" file
- Copy the "tl_2009_36103_areawater.zip" somewhere to access later
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
| var mongoose = require('mongoose@1.1.11') | |
| , express = require('express@2.2.0') | |
| , db = mongoose.connect('mongodb://localhost/cleveland'); | |
| var app = module.exports = express.createServer( ); | |
| // For testing. Shut down the DB connection so node can exit | |
| app.on('close', function(){ | |
| console.log('Shutting down!'); | |
| db.disconnect(); |
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
| var helper = require('./test_helper.js') | |
| , express = require('express') | |
| , it = helper.it(exports); | |
| var app = express.createServer(); | |
| app.post('/calculator/add', function (req, res) { | |
| res.send('5'); | |
| }); | |
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
| var should = require('should'); | |
| var sinon = require('sinon'); | |
| exports.it = function(exports) { | |
| return function(statement, callback) { | |
| exports['test: ' + statement] = function(test, assert) { | |
| var sandbox = sinon.sandbox.create(); | |
| sandbox.finish = function() { | |
| sandbox.restore(); |
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
| var helper = require('./test_helper.js') | |
| , express = require('express') | |
| , it = helper.it(exports); | |
| var app = express.createServer(); | |
| app.on('close', function(){ | |
| console.log('Shutting down!'); | |
| }); |
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
| var app = module.parent.exports | |
| , helpers = app.viewHelpers; |
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
| [user] | |
| name = romanmt | |
| email = romanmt@gmail.com | |
| [alias] | |
| a = add | |
| aa = !git add -A . && git status | |
| b = branch -a --color | |
| c = commit -m | |
| ca = commit --amend -C HEAD | |
| co = checkout |
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
| #!/bin/bash | |
| export CLICOLOR=1 | |
| export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
| alias ls='ls -pFh' | |
| alias grep='grep --color=auto' | |
| # Set git autocompletion and PS1 integration | |
| if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then |
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
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl http://npmjs.org/install.sh | sh |
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
| audio(controls, preload: = "auto", autobuffer) | |
| source(src="/stream/mysound.mp3") | |
| source(src="/stream/mysound.ogg") |
OlderNewer