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
// 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" | |
}, |
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
#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 |
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
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 |
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
require 'tweetkit' | |
require 'json' | |
client = Tweetkit::Client.new( | |
consumer_key: "", | |
consumer_secret: "", | |
access_token: "", | |
access_token_secret: "" | |
) |
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 easytello import tello | |
import time | |
import cv2 | |
# see: https://stackoveflow.com/questions/50916903 | |
d = tello.Tello() | |
d.takeoff() | |
d.streamon() |
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 easytello import tello | |
import cv2 | |
import numpy as np | |
import time | |
# TELLO = False | |
TELLO = True | |
STEP = 50 | |
d = tello.Tello() |
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 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 = '' |
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
#!/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 |
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
// | |
const fs = require("fs") | |
const path = require("path") | |
const puppeteer = require("puppeteer") | |
async function getSyllabus(browser, schoolId, departmentId, year, lang) { | |
const page = await browser.newPage() | |
const url = `https://syllabus.kosen-k.go.jp/Pages/PublicSubjects?school_id=${schoolId}&department_id=${departmentId}&year=${year}&lang=${lang}` |
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
if status is-interactive | |
# Commands to run in interactive sessions can go here | |
end | |
zoxide init fish | source | |
alias ls=exa | |
xkbcomp ~/.Xkeymap $DISPLAY 2>/dev/null | |
function cl | |
cd $argv |