Here is an example api using Python’s flask-restful and Jinja2 templating engine.
The code and documentation (with screenshots) is available on my Github:
Here is an example api using Python’s flask-restful and Jinja2 templating engine.
The code and documentation (with screenshots) is available on my Github:
This guide is for upgrading the PostX Gnu/Linux to 0.7 version. As of 3rd of January 2021 Debian Buster is having some issues with grub-efi and grub.cfg generation. This leads to failures when generating new images. Given the previous, the more manual way of upgrading PostX Gnu/Linux was chosen at this time.
Notices:
To begin get PostX Gnu/Linux 0.6 and install it.
https://www.techtimejourney.net/PostX0.6/
When that is done then proceed with the instructions below. Remember that you do everything with your own responsibility and if things get broken it is your responsibility to fix them. Always backup anything important before proceeding.
Disclaimer: Upgrade changes system structure. Make sure you copy all important configs and customizations before proceeding. If something goes wrong it is user’s responsibility to fix the issues and deal with possible damages.
Notable changes, excluding version upgrades:
– Text editor will change from Metapad to ++Editor.
– ImageViewer is added.
– Quick Terminal is back as primary terminal.
After upgrade, the Openbox menu will be out of date, since programs have changed. See, step 4.
Upgrading steps
1. Enable repository :
sudo nano /etc/apt/sources.list.d/postx.list
Change this section:
#Techtimejourney repo
#deb [trusted=yes] https://www.techtimejourney.net/postx-current postx main
To:
#Techtimejourney repo
deb [trusted=yes] https://www.techtimejourney.net/postx-current postx main
2. Upgrade apt sources & install postx-keyring & prepare for upgrade
Continue readingHere is a Pyqt5 panel that shows opened windows.
Written with less than 50 lines of code for Linux.
Notice. This panel is meant to be transparent. Install xcompmgr, compiz etc.
License: PanelX v.0.1 Copyright (c) 2020 JJ Posti
This program comes with ABSOLUTELY NO WARRANTY
For details see: http://www.gnu.org/copyleft/gpl.html.
This is free software, and you are welcome to redistribute it under GPL Version 2, June 1991″)
Dependencies(packages may be different depending on distribution):
sudo apt-get install -y xcompmgr python3-pyqt5 python3-wnck python3-gi gir1.2-wnck-3.0
To get transparency running do something like this on your startup scripts:
xcompmgr &
To run the actual panel on the background:
python panelx.py &
Get the the program from its Github page: https://github.com/postman721/PanelX
Gnugpg is in many ways the champion of encryption on Linux(personal opinion).
Sometimes there is a need to do quick password based encryption. This can be achieved with ccrypt.
Ccrypt should be available on standard Debian/Ubuntu or Centos8 repository resources.
I use Debian base here, but the steps should be similar on Centos8 or equivalent.
sudo apt-get install ccrypt -y
echo “I am going to be encrypted” >> ./example.txt
ccrypt ./example.txt
At this point a password for the encryption is needed. For this example, I used: hello.
After the encryption, my file will be found as: example.txt.cpt.
If I now try to read this cpt file, there will be nothing that can be understood on the output.
To decrypt and make the file readable again: ccdecrypt ./example.txt.cpt
After decryption, the example.txt is again found as a clear text file.