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
| // prisma/schema.prisma | |
| model User { | |
| id String @id @default(cuid()) | |
| // ... other user fields ... | |
| ledger Ledger? | |
| journals Journal[] | |
| } | |
| model Ledger { |
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
| // | |
| // ViewController.swift | |
| // TestLive | |
| // | |
| // Created by Martin Wawrusch on 6/9/17. | |
| // | |
| import UIKit | |
| import lf | |
| import AVFoundation |
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
| npm WARN package.json fanignite-workers@0.1.0 No README.md file found! | |
| npm http GET https://registry.npmjs.org/nconf/0.6.8 | |
| npm http GET https://registry.npmjs.org/request/2.27.0 | |
| npm http GET https://registry.npmjs.org/fbgraph/0.2.7 | |
| npm http GET https://registry.npmjs.org/async/0.2.9 | |
| npm http GET https://registry.npmjs.org/underscore/1.5.2 | |
| npm http GET https://registry.npmjs.org/bunyan/0.22.1 | |
| npm http GET https://registry.npmjs.org/bunyan-syslog/0.2.2 | |
| npm http GET https://registry.npmjs.org/phonegap-build/0.8.4 | |
| npm http GET https://registry.npmjs.org/iron_mq/0.2.0 |
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
| deployment: | |
| staging: | |
| branch: master | |
| commands: | |
| - ./bin/docs | |
| - ./bin/build-assets: | |
| timeout: 500 | |
| - ./bin/deploy-assets: | |
| timeout: 500 | |
| - ./bin/nodejitsu |
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
| ### | |
| 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' |
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.2.0-5 | |
| debug: { method: 'POST', | |
| debug: uri: 'https://api.nodejitsu.com/apps/modeista/fanignite-fanbox/snapshots/0.2.0-5', | |
| 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% |
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
| curl -X POST -H "Content-Type: application/json" -d '{"username":"xyz","password":"xyz"}' http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test | |
| curl -X GET -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test | |
| curl -X GET -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfeab25d7b200004f2aa4 | |
| curl -X DELETE -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfeab25d7b200004f2aa4 |
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
| 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 |
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
| /home/plasma/project/martin-hash-test.js:7 | |
| hash.setEncoding('hex'); | |
| ^ | |
| 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) |
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 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. | |
| hash.setEncoding('hex'); | |
| // the text that you want to hash | |
| hash.write('hello world'); |
NewerOlder