This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<NotepadPlus> | |
<!-- | |
NPP Syntax Highlight for Go | |
using most used color in NPP for Golang. | |
Author: blinksmith, sagleft Version: 0.1.4 | |
Last tested in Notepad++ v7.5.4 | |
Quick start : | |
Method 1 | |
- Download golang.udl.xml and then open notepad++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hex2rgb($hex) { | |
$hex = str_replace("#", "", $hex); | |
if(strlen($hex) == 3) { | |
$r = hexdec(substr($hex,0,1).substr($hex,0,1)); | |
$g = hexdec(substr($hex,1,1).substr($hex,1,1)); | |
$b = hexdec(substr($hex,2,1).substr($hex,2,1)); | |
} else { | |
$r = hexdec(substr($hex,0,2)); | |
$g = hexdec(substr($hex,2,2)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
# Bitcoin configuration. Lines beginning with # are comments.# | |
############################################################## | |
# Network-related settings: | |
# Run on the test network instead of the real bitcoin network. | |
#testnet=1 | |
# Connect via a socks4 proxy |