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 |
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
https://greasyfork.org/en/scripts/447614-youtube-hide-download-clip-and-thanks-including-promote-buttons |
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
<touchégg> | |
<settings> | |
<!-- | |
Delay, in milliseconds, since the gesture starts before the animation is displayed. | |
Default: 150ms if this property is not set. | |
Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that no animation is | |
displayed if you complete the action quick enough. This property configures that time. | |
--> | |
<property name="animation_delay">150</property> |
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=Start TightVNC server at startup | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
User=someusername | |
Group=somegroupname | |
WorkingDirectory=/home/someusername |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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=VNC Server | |
After=network.target | |
[Service] | |
Type=forking | |
Environment="HOME=/root" | |
ExecStart=/usr/bin/vncserver | |
ExecStop=/usr/bin/vncserver -kill :1 | |
Restart=always |
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
#!/usr/bin/env python3 | |
# theodric 2025-01-01 | |
# ThinkPads have a red dot on the lid that lights up when the system is powered on. | |
# Use it to send messages in Morse code! | |
import sys | |
import time | |
# path to the led brightness file | |
LED_BRIGHTNESS_PATH = "/sys/devices/platform/thinkpad_acpi/leds/tpacpi::lid_logo_dot/brightness" |
NewerOlder