Skip to content

Instantly share code, notes, and snippets.

Martin Wawrusch mwawrusch

Block or report user

Report or block mwawrusch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:7672299
general:
appName: 'Your App'
appDescripton : ''
appIcons:
size57x57: null
size72x72: null
size114x114: null
size144x144: null
size512x512: null
pages: [
View gist:7646157
{ method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site/start',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: '1000000000',
debug: rejectUnauthorized: false,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
View gist:7593453
[
{
"qz_dishname":"Creamy Rock Shrimp",
"qz_sp_name":"creamy-rock-shrimp",
"qz_sp_id":"35653417",
"qz_source":"sp",
"qz_details":"Crispy bite-size rock shrimp tossed in a creamy, spicy sauce",
"qz_ratingids":[
],
View gist:7593214
[
{
"qz_dishname":"Creamy Rock Shrimp",
"qz_sp_name":"creamy-rock-shrimp",
"qz_sp_id":"35653417",
"qz_details":"Crispy bite-size rock shrimp tossed in a creamy, spicy sauce",
"qz_ratingids":[
],
"qz_sp_menu":[
View gist:7539770
#tested under ruby 1.9.2
#gem install ruby-hmac
require 'hmac-sha1'
require 'base64'
def make_signature(uri_path, params, client_id, secret)
padding_factor = (4 - secret.length % 4) % 4
secret += "=" * padding_factor
secret = secret.gsub(/[-_]/, {"-" => "+", "_" => "/"})
binary_key = Base64.decode64(secret)
View gist:7488099
###
# Load modules
###
_ = require 'underscore'
path = require 'path'
config = require 'nconf'
###
# Setup version
###
View gist:7357161
Welcome to Nodejitsu fanignite
info: jitsu v0.13.3, node v0.10.17
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in lib/index.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
View gist:7156147
92% info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-330 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Errors occured while starting the application
error: Error starting application. This could be a user error.
error: info: Running start for app.
error: info: Cleaning /opt/run
error: info: Fetching application snapshot...
View gist:6586027
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/mwawrusch/Documents/modeista/modeista-api/package.json
data:
data: {
data: subdomain: 'modeista-api',
data: devDependencies: {
data: jitsu: '*',
data: coffee-script: '1.6.3',
data: should: '1.2.2',
View gist:6541244
~/blankstatement-site/bin ~/blankstatement-site
~/blankstatement-site
./bin
/home/ubuntu/blankstatement-site/bin/.jitsuconf
~/blankstatement-site ~/blankstatement-site
warn: A newer version of jitsu is available. please update immediately
help: To install the latest jitsu type `[sudo] npm install jitsu -g`
warn: To continue without an update type 'yes'
info: Welcome to Nodejitsu blankstatement
info: jitsu v0.13.0, node v0.8.12
You can’t perform that action at this time.