First, get the repo:
git clone https://github.com/apotdevin/thunderhub
In the thunderhub repo, there is a folder named "example" and inside docker-compose.yml you can start from.
I modified it as follows:
First, get the repo:
git clone https://github.com/apotdevin/thunderhub
In the thunderhub repo, there is a folder named "example" and inside docker-compose.yml you can start from.
I modified it as follows:
This guide is specific to getting LND 0.5-beta and Bitcoind running on Ubuntu 16.04 LTS for mainnet. It is aging rapidly and includes steps not necessary on newer versions of LND. As of April 2021 it is very out of date for bitcoind. As of December 2021 it is outdated for LND too.
Original installation guide:
This guide is broken into the following sections:
bitcoind and set to start automatically| <?php | |
| namespace My; | |
| class Module | |
| { | |
| public function onBootstrap($e) | |
| { | |
| $events = $e->getTarget()->getEventManager(); | |
| $events->attach('route', array($this, 'onRoutePost'), -100); |
| <?php | |
| return array( | |
| 'router' => array('routes' => array( | |
| 'api' => array( | |
| 'type' => 'Segment', | |
| 'options' => array( | |
| 'route' => '/api/v1/:controller[/:id]', | |
| 'defaults' => array( | |
| '__NAMESPACE__' => 'Api\V1\Controller', | |
| 'controller' => 'User', // just an example |
| namespace My\Api\V1; | |
| use Zend\ServiceManager\AbstractFactoryInterface; | |
| use Zend\ServiceManager\ServiceLocatorInterface; | |
| class AbstractControllerFactory implements AbstractFactoryInterface | |
| { | |
| protected $allowedControllers = array( | |
| 'user', | |
| 'group', |
Update: The original post on Netmag has been updated since this was written.
I tweeted earlier that this should be retracted. Generally, these performance-related articles are essentially little more than linkbait -- there are perhaps an infinite number of things you should do to improve a page's performance before worrying about the purported perf hit of multiplication vs. division -- but this post went further than most in this genre: it offered patently inaccurate and misleading advice.
Here are a few examples, assembled by some people who actually know what they're talking about (largely Rick Waldron and Ben Alman, with some help from myself and several others from the place that shall be unnamed).