This is very basic and I’d lie if I said I hadn’t tried looping through the registry for 64/32 bit, but this works great and isn’t missing entries. I deliver this in a web page making it easy to do look ups on most machines in my org. Tweak as you need, add some error […]
My wife was wanting to see the meta tags embedded in YouTube videos so I whipped up this quick Python script.
Execute PowerShell from Python returning Python data stuctures.
I was bored… Of course this can be done easily in the terminal, but what’s the fun in that? This should work on any flavor of Debian/Ubuntu. import os import subprocess as sp ”’ Pipe to file in terminal: $ flatpak list –app –show-details > ~/Documents/installed-flatpack.log $ dpkg –get-selections > ~/Documents/installed-software.log Not using Debian? Here’s […]
My music and photos were getting out of hand. Thought I would share.
Install 7zip. This assumes you are on Windows. Add the 7zip path to the system path. In the searchbar type env and open the result. Click Environment Variables in the dialog. Add to PATH. Windows 10 just click add and browse to the folder 7zip installed to, i.e., C:\Program Files\7-zip. Otherwise, paste the path making […]
Quick Python3 Gtk3 app to execute Python scripts to test long running threads in Gtk3 app. Some things could be better, like the python paths collection and displaying the PID, but I was focused on running threads without freezing the GUI and it just kind of happened. Hope it’s useful to someone.
I was working on a Gtk 3 project to roll up all my iPhone videos into a flowbox for easy locating and processing since iPhone doesn’t name things in a meaningful way and photo managers dump things into not so meaningful folders, thumbnails was a must to locate videos easily. Plus, I wanted to do […]
Open a calendar in a Gtk window and get the user’s selected values in the main App class.
Install the following from the Software Manager (use apt if you prefer): Virtuoso-opensource Virtuoso-server Virtuoso-vad-conductor Virtuoso-vad-isparql Virtuoso-vsp-startpage Virtuoso-opensource-6.1 Virtuoso-opensource-6.1-bin Virtuoso-opensource-61-common Unixodbc Libvirtodbc0 Download zip and Install PyODBC from https://github.com/maparent/pyodbc/tree/v3-virtuoso Unzip, cd into the expended folder, then type: $ sudo python setup.py build install Add the following in the odbc.ini: $ sudo nano /etc/odbc.ini Add the […]