Skip to content

Instantly share code, notes, and snippets.

@bugrasan
bugrasan / onlykey.md
Last active February 10, 2026 23:05
OnlyKey reference / cheatsheet

OnlyKey cheatsheet

  • Tap a button (< 1s) outputs Slot Xa (e.g., button 1a → 6a)
  • Hold a button (> 1s) outputs Slot Xb (e.g., button 1b → 6b)
  • Hold #1 for 5+ sec to trigger backup
    (types out encrypted backup flow depending on setup)
  • Hold #2 for 5+ sec to type out slot labels
    (useful “on-the-go” without the app)

OnlyKey (original / 6 buttons)

  • Hold #3 for 5+ sec to lock
@bugrasan
bugrasan / MSLearnWideCSS.css
Last active February 10, 2026 23:03
FireMonkey - MSLearnWideCSS
/*
==UserCSS==
@name MSLearnWideCSS
@description used w/ FF FireMonkey to widen the content container on MS learning platform
@match https://docs.microsoft.com/en-us/learn/*
@version 1.0
==/UserCSS==
*/
.modular-content-container {
@bugrasan
bugrasan / vscode-wrapper.sh
Last active March 5, 2022 03:42
vscode wrapper script to start with profile, and manage profiles
#!/bin/bash
# NOTES:
# - doesn't handle edge cases like a file in profile folder
# exit on error with error
set -e
@bugrasan
bugrasan / autohotkey.ahk
Last active August 3, 2024 20:26
update to AutoHotkey v2
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.

Keybase proof

I hereby claim:

  • I am bugrasan on github.
  • I am bugrasan (https://keybase.io/bugrasan) on keybase.
  • I have a public key ASBWq0tOGHI4do8X1fXmZ2Pf7UNksG_gU2rKHo1rwVzzdQo

To claim this, I am signing this object: