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
import path from 'path'; | |
//const path = require('path') | |
function isCI() { | |
return !!process.env.CI; | |
} | |
module.exports = { | |
// - - - - CHIMP - - - - | |
watch: false, |
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
Development Phase: | |
Step 1: Create Certificate .pem from Certificate .p12 | |
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12 | |
Step 2: Create Key .pem from Key .p12 | |
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12 | |
Step 3: Optional (If you want to remove pass phrase asked in second step) | |
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem |
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
// Rename user roles | |
// | |
// Usage: | |
// 1. Make sure your target mongo database is running and accessible. | |
// 2. At terminal command line: | |
// `$ mongo dbname rename-roles.js > out.txt` | |
// | |
// Configuration: | |
// | |
// BASIC |
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
////////////////////////////////////////////////////////////////////// | |
// Use localStorage to toggle logging of collection activity and | |
// template rendering | |
// | |
// Put this file in 'client/lib/trace.js' | |
// | |
// Toggle via browser console: | |
// localStorage.setItem('Meteor.traceCollections', true) | |
// localStorage.setItem('Meteor.traceRendered', true) | |
// |
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 | |
###################################################################### | |
# Restore the latest production dump into local mongodb | |
###################################################################### | |
# NOTE: Will wipe existing local destination db before restoring latest | |
echo "Restoring latest production dump to local mongodb" |
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 | |
# Performs a dump of target database and compresses result. | |
# Outputs to: $DUMPDIR/$DUMPNAME.tar.xz | |
# Note: Absolute paths are required for use in cron jobs | |
DBNAME=meteor | |
ROOTDIR=/Users/alanning/foo | |
DUMPDIR=$ROOTDIR/dumps |
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/sh | |
# run me in your app directory | |
# $ chmod u+x bundle | |
# $ ./bundle | |
set -o nounset | |
set -o errexit |
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
kaia2:~/tmp/Admit (commerce *)$ meteor --settings settings.json | |
[[[[[ ~/tmp/Admit ]]]]] | |
=> Started proxy. | |
=> Meteor 0.9.1.1 is available. Update this project with 'meteor update'. | |
=> Started MongoDB. | |
I20140910-19:56:15.619(-4)? Jasmine-Unit is loaded | |
I20140910-19:56:15.696(-4)? [PackageStubber] NOTE: Calling exported function 'SimpleSchema' in package 'simple-schema' with no parameters returned null or undefined. 'SimpleSchema' has been stubbed with an empty function but if you receive errors due to missing fields in this package, you will need to supply your own custom stub for 'SimpleSchema'. For example, 'tests/simple-schema-stub.js'. Once you have a working stub, please consider contributing it back to the community stubs in the `package-stubber` repo. | |
I20140910-19:56:15.697(-4)? [PackageStubber] NOTE: Calling exported function 'MongoObject' in package 'simple-schema' with no parameters returned null or undefined. 'MongoObject' has been stubbed with an empty function but if you receive errors due to mis |
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
/* Zepto v1.1.3 - zepto event ajax form ie - zeptojs.com/license */ | |
function emptyFn () {} | |
window = { | |
document: { | |
createElement: emptyFn, | |
body: { | |
appendChild: emptyFn | |
}, |
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 | |
set -o nounset | |
set -o errexit | |
FORCE=false | |
# Read parameters | |
# http://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash |
NewerOlder