This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |