Setting | Value |
---|---|
apz.fling_friction |
0.005 |
apz.gtk.pangesture.delta_mode |
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
! 2022-05-25 https://stackoverflow.com | |
##.js-consent-banner | |
! 2022-06-03 https://www.youtube.com | |
##.ytp-endscreen-content |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; CapsLock is Left control | |
CapsLock::LCtrl | |
CapsLock up:: | |
Send, {LCtrl up} | |
if (A_TimeSincePriorHotkey < 150) | |
Send, {Blind}{CapsLock} |
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
(common) { | |
tls internal | |
encode gzip zstd | |
handle_errors { | |
rewrite * /error.html | |
templates | |
file_server | |
} | |
} |
git remote add codeberg "git@codeberg.org:subnut/$(basename $(git rev-parse --show-toplevel)).git"
git remote add github "git@github.com:subnut/$(basename $(git rev-parse --show-toplevel)).git"
git diff HEAD^ | grep ^rename | cut -d ' ' -f 3- | sed 'N;s_\(.*\)\n\(.*\)_s|\1|\2|g_;s_\._\\._g' > sedscript
sed -i -f sedscript **/*(.) # needs zsh and GNU sed
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 | |
# Copyright 2022 Subhaditya Nath | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
# of the Software, and to permit persons to whom the Software is furnished to do | |
# so, subject to the following conditions: |
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 | |
## Logging purposes | |
# PREVDIR=`pwd` | |
# cd "$(dirname "$0")" | |
# exec 1>./log.txt | |
# exec 2>./log_err.txt | |
# echo '$PREVDIR:' "$PREVDIR" | |
# echo '$1:' "$1" | |
# env | grep ^SSH_ |
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 | |
{ { ADDRESS=$(dbus-daemon --session --print-address 1 --print-pid 2 --fork); } 2>&1 | |
echo $ADDRESS; } | { tr '\n' ' '; echo; } | | |
read DBUS_DAEMON_PID DBUS_SESSION_BUS_ADDRESS | |
export DBUS_SESSION_BUS_ADDRESS | |
"$@"; EXITCODE=$? | |
kill $DBUS_DAEMON_PID | |
exit $EXITCODE |