Skip to content

Instantly share code, notes, and snippets.

View kochi.fish
#!/bin/bash
set B $PWD
set DIR $PWD/www.ge.kochi-ct.ac.jp/~kyozai/hennyu
for year in (seq 100)[8..26]
wget --mirror --no-parent http://www.ge.kochi-ct.ac.jp/~kyozai/hennyu/h{$year}/
end
mv $DIR .
rm -rf www.ge.kochi-ct.ac.jp
View tello.py
import socket
import threading
import time
import cv2
from easytello.stats import Stats
class Tello:
def __init__(self, tello_ip: str='192.168.10.1', debug: bool=True):
# Opening local UDP port on 8889 for Tello communication
self.local_ip = ''
@sei0o
sei0o / controller.py
Created Nov 17, 2020
CLI-based controllers for Tello
View controller.py
from easytello import tello
import cv2
import numpy as np
import time
# TELLO = False
TELLO = True
STEP = 50
d = tello.Tello()
@sei0o
sei0o / cam.py
Last active Oct 21, 2020
Use EasyTello + OpenCV to obtain the video stream from Tello
View cam.py
from easytello import tello
import time
import cv2
# see: https://stackoveflow.com/questions/50916903
d = tello.Tello()
d.takeoff()
d.streamon()
View remove.rb
require 'twitter'
require 'json'
client = Twitter::REST::Client.new do |conf|
conf.consumer_key = ""
conf.consumer_secret = ""
conf.access_token = ""
conf.access_token_secret = ""
end
@sei0o
sei0o / mute.rb
Created Sep 15, 2019
Mute 'em All
View mute.rb
require 'twitter' # $ gem install twitter
# use your app's credentials
client = Twitter::REST::Client.new do |conf|
conf.consumer_key = ""
conf.consumer_secret = ""
conf.access_token = ""
conf.access_token_secret = ""
end
@sei0o
sei0o / ghidra_il2cppdumper_load..py
Created Sep 10, 2019
Ghidra scripts to load script.py which IL2CppDumper exported (forked from @worawit's one)
View ghidra_il2cppdumper_load..py
#TODO write a description for this script
#@author
#@category _NEW_
#@keybinding
#@menupath
#@url
#@toolbar
# forked from: https://gist.github.com/worawit/c8788723a667f990ba9aebe9d69f2fc4
# see also: https://github.com/ghidraninja/ghidra_scripts/blob/371da70c6589d6c8a689224bf8069a957e4daf8c/golang_renamer.py
View keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+k",
"command": "workbench.action.navigateEditorGroups"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
View 3E前期中間後席替え
sei0o@sei0oarch ~/D/sekigae> cat after_zenki_chukan_2.csv
9, 37, 17, 39, 24, 18
15, 28, 11, 33, 13, 27
0, 26, 31, 16, 40, 3
22, 14, 6, 1, 41, 34
38, 32, 8, 2, 19, 23
30, 29, 10, 35, 20, 21
7, 42, 36, 4, 25, 12
5
sei0o@sei0oarch ~/D/sekigae> sha256sum after_zenki_chukan_2.csv
View keybase.md

Keybase proof

I hereby claim:

  • I am sei0o on github.
  • I am sei0o (https://keybase.io/sei0o) on keybase.
  • I have a public key ASA-7Q-FW0ixdvr9Bh0gzHRYolSr68npeggU5H6fNRVOGgo

To claim this, I am signing this object: