Pandoc cannot convert a link's URL as expected.
Markdown:
[Document](./document.md)
HTML:
net start [serviceName] | |
and | |
net stop [serviceName] | |
tell you whether they have succeeded or failed pretty clearly. For example | |
U:\>net stop alerter | |
The Alerter service is not started. |
<?php | |
/** | |
* | |
* You can find the complete tutorial for this here: | |
* https://pluginrepublic.com/woocommerce-custom-fields | |
* | |
* Alternatively, check out the plugin | |
* https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/ | |
* |
# coding:utf-8 | |
import re | |
import panflute as pf | |
def action(elem, doc): | |
if isinstance(elem, pf.Link): | |
matches = list(re.finditer(r'(\.md)', elem.url)) | |
if matches: | |
m = matches[-1] | |
elem.url = elem.url[:m.start(1)] + '.html' + elem.url[m.end(1):] |
Pandoc cannot convert a link's URL as expected.
Markdown:
[Document](./document.md)
HTML:
<?php | |
/** | |
* Trait helps to allow for some limited overloading of | |
* methods in the class this is attached to. | |
*/ | |
trait Overloader { | |
/** |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
<?php | |
<<<CONFIG | |
packages: | |
- "symfony/dom-crawler: ~2.3" | |
- "symfony/css-selector: ~2.3" | |
CONFIG; | |
use Symfony\Component\DomCrawler\Crawler; | |
$html = <<<HTML |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.