Skip to content

Instantly share code, notes, and snippets.

View Frankenmint's full-sized avatar

Frankenmint Frankenmint

View GitHub Profile
#!/bin/bash
# ARE YOU SICK OF THE INTERNET BEING STUPID WITH GIVING YOU WEBP FILES?
# Like you made EVERYTHING to work with pngs and (ugh) jpegs. Cool, I get it save
# money, use compression standard wepb. FUCK YOU... update the tooling on the other side of the coin then!!!
# OK so download this and save it as a shell file (then give it executable permissions)
# so.. sudo chmod +x webPng.sh (or whatever you named it). Now, run it in the terminal in the same
# folder where you downloaded those pesky webP files and PRESTO it will convert them into PNG files, YAAY :)
# I maed this with the help of chatgpt, fyi
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.
@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'
Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
import Ember from 'ember';
var myArray = ['he','name','of','very','to','through','and','just','a','form','in','much','is','great','it','think','you','say','that','help','he','low','was','line','for','before','on','turn','are','cause','with','same','as','mean','I','differ','his','move','they','right','be','boy','at','old','one','too','have','does','this','tell','from','sentence','or','set','had','three','by','want','hot','air','but','well','some','also','what','play','there','small','we','end','can','put','out','home','other','read','were','hand','all','port','your','large','when','spell','up','add','use','even','word','land','how','here','said','must','an','big','each','high','she','such','which','follow','do','act','their','why','time','ask','if','men','will','change','way','went','about','light','many','kind','then','off','them','need','would','house','write','picture','like','try','so','us','these','again','her','animal','long','point','make','mother','thing','world','see','near','him','build','two','self
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script><div id="tickerBox"></div>
<script>
var tickerBox = document.getElementById('tickerBox');
var divTicker = document.createElement('div');
divTicker.setAttribute("id", "ticker");
tickerBox.appendChild(divTicker);
divTicker.style.fontSize="4rem";
divTicker.style.fontWeight="bold";
divTicker.style.letterSpacing="2px";
#!/usr/bin/env python
from time import sleep
import random
lives = 3
score = 0
def inflate(toStretch):
if toStretch == "r":
@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.
.ribbon{
width: 100%;
margin: 50px auto;
padding: 7px 0;
background:#76c65f;
position: relative;
}
.ribbon-text{
display: inline-block;
commit suicide?
jl2012 Yellow v2 · 2016-01-24 02:25 · 1127 views · 18.54982099
"I am very rich, I will buy the pistol to commit suicide?"
This is a miner in December last year on the issue of extension of Bitcoin conference of developers.
This time I talk about technology, but only investment. Why is everyone so concerned about the expansion of the problem? Do not talk about ideals, we confess that, after all is not a good return on investment is to it? Bitcoin absolutely no investment on people will quarrel blush heat for such things? Of course, investment is not just money, but also time and effort, but basically the problem can be reduced to money invested.
Bitcoin investments may be direct investment (hold out), industrial investment, and investment services. Industrial investment in mining represented service investment refers to rely Bitcoin system services, such as exchanges, payment systems, wallets and so on. Direct investors are basically to currency price is the main objective; in addition to c