My git release script
I always had issues remembering how to create releases. So in order to standardise things, I wrote this script: ghrelease So whenever I am ready to release I would then just issue ...
I always had issues remembering how to create releases. So in order to standardise things, I wrote this script: ghrelease So whenever I am ready to release I would then just issue ...
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 ...
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 ...
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. ...
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 ...
Sudoers Since sudo v1.9, it is possible to use the following statements: #includedir @includedir ...
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 { ...
shortcodes mytags Drawings aafigure ...
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: ...
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 ...
So I gave into the temptation to store "secret" data into a git repository. Of course, to keep things safer, I chose to use an encryption tool. So I tested: git-crypt git-secret ...
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: ...
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: ...
These tips are for void linux as that is the distro I am using nowadays. mate tricks: change background from cli dconf write /org/mate/desktop/background/picture-filename "'PATH-TO-JPEG'" ...
My ISP provider is KPN. They recently enabled IPv6 in my street. I was using before a IPv6 Tunnel Broker, starting with SixXS and after they went out, with Hurricane Electric. So naturally, I decided to switch to KPN's native IPv6 service. They provide a /64 prefix, which is reasonable. Would be better ...
So after over 30 years of using GNU emacs I have switched to a more modern options. So I am using: Geany: For use in a Window environment (both X11 and MSWIN) micro: For command line use ...
I boot from a USB boot drive using UEFI. Because of the UEFI boot, it just a matter of copying the files from the alpine ISO to a USB thumbdrive VFAT32 partition. Partition may be set to EFI (but this doesn't seem to be required). Since I would like to switch between different alpine versions, I wrote a script to let me have multiple alpine versions and ...
PulseAudio is nowadays the default sound system in many Linux distributions. It lets you do a number of useful things. PulseAudio comes with a handy command line utility pacmd to do a number of things. pacmd commands ...
Here we explain how to use XScreenSaver EXCELLENT screensaver hack collection with the MATE screensaver applet. Install xscreensaver and mate-screensaver On my linux distribution this creates the following directories: ...
This article tries to supplement the nginx documentations regarding the auth_request module and how to configure it. In my opinion, that documentation is a bit incomplete. What is the nginx's auth_request module The documentation for this module says, it implements client ...