This file contains 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
[ | |
"/resources", | |
"/resources/charts", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/chartFormat", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/chartUrl", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/description", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/geohash", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/identifier", | |
"/resources/charts/(^[A-Za-z0-9_-]{8,}$)/name", |
This file contains 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
{ | |
"vessels": { | |
"vessels.urn:mrn:imo:mmsi:230099999": { | |
"navigation": { | |
"course": { | |
"crossTrackError": { | |
"value": -8.67, | |
"timestamp": "(...)", | |
"$source": "(...)" |
This file contains 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
{ | |
"vessels": { | |
"vessels.urn:mrn:imo:mmsi:230099999": { | |
"navigation": { | |
"course": { | |
"crossTrackError": { | |
"value": -8.67, | |
"timestamp": "(...)", | |
"$source": "(...)" |
This file contains 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
{ | |
"vessels": { | |
"vessels.urn:mrn:imo:mmsi:230099999": { | |
"navigation": { | |
"course": { | |
"crossTrackError": { | |
"value": -8.67, | |
"timestamp": "(...)", | |
"$source": "(...)" | |
}, |
This file contains 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
{ | |
"vessels": { | |
"vessels.urn:mrn:imo:mmsi:230099999": { | |
"navigation": { | |
"course": { | |
"trackMode": "RhumbLine", | |
"crossTrackError": { | |
"value": -8.67, | |
"timestamp": "(...)", |
This file contains 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 | |
# Lock DB | |
mongo admin --eval "printjson(db.fsyncLock())" | |
MONGO_DUMP="/usr/bin/mongodump" | |
MONGO_HOST="localhost" | |
MONGO_PORT="27017" | |
TIMESTAMP=`date +%F-%H%M` |
This file contains 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
/** REQUIREMENTS **/ | |
var Step = require('step') | |
, Messenger = require('./lib/messenger') | |
, messenger = new Messenger() | |
, util = require('util') | |
, models = require('./models') | |
, queue = require('./queue') | |
; | |
var total = 0 |
This file contains 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
Error: HTTP Error: 404 | |
at ClientRequest.<anonymous> (/Users/fabdrol/Desktop/Projects/Zwoeger/Zwoeger/node_modules/http-get/lib/http-get.js:493:16) | |
at ClientRequest.emit (events.js:67:17) | |
at HTTPParser.onIncoming (http.js:1261:11) | |
at HTTPParser.onHeadersComplete (http.js:102:31) | |
at Socket.ondata (http.js:1150:24) | |
at TCP.onread (net.js:374:27) | |
Error: HTTP Error: 404 | |
at ClientRequest.<anonymous> (/Users/fabdrol/Desktop/Projects/Zwoeger/Zwoeger/node_modules/http-get/lib/http-get.js:493:16) | |
at ClientRequest.emit (events.js:67:17) |
This file contains 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
/** REQUIREMENTS **/ | |
var Kue = require('kue') | |
, Http = require('http-get') | |
, Messenger = require('../lib/messenger') | |
, parse = require('../lib/parser') | |
, models = require('../models') | |
; | |
/** APP VARS **/ | |
var jobs = Kue.createQueue() |
This file contains 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
brew install -v cherokee | |
==> Downloading http://www.cherokee-project.com/download/1.2/1.2.101/cherokee-1.2.101.tar.gz | |
Already downloaded: /Users/fabdrol/Library/Caches/Homebrew/cherokee-1.2.101.tar.gz | |
/usr/bin/tar xf /Users/fabdrol/Library/Caches/Homebrew/cherokee-1.2.101.tar.gz | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cherokee/1.2.101 --sysconfdir=/usr/local/etc --localstatedir=/usr/local/var/cherokee --with-wwwuser=fabdrol --with-wwwgroup=www --enable-internal-pcre | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cherokee/1.2.101 --sysconfdir=/usr/local/etc --localstatedir=/usr/local/var/cherokee --with-wwwuser=fabdrol --with-wwwgroup=www --enable-internal-pcre | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no |