free up disk space linux system with bleachbit

Le | Linux | Chan Eil Beachdan

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

The 2 things wrong with the iPad Pro

Le | Asides | Chan Eil Beachdan

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

Le | Linux | Chan Eil Beachdan

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

Stàlaich zogminer Zcash Miner air Ubuntu 16.04

Le | Crypto Se | Chan Eil Beachdan

apt-get install libdb++-dev 
apt-get install libboost1.58-uile-dev libboost-uile-dev 
apt-get install tog-riatanach pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake opencl-bannan-cinn Congo-common-dev 
git dèan lethbhreac https://github.com/nginnever/zogminer.git 
cd zogminer/ 
./zcutil/fetch-params.sh 
./zcutil/build.sh -j$(nproc)

Ruith GPU deuchainn miner


./src/zcash-miner -G

Ruith Python ri Gu sìorraidh

Le | Linux | Chan Eil Beachdan

Tha e furasta a chleachdadh le Python forever.js:


gu bràth start -c python python_script.py

Air a chleachdadh le virtualenv a tha a 'dèanamh beagan nas iom-fhillte, rinn mi e a bhith a' cleachdadh bash sgriobt (ghairm e python_virtualenv):


#!/bin/bash 
# Sgriobt a ruith san Python a ' cleachdadh an fhaidhle ionadail virtualenv 
stòr bin/a ghnìomhachadh 
bin/python $@

A-nis a ' cleachdadh a sgriobt ri gu sìorraidh:


gu bràth start -c ./python_virtualenv python_script.py

php7.0 debian jessie docker stàlaich

Le | Linux | Chan Eil Beachdan

RUITH apt-get update -y 
RUITH apt-get install -y libgmp-dev re2c libmhash-dev libmcrypt-dev fhaidhle 
RUITH ln -s /usr/tha/x86_64-linux-gnu/gmp.cmsu /usr/local/tha/ 
RUITH docker-php-fòn-rèitich gmp 
RUITH docker-php-fòn-stàlaich gmp 
RUITH docker-php-fòn-rèitich mcrypt 
RUITH docker-php-fòn-stàlaich mcrypt 

RUITH echo leudachan=gmp.cho > $PHP_INI_DIR/conf.d/gmp.ini 
RUITH echo leudachan=mcrypt.cho > $PHP_INI_DIR/conf.d/mcrypt.ini