Skip to content

Instantly share code, notes, and snippets.

View jziggas's full-sized avatar

Joshua Ziggas jziggas

  • Meeplechase
  • Florida
  • 20:33 (UTC -05:00)
View GitHub Profile
cat << EOF > ~/.gnupg/gpg.conf
no-emit-version
no-comments
keyid-format 0xlong
with-fingerprint
list-options show-uid-validity
verify-options show-uid-validity
use-agent
fixed-list-mode
charset utf-8
@jziggas
jziggas / nowhal.js
Last active September 15, 2025 15:11
JavaScript to delete all of your Reddit comments
// Go to https://www.reddit.com/user/<username>/ and paste into your console.
// Reddit throttles these actions, hence the 1s timer.
let interval = setInterval(() => {
let deleteButtons = $('a.togglebutton[data-event-action="delete"]');
if (deleteButtons.length === 0) {
clearInterval(interval);
if ($('.next-button > a')[0]) {
$('.next-button > a')[0].click();
alert('Restart script.');
}