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
== Blockchain == | |
getbestblockhash | |
getblock "hash" ( verbose ) | |
getblockchaininfo | |
getblockcount | |
getblockhash index | |
getblockheader "hash" ( verbose ) | |
getchaintips | |
getdifficulty | |
getmempoolinfo |
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
# Rename this distribution example file to motion.conf | |
# | |
# This config file was generated by motion 4.0 | |
############################################################ | |
# Daemon | |
############################################################ | |
# Start in daemon (background) mode and release terminal (default: off) |
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
angular.module( 'vpower.directives' ).directive( 'fixedContent', | |
[ | |
function() { | |
'use strict'; | |
return { | |
restrict: 'A', | |
scope: { | |
fixedBelow: '=', | |
fixedPadding: '=' |
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 | |
echo "What is your node's username?" | |
read REMOTE_USER_NAME | |
echo "What is your node's IP address (or hostname)?" | |
read IP_ADDRESS | |
ssh "$REMOTE_USER_NAME@$IP_ADDRESS" 'mkdir -p ~/.ssh && chmod 700 ~/.ssh && touch .ssh/authorized_keys' |
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 | |
# Ubuntu Server 16.04.4 LTS | |
# The long-term support version of Ubuntu Server, including the Mitaka release of OpenStack and support guaranteed until April 2021 — 64-bit only. | |
# https://www.ubuntu.com/download/server/thank-you?version=16.04.4&architecture=amd64 | |
sudo apt-get update && sudo apt-get upgrade -y | |
# nvidia drivers | |
sudo apt-get remove nvidia* && sudo apt-get autoremove -y |
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 | |
sudo sh -c 'echo blacklist acer-wmi > /etc/modprobe.d/blacklist.conf' |
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 | |
# This script does a very simple test for checking disk space. | |
space=`df -h | awk '{print $5}' | grep % | grep -v Use | sort -n | tail -1 | cut -d "%" -f1 -` | |
case $space in | |
[1-6]*) | |
Message="All is quiet." | |
;; |
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 |
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
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 |