Skip to content

Instantly share code, notes, and snippets.

@erichosick
erichosick / js
Last active Sep 29, 2020
Configuration Context
View js
// The root of the configuraton file is scoped to the
// entire company: all software offerings.
{
// The Platform context contains all services and
// applications for a specific product offering.
"platform": {
// The Compute context provides configuration
// to a specific application, service, mciro-service,
// lambda, etc.
"compute": {
View gist:e772c438058b3b18dfbc
// see https://github.com/CollectionFS/Meteor-cfs-s3
// see http://help.modulus.io/customer/portal/articles/1653448-file-storage
// - /app-storage/tmp vs /mnt/data/tmp ? app-storage is permanent
FS.debug = true;
FS.HTTP.setBaseUrl('/media');
FS.HTTP.setHeadersForGet([
['Cache-Control', 'public, max-age=31536000']
]);
var settings = {};
@erichosick
erichosick / mech-scope-cell-demo
Last active Aug 29, 2015
Gist of stuff done in youtube video here: http://youtu.be/3gSiYtBEMjY
View mech-scope-cell-demo
First Setup (command Line):
mkdir mech
cd mech
npm install mech-core
npm install mech-scope-cell
npm install mech-math
npm install mech-emit
node