recommends settings for security in WeeChat
do not say when /part
and /quit
/set irc.server_default.default_msg_part = ""
/set irc.server_default.default_msg_quit = ""
""" | |
Demonstration of ways to implement this API: | |
sanitize(unsanitized_input, ignored_words) | |
Related discussions: | |
- Modifying a list while looping over it: | |
- http://stackoverflow.com/questions/1207406/remove-items-from-a-list-while-iterating-in-python | |
- Remove all occurences of a value in a list: | |
- http://stackoverflow.com/questions/1157106/remove-all-occurences-of-a-value-from-a-python-list |
# Make cgit generate link using absolute URL | |
virtual-root=/cgit.cgi/ | |
# Enable caching of up to 1000 output entriess | |
cache-size=1000 | |
# cache time to live | |
cache-dynamic-ttl=5 | |
cache-repo-ttl=5 |
# Our .tmux.conf file | |
# Setting the prefix from C-b to C-s | |
set -g prefix C-s | |
# Free the original Ctrl-b prefix keybinding | |
unbind C-b | |
#setting the delay between prefix and command | |
set -sg escape-time 1 | |
# Ensure that we can send Ctrl-S to other apps | |
bind C-s send-prefix |
set imap_user = "[email protected]" | |
set imap_pass = "" | |
set smtp_url = "smtp://[email protected]:587" | |
set smtp_pass = "" | |
set from = "[email protected]" | |
set realname = "FirstName LastName" | |
set folder = "imaps://imap.gmail.com:993" | |
set spoolfile = "+INBOX" |
Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
This guide has been tested in Xubuntu 18.04.01 but it will probably apply in most linux distro's. Contents are heavily based on work by @toreanderson here.
So HP Elitebook G5 has as an LTE modem the HP lt4132 which is actually re-brand of Huawei ME906s-158.
If you see the output from usb-devices
you'll see that the issue lies that the modem is in configuration 2 (Cfg#= 2
). The Linux kernel selects configuration 2
by default, but that does not work with ModemManager. Configuration 3
( MBIM mode) is a much better choice.
Changing to configuration 3
is easy enough. Note that it is essential to first deconfigure the device by selecting configuration
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.
#!/bin/sh | |
# FreeDNS updater script | |
# Adapted from https://freedns.afraid.org/scripts/update.sh.txt | |
# sudo apt install dnsutils wget | |
DOMAIN="foo.my-custom-domain.com" | |
API_KEY="put your API key (base64 string) here" | |
SHOULD_UPDATE=0 | |
# -f is the only argument supported right now (forces update even if address appears correct) |