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
Unfortunately the Ubuntu makedev package fails to detect it's in a container environment on SmartOS LX zones, resulting in errors of the form: | |
# apt-get install nano | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following NEW packages will be installed: | |
nano | |
0 upgraded, 1 newly installed, 0 to remove and 141 not upgraded. | |
1 not fully installed or removed. |
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
blah | |
dsfaasdfasd |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
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
var mongoose = require('mongoose') | |
, Futures = require('futures') | |
, Schema = mongoose.Schema | |
, db = mongoose.connect('mongodb://localhost/mongoose-db'); | |
var UserSchema = new Schema({ | |
"name": {type: String}, | |
"location": { | |
"latitude": {type: Number, required: true, min: -90, max: 90}, | |
"longitude": {type: Number, required: true, min: -180, max: 180} |