Skip to content

Instantly share code, notes, and snippets.

@Aldaviva
Aldaviva / oath-totp-google-authenticator-export-keepass-import.md
Last active March 11, 2026 18:55
Export one-time passwords from Google Authenticator and import them into KeePass

Import TOTP from Google Authenticator into Keepass

  1. Export a QR code from Google Authenticator
    1. Open the Google Authenticator Android app
    2. Tap ☰ › Transfer accounts › Export accounts
    3. Laboriously deselect all accounts except the one you want to export
    4. Tap Next
  2. Decode the otpauth-migration URI from the QR code
    1. Take a screenshot of the QR code on the screen by holding Power+Volume Down
  3. Open the screenshot in Google Photos or another app that can decode QR codes
@joepie91
joepie91 / vpn.md
Last active March 11, 2026 18:55
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@mberman84
mberman84 / oc.md
Created February 16, 2026 19:42
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)

@TheUnrealZaka
TheUnrealZaka / HidingRoot.md
Last active March 11, 2026 18:52
This guide is for all Android devices to hide properly all root detections and successfully run banking apps as expected :)

✨ Welcome to TheUnrealZaka's Guide for Hiding Root Detections!

Using KernelSU-Next + SuSFS

⚠️ Disclaimer: This guide is provided solely for educational purposes. The creator assumes no responsibility for any damage, data loss, or other adverse effects that may occur as a result of following these instructions. Proceed entirely at your own risk!


📖 Introduction

Many users who have rooted their devices finds issues where system or third-party applications detect the root status and refuse to operate. This guide outlines a procedure to hide root detection on the majority of Android devices, specifically the ones running Noble ROM for Samsung S9/S9+/N9. The approach detailed here leverages KernelSU-Next in conjunction with SuSFS.

@itsmikita
itsmikita / README.md
Last active March 11, 2026 18:51
Create bootable USB drive from InstallMacOSX.pkg

Create bootable USB drive from InstallMacOSX.pkg

  1. Erase USB drive with Disk Utility using format Mac OS Extended (Journaled) and Master Boot Record and call it MyVolume
  2. Use Finder to mount/open InstallMacOSX.dmg.
  3. Run following commands:
pkgutil --expand /Volumes/Install\ OS\ X/InstallMacOSX.pkg /tmp/El\ Capitan
diskutil eject Install\ OS\ X
cd /tmp/El\ Capitan
@zbraniecki
zbraniecki / README.md
Last active March 11, 2026 18:47
Rust <--> C/C++ FFI for newbies

As Gecko is moving toward more Rust code, the cases where Rust and C code interoperate will become more common.

This document is an attempt to ease the learning curve for engineers facing it for the first time. It assumes no prior experience with cross-language C interfaces (called FFI).

It also assumes that Rust code is already built into Gecko. If you need help with that, read Introducing Rust code in Firefox.

What can you transfer across the fence

@baymaxium
baymaxium / content.md
Created October 18, 2017 09:18
论文大焖锅: NBER 老板如何影响公司业绩?

原文:论文大焖锅

怪蜀黍的维多利亚小秘密

coming soon...

本文是团队外编辑罗艺旸的第一篇推送

编辑自我介绍:大家好这里是新人小编罗艺旸,经济学博士刚毕业,现在欧洲某高校做研究。很希望借这个平台和读者进行共享探索,你和大牛的差距,只隔着一篇paper!

@maartenba
maartenba / PasskeySubmit.razor.js
Last active March 11, 2026 18:44
.NET 10 Blazor Passkey Support - Include support for 1Password
const browserSupportsPasskeys =
typeof navigator.credentials !== 'undefined' &&
typeof window.PublicKeyCredential !== 'undefined' &&
typeof window.PublicKeyCredential.parseCreationOptionsFromJSON === 'function' &&
typeof window.PublicKeyCredential.parseRequestOptionsFromJSON === 'function';
async function fetchWithErrorHandling(url, options = {}) {
const response = await fetch(url, {
credentials: 'include',
...options
@dfahlander
dfahlander / 1.include-dexie-export-import.js
Last active March 11, 2026 18:43
Export-IndexedDB-using-devtools-console
// On any web page that stores things in IndexedDB,
// open devtools and in the console, write the following:
script1 = document.createElement('script');
script1.src = 'https://unpkg.com/dexie@3.2.2';
document.body.appendChild(script1);
script2 = document.createElement('script');
script2.src = 'https://unpkg.com/dexie-export-import@1.0.3';
document.body.appendChild(script2);
@artandmath
artandmath / copypaste_with_input_tracking.py
Last active March 11, 2026 18:40
Copy/paste utilities for Nuke that preserve and restore node input connections.
"""
"SideFX Houdini-Style" copy/paste.
https://gist.github.com/artandmath/22d9bf83128c7a73cca3136506c4d559
Copy/paste tools for Nuke that preserve and restore node input connections.
How it works
------------
When copying with input restore, input connection metadata is written to a
temporary ``.nk`` file alongside the standard node data. The system clipboard