Skip to content

Instantly share code, notes, and snippets.

@jamescmartinez
jamescmartinez / slack_delete.rb
Last active May 28, 2024 15:00
This Ruby script will bulk remove all Slack files older than 30 days. Just add your API token from https://api.slack.com/web#authentication into the token quotes at the top of the file.
require 'net/http'
require 'json'
require 'uri'
@token = ''
def list_files
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago
params = {
token: @token,
@jaredfaris
jaredfaris / Bio.md
Last active January 6, 2020 21:45
Bio

Bio

Jared is the VP of Solutions at HMB (http://www.hmbnet.com), a cloud solutions provider in Columbus, OH and Louisville, KY. His focus is on building building great leaders, who then build great teams and solve the most difficult problems for their customers. Jared helps organize Stir Trek as well as a variety of other events in and around Columbus, OH. He is an international keynoter and frequent conference speaker. In fact, if he doesn't have some conference deadline he doesn't know what to do with himself. You can follow him @jaredthenerd on Twitter.