Skip to content

Instantly share code, notes, and snippets.

@mrjones-plip
mrjones-plip / .AWS ECR find and delete images bash scripts.md
Last active June 22, 2026 19:02 — forked from nbr23/aws_ecr_stats.sh
AWS: Calculate the size of all ECR repositories

AWS ECR find and delete images bash scripts

Intro

This repo holds bash scripts I used to report on ECR images and then delete them. They're a bit crude, but get the job done!

Requirements

  • AWS CLI tool - I used brew install aws for Bluefin
  • Suite of CLI utils, mainly jq
@mrjones-plip
mrjones-plip / delete-slack-messages.js
Last active May 1, 2024 14:46 — forked from firatkucuk/delete-slack-messages.js
Deletes last 30 days of slack public/private channel messages, private chat messages and channel thread replies.
#!/usr/bin/env node
// Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/
// Pass it as a parameter: node ./delete-slack-messages.js CHANNEL_ID
// CONFIGURATION #######################################################################################################
const token = 'SLACK TOKEN';
// Legacy tokens are no more supported.
// Please create an app or use an existing Slack App
@mrjones-plip
mrjones-plip / _readme.md
Last active January 17, 2021 05:25 — forked from gka/_readme.md
PHP Endpoint for Github Webhook URLs

PHP Endpoint for Github Webhook URLs

If you love deploying websites using Github, but for some reason want to use your own server, this script might be exactly what you need.

  1. Put github.php somewhere on your PHP-enabled web server, and make it accessible for the outside world. Let's say for now the script lives on http://example.com/github.php
@mrjones-plip
mrjones-plip / .block
Last active June 29, 2016 21:01 — forked from melalj/.block
Marker vs Fill Bug
license: MIT
height: 900
scrolling: yes