Skip to content

Instantly share code, notes, and snippets.

@hsj51
hsj51 / snapshot.sh
Created December 30, 2022 19:21
Snapshot Generator: generate snapshots/screenshots with embedded timestamps from your video using ffmpeg
#!/bin/sh
# Usage:
# script <video file path> <no of snapshots>
# Ex:
# ./snapshot.sh inputvideo.mp4 10
#file name
@namidairo
namidairo / MiWifi-Updates.py
Last active January 5, 2025 18:15
Re-implementation of miwifi router update check.
import requests
import datetime
import base64
import hashlib
# Dummy values, countryCode required if querying EU servers
# Most important here are the hardware and channel
params = {
#"countryCode": "EU",
"deviceID": "",