Skip to content

Instantly share code, notes, and snippets.

@ijsf
ijsf / linux-ltfs-tape-drive-archival-guidelines.md
Last active September 1, 2025 14:38
Linux / LTFS / Tape Drive archival guidelines

Linux / LTFS / Tape Drive archival guidelines

This short guide is a quick rundown on how to set up a Linux system with the necessary drivers and tools to reliably use any HPE LTO tape drive with LTFS for home or semi-professional file archival purposes.

Quick recap for users hoping to use Windows:

There is no hope. The current state of affairs of LTO tape drive support on Windows 10 and up is so poor, that by the time you get it all working, it might no longer work effectively after a single reboot with yet another update of some kind. All in all, Microsoft has permanently broken the Windows CopyFile API for sequential access since 22H2, disabling updates is very difficult, Windows Defender interferes with file access, and Microsoft and OEM drivers for SAS/SCSI controllers are extremely outdated. Just don't do it.

Instead, as expected, we rely on open-source and *nix instead.

@ijsf
ijsf / README.md
Last active September 29, 2025 11:24
Full backup of Android apps + data using adb

Back Up Android Apps and Data in Modern Times (2024)

What happens to your apps if your phone breaks? Phones have become an essential part in our daily interactions with banks, social networks, entertainment, and what not. Losing or breaking a phone has never been more nervewrecking. Especially with apps that use local only storage with limited or no means of backup. Backing up data on Android is becoming harder, even for advanced users.

A decade ago, there were still viable options available for power users. Apps like Titanium Backup come to mind. But Android is being locked down tighter every year, because of financial regulations and trusted computing requirements. This mindset of turning phones into walled gardens where even a power user shall have no access is trickling down to forks such as LineageOS as well.

Modern versions of LineageOS, 18.1 as of the moment of writing, do no longer provide a practical way for applications to gain root. Backup applications such as Titanium Backup no longer work. T

@ijsf
ijsf / pdns-resolver.lua
Created May 19, 2019 20:10
PowerDNS recursor - on demand A record generator
--
-- PowerDNS on demand A record generator
--
-- Resolves any record with format A-B-C-D.yourdomain.com to an A record with ip address A.B.C.D.
--
pdnslog("pdns-recursor - on demand A record generator script loaded", pdns.loglevels.Warning)
domain = newDN("yourdomain.com")
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_