Skip to content

Instantly share code, notes, and snippets.

Avatar

Jared Faris jaredfaris

View GitHub Profile
@jamescmartinez
jamescmartinez / slack_delete.rb
Last active Jul 24, 2020
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.
View slack_delete.rb
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,
View Bio.md

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.

You can’t perform that action at this time.