Skip to content

Instantly share code, notes, and snippets.

View alainwolf's full-sized avatar

Alain Wolf alainwolf

View GitHub Profile
@innerand
innerand / unlock_kpxc.sh
Last active April 9, 2024 21:33
Auto Unlock (login, sleep, sceenlock) KeePassXC Database for Gnome
#!/bin/bash
#
# Re-Open KeePassXC Database
#
# - Requests password of a KeePassXC database from the system keyring and opens
# it
# - Listens to DBUS LockedHint signals. Closes the database on lock, reopens it
# on unlock
#
#
@andrenarchy
andrenarchy / howto.md
Last active October 21, 2018 02:59
Build icinga2 and icinga-web Debian/Ubuntu packages for non-{i386,amd64} architectures

Build icinga2 and icinga-web Debian/Ubuntu packages for non-{i386,amd64} architectures

Why?

The icinga PPA only provides packages for i386 and amd64. If you're running an ARM-powered device such as the Raspberry Pi or the ODROID U3 (which I use), you have to build the packages yourself. However, compiling the packages is very easy thanks to Debian's excellent build tools and the work of the icinga package maintainer. This howto uses pbuilder which builds in a clean chroot so your original system is not polluted with build packages.

#Random generator ipv6 addresses within your ipv6 network prefix.
#!/usr/local/bin/bash
# Copyright
# Vladislav V. Prodan
# universite@ukr.net
# 2011
array=( 1 2 3 4 5 6 7 8 9 0 a b c d e f )