Skip to content

Instantly share code, notes, and snippets.

View gleeblezoid's full-sized avatar
👻

Urse gleeblezoid

👻
View GitHub Profile
@gleeblezoid
gleeblezoid / MultiSearch.go
Created August 26, 2021 09:01
For searching with multiple search engines at once from your terminal
/* The idea of this tool is to run multiple web searches at the same time - say several shopping sites or knowledge bases */
package main
import (
"fmt"
"github.com/pkg/browser"
"strings"
)
# The purpose of this Python script is to pull the forecast of starters and leavers from form responses and send a summary forecast for the starters/leavers in the next 2 weeks
# Include scopes for GMail API
# Any data you need to customise yourself has been placeholdered with <replace>
import gspread
import datetime
import ezgmail
gc = gspread.service_account(filename='service_account.json')
# Function for getting spreadsheet data and returning filtered lists of leavers and starters
@gleeblezoid
gleeblezoid / auto_archive.py
Created June 14, 2021 20:59
Slack channel archive and unarchive tool
import os
import requests
import datetime
import csv
import sys
# Authentication variables
bot_token = os.environ['SLACK_BOT_TOKEN']
user_token = os.environ['SLACK_USER_TOKEN']

Keybase proof

I hereby claim:

  • I am gleeblezoid on github.
  • I am gleeblezoid (https://keybase.io/gleeblezoid) on keybase.
  • I have a public key ASAN0wHtA9plCqAs8Srqv8oEmmn3rfg9klow4VsnfGBsTgo

To claim this, I am signing this object:

@gleeblezoid
gleeblezoid / MultiBuild.go
Last active June 21, 2020 19:50
MultiBuild - Command strings for running `go build` for multiple platforms
/* For setting up executables for multiple OS's */
package main
import(
"fmt"
"strings"
)
func main(){