Skip to content

Instantly share code, notes, and snippets.

View TCNOco's full-sized avatar

Wesley Pyburn TCNOco

View GitHub Profile
@TCNOco
TCNOco / default.conf
Created August 20, 2022 11:52
Block/troll all website scrapers with Nginx
# This is a little bit of fun you can use to troll some scraper bots, with more than just a 404 page.
# Especially useful if you don't have Wordpress, and are tired of bots scraping over and over
location ~* /wp- {
return 302 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
}
# Else, for a deny:
location ~* /wp- {
deny all;
@TCNOco
TCNOco / GyazoDeleter.md
Last active January 23, 2023 01:34 — forked from jkctech/GyazoDeleter.md
Mass delete Gyazo pictures on your account page through some JavaScript

Delete all images from Gyazo

There isn't a way to mass delete images offered by Gyazo, other than Deleting your account. Sucks for you if you paid for there service.

This repo is based on the older repo by @jkctech. I updated their script for adding a Select All and Delete All button, as well as created a drastically improved "delete all" script that works with the API directly.

As long as you're comfortable using the Console section of your browser, you can use this. (Last tested on 23rd Jan 2023)

OPTION 1: Add Select All and Delete All buttons