This regex will allow search and replace to change Markdown links using references (matching ][...]
pattern) to inline links.
It will leave the document otherwise untouched.
Search:
\]\[([^\]]+)\]([\s\S]+\1\]: (http.+))$
{ | |
"scripts": { | |
"cli": "bash -c 'node -r @babel/register src/cli.js $1 $([[ $1 =~ login|logout ]] && echo \"--identity ../local-dev/cli_id_rsa\" || echo \"\")' -- " | |
} | |
} |
import {setPath} from './2'; | |
(async () => { | |
await setPath(); | |
// Could also do dynamic import() here with https://github.com/airbnb/babel-plugin-dynamic-import-node | |
require('./3'); | |
})(); |
# Enter this in the browser address bar to get a simple page where text can be added: | |
data:text/html,<html contenteditable> |
#!/usr/bin/osascript | |
-- To fix error with Outlook 2016 HTML signature images showing up as attachments | |
-- Ref: http://mydesignpad.com/how-to-create-an-attractive-html-email-signature-for-microsoft-outlook-2016-for-mac/#comment-36065 | |
-- To use, add your signature name (under `name`) and signature (under `content`) and paste and run this code in Script Editor | |
tell application id "com.microsoft.Outlook" | |
make new signature with properties {name:"Google Signature", content:"<table><tr><td><img src='https://www.google.de/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png' width='120' height='44'></td></tr></table>"} | |
end tell |
This regex will allow search and replace to change Markdown links using references (matching ][...]
pattern) to inline links.
It will leave the document otherwise untouched.
Search:
\]\[([^\]]+)\]([\s\S]+\1\]: (http.+))$
Looks like maybe LG 27UD88 (4K, 27")?
Edit (27 Mar 2018) Be careful about retina resolution issues https://bjango.com/articles/macexternaldisplays/
const WebpackDevServer = require('webpack-dev-server'); | |
const webpackOptions = require('../config/webpack/webpack.dev'); | |
const compiler = webpack(webpackOptions); | |
const devServer = new WebpackDevServer(compiler, { | |
quiet: false, // Turn on logging (false is the default) | |
stats: { | |
maxModules: Infinity, // Does the same thing as --display-modules webpack command line option (shows all hidden modules) | |
}, |
{ | |
profile:false, | |
module:{ | |
loaders:[ | |
{ | |
test:[ | |
Function:shouldBeHandledByLoader | |
], | |
loader:'react-hot' | |
}, |
// Before | |
module.exports = { | |
getNamespace: getNamespace, | |
getCountNamespaces: getCountNamespaces, | |
startRequest: startRequest, | |
bind: bind, | |
patch: patch | |
}; | |
// After (singleton in global namespace) |
// Beware! Not tested. | |
// open source library: `react-server-route-groups` | |
// - function to generate routes based on array of things (in our case, translations) | |
export default function ({groups, pages}) { | |
return groups.reduce((acc, group) => { | |
return { | |
// All previous routes | |
...acc, |