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
# /etc/udev/rules.d/LamzuThorn.rules | |
# Fnatic × Lamzu Thorn Mouse - Dongle | |
SUBSYSTEM=="input", ATTRS{id/vendor}=="3554", ATTRS{name}=="Compx LAMZU 4K Receiver", MODE="0666", GROUP="input", TAG+="uaccess" | |
SUBSYSTEM=="input", ATTRS{name}=="Compx LAMZU 4K Receiver Consumer Control", MODE="0666", GROUP="input", TAG+="uaccess" | |
SUBSYSTEM=="input", ATTRS{name}=="Compx LAMZU 4K Receiver System Control", MODE="0666", GROUP="input", TAG+="uaccess" | |
SUBSYSTEM=="input", ATTRS{name}=="Compx LAMZU 4K Receiver Keyboard", MODE="0666", GROUP="input", TAG+="uaccess" | |
# Fnatic × Lamzu Thorn Mouse - Direct Device | |
SUBSYSTEM=="input", ATTRS{id/vendor}=="3554", ATTRS{name}=="compx LAMZU THORN", MODE="0666", GROUP="input", TAG+="uaccess" |
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
MT(MOD_LCTL,KC_ESC) |
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
# ~/.local/share/kio/servicemenus/pickrandomfolder.desktop | |
[Desktop Entry] | |
Type=Service | |
MimeType=inode/directory; | |
Actions=pickRandomFolderFromHere | |
X-KDE-Priority=TopLevel | |
[Desktop Action pickRandomFolderFromHere] | |
Name=Pick random folder from here |
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/sh | |
chown -R grav:www-data . | |
find . -type f -exec chmod 664 {} \; | |
find ./bin -type f -exec chmod 775 {} \; | |
find . -type d -exec chmod 775 {} \; | |
find . -type d -exec chmod +s {} \; |
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 | |
/** | |
* Lazy | |
* | |
* This plugin makes automatic markup for images to display with lazySizes.js from markdown | |
* You need to set twig_first: true in pages: in system.yaml config for it to work properly | |
* | |
*/ | |
namespace Grav\Plugin; |
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
$ cd /Library/Preferences && sudo rm com.apple.Bluetooth.plist && reboot |
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
=COUNTIF($A$1:$M$50, INDIRECT(ADDRESS(ROW(), COLUMN(), 4))) > 1 |