Kategoriarkiv: Uncategorized

USBIP on Debian 12 – USB Device Sharing over IP network

In a world were virtualization is slowly creeping in everywhere the demand for virtual USB cables are growing, luckily the USBIP protocol are implemented in the Linux kernel – and the userland tools are partly implemented in Debian, at least … Læs resten

Udgivet i Linux, Uncategorized | Skriv en kommentar

Nagios module for monitoring smsdlog for modem-connectivity

Udgivet i Nagios, Uncategorized | Skriv en kommentar

Function to parse contacts from nagios config

Udgivet i Uncategorized | Skriv en kommentar

Hide nick-name in social-share on WordPress

Source: https://wordpress.stackexchange.com/questions/369151/how-to-remove-author-name-and-link-from-a-shared-link-preview

Udgivet i Uncategorized | Skriv en kommentar

Changing from GPT to MBR

Run gdisk /dev/had and type r and press enter followed by g and press enter, quit the program and restart the system.

Udgivet i Uncategorized | Skriv en kommentar

Auto-updating timestamp column i MariaDB/MySQL

If you need a colum that will automagically show when a row was created or changed you can use the following: Now try to insert some data: And then change those data: Enjoy 😉

Udgivet i Uncategorized | Skriv en kommentar

Nagios / Incinga plugin for verifying ssl certificates

Udgivet i Nagios, PHP, Uncategorized | Skriv en kommentar

Fixing broken ini_parser in PHP7

The cause if this problem is a broken brain somewhere in the PHP Developer comunity, for some reason they have removed support for using hash-marks (#) for comments in PHP 7. Theres no valid reason for this, it’s not like … Læs resten

Udgivet i Uncategorized | Skriv en kommentar

OpenVPN på FreeNAS

FreeNAS kommer med OpenVPN som en del af basedist, men den skal sættes manuelt op, der er ikke gui til det (endnu?). Ved hver reboot overskrives /etc, derfor skal persistent config oprettes i /conf/base istedet. Opret mappen /conf/base/etc/local/openvpn og placer … Læs resten

Udgivet i Uncategorized | Skriv en kommentar

Autostart browser on Raspberry Pi

First use this approach to create a python based browser, call it browser.py and leave it in pi’s home directory. Set up .xinitrc to contain the following: The first three commands disable screen-blanking and the last one runs a script … Læs resten

Udgivet i Uncategorized | Skriv en kommentar