/usr/lib/libnvidia-gtk3.so.440.33.01: undefined symbol: gtk_widget_hide_on_delete

By | Linux, NVIDIA | No Comments

Fixes /usr/lib/libnvidia-gtk3.so.440.33.01: undefined symbol: gtk_widget_hide_on_delete

Step 1 : Check nvidia-smi for version first

Step 2: Locate nvidia-settings with same version as Step 1 at https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/ and download with wget to your system.

Step 3: Follow steps below replacing XXX with the version you downloaded.

sudo apt-get remove nvidia-modprobe nvidia-settings
sudo dpkg -i nvidia-settings_XXX.deb
sudo reboot now

free up disk space linux system with bleachbit

By | Linux | No Comments

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

Get the price of Bitcoin from command line

By | Bitcoin | No Comments

This is the easiest way to get the price of Bitcoin from the command line or terminal.

Pre-requisuites : jq
Install : apt-get install jq

Get the price of Bitcoin from command line:
curl -s https://api.binance.com/api/v1/ticker/24hr | jq -cr '.[] | select(.symbol == "'"BTCUSDT"'") | .lastPrice'

The 2 things wrong with the iPad Pro

By | Asides | No Comments

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!

unmount sshfs

By | Linux | No Comments

The easy way to unmount sshfs goes as follows

sudo umount -l directory/

Use -l “lazy” which is required for unmounting sshfs

-l, --lazy detach the filesystem now, clean up things later