Skip to content

Instantly share code, notes, and snippets.

View madhatter's full-sized avatar

Arvid Warnecke madhatter

View GitHub Profile
@madhatter
madhatter / notify.rb
Created February 19, 2013 15:36
A minimalistic notify plugin for weechat via libnotify (`notify-send`)
def weechat_init
Weechat.register("notify.rb", "madhatter", "0.1", "GPL3", "Notifications via libnotify", "", "")
Weechat.hook_print("", "", "", 1, "notify_msg", "")
return Weechat::WEECHAT_RC_OK
end
def notify_msg(data, buffer, date, tags, visible, highlight, nick, message)
# Get the channel's metadata.
data = {}

Keybase proof

I hereby claim:

  • I am madhatter on github.
  • I am nostalgix (https://keybase.io/nostalgix) on keybase.
  • I have a public key ASDLYtUsomc653qLX3KPqPuizbsvihHvX6_hx4OSrQVLSAo

To claim this, I am signing this object:

@madhatter
madhatter / install-arch-linux-on-btrfs-subvolume-inside-luks
Created October 2, 2019 06:06 — forked from ansulev/install-arch-linux-on-btrfs-subvolume-inside-luks
Install Arch Linux with full encrypted btrfs subvolume inside luks
# Install Arch Linux with full encrypted btrfs subvolume inside luks
# Hardware: BIOS system, Intel GPU, Nvidia Optimus, Toshiba SSD, Wifi
# Please adjust for your needs.
# filename: install-arch-linux-on-btrfs-subvolume-inside-luks.txt
# The official guide: https://wiki.archlinux.org/index.php/Installation_Guide
# Download the archiso image from https://www.archlinux.org/download/
# Copy to a usb-drive
dd bs=4M if=archlinux.iso of=/dev/sdx status=progress oflag=sync # on linux