Skip to content

Instantly share code, notes, and snippets.

View horbjorn's full-sized avatar

horbjorn horbjorn

  • 01:38 (UTC +02:00)
View GitHub Profile
Upload files to Google Drive using Google Apps Script Web Apps and save records in Google Sheets.
@horbjorn
horbjorn / clean-up-xiaomi-bloatware.sh
Created April 23, 2024 18:11 — forked from danpawlik/clean-up-xiaomi-bloatware.sh
Cleanup apps installed in MIUI
#!/bin/sh
#
# Clean-up Xiaomi smartphone without rooting:
#
# 1) You have to install adb tool from android sdk
# 2) You have to activate developer options, next activate usb debugging
# 3) Comment out or delete lines with packages, if you really need them
# 4) Optional: I hightly recommed to activate OEM unlocking feature in developer options.
# It doesn't unlock you device immediately, but in case of breaking you phone
# you will have opportunity to unlock you phone and reflash it via MiFlash.
@horbjorn
horbjorn / ffmpeg.md
Created April 23, 2024 18:10 — forked from dantheman213/ffmpeg.md
ffmpeg cheatsheet

ffmpeg cheatsheet

Extract video at 30 seconds in and the duration with be 5 seconds

ffmpeg -ss 00:00:30 -i orginalfile -t 00:00:05 -vcodec copy -acodec copy newfile

Add a watermark logo to the bottom right of the video offset by 30 x 30 from corner

@horbjorn
horbjorn / Issue.md
Created April 23, 2024 17:19 — forked from Ashton-W/Issue.md
GitHub Markdown toggle code block
Click to toggle contents of `code`
CODE!