Skip to content

Instantly share code, notes, and snippets.

@sogaiu
sogaiu / building-janet.md
Last active July 17, 2025 06:52
building janet
  • prefer per-user install

  • prefer Makefile (meson is supported but is less exercised)

  • build prep with meson can be useful to end up with compile_commands.json for lsp-ish purposes. though after running meson appropriately (see below), making a symlink of the same name that points to the build/compile_commands.json file may be a good idea.

  • if doing meson:

@sogaiu
sogaiu / gist:af44f93cca462c5b5959a772f464861c
Created July 13, 2025 15:25
how to download google spreadsheet when no menu is displayed
https://stackoverflow.com/a/62933812
3x YouTube Speed [email protected] 1.2.0 firefox 132 TRUE https://addons.mozilla.org/en-US/firefox/addon/[email protected]
Adjust Page Brightness – Customizable Website Brightness Controller gfoalcnffabmgchajdbkgdkjfpmhgcla 1.0.1 edge 194 TRUE https://microsoftedge.microsoft.com/addons/detail/gfoalcnffabmgchajdbkgdkjfpmhgcla
AI Article Summarizer deibhibcklbldcjciklbikflmlgmnkde 1.1 chrome 3 TRUE https://chromewebstore.google.com/detail/deibhibcklbldcjciklbikflmlgmnkde
Allow Right Click – Unlock Copy & Enable Text Selection Instantly jpdhojcboimoahhhmpncfcnpnclbmjja 1.0.1 edge 299 TRUE https://microsoftedge.microsoft.com/addons/detail/jpdhojcboimoahhhmpncfcnpnclbmjja
Anki Highlight Helper gadgjbkjjnchcfddakikflcnnlanjcfm 1.3 chrome 637 TRUE https://chromewebstore.google.com/detail/gadgjbkjjnchcfddakikflcnnlanjcfm
Anki Highlight Helper gadgjbkjjnchcfddakikflcnnlanjcfm 1.4 chrome
Arc Peek: Link preview cemmifilbjnnfldldefdakgljjloajhb 1.1.0 chrome 361 TRUE https://chromewebsto
@sogaiu
sogaiu / microsd-stuck-in-msi-prestige-15-a10sc.md
Last active July 13, 2025 15:45
msi prestige 15 a10sc micro sd card stuck in slot...

msi prestige 15 a10sc micro sd card stuck in slot...

tragedy strikes...

  • initially the card felt odd in the slot (it wasn't in upside)
  • pushed further but it wouldn't "click"
  • used jimmy tool to wiggle a bit (as per advice on a site...)
  • ...but the card started to go in even further
  • eventually the card went all the way in...to the black hole
  • could hear it rattling around if the notebook was shaken
@sogaiu
sogaiu / ssd-device-and-manufacturer-notes.md
Last active October 1, 2025 08:47
ssd device and manufacturer notes
  • SSD Brands / Manufacturer to Avoid
    • Companies that either:
      • Don't provide their own software for diagnostics and appropriate erasure -OR-
      • Don't offer devices that work with generic tools for diagnostics and appropriate erasure
    • SanDisk
      • Portable SSD incident - a shame beacuse their SD cards had been pretty good
    • SK hynix
      • P41 (and PC801) incidents
      • Software doesn't support appropriate erasure of NVMe devices (!?)
  • Generic tools don't seem to be able to appropriately erase either (e.g. shredos)
@sogaiu
sogaiu / sk-hynix-ssd-woes.md
Last active July 14, 2025 13:54
sk hynix pc801 ssd woes
  • Basic symptoms are that sometimes returning from sleep leads to a blue screen. This was when the ssd had the system partition on it.

  • When the ssd was used as a "non-system" disk, the following was observed at least once via "Event Viewer":

    Disk 0 has been surprise removed, Event ID 157
    

    One moment, the disk was visible via "Disk Management', the next moment, it was no longer visible.

@sogaiu
sogaiu / ssd-issues.md
Last active July 11, 2025 07:17
alleged signs an ssd might be having issues
  • Slow or sluggish performance: One of the primary indications of a failing SSD is a noticeable decrease in overall system performance. If your computer takes an unusually long time to boot up or open applications, it could be a sign that your SSD is struggling to read and write data effectively.
  • Frequent file corruptions: Another symptom of a failing SSD is the occurrence of file corruptions. If you find that your files are becoming corrupted or returning errors when accessed, it may be an indication that your SSD’s cells are deteriorating and causing data loss.
  • Random system crashes: A failing SSD can lead to frequent system crashes or sudden restarts. If your computer becomes unstable and experiences sudden freezes or blue screens of death (BSOD), it’s worth investigating whether your SSD is the root cause.
  • Unusual noises: While SSDs are typically silent, a failing drive may produce unfamiliar sounds such as clicking, grinding, or buzzing n
@sogaiu
sogaiu / gist:c540a4b9c56a85cc5405e278180ba290
Last active July 9, 2025 08:33
graphviz dot dark mode notes
https://cprimozic.net/notes/posts/basic-graphviz-dark-theme-config/
https://graphviz.org/doc/info/lang.html
https://graphviz.org/doc/info/attrs.html
https://graphviz.org/docs/attrs/colorscheme/
https://graphviz.org/doc/info/colors.html