- pricing
- web hooks
- API - documentation, coverage, libraries
- reporting
- chunking applications
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
| url=${1:-http://localhost:8080/us/rock-n-roll-dallas/sammy} | |
| output_path="./.lighthouse/$(date +%F-%S.%M).json" | |
| NODE_ENV=production yarn build && NODE_ENV=production yarn start > dev.log & | |
| # may need to wait for port | |
| yarn run lighthouse ${url} -- --output="json" --output-path="${output_path}" | |
| kill $(lsof -i :8080 -t) |
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
| // An Error inside a new context is not the same as an Error outside the context | |
| var vm = require('vm') | |
| var sandbox = { err: null, isError: null } | |
| vm.runInNewContext('err = new Error(\'A new context is born\'); isError = err instanceof Error', sandbox) | |
| console.log(sandbox.err instanceof Error) // false | |
| console.log(sandbox.isError) // true |
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
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| watch: { | |
| js: { | |
| files: [ | |
| 'app/assets/stylesheets/*.scss', | |
| 'app/assets/stylesheets/**/*.scss', | |
| 'app/assets/javascripts/*.js', | |
| 'app/assets/javascripts/**/*.js', | |
| 'app/views/**/*.html.erb', |
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
Show hidden characters
| { | |
| "folders": | |
| [ | |
| { | |
| "path": ".", | |
| "file_exclude_patterns": [ | |
| "*.sublime-workspace" | |
| ], | |
| "folder_exclude_patterns": [ | |
| "node_modules", |
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
| git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d |
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
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| watch: { | |
| js: { | |
| files: [ | |
| 'app/assets/stylesheets/*.scss', | |
| 'app/assets/stylesheets/**/*.scss', | |
| 'app/assets/javascripts/*.js', | |
| 'app/assets/javascripts/**/*.js', | |
| 'app/views/**/*.html.erb' |