Skip to content

Instantly share code, notes, and snippets.

View jziggas's full-sized avatar

Joshua Ziggas jziggas

  • Meeplechase
  • Florida
  • 13:53 (UTC -04: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 March 29, 2024 12:34
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.');
}