Skip to content

Instantly share code, notes, and snippets.

View alex8bitw's full-sized avatar
🌤️
🎣

Alexey Zilber alex8bitw

🌤️
🎣
  • Bitwarden
View GitHub Profile
@alex8bitw
alex8bitw / forumula_downgrade.txt
Created June 13, 2023 08:12
Easy Brew formula downgrade
brew uninstall package -> will remove latest version of package
brew link package -> will link the older package
brew pin package -> sticks the pin back into this upgrade grenade 😂
@alex8bitw
alex8bitw / delete-slack-messages.js
Created December 19, 2022 06:39 — forked from firatkucuk/delete-slack-messages.js
Deletes 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