All Posts By

Yönetici

free up disk space linux system with bleachbit

Tarafından | Linux | Yorum yok

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

Tarafından | Asides | Yorum yok

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

Tarafından | Linux | Yorum yok

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

Install zogminer Zcash Miner üzerinde Ubuntu 16,04

Tarafından | Kripto madenciliği | Yorum yok

apt-get Install libdb + +-dev
apt-get yükleme libboost, tüm-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-başlıklar Mesa-Common-dev
Git klon https://github.com/nginnever/zogminer.git
CD zogminer/
./zcutil/Fetch-params.sh
./zcutil/Build.sh-j $ (nproc)

GPU test Miner çalıştırın


./src/zcash-Miner-G

Python ile sonsuza kadar çalıştırın

Tarafından | Linux | Yorum yok

Bu Forever. js ile Python kullanımı kolaydır:


sonsuza kadar start-c Python python_script. py

Virtualenv ile kullanmak Için biraz daha karmaşık, ben bir bash script (python_virtualenv) arama kullanarak yaptım:


#!/bin/Bash
# Script yerel virtualenv kullanarak bir Python dosyasını çalıştırmak için
Kaynak depo gözü/etkinleştir
bin/Python $ @

Şimdi bu komut dosyasını sonsuza kadar kullanın:


sonsuza kadar start-c./python_virtualenv python_script. py