Change Docker Default Location

By | Docker | No Comments

The most recent method to change the default data directory location is edit
[raw] /lib/systemd/system/docker.service
[/raw]

Replace the ExecStart value with the following:
[raw] ExecStart=/usr/bin/dockerd –graph=”/mnt/blockstorage/” -H fd://
[/raw]

Replace graph=”” with the location of your new storage.

or

Edit [raw]/etc/docker/daemon.json[/raw] [raw] {
“graph”: “/mnt/blockstorage”
}
[/raw]

 

Crypto Picks December 2017

By | Crypto Mining | No Comments

These are my top crypto picks for December 2017.

XVG – Verge
MONA – Monacoin
GRS – Groestlcoin
DGB – Digibyte
XMR – Monero
XLM – Stellar
NEO – Neo
LBC – Lbry Credits
ERC20 – EtherDelta
ALTCOM – Altcommunity coin
BAT – Basic Attention Token
QRL – Quantam Resistance Ledger
OMG – OmiseGo
DASH – Dash

Learn more about how to mine these coins at https://cryptoandcoffee.com

cuda 9.1 install ubuntu 16.04 apt-get

By | Linux | No Comments

Install CUDA 9.0 on Ubuntu 16.04 using apt-get – easiest method

First install and switch default gcc to gcc 7.1
[raw] sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt-get install -y g++-7 gcc-7 && \
sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-7 60 –slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
sudo update-alternatives –config gcc
[/raw]

Now setup
[raw] wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb
sudo apt-get update
sudo apt-get install -y cuda-9-1
[/raw]

Reboot!

enable swap ubuntu

By | Linux | No Comments

Easily enable swap on Ubuntu 16.04 with this easy to use one-liner.

sudo fallocate -l 16G /swapfile
#If fallocate is not available, use 
#dd if=/dev/zero of=/swapfile1 bs=1024 count=137438883103
#For 128gb
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
echo 'vm.swappiness = 10' | sudo tee -a /etc/sysctl.conf
echo 'vm.vfs_cache_pressure=50' | sudo tee -a /etc/sysctl.conf
echo "Swap enabled"

 

 

Bitcoin Cash addnode list

By | Bitcoin | No Comments

Here is a list of all the nodes you can use for Bitcoin Cash. Easily add these to your bitcoin.conf files.
[raw]
addnode=193.234.225.156:8333
addnode=88.4.8.15:8333
addnode=68.11.92.58:8333
addnode=100.4.108.100:8333
addnode=69.73.34.73:8333
addnode=71.252.137.246:8333
addnode=87.178.224.236:8333
addnode=163.172.141.29:8333
addnode=176.9.154.110:8333
addnode=188.40.93.205:8333
addnode=70.126.155.85:8333
addnode=177.33.1.40:8333
addnode=60.205.149.7:8333
addnode=69.172.174.21:8333
addnode=198.48.149.113:8333
addnode=76.125.210.198:8333
addnode=109.106.139.74:8333
addnode=46.4.85.241:9090
addnode=192.243.215.176:8333
addnode=94.203.22.22:8333
addnode=173.23.228.234:8333
addnode=98.206.255.202:8333
addnode=188.195.171.94:8333
addnode=139.59.148.215:8333
addnode=39.108.50.199:8333
addnode=35.192.12.181:8333
addnode=86.121.13.149:8333
addnode=23.99.204.71:8333
addnode=92.75.123.168:8333
addnode=212.85.91.97:8433
addnode=85.25.47.162:8333
addnode=85.7.75.136:8333
addnode=81.146.7.54:8333
addnode=194.88.107.102:8333
addnode=176.9.113.75:9090
addnode=185.9.34.66:8333
addnode=51.15.134.153:8333
addnode=73.92.234.238:8333
addnode=104.196.255.57:8333
addnode=82.95.163.103:8333
addnode=173.224.240.38:8333
addnode=104.193.226.134:8333
addnode=83.172.69.154:8333
addnode=54.207.118.226:8333
addnode=99.60.33.49:8333
addnode=24.19.131.229:8333
addnode=134.255.232.194:8333
addnode=72.208.164.106:8333
addnode=35.193.46.20:8333
addnode=104.198.132.23:8333
addnode=134.97.100.28:8333
addnode=173.199.126.124:8333
addnode=86.139.252.19:8333
addnode=35.195.21.198:8333
addnode=192.99.19.37:8333
addnode=104.154.75.17:8333
addnode=78.88.15.230:38333
addnode=196.54.41.29:38333
addnode=72.201.114.230:8333
addnode=43.241.218.214:8333
addnode=85.200.247.210:8333
addnode=75.177.137.134:8333
addnode=174.4.126.223:8333
addnode=71.81.42.164:8333
addnode=47.88.57.99:8333
addnode=47.88.62.100:8333
addnode=58.87.147.114:8333
addnode=104.154.189.24:8333
addnode=70.181.115.20:8333
addnode=220.240.142.150:8333
addnode=87.78.20.17:8333
addnode=159.100.254.224:8333
addnode=171.98.117.98:8333
addnode=88.190.28.44:8333
addnode=52.63.25.15:8333
addnode=121.236.126.119:8333
addnode=88.222.150.30:8333
addnode=185.50.191.68:8333
addnode=2.153.117.2:8333
addnode=112.74.57.179:8333
addnode=71.184.241.83:8333
addnode=119.23.212.165:8333
addnode=198.245.51.212:8333
addnode=171.214.206.138:8333
addnode=188.77.122.184:8333
addnode=75.185.11.29:8333
addnode=61.18.151.101:8333
addnode=87.171.70.241:8333
addnode=52.212.77.122:8333
addnode=46.233.43.155:8333
addnode=37.49.58.45:8333
addnode=5.9.19.109:8333
addnode=39.108.71.254:8333
addnode=104.156.233.153:8333
addnode=39.108.13.102:8333
addnode=47.89.177.134:8333
addnode=47.90.204.241:8333
addnode=47.93.173.83:8333
addnode=54.76.39.118:8333
addnode=123.56.86.36:8333
addnode=84.119.48.173:8333
addnode=78.187.90.122:8333
addnode=118.193.141.87:8333
addnode=83.69.203.44:8333
addnode=144.76.225.228:8433
addnode=99.232.50.207:8333
addnode=13.78.112.11:8333
addnode=188.186.77.107:8333
addnode=52.174.145.122:8333
addnode=65.132.7.227:8333
addnode=91.153.129.134:8333
addnode=195.154.182.94:8333
addnode=62.210.12.35:8333
addnode=67.188.11.253:8333
addnode=216.36.13.143:8333
addnode=178.10.170.34:8333
addnode=46.101.176.57:8333
addnode=24.71.34.198:8333
addnode=47.94.47.35:8333
addnode=138.197.176.37:8333
addnode=104.237.136.212:8333
addnode=71.93.206.181:8333
addnode=47.221.170.251:8333
addnode=151.80.41.187:19333
addnode=101.100.174.138:8333
addnode=69.55.64.221:8333
addnode=39.108.195.54:8333
addnode=92.203.2.213:8333
addnode=212.51.142.37:8333
addnode=162.72.48.121:8333
addnode=5.135.157.17:8333
addnode=13.114.133.224:8333
addnode=98.251.50.56:8333
addnode=76.118.98.204:8333
addnode=193.180.255.130:8333
addnode=83.163.223.145:8333
addnode=97.83.50.233:8333
addnode=87.167.98.28:8333
addnode=54.252.235.120:8333
addnode=84.209.131.163:8333
addnode=138.197.209.223:8333
addnode=91.121.161.119:8333
addnode=218.221.220.215:8333
addnode=195.154.177.49:8333
addnode=109.150.74.69:8333
addnode=73.70.235.26:8333
addnode=69.181.20.152:8333
addnode=69.123.198.122:8333
addnode=178.248.97.26:8333
addnode=180.183.205.158:8333
addnode=213.105.73.173:8333
addnode=5.39.77.33:8333
addnode=87.182.191.184:8333
addnode=60.205.149.204:8333
addnode=46.251.251.60:8334
addnode=60.205.94.41:8333
addnode=104.58.179.83:8333
addnode=46.246.63.100:8333
addnode=94.253.181.206:8333
addnode=172.99.68.86:8333
addnode=5.135.180.61:8333
addnode=188.98.11.122:50030
addnode=35.158.214.223:8333
addnode=76.30.146.32:8333
addnode=65.60.253.73:8333
addnode=121.121.113.124:8333
addnode=195.154.168.129:8333
addnode=211.22.29.34:19263
addnode=69.30.215.126:8333
addnode=145.239.81.25:8333
addnode=182.149.158.182:7333
addnode=138.68.24.91:8333
addnode=71.127.43.68:8333
addnode=178.238.226.209:8333
addnode=91.37.1.177:8333
addnode=104.238.131.116:8333
addnode=45.32.46.198:8333
addnode=37.61.238.132:8333
addnode=176.9.8.230:8333
addnode=37.61.238.54:8333
addnode=188.209.49.125:8333
addnode=107.6.181.169:8333
addnode=73.160.137.126:8333
addnode=85.166.131.71:8333
addnode=104.168.144.27:8333
addnode=175.126.124.95:8333
addnode=88.96.33.124:8333
addnode=62.75.160.41:8333
addnode=62.178.94.204:8222
addnode=82.131.84.74:8333
addnode=24.149.8.238:8333
addnode=139.218.230.50:8123
addnode=47.91.197.178:8333
addnode=80.216.4.252:8333
addnode=88.198.33.214:8333
addnode=5.9.28.10:8333
addnode=139.218.230.50:8333
addnode=86.143.17.254:8333
addnode=88.96.33.122:8333
addnode=82.26.76.248:8333
addnode=45.32.6.173:8333
addnode=45.32.65.35:8333
addnode=45.32.233.225:8333
addnode=104.238.134.28:8333
addnode=104.238.134.28:28480
addnode=146.145.36.86:8333
addnode=100.11.81.93:8333
addnode=95.87.204.109:8333
addnode=45.32.229.193:8333
addnode=68.15.34.113:8333
addnode=176.9.72.85:8333
addnode=180.235.49.196:8333
addnode=107.172.9.139:8333
addnode=188.68.38.210:8333
addnode=50.39.245.26:8333
addnode=37.221.198.57:28333
addnode=98.225.41.11:8333
addnode=192.99.175.173:8333
addnode=68.64.164.62:8333
addnode=78.61.218.12:8333
addnode=82.78.191.154:8333
addnode=91.106.149.46:8333
addnode=193.124.176.37:8333
addnode=194.14.246.205:8444
addnode=192.131.44.100:8333
addnode=90.227.2.70:8333
addnode=88.96.159.254:8333
addnode=80.149.23.19:8333
addnode=217.182.199.21:8333
addnode=104.168.167.34:8333
addnode=198.199.77.43:8333
addnode=94.130.19.113:8333
addnode=185.145.128.91:8333
addnode=149.56.89.153:8333
addnode=163.172.161.49:8333
addnode=173.91.115.33:8333
addnode=51.15.133.204:8333
addnode=85.164.17.237:8333
addnode=54.154.139.212:8333
addnode=94.130.19.113:8339
addnode=35.185.209.69:8333
addnode=94.130.13.253:8339
addnode=35.189.178.80:8333
addnode=85.214.105.80:8333
addnode=178.162.74.187:8333
addnode=185.128.120.66:8333
addnode=83.243.66.120:8333
addnode=94.214.106.13:8333
addnode=136.243.73.208:8333
addnode=144.76.184.243:8333
addnode=92.221.15.88:8333
[/raw]

Source : https://www.reddit.com/r/BitcoinABC/comments/6qtuta/bitcoinabc_nodes_listupdated/

Install the latest Firefox Quantum 57.0 on Ubuntu 16.04 / Zorin OS

By | Linux | No Comments

Install the latest Firefox Quantum 57.0 on Ubuntu 16.04 / Zorin OS
[raw]
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get upgrade -y firefox
[/raw]

Version 57.0, first offered to Release channel users on November 14, 2017

Brace yourself for an all-new Firefox. It’s fast. Really fast. It’s over twice as fast as Firefox from 6 months ago, built on a completely overhauled core engine with brand new technology from our advanced research group, and graced with a clean, modern interface. Today is the first of several releases we’re calling Firefox Quantum, all designed to get to the things you love and the stuff you need faster than ever before. Experience the difference on desktops running Windows, macOS, and Linux; on Android, speed improvements are landing as well, and both Android and iOS have a new look and feel. To learn more about Firefox Quantum, visit the Mozilla Blog.

See the full Release Notes here.
57.0+build4-0ubuntu0.16.04.5 and higher.

howto adblock opnsense

By | Networking | No Comments

How to adblock opnsense is very easy and can be done by running this simple script directly on the machine.

#!/bin/sh

## Clean up any stale tempfile
echo "Removing old files..."
[ -f /tmp/hosts.working ] && rm -f /tmp/hosts.working

## Awk regex to be inverse-matched as whitelist
# - Project Wonderful does unobtrusive ads on a lot of webcomics
# - SolveMedia is needed for captchas on some websites
#whitelist='/(projectwonderful.com|api.solvemedia.com)/'
whitelist='/(api.solvemedia.com)/'

# All Blacklists
blacklist='http://winhelp2002.mvps.org/hosts.txt http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext https://adaway.org/hosts.txt https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains http://sysctl.org/cameleon/hosts https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt'

## Fetch all Blacklist Files
echo "Fetching Blacklists..."
for url in $blacklist; do
curl --silent $url >> "/tmp/hosts.working"
done

## Process Blacklist, Eliminiating Duplicates, Integrating Whitelist, and Converting to unbound format
echo "Processing Blacklist..."
awk -v whitelist="$whitelist" '$1 ~ /^127\.|^0\./ && $2 !~ whitelist {gsub("\r",""); print tolower($2)}' /tmp/hosts.working | sort | uniq | \
awk '{printf "server:\n", $1; printf "local-data: \"%s A 0.0.0.0\"\n", $1}' > /var/unbound/ad-blacklist.conf

## Original Proccess CMD
#awk -v whitelist="$whitelist" '$1 ~ /^127\.|^0\./ && $2 !~ whitelist {gsub("\r",""); print tolower($2)}' /tmp/hosts.working | sort | uniq | \
#awk '{printf "local-zone: \"%s\" redirect\n", $1; printf "local-data: \"%s. A 0.0.0.0\"\n", $1}' > /etc/unbound/ad-blacklist.conf

# Make unbound reload config to activate the new blacklist
#echo "Restarting unbound..."
#exec /etc/init.d/unbound reload

# Clean up tempfile
echo "Cleaning Up..."
rm -f '/tmp/hosts.working'
echo "Done. Please Restart the DNS Resolver service from the WebUI."

ffmpeg convert mov to html5 4k mp4 webm ogv

By | Linux | No Comments

[raw]
#MP4
#baseline and faststart are set for max compatibility, veryslow used for smallest file size
ffmpeg -i INPUT.mov -f mp4 -vcodec libx264 -preset veryslow -profile:v baseline -level 3.0 -acodec aac -strict -2 OUTPUT.mp4 -hide_banner -movflags +faststart

#OGV
#adjust scaling by 1-10 with ogv.
#https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
ffmpeg -i INPUT.mov -codec:v libtheora -qscale:v 10 -codec:a libvorbis -qscale:a 10 OUTPUT.ogv

#WEBM
ffmpeg -i INPUT.mov -q:v 10 -c:v libvpx -c:a libvorbis OUTPUT.webm
[/raw]

Bitcoin Price to reach $10,000 by Christmas 2017

Bitcoin Price to reach $10,000 by Christmas 2017

By | Bitcoin | No Comments

With current market momentum there is no reason Bitcoin cannot reach or even surpass $10k by Christmas 2017.  The cancellation of Segwit2X caused BTC to have a range greater than $1000 in a single day period.

Bitcoin Price to reach $10,000 by Christmas 2017

Bitcoin has been moving at a pace rarely seen in the stock market.  Large ranges of $500 a day have not been uncommon in the last few months.  Today we learned $1000 ranges are not impossible either.  What are your thoughts on the momentum of Bitcoin?

Fix tracker-store and tracker-fs high CPU usage on Ubuntu / Zorin OS

By | Linux | One Comment

Fix tracker-store and tracker-fs high CPU usage on Zorin OS.

[raw]
echo -e “\nHidden=true\n” | sudo tee –append /etc/xdg/autostart/tracker-extract.desktop /etc/xdg/autostart/tracker-miner-apps.desktop /etc/xdg/autostart/tracker-miner-fs.desktop /etc/xdg/autostart/tracker-miner-user-guides.desktop /etc/xdg/autostart/tracker-store.desktop > /dev/null
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false
tracker reset –hard
[/raw]

Install Sublime 3 / Docker-CE / GitKraken / Slack / Shutter Developer Setup

Install Sublime 3 / Docker-CE / GitKraken / Slack / Shutter Developer Setup

By | Linux | No Comments

Install Sublime 3 / Docker-CE / GitKraken / Slack / Shutter on Zorin OS

[raw]
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install -y sublime-text-installer shutter
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”
sudo apt-get update
sudo apt-get install -y docker-ce
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-2.8.2-amd64.deb
sudo dpkg -i slack-desktop-2.8.2-amd64.deb
[/raw]