| Emacs defface | htmlfontify css class |
|---|---|
| font-lock-warning-face | warning |
| font-lock-function-name-face | function-name |
| font-lock-function-call-face | function-call |
| font-lock-variable-name-face | variable-name |
| font-lock-variable-use-face | variable-use |
| font-lock-keyword-face | keyword |
| font-lock-comment-face | comment |
| font-lock-comment-delimiter-face | comment-delimiter |
| import sqlite3 | |
| import os | |
| import json | |
| import argparse | |
| import datetime | |
| import sys # For sys.platform | |
| import shutil # For copying database, if enabled | |
| import configparser # For parsing profiles.ini | |
| def get_firefox_profile_path(profile_name=None, newest=False): |
Sync a Tab to a Directory with copyq, not setable from the cli tool, but is possible in the config.
(linux/macos: ~/.config/copyq/copyq.conf | windows: %APPDATA%\copyq\copyq.conf )
Config will default to 1 tab called &clipboard. The & marks the letter to activate with Alt
| #!/bin/bash | |
| curl -s https://raw.githubusercontent.com/ryanoasis/nerd-fonts/refs/heads/master/glyphnames.json \ | |
| | jq -r 'to_entries | map(select(.key != "METADATA")) | .[] | "\"\(.key)\": \(.value | @json),"' \ | |
| | sed 's/^/ /' \ | |
| | awk 'BEGIN {print "export const NerdFontGlyphs = {"} {print} END {print "}"}' \ | |
| > nerd-font-glyphs.js |
To run a python script which has dependencies, with uv without extra steps, just execute it.
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = [<array of string names of required modules>]
# ///
# and the rest of the script goes here.Follow the setup instructions to install gopass
Next install gopassbridge-dark extension on Firefox.
Download gopass-jsonapi.exe from https://github.com/gopasspw/gopass-jsonapi/releases
Hi all, Please consider donating to this or any of my many of opensource projects.
Getting it running on Windows is fairly simple, but the browser extension PassFF with its host script, PassFF host didn't work for me after running the installer install_host_app.bat file.
I found gopass which is a Go implementation of the original pass script, and seems to be 100% compatible.
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "foreground": "#26C6DA", | |
| "style": "diamond", | |
| "template": "[{{ .UserName }}@{{ .HostName }}] ", |
Used by Native Instruments Traktor and other DJ/Music software (open alternative to Camelot, which is functionally equivalent to OpenKey)
- Key Labels: The notation uses a combination of a number and a letter. The number indicates the key's position in the circle (from 1 to 12), and the letter indicates the mode: m for minor and d for major. You can mix from Minor (openkey m, camelot B) to Major (openkey d, camelot A) and Major to Minor
| [Desktop Entry] | |
| Name=Emacs | |
| GenericName=Text Editor | |
| Comment=Edit text | |
| MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; | |
| Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient -a emacs -n \\"\\$@\\"; else exec emacs; fi" dummy %F | |
| Icon=emacs | |
| Type=Application | |
| Terminal=false | |
| Categories=Development;TextEditor; |
