Skip to content

Instantly share code, notes, and snippets.

@maunsen
maunsen / boards.txt
Last active December 10, 2024 05:09
When using a Mac you need to make some other modifications to your boards.txt. You have to copy the internals of the folder /Users/<yourUserName>/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/ to /Users/<yourUserName>/Documents/Arduino/hardware/Spacemouse/avr/1.8.6/ and exchange the boards.txt file in there with the contents down below. …
micro.name=SpaceMouse Pro Wireless (cabled)
micro.vid.0=0x2341
micro.pid.0=0x0037
micro.vid.1=0x2341
micro.pid.1=0x8037
micro.vid.2=0x2A03
micro.pid.2=0x0037
micro.vid.3=0x2A03
micro.pid.3=0x8037
micro.vid.4=0x2341
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active May 26, 2025 23:18
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@noamtamim
noamtamim / README.md
Last active April 23, 2025 16:57
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

@sscotth
sscotth / keystroke the clipboard extended.workflow
Last active June 3, 2025 03:47
Paste as keystrokes (macOS)
# Why?
# To paste text into windows that normally don't allow it or have access to the clipboard.
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste
#
# Extended vs Simple?
# * Includes an initial delay to allow you to change active windows
# * Adds small delay between keypresses for slower responding windows like SSH sessions
# * Better handling of numbers
# * VMWare bug fix
#
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 2, 2025 05:16 — 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.