^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
- Semantic versioning http://semver.org/
- Source of the regex npm/node-semver#32
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
| ./configure --enable-debug | |
| make | |
| lldb $HOME/src/bitcoinmaster/src/qt/bitcoin-qt | |
| breakpoint set -f rpcwallet.cpp -l 202 | |
| run -conf=/Volumes/Mac\ Storage/bitcoin-mainnet/bitcoin.conf -datadir=/Volumes/Mac\ Storage/bitcoin-mainnet |
| // funciona somente com v3.1.6, essa estrategia de end/continue | |
| // era um backdoor para fazer recursao em types, recursao funcionava somente com interfaces | |
| // antigamente pela resolucao de tipos ser lazyness e nao acabar fazendo o compiler cair | |
| // potencialmente em um looping infinito na resolucao do tipo, por causa disto tem validacao | |
| // no compiler agora e codigos nesse estilo sao barrados pelo compiler | |
| type Init<T extends any[], TTail extends any[] = TailArray<T>> = CastArray<{ | |
| [K in keyof TTail]: T[keyof T & K]; | |
| }> |
NOTE, April 18, 2020: I wrote this document in February 2019 when I was actively investigating Electron. I haven't used it since then and have largely forgotten what this was for or how electron-webpack works. I vaguely remember the problem, but that's it. It would appear based on the comments below that this document is still coming up in web searches but has become out of date and parts of it don't work. If anyone has specific fixes to my instructions, please leave them in the comments and I'll happily incorporate them.
The current version (as of 2019-02-02) of electron-webpack is set up with the assumption that your BrowserWindow instance has nodeIntegration: true. However, Electron is encouraging users to set nodeIntegration: false as a security precaution, and in the future BrowserWindows will have this setting set to false by default. Doing so now with electron-webpack throws an error because the index.html template has commonjs re