Skip to content

Instantly share code, notes, and snippets.

Avatar

sei0o inoue sei0o

View GitHub Profile
@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:

@sei0o
sei0o / hhkb.json
Created Dec 27, 2018
Assigns Right Alt of HHKB to toggle the input mode (eisuu/kana). Karabiner required. Put the file below in ~/.config/karabiner/assets/complex_modifications .
View hhkb.json
{
"title": "HHKB sei0o settings",
"rules": [
{
"description": "Set Right Alt key to toggle the input mode",
"manipulators": [
{
"type": "basic",
"description": "hogehoge",
"from": { "key_code": "right_alt" },
@sei0o
sei0o / index.js
Created May 6, 2018
Kokkai Speed Battle
View index.js
const puppeteer = require('puppeteer')
const URLs = [
'http://abehiroshi.la.coocan.jp/',
'https://www.jcp.or.jp/',
'https://www.komei.or.jp/',
'https://cdp-japan.jp/',
'https://kibounotou.jp/',
'https://o-ishin.jp/',
'http://www.liberalparty.jp/',
'http://www5.sdp.or.jp/',
View installation.md
$ nasm kirakira_pbr.asm
$ sudo dd if=kirakira_pbr of=/dev/to/your/mbr/usb/partition bs=512 count=1

Use a USB memory which uses MBR (not UEFI).
dd rewrites your USB's PBR (boot loader); don't forget to save backup and play at your own risk!

You can’t perform that action at this time.