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
| firstLine=`head -2 $1 | tail -1` | |
| if [[ $firstLine == \#* ]]; then # Testing that the file starts with a comment, not yet a real commit ;) | |
| echo '<type>(<component>): <subject>' > .prepare-commit-msg-temp | |
| echo '' >> .prepare-commit-msg-temp | |
| echo '<body>' >> .prepare-commit-msg-temp | |
| echo '' >> .prepare-commit-msg-temp | |
| echo '# types: feat, fix, docs, style, refactor, test, chore(maintain)' >> .prepare-commit-msg-temp | |
| { cat .prepare-commit-msg-temp; cat $1; } > .prepare-commit-msg-temp2 | |
| cat .prepare-commit-msg-temp2 > $1 |
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
| { | |
| "tags": [{ | |
| "name": "LATITUDE_deg", | |
| "results": [{ | |
| "groups": [{ | |
| "name": "type", | |
| "type": "number" | |
| }], | |
| "values": [ | |
| [1123306773000, 46.9976859318, 3], |
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
| Verifying that +abdelkrim is my Bitcoin username. You can send me #bitcoin here: https://onename.io/abdelkrim |
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 url = require('url'); | |
| var nodedump = require('nodedump').init({ expand: true }).dump; | |
| var stripeKPIs = require('../lib/stripeKPIs.js'); | |
| var async = require('async'); | |
| module.exports = function (app) { | |
| app.get('/stripe/dashboard', function (req, res) { | |
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
| app.post('/stripeGotoStep02', function (req, res) { | |
| var transaction = req.body; | |
| var newCustomer = { | |
| email: transaction.stripeCustomer.email, | |
| plan: transaction.selectedStripePlan.id, | |
| card: transaction.stripeToken, | |
| description: transaction.stripeCustomer.email, |
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
| //private methods | |
| function debug(msg,info){ | |
| if(debugMode && window.console && window.console.log){ | |
| if (info){ | |
| window.console.log(info+': ',msg); | |
| } | |
| else{ | |
| window.console.log(msg); | |
| } | |
| } |
NewerOlder