Skip to content

Instantly share code, notes, and snippets.

@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