(updated ) | tags: [ Docker Bash ]
In this article I describe the steps I took for running a dockerised version of the zerotier-one client on my Synology NAS DSM 7.0, using docker.
I recently used Google Takeout to get a copy of all the photos and videos I had backed up there. I discovered, to my horror, that the files’ timestamps were all wrong. I created a short script using
jq to rectify the situation.
I often find myself wanting to reference the current branch I am on when typing a command. I create a
bash function to paste it.
| tags: [ Vim ]
I often find myself opening Vim in the root of a Git repository, then opening a file and wanting to open another file in that same directory. I’ve created a shortcut to help with that action.
| tags: [ Vim ]
Using a simple mapping and only a couple Vim features, swap types of quotes, i.e. from “foo” to ‘foo’.
In this article I describe a (bash & Perl) script I’ve recently created to
git blame on the lines matching a
git grep I am performing, and
concepts, pitfalls, and solutions I’ve found along the way.
Come rimpiazzare il modem “Fibra” (VDSL) fornito da TIM con un altro modem (un FRITZ!Box 7590), senza perdita di configurazione (IP fisso) o di servizi (VoIP).
| tags: [ Perl TOTP Security ]
In this article I’ll explain (with code) how to create and validate a Google Authenticator two-step authentication token, using Perl. Both on the command-line and on a simple website.
| tags: [ Git ]
In this article I describe my approach to keeping the disk space for my Git repositories low on both the desktop and netbook machine.
| tags: [ Git Hooks Webserver ]
In this article I describe my approach to deploying new versions of a personal web application, running under Lighttpd and using Perl as its back-end. The same approach can possibly be used for similar scenarios.
| tags: [ Git Hooks Perl Perltidy ]
In this article I describe my approach to keeping some of my Perl repositories as clean and as tidy as they can be.