Would renaming the task from "compression" to "distillation" change LLM behavior, particularly around accuracy vs. brevity trade-offs?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/opt/homebrew/bin/fish --login | |
| # Prerequisites: `jq` must be installed | |
| # Adjust the URL below with the address of your Key Light. Ask your router. | |
| argparse \ | |
| "temperature=" "brightness=" help read \ | |
| -- $argv | |
| or return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Recursivelly removes all apps from your Xcode archives from the LaunchServices database, preventing them from being used for widgets, launch at login, etc. | |
| /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -R -f -u $HOME/Library/Developer/Xcode/Archives |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "description": "caps_lock: hold for ⌃⌥⇧, tap for ⌘T", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import Security | |
| extension Bundle { | |
| /// Returns whether the bundle was signed for TestFlight beta distribution by checking | |
| /// the existence of a specific extension (marker OID) on the code signing certificate. | |
| /// | |
| /// This routine is inspired by the source code from ProcInfo, the underlying library | |
| /// of the WhatsYourSign code signature checking tool developed by Objective-See. Initially, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -euo pipefail | |
| # Set the paths to your Old/New Xcodes | |
| OLD_XCODE="/Applications/Xcode-14.3.1.app" | |
| NEW_XCODE="/Applications/Xcode-15.0.0.app" # To get build number | |
| # Get New Xcode build number | |
| OLD_XCODE_BUILD=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${OLD_XCODE}/Contents/Info.plist) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use scripting additions | |
| -- # This script formats the currently open and focussed Swift file | |
| -- # using SwiftFormat. It does so *without* resetting the editor's | |
| -- # undo history. | |
| -- # | |
| -- # Version 2022-12-30.01 | |
| -- # | |
| -- # Author: Carlo Zottmann |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script takes a PDF or list of PDFs and outputs a file(s) | |
| # named <file>_scanned.pdf that looks like it has been scanned | |
| # | |
| # Requires imagemagic and popper to be installed (brew install imagemagick poppler) | |
| # | |
| # Accepts: a list of files | |
| # Usage: ./<scriptfilename> pdf1.pdf pdf2.pdf | |
| # | |
| # To use as a macOS automator quick action you need to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # YT grid view | |
| www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" REACTION "]) | |
| www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" Reaction "]) | |
| www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" REACTS "]) | |
| www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" Reacts "]) | |
| # YT list/results view | |
| www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" REACTION "]) | |
| www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" Reaction "]) | |
| www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" REACTS "]) |
NewerOlder