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
info: Creating snapshot 0.0.1-4 | |
info Uploading: [=============================] 100% | |
info: Updating app highway | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
warn: Error returned from Nodejitsu | |
error: Error: Subdomain chosen belongs to another user | |
error: at AppController._isFreeRootSubdomain (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:1096:17) | |
error: at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13) | |
error: at Function.Resource.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:93:12) |
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
/** | |
* Select your in-app billing service. | |
* The default is Google Play using https://github.com/soomla/android-store-google-play | |
*/ | |
public static final IIabService InAppBillingService = new GooglePlayIabService(); |
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
var peeps = [ | |
"Jieling", | |
"Claudio", | |
"Sofia", | |
"Georgy", | |
"Mitch", | |
"Antón", | |
"Daniel", | |
"Morten", | |
"Anthony", |
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
/** | |
* | |
* This node script will rename all keys according to a given pattern. | |
* | |
**/ | |
var redisClient = redis.createClient(config.redis.port, config.redis.host), | |
search = '*something*', // will rename all keys that contains 'something' | |
postfix = '.postfix', // all keys will get the postfix '.postfix' | |
prefix = 'prefix.'; // all keys will get the prefix '.prefix' |
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
var stripe = require("stripe")( | |
process.env.NODE_ENV==="production" ? "xxx_live" : "xxx_test" | |
); | |
stripe.charges.create({ | |
amount : 50, | |
currency : "usd", | |
source : token, // obtained with Stripe.js | |
description: "Charge for user" | |
}, function (err, charge) { |