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
| -- CSS named colors, extracted from the MDN <named-color> reference. | |
| -- Key = CSS color keyword, value = { r, g, b } as decimal 0-255. | |
| -- `transparent` is omitted: it has no RGB value (it is rgb(0 0 0 / 0%)). | |
| -- extracted from: https://raw.githubusercontent.com/mdn/content/refs/heads/main/files/en-us/web/css/reference/values/named-color/index.md | |
| local named_colors = { | |
| aliceblue = {240, 248, 255}, -- #f0f8ff | |
| antiquewhite = {250, 235, 215}, -- #faebd7 | |
| aqua = {0, 255, 255}, -- #00ffff | |
| aquamarine = {127, 255, 212}, -- #7fffd4 |
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 | |
| dbus-monitor --profile --session "type='signal',interface='org.kde.screensaver',path='/ScreenSaver',member='AboutToLock'" | | |
| while read -r line; do | |
| qdbus6 org.kde.keyboard /Layouts setLayout 0 | |
| #echo "switching" | |
| done |
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
| <?php | |
| /* | |
| Identify existing meetings/meeting IDs on Zoom.us call app | |
| License: Public domain. Use for pranking only. Any other use prohibited. | |
| https://gist.github.com/nekromoff/48ec26cbaecc31fccb202d1efa7d0657 | |
| */ | |
| $ch = curl_init(); |