Skip to content

Instantly share code, notes, and snippets.

View cjbayliss's full-sized avatar

Christopher Bayliss cjbayliss

View GitHub Profile
@cjbayliss
cjbayliss / dark-mode.js
Last active December 10, 2024 23:21
dark-mode.js
// ==UserScript==
// @name dark-mode
// @match *://*/*
// @grant none
// @version 1.1
// @author cjb
// @run-at document-start
// ==/UserScript==
const adjustColors = () => {

Crontab

@reboot echo disable > /sys/firmware/acpi/interrupts/gpe17
@reboot echo mask > /sys/firmware/acpi/interrupts/gpe17
@reboot find /var/log/ -type f -mtime +7 -delete
@reboot /usr/sbin/powertop --auto-tune -q >/dev/null

kernel command line