Free up disk space on linux with bleachbit
wget https://download.bleachbit.org/bleachbit_2.2_all_ubuntu1804.deb sudo apt-get install python-gtk2 -y apt --fix-broken install apt-get install python-gtk2 -y dpkg -i bleachbit_2.2_all_ubuntu1804.deb bleachbit --list | grep -E "[a-z0-9_\-]+\.[a-z0-9_\-]+" | xargs bleachbit --clean
This is the easiest way to get the price of Bitcoin from the command line or terminal.
curl -s https://api.binance.com/api/v1/ticker/24hr | jq -cr '. | select(.symbol == "'"BTCUSDT"'") | .lastPrice'
Pre-requisuites : jq
Install : apt-get install jq
Here are some of the reasons the iPad Pro has failed to live up to expectations.
1. No 1080p or 4k video support on YouTube. Due to licensing issues Safari, nor any other browser can display even a 1080p video on YouTube. For a device that costs as much as this, this is unacceptable.
2. Uninstalling pre-installed apps. This may be a complaint towards the operating system more so than the device, but once again Apple suprises us all. Apps uninstall themselves! Magically. With no warning, Apple started uninstalling apps to make room for new content and never have to warn the user of disk space. Sounds like a great idea until you are offline somwhere and go to use an app you believed was on your device when in fact it was removed!
apt-get install libdb++-dev apt-get install libboost1.58-all-dev libboost-all-dev apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake opencl-headers Mesa-common-dev git clone https://github.com/nginnever/zogminer.git cd zogminer/ ./zcutil/fetch-params.sh ./zcutil/build.sh -j$(nproc)
Run GPU test miner
It is easy to use Python with forever.js:
forever start -c python python_script.py
To use it with virtualenv is a little bit more complicated, I did it using a bash script (call it python_virtualenv):
#!/bin/bash # Script to run a Python file using the local virtualenv source bin/activate bin/python $@
Now use that script with forever:
forever start -c ./python_virtualenv python_script.py
Custom build of Docker WordPress 4.9.8-php7.1-apache with mcrypt, redis, memcached, and imagemagick libraries ready to go!
Available at 88plug/wordpress now on Docker hub!
mkdir -p /etc/run/systemd/resolve ln -sr /etc/run/systemd/resolve/resolv.conf /etc/run/systemd/resolve/stub-resolv.conf
Now add a nameserver to stub-resolv.conf
nameserver 220.127.116.11 nameserver 18.104.22.168