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
var service = {}, | |
// unit model | |
// 'singular': 'USD 1 Millon', | |
// 'plural': 'USD 1 Millon', | |
// 'abbr': '$1M', | |
// // also can be true and template would assume to be `abbr` | |
// // (for sbackwards compat) | |
// 'prefix': '$', | |
// 'postfix': 'M' |
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
#!/bin/sh -e | |
sudo apt-get install zip unzip | |
# zcoin-cli stop | |
sudo systemctl disable zcoind | |
sudo systemctl stop zcoind | |
rm -f $HOME/chainstate.backup.zip | |
cp $HOME/.zcoin/wallet.dat $HOME/wallet.backup.dat |
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
#!/bin/sh -e | |
# pivx-xli stop | |
sudo systemctl disable pivxd | |
sudo systemctl stop pivxd | |
cp ./.pivx/wallet.dat ./wallet.PIVXbootstrapBackup.dat | |
cp ./.pivx/pivx.conf ./pivx.PIVXbootstrapBackup.conf | |
wget -O- -O ./.pivx/tmpbootstrap.zip https://github.com/PIVX-Project/PIVX/releases/download/v3.0.5.1/pivx-chain-910000-bootstrap.dat.zip | |
unzip ./.pivx/tmpbootstrap.zip -d ./.pivx |
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
#!/bin/sh | |
# Add Apple OS X HFS+ read/write support | |
sudo apt-get install hfsutils hfsprogs hfsutils | |
# sudo mkfs.hfsplus /dev/sda1 -v untitled # format | |
# Add Windows/DOS FAT32 read/write support | |
sudo apt-get install dosfstools | |
# Add Windows NTFS read/write support |
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
#!/usr/bin/env node | |
// node index.js '+1...' 'My Message.' | |
// `npm i plivo` | |
// create file: `.keys/index.js` | |
// and add: | |
// ```JS | |
// module.exports = { | |
// PLIVO_AUTH_ID: 'PLIVO_AUTH_ID', |
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
#!/bin/bash -e | |
output=$(pivx-cli getstakingstatus | jq -r '.["staking status"]') | |
if [ "$output" == "true" ]; then | |
echo "staking is active" | |
exit 0 | |
fi | |
echo "staking is NOT active" | |
exit 1 |
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
#!/bin/sh -e | |
sudo mkdir -p /mnt/usb | |
sudo mount /dev/sda1 /mnt/usb | |
cd /mnt/usb | |
# find "pivx/wallet.dat" | |
mkdir -p $HOME/.pivx | |
sudo cp -f *pivx/*wallet.dat $HOME/.pivx/wallet.dat | |
sudo umount /dev/sda1 |
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
sudo -E bash -c 'wpa_passphrase $YOUR_WIFI_NAME >> /etc/wpa_supplicant/wpa_supplicant.conf' | |
# enter your password into the prompt | |
/sbin/wpa_supplicant -B -c /etc/wpa_supplicant/wpa_supplicant.conf -i $YOUR_WIFI_DEVICE | |
/sbin/dhclient $YOUR_WIFI_DEVICE |
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
{"Red":"#ED0A3F","Maroon":"#C32148","Scarlet":"#FD0E35","Brick Red":"#C62D42","English Vermilion":"#CC474B","Madder Lake":"#CC3336","Permanent Geranium Lake":"#E12C2C","Maximum Red":"#D92121","Indian Red":"#B94E48","Orange-Red":"#FF5349","Sunset Orange":"#FE4C40","Bittersweet":"#FE6F5E","Dark Venetian Red":"#B33B24","Venetian Red":"#CC553D","Light Venetian Red":"#E6735C","Vivid Tangerine":"#FF9980","Middle Red":"#E58E73","Burnt Orange":"#FF7F49","Red-Orange":"#FF681F","Orange":"#FF8866","Macaroni and Cheese":"#FFB97B","Middle Yellow Red":"#ECB176","Mango Tango":"#E77200","Yellow-Orange":"#FFAE42","Maximum Yellow Red":"#F2BA49","Banana Mania":"#FBE7B2","Maize":"#F2C649","Orange-Yellow":"#F8D568","Goldenrod":"#FCD667","Dandelion":"#FED85D","Yellow":"#FBE870","Green-Yellow":"#F1E788","Middle Yellow":"#FFEB00","Olive Green":"#B5B35C","Spring Green":"#ECEBBD","Maximum Yellow":"#FAFA37","Canary":"#FFFF99","Lemon Yellow":"#FFFF9F","Maximum Green Yellow":"#D9E650","Middle Green Yellow":"#ACBF60","Inchworm":"#AFE313", |
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
{"aliceblue":"#f0f8ff","antiquewhite":"#faebd7","antiquewhite1":"#ffefdb","antiquewhite2":"#eedfcc","antiquewhite3":"#cdc0b0","antiquewhite4":"#8b8378","aquamarine1":"#7fffd4","aquamarine2":"#76eec6","aquamarine4":"#458b74","azure1":"#f0ffff","azure2":"#e0eeee","azure3":"#c1cdcd","azure4":"#838b8b","beige":"#f5f5dc","bisque1":"#ffe4c4","bisque2":"#eed5b7","bisque3":"#cdb79e","bisque4":"#8b7d6b","black":"#000000","blanchedalmond":"#ffebcd","blue1":"#0000ff","blue2":"#0000ee","blue4":"#00008b","blueviolet":"#8a2be2","brown":"#a52a2a","brown1":"#ff4040","brown2":"#ee3b3b","brown3":"#cd3333","brown4":"#8b2323","burlywood":"#deb887","burlywood1":"#ffd39b","burlywood2":"#eec591","burlywood3":"#cdaa7d","burlywood4":"#8b7355","cadetblue":"#5f9ea0","cadetblue1":"#98f5ff","cadetblue2":"#8ee5ee","cadetblue3":"#7ac5cd","cadetblue4":"#53868b","chartreuse1":"#7fff00","chartreuse2":"#76ee00","chartreuse3":"#66cd00","chartreuse4":"#458b00","chocolate":"#d2691e","chocolate1":"#ff7f24","chocolate2":"#ee7621","chocolate3":"#cd6 |