Skip to content

Instantly share code, notes, and snippets.

View KonradIT's full-sized avatar

Konrad Iturbe KonradIT

View GitHub Profile
from bs4 import BeautifulSoup
import requests
from pprint import pprint
browserstorage = {
"fccid.io": {
"cookies": {
},
@KonradIT
KonradIT / download_concurrent.go
Created December 17, 2022 16:17
Download files off of GoPro concurrently
package main
import (
"io"
"log"
"net/http"
"os"
"path/filepath"
"strconv"
"sync"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KonradIT
KonradIT / autelnfz.json
Created March 7, 2022 23:44
Autel No Fly Zones
This file has been truncated, but you can view the full file.
{
"code": 1,
"data": {
"action": "fetchNoflyzoneInfo",
"msg": "fetch No-fly zone Info success.",
"synctime": 1573651180,
"noflyzones": [{
"continent": "Asia",
"country": "China",
"city": "喀什市",
Video: 2.7K 60
Video: 2.7K 50
Video: 2.7K 30
Video: 2.7K 25
Video: 2.7K 24
Video: 2.7K 60
Video: 2.7K 60 (H.264)
Video: 2.7K 50
Video: 2.7K 50 (H.264)
Video: 2.7K 30
// Copyright 2004-present Facebook. All Rights Reserved.
// Generated by com.facebook.crudolib.sqliteproc.codegenerator.generators.schemavalidation
// Learn more: https://fburl.com/sqlite-build-time-checks
// @generated
// This is generated code -- do not modify manually.
{
"filename" : "com/facebook/stella/database/model/StellaDatabase_SerializedDb.json",
"tables" : {
@KonradIT
KonradIT / osmoaction2prollysux.py
Created October 1, 2020 17:06
dji you think u're slick eh
import json
import requests
import time
headers = {}
s = requests.Session()
def has_posted_in(user, sub, contains):
posted=False
<?xml version="1.0" encoding="utf-8"?>
<device>
<info>
<dev_type>X5</dev_type>
<dev_version>X20160126V03</dev_version>
Usage: t app test chg_usbmode [msc|amage|rs232]
Usage: t app test chg_usbmode [msc|amage|rs232]
Usage: t app test usbdbg <option>
2usb
usb_owner [0|1]
usbdbg [start | 2uart | 2usb]
Usage: t app msg <msg> <param1> <param2>
Usage: t app key <key>
Usage: t app jack <jack> <event>
@KonradIT
KonradIT / oneplus_bloat.sh
Created December 22, 2019 22:23
Debloat script for OnePlus and OnePlus-related apps.
adb shell <<EOF
pm uninstall --user 0 com.oneplus.filemanager #Op file manager
pm uninstall --user 0 com.tencent.soter.soterserver #Tencent !?
pm uninstall --user 0 net.oneplus.odm #Analytics
pm uninstall --user 0 net.oneplus.push #Push notifications
pm uninstall --user 0 com.oneplus.gamespace #Game Space
pm uninstall --user 0 net.oneplus.forums #Forums App
pm uninstall --user 0 com.netflix.mediaclient #...
pm uninstall --user 0 com.netflix.partner.activation #...
EOF