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.+))$
#!/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, |
[alias] | |
fetch-pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f" | |
delete-prs = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" |
NOTE
You may not need local branches for all pull requests in a repo.
To fetch only the ref of a single pull request that you need, use this:
git fetch origin pull/7324/head:pr-7324
git checkout pr-7324
# ...
let Loop = React.createClass({ | |
getInitialState() { | |
return { | |
isMovingToEnd: true | |
}; | |
}, | |
endValue(currVals) { | |
let {endValueProp, isDone, startValue} = this.props; | |
let {isMovingToEnd} = this.state; |