See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| const echoPostRequest = { | |
| url: 'https://<my url>.auth0.com/oauth/token', | |
| method: 'POST', | |
| header: 'Content-Type:application/json', | |
| body: { | |
| mode: 'application/json', | |
| raw: JSON.stringify( | |
| { | |
| client_id:'<your client ID>', | |
| client_secret:'<your client secret>', |
| #!/bin/sh | |
| # Install Homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install taps | |
| brew tap homebrew/cask | |
| # Install cli stuff | |
| brew install git |
| // This is my default template for a test with PhantomCSS | |
| /* | |
| Require and initialise PhantomCSS module | |
| Paths are relative to CasperJs directory | |
| */ | |
| var fs = require( 'fs' ); | |
| var path = fs.absolute( fs.workingDirectory + '/phantomcss.js' ); | |
| var phantomcss = require( path ); |
| /* | |
| * Set up your Git configuration | |
| */ | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "Your Name" | |
| git config --global core.editor "nano" |
Original source: https://hackpad.com/Web-And-Mobile-Revenue-Models-(final)-EgXuEtSibE7
| /* | |
| * Takes provided URL passed as argument and make screenshots of this page with several viewport sizes. | |
| * These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed | |
| * | |
| * Usage: | |
| * $ casperjs screenshots.js http://example.com | |
| */ | |
| var casper = require("casper").create(); |