Python and Gtk code to reduce file size and resize images for web usage.

I needed a tool for my wife to resize images for her blog and I found one called Trimage. I wasn’t much fond of it so I wrote my own, it’s fast and stable for only a days worth of coding. To run the code directly you’ll need GObject and PIL, you might want Pillow […]

Advertisements

Top apps and utilities to make your OS shine.

I get bored easily and I am a visual person, I like my desktop to be flashy and beautiful. I also like things that speed up my productivity in a visual appealing way. Of course I am a Linux user, which makes theming way more easy and a lot more flexible than Windows and Mac […]

XAMPP Non-root access to htdocs without changing permissions.

So you install XAMPP (Apache, PHP, MySQL development environment) and are ready to create your world famous web application but XAMPP installs into opt, which requires root to write to the files. You could change permissions, add groups, or symlink with some variation but why? Apache can serve docs from anywhere with a few changes […]

Linux\Open Source Apps that tend to get overlooked on the blog lists.

Most people know about The Gimp, Filezilla, and Blender. because they tend to get blogged often. They are great apps but here are a few that I think need some blog love. Utilities Sophos AntiVirus. I use this on my Linux machine as it scans in the background and is light on resources. I know […]

Flowblade 2.2.0 Effects Tutorials

Had a little time today so I wanted to do some effects in Flowblade. If you need a little guidance maybe these will help. There are three in this video.

Fun with video in a Bootstrap 4 carousel.

I am working on a project at work and they were interested in a video playing up top. I decided it might be more fun if you have a series of videos. I already had Bootstrap 4.3.1 doing things on the page and I almost always have JQuery – you don’t really need JQuery but […]

Simple Python 3 threaded timer in Gtk3.

A quick and dirty timer example. If you need to execute after a period of time use Thread.Timer(). This example uses simple thread and event to start and stop a clock in a Gtk 3 window counting up time in a label. #!/usr/bin/python3 import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk,Pango,GObject import threading import datetime […]

Python 3 ThreadPoolExecutor in Gtk 3

So I wanted to collect all the theme icons on my Linux machine so I wrote a little app. It is really fast using the ThreadPoolExecutor from futures. I’ve used this at work but never in a Gtk app. Here’s the result from the straight Python 3 code without a GUI. That’s a lot of […]

Get Dynatrace json dumps from threaded Python 3.

Today was a boring day so I was doing anything to make it go faster. I ended up redoing some Python code. It didn’t need to be threaded but I was bored! It’s cold, windy, and dark here. Blah! Maybe someone will find this useful? #!/usr/bin/python3 from concurrent.futures import ThreadPoolExecutor import requests # https://pypi.org/project/requests/ import […]

Asus AC1900 Dual Band Gigabit WiFi Router (RT-AC68U)

I purchased this router last year and I love it! It’s easy to harden, updates often, and the range is superb! We live in an older home with very thick walls where it was hard getting any reception outside, on the back porch where we have a cam, and upstairs. After installing this beast I […]