This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Multi_key> <d> <e> <g>: "°" | |
<Multi_key> <t> <i> <c> <k>: "✔" | |
<Multi_key> <p> <l> <m> <n>: "±" | |
<Multi_key> <r> <r> <r>: "®" | |
<Multi_key> <c> <c> <c>: "©" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set cursor color to bright pink in terminals that support OSC 12 | |
set_cursor_color() { | |
# only do this if we're in an interactive tty and not a dumb term | |
[[ $- == *i* && $TERM != "dumb" ]] || return | |
# OSC 12 escape | |
printf '\e]12;#ff00ff\a' | |
} | |
# detect if we're inside tmux | |
if [[ -n $TMUX ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Mikrotik Router Dark Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Invert colors for Mikrotik router UI to create a dark mode effect | |
// @match http://10.10.11.254/webfig/* | |
// @match https://10.10.11.254/webfig/* | |
// @match http://gw/webfig/* | |
// @match http://gw.satcom/webfig/* | |
// @match http://gw.satcom.rowls/webfig/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This program shows how to access the HKW PC - Funkuhr. | |
* The receiver is also supported by xntpd. | |
* (c) 1996 by St. Traby, GPL | |
*/ | |
#include <stdio.h> | |
#include <termios.h> | |
#include <sys/time.h> | |
#include <sys/types.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable nemo file manger "Elevated Privileges" warning box: | |
gsettings set org.nemo.preferences show-root-warning false | |
sudo gsettings set org.nemo.preferences show-root-warning false | |
make Firefox stop fucking redirectly compulsively to HTTPS | |
about:config | |
browser.fixup.fallback-to-https = false | |
dom.security.https_first = false | |
browser.urlbar.autoFill = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If not making own container from scratch: | |
lxc-create -n thecontainername -t download | |
lxc-start -n thecontainername | |
lxc-attach -n thecontainername | |
lxc-stop -n thecontainername | |
/var/lib/lxc/thecontainername | |
in there: | |
config <FILE> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -yf remove --purge $(dpkg -l | awk '/^rc/{print $2}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=set MacBook Air keyboard backlight brightness to max on boot | |
After=multi-user.target | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/sh -c 'echo 255 > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness' | |
RemainAfterExit=true | |
[Install] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name kernelconfig.io Dark Mode v2 | |
// @namespace Curses! | |
// @version 1.2 | |
// @description kernelconfig.io dark mode userstyle | |
// @author Theodric + Cursor | |
// @match https://www.kernelconfig.io/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YouTube on mobile not saving watch history? Running Pi-Hole? That's why. | |
Whitelist: | |
s.youtube.com | |
video-stats.google.com | |
video-stats.l.google.com | |
pihole -w s.youtube.com video-stats.l.google.com video-stats.google.com | |
https://discourse.pi-hole.net/t/pi-hole-on-its-default-behavior-prevents-the-youtube-to-record-the-history-on-iphones-on-android-history-works-perfectly-fine/57531 |
NewerOlder