SupervisorUI MF

In a previous article, I updated a supervisorui project to work for me. This updated version supervisorui-redone is essentially a PHP application which is a different approach from the original supervisorui project which was more of a JavaScript application with some helper functionality implemented in PHP. As such, I figured that I could probably fix the supervisorui code base ...

Supervisorui REDONE

Currently I am using docker containers to deploy applications. A number of those containers make use of supervisord for managing processes. While supervisord itself comes with a UI, it is unhandy for me because each container is its own supervisord instance. So I was interested in some software that would let me manage multiple supervisord instances in a single page. Turns out that there ...

A couple of useful sites for development

Unicode Can be useful for looking up unicode code points. Particularly useful for looking up accented characters. Another interesting use is for UI graphics characters. Unicode search Another site to search for unicode characters. ...

Keyboard Mouse control

This comes in handy when working at a colo or someplace where you don't have a mouse and then find yourself needing to use X11. Press the following key combo: Ctrl-Shift-Numlock Now you can control the mouse pointer using the number pad. The key bindings are: ...

flatpak

Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app. Snap vs Flatpak ...

Meta Database

So I was looking for a way to version control database schemas, but I never found something that worked for me. I found all these options that never seem to match what I wanted: metabase dbv ...

lnbin

This is my lnbin script. This is a program for managing symlink in a /usr/local/bin directory. It is similar to stow, lndir, cleanlinks and others. The approach used by lnbin is based on Stow, and it is to install each into its own tree, then use symbolic links to make its bin ...

Linux Icons

A quick note on how to add icons to menus in a Linux desktop. Create the icon image in: /usr/share/pixmaps. png and svg (and maybe others) are supported. 24x24 seems to be a good size for menus. ...

nas ops cmd

This is my op script. This is stupidly simple script to elevate priviledges in order to manage NFS shares on my QNAP NAS. The idea is that NFS shares do squash-root so admin access is disallowed through NFS. This gives a convenient way to issue root level commands without using NFS but instead use ssh ...

Linux stuff

Sudoers Since sudo v1.9, it is possible to use the following statements: #includedir @includedir ...

Graphviz markdown extensions

I have enabled several extensions to my pelican website. One that I wanted to include was graphviz. So, I searched for one and while I found a few, they somehow, did not work for me. So I wrote my own: mdx_graphviz. It is quite straight forward. You just need to create blocks: dot { ...

DVTM

The other day I found dvtm. Looking at it, it looks very nice. It appeals to me because I am particularly fond of text user interfaces. At the end I choose not to use it because: ...

Migration to Pelican

Finally got fedup with github pages and its jekyll static site generator. Essentially things would break without any particular reason and there would be nearly no way to tell what went wrong. I addition, it was not easy to test changes before making them public. So I switched to pelican, essentially because it was ...

Enable syslog with void

In void Linux, the default is without logging. Most cases it is OK for desktop use. If you want to enable syslog service in void, you need to install: socklog-void Also to let your user have access to the logs, use: ...

Stupid SSL tricks

Some hints and tips foor doing SSL related things: Netcat for SSL This command lets you connect to a SSL server (a-la netcat): cat request.txt | openssl s_client -connect server:443 Creating self-signed certificates This is a single command to generate a self-signed certificate: ...