Fixes NVIDIA-384 problem with libEGL.so.1 is not a symbolic link
[raw]
sudo mv /usr/lib/nvidia-384/libEGL.so.1 /usr/lib/nvidia-384/libEGL.so.1.org
sudo mv /usr/lib32/nvidia-384/libEGL.so.1 /usr/lib32/nvidia-384/libEGL.so.1.org
sudo ln -s /usr/lib/nvidia-384/libEGL.so.384.90 /usr/lib/nvidia-384/libEGL.so.1
sudo ln -s /usr/lib32/nvidia-384/libEGL.so.384.90 /usr/lib32/nvidia-384/libEGL.so.1
[/raw]
[/raw]
Reboot
Reset all your git changes with this one liner.
[raw] git stash -u – Removes all changes[/raw]
Other options if you want something less nuclear…
[raw]
git checkout . – Removes Unstaged Tracked files ONLY
git clean -f – Removes Unstaged UnTracked files ONLY
git reset –hard – Removes Staged Tracked and UnStaged Tracked files ONLY
[/raw]
[/raw]
then
[raw] nmap -sn 192.168.1.0/24[/raw]
Start by logging into EdgeOS so we can configure your DNS manually.
[raw]
ssh ubnt@192.168.1.1
[/raw]
Turn on configuration mode
[raw]
configure
[/raw]
Disable /etc/resolv.conf from using ISP servers – replace eth1 with your WAN interface
[raw]
set interfaces ethernet eth1 dhcp-options name-server no-update
[/raw]
Replace with your preferred DNS below.
[raw]
edit service dns forwarding
set name-server 208.67.222.222
set name-server 208.67.220.220
top
[/raw]
Finally use DNSMasq, commit and save changes.
[raw]
set system name-server 127.0.0.1
commit
save
exit
[/raw]
To reset the adapter
[raw]
renew dhcp interface eth1
[/raw]
[/raw]
Going Dark in Slack Theme – Change your background to black and easily switch to all black background Slack theme.
Don’t make the mistake of signing up for Blue Shield of California. The worst issue is their support, and when it comes to healthcare – your data – and access to top quality support representatives Blue Shield of California fails miserabily. Let me note the biggest issues:
Outsourced customer service to the Philliphines – think your gonna talk to a surfer dude fresh off the beach, think again bro. You are going to be stuck with non-native English speaking staff that is irreprochable. The fun continues as they ask you for your social security number! What ? Wait you want me to tell my social security number to some outsourced employee in another country? Does anyone have any idea their data storage or security practices? What is their data retention policy? Nobody knows obviously – you’re dealing with the Philliphines.
The signup process had issues with auto-pay, their website functionality is terrible – and doesn’t work half the time.
Finally, when cancelling they are true scam artists.
I had called in to cancel my plan and after being reassured everything was handled properly I received a bill in the mail for the next month. Disgruntled, I called in to ask what happened? Surprise suprise! “We decouple our billing and subscription plans” Whatever that means?! Long story short – they didn’t cancel when I requested it – and required me to call back in and berate a manger over the head for this redicioulesness. Finally, after another 30 min phone call I had an “email confirmation” everything was cancelled. I am still waiting for the written, but my god – when you call to cancel – cancel a plan.
Buyer Beware – stay far far away from this company. They are not run as a U.S. operation.
Fix If this token and others are legitimate, please use m4_pattern_allow. minerd error.
[raw]
apt-get install -y libcurl4-openssl-dev
[/raw]
ssh keyscan add is the easiest way to add ssh keys to your known_hosts file
To fix this Gitlab error please edit your /etc/gitlab/gitlab.rb file and update your whitelist with
[raw] gitlab_rails[‘rack_attack_git_basic_auth’] = {‘enabled’ => true,
‘ip_whitelist’ => [“127.0.0.1, x.x.x.x”],
‘maxretry’ => 20,
‘findtime’ => 60,
‘bantime’ => 360
}
[/raw]
Replacing x.x.x.x with the IP you are trying to login with.
Then do [raw]gitlab-ctl reconfigure[/raw]
Bonus round, also [raw]docker login -u <your username> -p <token> registry.gitlab.com[/raw] Should help.
sudo apt-get install -y docker docker.io
[/raw]
This will clean the mess up.
[raw] sudo docker system prune -af[/raw]
But sometimes that’s not enough. The following will nuke all your images and reclaim your space.
[raw]sudo service docker stop
sudo rm -rf /var/lib/docker
sudo service docker start
Disable wifi from terminal:
[raw]nmcli radio wifi off[/raw]
Enable wifi from terminal
[raw]nmcli radio wifi on[/raw]
Go to Tools>Addons.
Type ExQuilla in the Search field.
Install ExQuilla.
Now exit and restart Thunderbird.
[/raw]
Install berkeley 4.8 db libs on Ubuntu 16.04 with these various methods. Fixes
libdb_cxx headers missing ubuntu found berkeley db other than 4.8, required for portable wallets berkeley db 4.8 ubuntu
apt-get install -y npm
npm -g install n
n 0.10.36
node -v
git clone https://github.com/zone117x/node-open-mining-portal
cd node-open-mining-portal/
npm -g install node-gyp bcrypt node-pre-gyp multi-hashing
npm install –save bignum
npm update
apt-get install redis-server
[/raw]
Quickstart Guide Install MPOS on Ubuntu 16.04 – Mining Portal Open Source
Simply set your MYSQL password and let the installer do the rest. When done, update you config file with new MYSQL password.
cd ~
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install -y git
sudo apt-get install -y build-essential libboost-all-dev libcurl4-openssl-dev libdb5.3-dev libdb5.3++-dev mysql-server python-twisted python-mysqldb python-dev python-setuptools python-memcache python-simplejson python-pip make autoconf libtool g++ build-essential pkg-config unzip libboost-all-dev apache2 memcached php7.0-mysqlnd php7.0-curl php7.0-json php7.0-curl libapache2-mod-php7.0 build-essential make automake gcc php-memcached
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure –prefix=/usr/local –enable-cxx
make
make install
cd ..
echo “Berkeley libs installed”
cd ~
pip install –upgrade pip
easy_install -U distribute
pip install autobahn
git clone https://github.com/Tydus/litecoin_scrypt.git
git clone https://github.com/ahmedbodi/stratum-mining.git
git clone https://github.com/ahmedbodi/stratum.git
cd stratum-mining
git submodule init
git submodule update
cd externals/litecoin_scrypt
python setup.py install
cd ~
cd /root/stratum-mining/externals/stratum
echo “Now update and remove setup tools and fixes RuntimeError: maximum recursion depth exceeded /root/stratum-mining/externals/stratum/distribute-0.6.28-py2.7.egg”
cat < setup.py
#!/usr/bin/env python
#from distribute_setup import use_setuptools
#use_setuptools()
#python setup.py sdist upload
from setuptools import setup
from stratum import version
setup(name=’stratum’,
version=version.VERSION,
packages=[‘stratum’,],
py_modules=[‘distribute_setup’,],
zip_safe=False,
install_requires=[‘twisted’, ‘ecdsa’, ‘pyopenssl’, ‘autobahn’,] )
EOF
python setup.py install
cd ~
cp stratum-mining/conf/config_sample.py stratum-mining/conf/config.py
cd /var/www/html
git clone https://github.com/MPOS/php-mpos.git MPOS
cd MPOS
git checkout master
echo “Enter your MYSQL password you just set”
mysql -u root -p -e “create database mpos”
echo “Again”
mysql -u root -p mpos < sql/000_base_structure.sql
sudo chown -R www-data templates/compile templates/cache
sudo cp include/config/global.inc.dist.php include/config/global.inc.php
cat < /etc/apache2/sites-available/000-default.conf
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
EOF
apache2ctl -k stop; sleep 2; sudo apache2ctl -k start
echo “Not using a mysql password, now finish setup here: /var/www/html/MPOS/include/config/global.inc.php”
echo “Then check your server”
[/raw]
Now go ahead and install your coins and connect your RPC daemons.
sudo mv /usr/lib32/nvidia-375/libEGL.so.1 /usr/lib32/nvidia-375/libEGL.so.1.org
sudo ln -s /usr/lib/nvidia-375/libEGL.so.375.39 /usr/lib/nvidia-375/libEGL.so.1
sudo ln -s /usr/lib32/nvidia-375/libEGL.so.375.39 /usr/lib32/nvidia-375/libEGL.so.1
[/raw]