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
# pip install sdbus-notifications | |
from sdbus_block.notifications import FreedesktopNotifications | |
iface = FreedesktopNotifications() # default bus works, but could do `from sdbus import sd_bus_open_user` and pass sd_bus_open_user() | |
app_name = '' | |
replace_id = 0 # new | |
app_icon = '' | |
summary = 'title' | |
body = 'body' |
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
# TODO: loop until b is empty, automatically scroll down with a short delay | |
# click all visible Unblock buttons | |
var b = document.querySelectorAll("div[aria-label='Blocked']") | |
for (i = 0; i < b.length; i++) b[i].click(); | |
# click all visible Unmute buttons | |
var b = document.querySelectorAll("div[aria-label^='Unmute']") | |
for (i = 0; i < b.length; i++) b[i].click(); |
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 | |
// address used throughout page and script. could also just be hardcoded without PHP. | |
$addr = 'qqvppp5pe4sce8qyvyncdrhekgkxcyw2hczvervmp8'; | |
?> | |
<html> | |
<head> | |
<title>Donate BCH</title> | |
<style> | |
body { font:16pt arial; } | |
#address { font:18pt arial; } |
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 | |
// address used throughout page and script. could also just be hardcoded without PHP. | |
$addr = 'qqvppp5pe4sce8qyvyncdrhekgkxcyw2hczvervmp8'; | |
?> | |
<html> | |
<head> | |
<title>Donate BCH</title> | |
<style> | |
body { font:16pt arial; } | |
#address { font:18pt arial; } |