Skip to content

Instantly share code, notes, and snippets.

Avatar

Petr im7mortal

View GitHub Profile
View slack_delete.py
import requests
import time
import json
token = ''
#Delete files older than this:
ts_to = int(time.time()) - 30 * 24 * 60 * 60
def list_files():
@im7mortal
im7mortal / http_get.go
Created Sep 25, 2015 — forked from ijt/http_get.go
Example of using http.Get in go (golang)
View http_get.go
package main
import (
"fmt"
"http"
"io/ioutil"
"os"
)
func main() {