Skip to content

Instantly share code, notes, and snippets.

@nomm-dot
nomm-dot / quicklook.scpt
Created January 26, 2026 14:22 — forked from wisq/quicklook.scpt
MacOS "Quick Look" from the command line, with full editing capability, unlike `qlmanage -p`
on run argv
if (count of argv) = 1 then
set p to (item 1 of argv) as text
else
log "(development mode)"
set p to "/tmp/test.png"
end if
# Reveal the file in Finder.
# If QuickLook is already open, this will change it to the new file.
@nomm-dot
nomm-dot / IniFileHelper.psm1
Created December 16, 2025 20:02 — forked from mklement0/IniFileHelper.psm1
PowerShell module for reading and writing INI files on Windows, via the Windows API
<#
Windows-only module for reading from / updating INI files, via the Windows API.
You can either:
* download this script module (IniFileHelper.psm1) and use Import-Module to import it into a session;
If you place it in a subdirectory named IniFileHelper in in one of the directories listed in $env:PSModulePath,
it will automatically be available in future sessions.
* for ad-hoc use, download the code and create a dynamic, transient module for the
@nomm-dot
nomm-dot / mu4e.md
Created November 15, 2024 23:38 — forked from A6GibKm/mu4e.md
Read your emails with mu4e

Connecting emacs and Protonmail Bridge

This guide will cover the basics on how to integrate emacs with protonmail-bridge using

Configuring mbsync