2024 Archive

565 bookmarks
Newest
Globe Representation Translator
Globe Representation Translator
language models are representation translators.
language models are representation translators.
·globe.engineer·
Globe Representation Translator
Lintrule
Lintrule
·lintrule.com·
Lintrule
Remap "Home" and "End" to beginning and end of line
Remap "Home" and "End" to beginning and end of line
You could remap home and end by creating ~/Library/KeyBindings/ and saving a property list like this as DefaultKeyBinding.dict: { "\UF729" = moveToBeginningOfLine:; // home "\UF72B" = moveToEndOfLine:; // end "$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home "$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end } Most of the keybindings for editing text in OS X are defined in /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict.
·apple.stackexchange.com·
Remap "Home" and "End" to beginning and end of line
macOS CLI Commands — josh.fail
macOS CLI Commands — josh.fail
plutil -convert xml1 -o out.xml in.plist
convert binary plist files to XML
# You can use sips together with iconutil to generate a complete .icns file # for your app from a single 1024 by 1024 PNG without any third party software: mkdir MyIcon.iconset cp Icon1024.png MyIcon.iconset/icon_512x512@2x.png sips -z 16 16 Icon1024.png --out MyIcon.iconset/icon_16x16.png sips -z 32 32 Icon1024.png --out MyIcon.iconset/icon_16x16@2x.png sips -z 32 32 Icon1024.png --out MyIcon.iconset/icon_32x32.png sips -z 64 64 Icon1024.png --out MyIcon.iconset/icon_32x32@2x.png sips -z 128 128 Icon1024.png --out MyIcon.iconset/icon_128x128.png sips -z 256 256 Icon1024.png --out MyIcon.iconset/icon_128x128@2x.png sips -z 256 256 Icon1024.png --out MyIcon.iconset/icon_256x256.png sips -z 512 512 Icon1024.png --out MyIcon.iconset/icon_256x256@2x.png sips -z 512 512 Icon1024.png --out MyIcon.iconset/icon_512x512.png iconutil -c icns MyIcon.iconset
# Generate .ico with ffmpeg (not strictly macOS, but still neat) ffmpeg -i MyIcon.iconset/icon_256x256.png icon.ico
networkQuality can show you the quality of your network connection, like Speedtest CLI
·josh.fail·
macOS CLI Commands — josh.fail
Noi
Noi
·noi.nofwl.com·
Noi