QCalculator is released

Here is a calculator done with Python and QT5. This calculator will become PostX Gnu/Linux default and replace the current Java based one.

#QCalculator Copyright (c) 2018 JJ Posti <techtimejourney.net>
#QCalculator 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: python-pyqt5

Here is a screenshot + Download

python calculator, qt5 calculator, linux calculator

QCalculator is lightweight but stylish calculator for basic needs. There is also a built-in error handling, which should remedy common issue situations.

Download QCalculator as a zip.

RunIT Browser upgrades to version 0.7

RunIT Browser (QT-version) has received an upgrade. The browser now uses QWebEngine in providing the browser experience. 0.7 version adds tabs support for the browser.Since the transition is hardly ever a smooth thing to do, Open in a New Window and Web Inspector are currently dropped as features. In the future, I seek to bring these features back. The overall functionality is improved and the browser is acting a lot more stable than it previously did. Without further ado, here is a screenshot

Dependencies:

Something like below, should be enough.

python-pyqt5.qtwebengine python-pyqt5 ca-certificates

linux web browser, pyqt5 web browsers, web browsers python

RunIT browser 0.7 comes with a new refined outlook. Double-click on the empty area to open up a new tab.

Download RunIT Browser 0.7

After downloading remember to make the files executable with chmod +x some_file

Run the browser: python run.py 

RunIT QT on Github.

 

 

Search files with apt-file

Here is a quick tip if you ever need to find out, which Debian package has the file x or y.

To find your files you can use apt-file. First, install it. Then update apt-file caches – so it can go through files and search:

sudo apt-get -y install apt-file

sudo apt-file update

And finally search a file. Let´s say that I want to see, where is the file called something.json.

sudo apt-file search something.json

The above command will take a little while and if all goes well you should have your results when the command is complete.

Checking the checksums

This post is mostly about Security Hash Algoritms and how you can use them to verify the integrity of your files.

SHA1

Let’s say you downloaded something. The website had a sha1sum there and you want to verify that you actually got the file you wanted – and not some tampered malware. Checking is as easy as writing:

sha1sum <filename> .

Or if you want to verify a checksum even more easily, pipe it and use grep.

sha1sum <filename> | grep <checksum_listed_on_the_page> .

If you get the hash as an output that usually means that things are ok. If you get nothing then there is a mismatch.

SHA256 Continue reading