Skip to content

Instantly share code, notes, and snippets.

View Frankenmint's full-sized avatar

Frankenmint Frankenmint

View GitHub Profile
@Frankenmint
Frankenmint / slack_history.py
Created April 30, 2016 07:29 — forked from Chandler/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
from slacker import Slacker
import json
import argparse
import os
# This script finds all channels, private channels and direct messages
# that your user participates in, downloads the complete history for
# those converations and writes each conversation out to seperate json files.
#
# This user centric history gathering is nice because the official slack data exporter
# only exports public channels.
@Frankenmint
Frankenmint / bookmarklet.js
Created October 31, 2019 22:15 — forked from mcotton/bookmarklet.js
auto-login bookmarklet
// Saved URL should look like this:
// javascript:<function>
// replace <function> with the following text
(function(){
// Grab the username and password input fields
user = document.getElementById('txtUserName');
pass = document.getElementById('txtPassword');
// Grab the submit button, oddly named 'punch'
import airsim
from pynput import keyboard
import numpy as np
from scipy.spatial.transform import Rotation as ScipyRotation
import time
class DroneController:
"""
High level drone controller for manual drone navigation using a regular keyboard.