$ brew install asciidoc
$ a2x -d book -f epub <book.asciidoc> [-v] [--no-xmllint]
The -v
option is useful for verbose debugging.
The --no-xmllint
option is useful for ignoring XML errors such as missing DTD's.
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
/* | |
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
*/ | |
var http = require('http'), | |
fs = require('fs'), | |
util = require('util'); | |
http.createServer(function (req, res) { | |
var path = 'video.mp4'; |
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES; | |
acrobat africa alaska albert albino album | |
alcohol alex alpha amadeus amanda amazon | |
america analog animal antenna antonio apollo | |
april aroma artist aspirin athlete atlas | |
banana bandit banjo bikini bingo bonus | |
camera canada carbon casino catalog cinema | |
citizen cobra comet compact complex context | |
credit critic crystal culture david delta | |
dialog diploma doctor domino dragon drama |
$ brew install asciidoc
$ a2x -d book -f epub <book.asciidoc> [-v] [--no-xmllint]
The -v
option is useful for verbose debugging.
The --no-xmllint
option is useful for ignoring XML errors such as missing DTD's.
/** | |
* Add ACF data to the WP JSON REST API | |
*/ | |
add_filter( 'json_prepare_post', 'wpq_add_acf' ); | |
function wpq_add_acf( $post ) { | |
if( function_exists( 'get_fields' ) ) | |
{ |
function getTranslate3d (el) { | |
var values = el.style.transform.split(/\w+\(|\);?/); | |
if (!values[1] || !values[1].length) { | |
return []; | |
} | |
return values[1].split(/,\s?/g); | |
} |
/** | |
* Copyright (c) 2015, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
* | |
* @providesModule normalizeWheel | |
* @typechecks |
2018-03-18: Updating of this guide is taking a backseat to the mainnet version at
This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.
It does not address mainnet, or using btcd, or neutrino.
Original installation guide:
# Scrape images with wget | |
# https://davidwalsh.name/scrape-images-wget | |
# $1 = url | |
# Example: scrapeimages https://davidwalsh.name/ | |
scrapeimages() { | |
wget -nd -H -p -A jpg,jpeg,png,gif -e robots=off $1 | |
} |