create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| # # IE 10 + | |
| # # Firefox 27 + | |
| # # Safari 7 + | |
| # # iOS Safari 5 + | |
| # # IE mobile 10 + | |
| # # Android 4.2 + | |
| # # Blackberry 10 + | |
| # # Chrome 31+ | |
| # |
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |
| /** | |
| * Lightweight script to detect whether the browser is running in Private mode. | |
| * @returns {Promise<boolean>} | |
| * | |
| * Live demo: | |
| * @see https://output.jsbin.com/tazuwif | |
| * | |
| * This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
| * @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
| * |
Add Angular files including snippets to your Visual Studio Code project https://marketplace.visualstudio.com/items?itemName=sebastianbaar.vscode-add-angular2-files
Adds jsdoc @param and @return tags for selected function signatures in JS and TS https://marketplace.visualstudio.com/items?itemName=stevencl.addDocComments
Angular 1 JavaScript and TypeScript snippets
| const fs = require('fs'); | |
| const commonCliConfig = 'node_modules/@angular/cli/models/webpack-configs/common.js'; | |
| const pug_rule = `\n{ | |
| test: /\\.(pug|jade)$/, | |
| use: [ | |
| 'apply-loader', | |
| { | |
| loader: 'pug-loader', | |
| options: { |