Skip to content

Instantly share code, notes, and snippets.

View tridnguyen97's full-sized avatar

Tri Duc Nguyen tridnguyen97

View GitHub Profile
@tridnguyen97
tridnguyen97 / Install PyQt5 on Ubuntu with python3 .md
Created November 17, 2022 09:23 — forked from r00tdaemon/Install PyQt5 on Ubuntu with python3 .md
Install PyQt5 on Ubuntu with python3. Steps to set up PyQt5 (ubuntu). With python code generation

Installation

pip3 install --user pyqt5  
sudo apt-get install python3-pyqt5  
sudo apt-get install pyqt5-dev-tools
sudo apt-get install qttools5-dev-tools

Configuring to run from terminal

@tridnguyen97
tridnguyen97 / install_plesk.py
Created November 3, 2021 00:06
download plesk obsidian into ubuntu 20.04
import logging
import subprocess
import sys
import inspect
def run_and_printchar(args):
try:
pipe = subprocess.Popen(args, bufsize = 0,
shell = False,
stdout = None, # no redirection, child use parent's stdout