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
// ==UserScript== | |
// @name make mastodon links internal | |
// @namespace http://rakslice.net/userscripts/mastodon_internal_links | |
// @version 2024-08-05 | |
// @description within the mastodon advanced UI, make links to other posts on external sites instead link to the post within the UI | |
// @author You | |
// @match https://mastodon.social/deck/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=mastodon.social | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.4.1.min.js |
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 | |
# /usr/libexec/ifupdown-ng/rfkillcheck | |
rfkill_iface=wlan0 | |
rfkill_file=/sys/class/rfkill/rfkill1/soft | |
check() { | |
if [ "$IFACE" = "$rfkill_iface" ] && [ "$PHASE" = "pre-up" ]; then | |
OlderNewer