- Export a QR code from Google Authenticator
- Open the Google Authenticator Android app
- Tap ☰ › Transfer accounts › Export accounts
- Laboriously deselect all accounts except the one you want to export
- Tap Next
- Decode the
otpauth-migrationURI from the QR code- Take a screenshot of the QR code on the screen by holding Power+Volume Down
- Open the screenshot in Google Photos or another app that can decode QR codes
Discover gists
This file contains hidden or 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
| // ==UserScript== | |
| // @name Viewpan | |
| // @version 1.4 | |
| // @description Enable panning and zooming of any webpage for ergonomic frontend dev | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== | |
| // ==Keybindings== | |
| // Toggle pan/zoom mode: Shift + Space |
This file contains hidden or 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
| site:*/sign-in | |
| site:*/account/login | |
| site:*/forum/ucp.php?mode=login | |
| inurl:memberlist.php?mode=viewprofile | |
| intitle:"EdgeOS" intext:"Please login" | |
| inurl:user_login.php | |
| intitle:"Web Management Login" | |
| site:*/users/login_form | |
| site:*/access/unauthenticated | |
| site:account.*.*/login |
This file contains hidden or 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
| export default { | |
| async fetch(request) { | |
| const url = new URL(request.url); | |
| const path = url.pathname.replace(/^\/+/, ""); | |
| const parts = path.split("/"); | |
| if (parts.length < 4) { | |
| return new Response("Usage: /owner/repo/branch/path/to/file.ext", { status: 400 }); | |
| } | |
| const [owner, repo, branch, ...filePathParts] = parts; | |
| const filePath = filePathParts.join("/"); |
-
Download lastest Android platform tools
-
Unzip the folder to
platform-tools- Use ADB with
./platformtools/adb <COMMAND>
- Use ADB with
This is a gist on how to get StreamDiffusion running on a Mac (mps)
git clone https://github.com/cumulo-autumn/StreamDiffusion.gitcd StreamDiffusion
This file contains hidden or 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
| // ==UserScript== | |
| // @name Faris Handy Webdev JavaScript functions | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description A bunch of useful JavaScript functions | |
| // @description This is not a regular script for you to run! Only use this via the @require keyword. | |
| // @author Faris Hijazi | |
| // @grant unsafeWindow | |
| // ==/UserScript== |
This file contains hidden or 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
| --- | |
| created: <% tp.file.creation_date() %> | |
| --- | |
| tags:: [[+Daily Notes]] | |
| # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %> | |
| << [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >> | |
| --- |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Video keyboard shortcuts | |
| // @namespace https://github.com/buzamahmooza | |
| // @version 0.5 | |
| // @description Adds keyboard shortcuts to HTML5 videos. | |
| // Left Click: Toggle Pause/Play | |
| // F or dblClk: Toggle Fullscreen | |
| // SpaceBar: Toggle Pause/Play | |
| // Left/Right: Navigate back/forward | |
| // -,[ / =,]: - / + Playback speed |
This script provides an easy way to install and uninstall RustDesk on Debian-based Linux systems (Ubuntu, Linux Mint, etc.).
- Automatic detection of the latest RustDesk version
- Architecture detection (x86_64, aarch64, etc.)
- Handles all dependencies
- Supports both install and uninstall
NewerOlder