Skip to content

Instantly share code, notes, and snippets.

View andrewcmyk's full-sized avatar

Andrew Le andrewcmyk

View GitHub Profile
Verifying that +andrewle is my Bitcoin username. You can send me #bitcoin here:

Keybase proof

I hereby claim:

  • I am andrewcmyk on github.
  • I am andrewcmyk ( on keybase.
  • I have a public key ASDHTXb4DKGp5gxmWFX3oubyu1ukWobH_wpJB-xjlvYI7wo

To claim this, I am signing this object:

andrewcmyk / slack_delete.rb
Last active April 22, 2018 01:07 — forked from jamescmartinez/slack_delete.rb
This Ruby script will bulk remove all Slack files older than 30 days. Just add your API token from into the token quotes at the top of the file.
require 'net/http'
require 'json'
require 'uri'
require 'active_support/time'
@token = ''
def list_files
ts_to = ( - 6.months).to_i # 6 months ago
params = {
Artist: Macseal
Track: Cats
Tuning: C# G# D# G# C D# (capo 4th fret)
D# |-------4h5p4po0-----------------------4h5p4po0-----------------------4h5p4po0--------------------------------------|
Artist: Macseal
Track: Next to You
Tuning: C# G# D# G# C D#
(didn't put the strumming pattern here, you'll have to figure it out on your own)