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
#!/usr/bin/env sh | |
# checks to see if running | |
launchctl list | grep mongo | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
launchctl remove homebrew.mxcl.mongodb | |
pkill -f mongod |
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
/* | |
Recursion | |
* | |
A function that evokes itself within its lexical scope | |
* | |
*/ | |
function factorialize(num) { | |
// If the number is less than 0, reject it. |
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
<script> | |
onAfterAction: function(){ | |
document.title = 'my awesome site: ' + Router.current().route.getName(); | |
} | |
</script> | |
<!-- I use a head.html that includes various SEO settings: --> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
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
19:56:20.912Z ERROR SAVI: connect ECONNREFUSED (klass=/savi-metal/get-network, arguments=[], err.code=ECONNREFUSED) | |
I20151027-14:56:20.915(-5)? Error: connect ECONNREFUSED | |
I20151027-14:56:20.915(-5)? at Object.Future.wait (/Users/dm/.meteor/packages/meteor-tool/.1.1.4.1ty214v++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15) | |
I20151027-14:56:20.915(-5)? at Object.call (packages/meteor/helpers.js:119:1) | |
I20151027-14:56:20.915(-5)? at Object.HTTP.get (packages/http/httpcall_common.js:45:1) | |
I20151027-14:56:20.915(-5)? at [object Object].Meteor.methods./savi-metal/get-network (packages/savi:metal/server/savi_metal.js:56:1) | |
I20151027-14:56:20.915(-5)? at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1617:1) | |
I20151027-14:56:20.915(-5)? at packages/ddp/livedata_server.js:648:1 | |
I20151027-14:56:20.916(-5)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1 |
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 x = []; | |
for (var i = 0; i < 56; i++) { | |
x.push(new Uint8Array(1024 * 1024 * 1024)); | |
} | |
console.log(x.length); |
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
2015-11-03T11:01:33-0600: | |
Parallels Tools 11.0.2-31348 Installer started. | |
2015-11-03T11:01:35-0600: execCmd: ./installer/pm.sh --check gtools [0] | |
Started installation of Parallels Guest Tools version '11.0.2.31348' | |
Tue Nov 3 11:01:35 CST 2015 | |
Start installation or upgrade of Guest Tools | |
new version of parallels tools | |
Installed Guest Tools were not found |
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
│ ├─┬ pretty-bytes@2.0.1 | |
│ │ ├── get-stdin@4.0.1 | |
│ │ ├─┬ meow@3.6.0 | |
│ │ │ ├─┬ camelcase-keys@2.0.0 | |
│ │ │ │ ├── camelcase@2.0.1 | |
│ │ │ │ └── map-obj@1.0.1 | |
│ │ │ ├─┬ loud-rejection@1.2.0 | |
│ │ │ │ └── signal-exit@2.1.2 | |
│ │ │ ├── minimist@1.2.0 | |
│ │ │ ├─┬ normalize-package-data@2.3.5 |
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
### trying to deploy to aws via distelli | |
> show profile | |
db.system.profile is empty | |
Use db.setProfilingLevel(2) will enable profiling | |
Use db.system.profile.find() to show raw profile entries | |
> admin.help() | |
Wed Dec 2 20:05:29.741 ReferenceError: admin is not defined | |
> show dbs | |
admin 0.203125GB |
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
### Taken from these two sources : | |
######## https://www.distelli.com/docs/tutorials/deploying-meteor-applications | |
######## https://github.com/aldeed/deploymeteor | |
fracknews/FrackNews: | |
#Learn about the distelli-manifest.yml at https://www.distelli.com/docs/reference/distelli-manifest | |
PkgInclude: | |
- '*' |
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
fracknews/FrackNews: | |
#Learn about the distelli-manifest.yml at https://www.distelli.com/docs/reference/distelli-manifest | |
PkgInclude: | |
- '*' | |
Build: | |
- echo "Begin Build" | |
# - npm install |