A few regular expressions to parse WIFI schemes such as:
WIFI:T:WEP;S:test;P:rainbows\;unicorns\:jedis\,ninjas\\ secure;;
(?<=T:)[a-zA-Z]+(?=;)
alias gh="open \`git remote -v | grep git@github.com | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`" |
/* Title: inoise8_pal_demo.ino | |
* | |
* By: Andrew Tuline | |
* | |
* Date: August, 2016 | |
* | |
* This short sketch demonstrates some of the functions of FastLED, including: | |
* | |
* Perlin noise | |
* Palettes |
/* https://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-jsdoc3/ | |
Namespaces can still be documented when a more abstract mechanism is used. @lends allows members to be added to an existing namespace: | |
*/ | |
/** | |
* Root namespace | |
* @namespace root | |
*/ | |
$namespace('root', /** @lends root **/ { | |
/** |
const logger = require('winston'); | |
const invalidate = require('invalidate-module'); | |
const { resolve } = require('path'); | |
const chokidar = require('chokidar'); | |
process.on('unhandledRejection', (reason, p) => { | |
logger.error('Unhandled Rejection at: Promise ', p, reason); | |
}); | |
const src = (...args) => resolve(__dirname, ...args); |