Browse Source

Fixed URLs pointing from GitHub to self-hosted Gitlab. Minor fixes.

dev
Franco Masotti 7 months ago
parent
commit
bf3eebefbc
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 20
      _posts/2017-04-24-qemu-ssh-tunnel.md
  2. 6
      _posts/2017-09-03-kalliope-assistant-on-qemu.md
  3. 4
      _posts/2018-03-02-algorithm.md
  4. 4
      _posts/2018-04-16-my-python-release-workflow.md
  5. 4
      _posts/2018-04-19-openwrt-on-the-dg834gv4-modem-router.md
  6. 8
      _posts/2018-11-18-my-bash-option-parsing-template.md
  7. 4
      _posts/2019-07-04-from-crontabs-to-systemd-timers.md
  8. 4
      _posts/2019-07-08-raid-data-scrubbing.md
  9. 4
      _posts/2020-02-08-my-new-backup-system.md

20
_posts/2017-04-24-qemu-ssh-tunnel.md

@ -1,6 +1,6 @@
---
title: Qemu SSH tunnel
updated: 2021-09-13 17:05:00
updated: 2021-12-29 18:23:28
tags: [tutorial, qemu, vnc, ssh-tunnel]
description: How to use qemu via VNC and SSH
---
@ -23,15 +23,15 @@ $ lscpu | grep Virtualization
Virtualization: VT-x
```
*Please note that every step described here, except installations and file
configurations have now been integrated directly in the QVM script. For this
reason you should follow the instructions reported on the
[readme file](https://github.com/frnmst/qvm/blob/master/README.md)*
*Please note that most steps described here have been integrated
in the qvm.py script. For this reason you should follow the
instructions reported in the
[documentation](https://docs.franco.net.eu.org/automated-tasks/scripts.html#qvm-py)*
Now, some time ago I've written a
[simple script](https://github.com/frnmst/qvm) to handle my "QEMU needs",
VirtualBox is not available on Parabola and I don't like the available QEMU
frontends.
[simple script](https://software.franco.net.eu.org/frnmst-archives/qvm)
to handle QEMU easily. VirtualBox is not available on Parabola and I don't
like the available QEMU frontends.
So, after about 1 hour of information
[retrieval](http://blog.scottlowe.org/2013/08/21/accessing-vnc-consoles-of-kvm-guests-via-ssh/)
@ -42,8 +42,8 @@ I was able to connect all the dots... Here it is.
## Premise
The technique used here is called ["SSH
tunneling"](https://en.wikipedia.org/wiki/Tunneling_protocol#Secure_Shell_tunneling)
The technique used here is called
["SSH tunneling"](https://en.wikipedia.org/wiki/Tunneling_protocol#Secure_Shell_tunneling)
and enables you to use an SSH server as an intermediary between the client and
a remote server. Let's see a trivial scheme of the VNC setup

6
_posts/2017-09-03-kalliope-assistant-on-qemu.md

@ -1,6 +1,6 @@
---
title: Kalliope, a voice-controlled personal assistant (running on qemu)
updated: 2021-09-13 14:07:00
updated: 2021-12-29 18:23:28
tags: [tutorial, qemu, ssh, assistant, voice, parabola, debian, kalliope]
description: How to setup Kalliope, a voice-controlled personal assistant, if you don't run an officially supported distro like Debian
---
@ -44,12 +44,12 @@ moment).
Now, since I don't have any working installation of Debian 8 (Jessie) I
attempted to run it inside QEMU. To do this I used my
[qvm](https://github.com/frnmst/qvm) script I made some while ago.
[qvm](https://software.franco.net.eu.org/frnmst-archives/qvm) script I made some while ago.
Once I had Debian up and running I tried the
[microphone](https://github.com/kalliope-project/kalliope/blob/master/Docs/installation.md#test-your-env)
[test](https://github.com/kalliope-project/kalliope/blob/master/Docs/installation/raspbian_jessie.md#raspberry-pi-configuration).
It turned out that I didn't have any soundcards available in the virtual
machine. A [couple of options](https://github.com/frnmst/qvm/commit/1a1ba5c55537735b890de48bf767663aa39074d3)
machine. A [couple of options](https://software.franco.net.eu.org/frnmst-archives/qvm/commit/1a1ba5c55537735b890de48bf767663aa39074d3)
added in the qvm script did the trick. Now I could
record and listen to my voice through QEMU.

4
_posts/2018-03-02-algorithm.md

@ -1,14 +1,14 @@
---
title: An O(n) Python 3 algorithm that halves the number of characters to be removed
tags: [algorithm, string, python]
updated: 2018-03-02 17:00
updated: 2021-12-29 18:23:28
description: A Python algorithm that halves the number of characters to be removed
---
It's been a while.
Some days ago I thought to use this algorithm to remove duplicate escape
characters in my [md-toc](http://github.com/frnmst/md-toc) program.
characters in my [md-toc](https://software.franco.net.eu.org/frnmst/md-toc) program.
I then realized I didn't need it and also noticed that dealing correctly with
escape characters seems very hard. So I generalized the algorithm to get
any number of a specified charatcter in a string, except `\` !!, to be

4
_posts/2018-04-16-my-python-release-workflow.md

@ -1,7 +1,7 @@
---
title: My Python release workflow
tags: [python, git, workflow, aur, arch]
updated: 2020-10-17 22:55
updated: 2021-12-29 18:23:28
description: A personal reminder with the instructions for releasing new versions of Python packages
---
@ -17,7 +17,7 @@ for an updated version.*
## Rules
- Use [md_toc](https://github.com/frnmst/md-toc) as an example blueprint.
- Use [md_toc](https://software.franco.net.eu.org/frnmst/md-toc) as an example blueprint.
- Assume that the root of the repository is `./`.
- Variables are marked with braces and the dollar sign, e.g: `${variable}`.
- `${MAJOR}`, `${MINOR}` and `${PATCH}` refer to the varaibles reported on the [Semantic Versioning](https://semver.org/#summary) document.

4
_posts/2018-04-19-openwrt-on-the-dg834gv4-modem-router.md

@ -1,7 +1,7 @@
---
title: OpenWrt on the DG834Gv4 modem router
tags: [openwrt, modem, router, backdoor, ssh]
updated: 2018-04-19 18:00
updated: 2021-12-29 18:23:28
description: Installing OpenWrt on the DG834Gv4 modem router
---
@ -139,4 +139,4 @@ a working environment. Maybe another time...
# Applications using OpenWrt
I ended up using it for this:
[openwrt-leds-as-notification](https://github.com/frnmst/openwrt-leds-as-notification)
[openwrt-leds-as-notification](https://software.franco.net.eu.org/frnmst-archives/openwrt-leds-as-notification)

8
_posts/2018-11-18-my-bash-option-parsing-template.md

@ -1,7 +1,7 @@
---
title: My bash template for option parsing
tags: [getopts, bash, template, bashisms, shell]
updated: 2019-08-11 19:35
updated: 2021-12-29 18:23:28
description: a template for option parsing in Bash based on getopt
---
@ -22,10 +22,10 @@ between the two.
*Please note that the script and the documentation reported here, except for
the introduction and the "Reason" paragraph, is outdated. For this
reason you should refer to the [repository](https://github.com/frnmst/fbopt).*
reason you should refer to the [repository](https://software.franco.net.eu.org/frnmst-archives/fbopt).*
*Please note that the documentation and source code reported here are old.
Refer to the [fbopt](https://github.com/frnmst/fbopt) repository.*
Refer to the [fbopt](https://software.franco.net.eu.org/frnmst-archives/fbopt) repository.*
## Reason
@ -101,7 +101,7 @@ What follows is `fbopt` version `0.3`.
# <http://creativecommons.org/publicdomain/zero/1.0/>.
#
#
# See also https://frnmst.gitlab.io/notes/my-bash-option-parsing-template.html
# See also https://blog.franco.net.eu.org/notes/my-bash-option-parsing-template.html
#
show_help()

4
_posts/2019-07-04-from-crontabs-to-systemd-timers.md

@ -1,7 +1,7 @@
---
title: From crontabs to Systemd timers
tags: [tutorial, bash, shell, crontab, cronie, systemd, timer]
updated: 2021-09-13 14:07:00
updated: 2021-12-29 18:23:28
description: The steps I followed to migrate from crontabs to systemd timers.
---
@ -13,7 +13,7 @@ recurring tasks such as backups.
<!--excerpt-end-->
*Please note that every step described here is directly related to the
[automated-tasks](https://github.com/frnmst/automated-tasks) repository.*
[automated-tasks](https://software.franco.net.eu.org/frnmst/automated-tasks) repository.*
The problem of this method is that you cannot
easily control running processes and you are not provided with a uniform interface.

4
_posts/2019-07-08-raid-data-scrubbing.md

@ -1,7 +1,7 @@
---
title: RAID data scrubbing
tags: [tutorial, python, raid-partition, scrubbing, data, systemd, timer]
updated: 2021-09-13 17:05:00
updated: 2021-12-29 18:23:28
description: A simple RAID scrubbing python script and its systemd service and timer.
---
@ -12,7 +12,7 @@ RAID scrubbing checks and fixes errors in RAID arrays.
<!--more-->
*Please note that the source code and the steps described here are included in the
[automated-tasks](https://github.com/frnmst/automated-tasks) repository.*
[automated-tasks](https://software.franco.net.eu.org/frnmst/automated-tasks) repository.*
While I was reading an [Arch Wiki page](https://wiki.archlinux.org/index.php?title=RAID&oldid=572096#Scrubbing),
I found an [AUR package](https://aur.archlinux.org/packages/raid-check-systemd/)

4
_posts/2020-02-08-my-new-backup-system.md

@ -1,7 +1,7 @@
---
title: My new backup system
tags: [tutorial, bash, shell, backup, rsync, luks, cryptsetup, sync, shred, borgmatic, borgbackup]
updated: 2021-10-31 22:13:10
updated: 2021-12-29 18:23:28
description: An update on a previous post about backups.
---
@ -14,7 +14,7 @@ about my backup system.
In the meantime some things have changed:
- the main backups now use [borgmatic](https://torsion.org/borgmatic/) and [custom scripts](https://frnmst.github.io/automated-tasks/scripts.html#borgmatic-hooks-sh) along with it
- the main backups now use [borgmatic](https://torsion.org/borgmatic/) and [custom scripts](https://docs.franco.net.eu.org/automated-tasks/scripts.html#borgmatic-hooks-py) along with it
- **the encrypted backups are just a mirror of the main backups**
- you will need [BorgBackup](https://www.borgbackup.org/) to access them
- i now use Btrfs instead of ext4 for the encrypted backups

Loading…
Cancel
Save