How to filter emails from GitHub in Gmail and flag them with labels.
The labels in this document are just examples.
| Filter | Label |
|---|
| // Require the framework and instantiate it | |
| const api = require('lambda-api')() | |
| // Define a route | |
| api.get('/status', async (req, res) => { | |
| return { status: 'ok' } | |
| }) | |
| api.get('/README.md', async (req, res) => { | |
| res.sendFile('./README.md') |
NOTE (2022-07-09): Xcode finally added this functionality in Xcode 14, please see release notes here:
New Features in Xcode 14 Beta 3
When editing code, the Edit > Duplicate menu item and its corresponding keyboard shortcut now duplicate the selected text — or the line that currently contains the insertion point, if no text is selected. (8614499) (FB5618491)
| var istanbul = require('istanbul'), | |
| gulp = require('gulp'), | |
| istanbul = require('gulp-istanbul'); | |
| gulp.task('js', function() { | |
| return gulp.src('js') | |
| .pipe(istanbul({ | |
| includeUntested: true, | |
| coverageVariable: '__coverage__' | |
| })) |
| // XORCipher - Super simple encryption using XOR and Base64 | |
| // | |
| // Depends on [Underscore](http://underscorejs.org/). | |
| // | |
| // As a warning, this is **not** a secure encryption algorythm. It uses a very | |
| // simplistic keystore and will be easy to crack. | |
| // | |
| // The Base64 algorythm is a modification of the one used in phpjs.org | |
| // * http://phpjs.org/functions/base64_encode/ | |
| // * http://phpjs.org/functions/base64_decode/ |