I hereby claim:
- I am pjendrusik on github.
- I am pjendrusik (https://keybase.io/pjendrusik) on keybase.
- I have a public key ASBWIf8VZvVTr8nuN1Mqe4_MNSfIkfrZ60Wy038KB1FHZAo
To claim this, I am signing this object:
This guide is specific to getting LND 0.5-beta and Bitcoind running on Ubuntu 16.04 LTS for mainnet.
Original installation guide:
This guide is broken into the following sections:
- Install
bitcoind
and set to start automatically - Install development tools and dependancies
### Keybase proof | |
I hereby claim: | |
* I am pjendursik on github. | |
* I am pjendrusik (https://keybase.io/pjendrusik) on keybase. | |
* I have a public key ASBWIf8VZvVTr8nuN1Mqe4_MNSfIkfrZ60Wy038KB1FHZAo | |
To claim this, I am signing this object: |
<?php | |
define('E_FATAL', E_ERROR | E_USER_ERROR | E_PARSE | E_CORE_ERROR | | |
E_COMPILE_ERROR | E_RECOVERABLE_ERROR); | |
define('ENV', 'dev'); | |
//Custom error handling vars | |
define('DISPLAY_ERRORS', TRUE); | |
define('ERROR_REPORTING', E_ALL | E_STRICT); |
This guide shows you common practices to convert IPv4-
and IPv6-Addresses
into their binary
representation.
This guide has been written by Matthias Kaschubowski, a autodidactical software developer from germany with about 14 years of practice converting coffee to code. He works in his free time as a php evangelist on a lot of platforms ( last shown as tr0y
on php.de, a german PHP related forum and as himself as an adminstrator at the largest PHP-related facebook group ).
Based on previous work by Geoff Yuen, improved with JavaScript and semantic markup. More information on my blog
A Pen by Dudley Storey on CodePen.
If the input is utf8-encoded, might use unicode regex to match/strip invisible control characters like e2808e (left-to-right-mark). Use u (PCRE_UTF8) modifier and \p{C} or \p{Other}. | |
Strip out all invisibles: | |
$str = preg_replace('/\p{C}+/u', "", $str); |
<?php | |
function it($m,$p){echo ($p?'✔︎':'✘')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);} |
#System Design Cheatsheet
Picking the right architecture = Picking the right battles + Managing trade-offs
##Basic Steps
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?