Skip to content

Instantly share code, notes, and snippets.


Martin Wawrusch mwawrusch

View GitHub Profile
View gist:3f945b6487540bb890a363b36ae580cc
// ViewController.swift
// TestLive
// Created by Martin Wawrusch on 6/9/17.
import UIKit
import lf
import AVFoundation
View gist:8294079
npm WARN package.json fanignite-workers@0.1.0 No file found!
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
View gist:8040888
branch: master
- ./bin/docs
- ./bin/build-assets:
timeout: 500
- ./bin/deploy-assets:
timeout: 500
- ./bin/nodejitsu
View gist:7975444
Primary task scheduler for fanignite.
This queries the site api for tasks to schedule, then schedules them.
_ = require 'underscore'
async = require 'async'
request = require 'request'
logSetup = require './log-setup'
iron_mq = require 'iron_mq'
View gist:7878503
info: Creating snapshot 0.2.0-5
debug: { method: 'POST',
debug: uri: '',
debug: headers:
debug: { Authorization: '*****************************************************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 289730 },
debug: timeout: '1000000000',
debug: rejectUnauthorized: false }
info Uploading: [=============================] 100% info Uploading: [=============================] 100%
View gist:7795258
curl -X POST -H "Content-Type: application/json" -d '{"username":"xyz","password":"xyz"}'
curl -X GET -H "Content-Type: application/json"
curl -X GET -H "Content-Type: application/json"
curl -X DELETE -H "Content-Type: application/json"
View gist:7761864
passport-google-oauth@0.1.5 node_modules/passport-google-oauth current=0.1.5
passport-twitter@1.0.2 node_modules/passport-twitter current=1.0.2
passport@0.1.17 node_modules/passport current=0.1.17
passport-local@0.1.6 node_modules/passport-local current=0.1.6
passport-facebook@1.0.2 node_modules/passport-facebook current=1.0.2
imagemagick@0.1.3 node_modules/imagemagick current=0.1.3
gm@1.8.2 node_modules/gm current=1.8.2
formidable@1.0.14 node_modules/formidable current=1.0.14
markdown-js@0.0.3 node_modules/markdown-js current=0.0.3
emailjs@0.3.6 node_modules/emailjs current=0.3.6
View gist:7760623
TypeError: Object #<Hash> has no method 'setEncoding'
at Object.<anonymous> (/home/plasma/project/martin-hash-test.js:7:6)
at Module._compile (module.js:454:26)
at Object.Module._extensions..js (module.js:472:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:497:10)
View gist:7760403
var crypto = require('crypto');
// change to 'md5' if you want an MD5 hash
var hash = crypto.createHash('sha1');
// change to 'binary' if you want a binary hash.
// the text that you want to hash
hash.write('hello world');
View gist:9df09b30526d8699161d
* import {checkIfSessionActive} from '.../session.service';
* @CanActivate(checkIfSessionActive)
export function checkIfSessionActive(next: ComponentInstruction, prev) : Promise<boolean> {
let injector = Injector.resolveAndCreate([SessionService,
You can’t perform that action at this time.