Skip to content

Instantly share code, notes, and snippets.

@jmodjeska
jmodjeska / google_csv.js
Last active May 15, 2025 17:47 — forked from roblg/gist:2400902
retrieving a basic auth-protected CSV with Google Spreadsheets and Google App Scripting
/** Import CSV with basic auth
* https://modjeska.us/csv-google-sheets-basic-auth/
* Synopsis:
populateSheetWithCSV(foo, csvUrl, base64pw, ignoreHeaders, bustCache)
* Usage:
=populateSheetWithCSV("Any Value", "https://csv-url", "base64pw", TRUE, TRUE)
@tribut
tribut / jpgsplit.sh
Created April 9, 2018 11:57
Split Samsung Motion Photo from files and strip video from original file / Samsung Bewegungsaufnahme aus Datei extrahieren und Video aus Originalbild entfernen
#!/bin/bash
set -e
info() {
echo "$*" >&2
}
warn() {
info "WARNING: $*"
}
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 22, 2025 02:33 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@samiraguiar
samiraguiar / MC Cheat Sheet
Last active May 22, 2025 09:05 — forked from maciakl/MC Cheat Sheet
Midnight Commander Cheat Sheet / Shortcuts
Note for newcomers:
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention
used in the Midnight Commander documentation and was kept here.
You can also use "ESC" instead of "ALT", which is useful on Macbooks.
Main View
---------------------------------------------------------------
- File/directory operations