This file contains 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
// have a granddad that without any reason deletes his emails from the trashbin, wiping them forever? | |
// this greasemonkey script hides the trashbin alltogether in gmail. | |
// ==UserScript== | |
// @name Remove trash icon from GMail | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove trash icon from GMail UI | |
// @author dakhnod | |
// @match https://mail.google.com/mail/u/0/ |
This file contains 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
import sys | |
import time | |
import math | |
import atexit | |
import random | |
file_blue = '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-3/1-3:1.3/0003:054C:09CC.000E/leds/0003:054C:09CC.000E:blue/brightness' | |
file_red = '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-3/1-3:1.3/0003:054C:09CC.000E/leds/0003:054C:09CC.000E:red/brightness' | |
file_green = '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-3/1-3:1.3/0003:054C:09CC.000E/leds/0003:054C:09CC.000E:green/brightness' |