Adsense code (2021-10-05)

Saturday, March 26, 2022

Install PyQt6 on Linux

To install PyQt6 for Python 3 on Linux (Tested on Ubuntu 21.10 over VirtualBox):

$ pip3 install PyQt6



Wednesday, October 6, 2021

Install wxPython on Linux Mint 20.2

To install wxPython on Linux Mint 20.2, for Python 3, enter the command in Terminal:
pip3 install -U \
    -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 \
    wxPython
Tested on Linux Mint 20.2 xfce, run on VirtualBox 6.1.



ref:

Thursday, September 30, 2021

Install dfu-util on Raspberry Pi

dfu-util is a host side implementation of the DFU 1.0 and DFU 1.1 specifications of the USB forum. DFU is intended to download and upload firmware to/from devices connected over USB. It ranges from small devices like micro-controller boards to mobile phones. Using dfu-util you can download firmware to your DFU-enabled device or upload firmware from it. 

See the manual page for examples of use.

To install dfu-util on Raspberry Pi, enter the command in Terminal:

$ sudo apt install dfu-util


Tuesday, June 23, 2020

Install Python 2 and pip on Ubuntu 20.04

To install Python 2 on Ubuntu 20.04:

$ sudo apt install python

or

$ sudo apt install python2

python-pip may be no exists anymore in 20.04, and looks like it has been removed from the repositorie.

To install pip for Python :

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ sudo python2 get-pip.py

If you run "python2 get-pip.py" without sudo, you have to set PATH after installed.

Monday, June 20, 2016

The world's fastest supercomputer, Sunway-TaihuLight by China, run Linux

Sunway-TaihuLight, a new-generation supercomputer installed in the east China city of Wuxi, is able to perform quadrillions of calculations per second. The system was named the world's fastest computer during the Int'l Supercomputing Conference in Frankfurt.

Saturday, June 11, 2016

Install oracle-java8 on Ubuntu with ppa:webupd8team/java


To install oracle-java8 on Ubuntu 16.04:

- add ppa:webupd8team/java to your repository
$ sudo add-apt-repository ppa:webupd8team/java

- update with
$ sudo apt update

- install oracle java8
$ sudo apt install oracle-java8-installer


Tuesday, March 22, 2016

Install OpenShot Video Editor on Ubuntu


OpenShot Video Editor is a free, open-source video editor for Linux licensed under the GPL version 3.0.

OpenShot can take your videos, photos, and music files and help you create the film you have always dreamed of. Easily add sub-titles, transitions, and effects, and then export your film to DVD, YouTube, Vimeo, Xbox 360, and many other common formats.

To install OpenShot on Ubuntu using PPA, run the commands on Terminal:
$ sudo add-apt-repository ppa:openshot.developers/ppa
$ sudo apt-get update
$ sudo apt-get install openshot-qt