Skip to content

Instantly share code, notes, and snippets.

@sasha0552
sasha0552 / librewolf-manual-canvas-prompt.js
Created October 13, 2024 11:57
(LibreWolf) Paste the following script into the browser console (Ctrl+Shift+I) to manually invoke a canvas allow/block prompt for the current site.
document.createElement("canvas").toDataURL();
@Meister1593
Meister1593 / patch_bindings_spam.sh
Last active October 24, 2024 20:50
SteamVR patcher to remove websocket spam
#!/bin/bash
echo "Latest known working version for patching: 2.3.5"
if [[ -z "$1" ]]; then
echo 'Enter absolute path to SteamVR (for example, /home/user/.local/share/Steam/steamapps/common/SteamVR)'
read STEAMVR_PATH
else
STEAMVR_PATH="$1"
fi
@pwlin
pwlin / gist:8a0d01e6428b7a96e2eb
Last active June 9, 2025 16:53
Android : add cert to system store
https://code.google.com/p/android/issues/detail?id=32696#c5
If you have a certificate that is not
trusted by Android, when you add it, it goes in the personal cert store.
When you add a cert in this personal cert store, the system requires a
higher security level to unlock the device. But if you manage to add your
cert to the system store then you don't have this requirement. Obviously,
root is required to add a certificate to the system store, but it is quiet
easy.