Some notes on AI Agent Rule / Instruction / Context files / etc.
| # This script converts Pocket's csv export file to html, | |
| # allowing you to import it to a wider range of apps (like Grimoire and Linkding). | |
| # This is a deno to python port, via Gemini. | |
| # | |
| # Note that I did not write this, all credit goes to the original author: | |
| # https://github.com/enjikaka/pocket-to-bookmark | |
| # | |
| # From that repo: "Mozilla is killing Pocket and you get your data export | |
| # as an CSV file. I'll use Linkding instead and it supports the | |
| # Netscape Bookmark File Format. This Deno script converts your CSV export |
| --[[ | |
| AppleScript: Text Enhancement with Gemini 1.5 API | |
| Version: 1.0 | |
| Developed by: Ernane Ferreira (https://github.com/ErnaneJ) | |
| Description: | |
| This script refines and formalizes selected text by utilizing the Gemini 1.5 Flash model from Google's API. | |
| It integrates spelling, grammar, and stylistic improvements based on a given prompt. | |
| Dependencies: |
Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.
We need to disbale it with Configuration Profiles.
- Create a new configuration profile, an XML file with
.mobileconfigextension, refer the sample file in this gist - replace the UUID with your own, you can use
uuidgenin terminal to generate a new one
Leveraging Gemini 1.5 API for Automated Test Case Generation in Google Apps Script Reverse Engineering
This report examines leveraging Gemini 1.5 API with Google Apps Script to automate sample input creation during script reverse engineering. Traditionally, this process is manual and time-consuming, especially for functions with numerous test cases. Gemini 1.5 API's potential to streamline development by automating input generation is explored through applying reverse engineering techniques to Google Apps Script samples.
The latest updates are available in this repository: https://github.com/CJHwong/gems.sh
gems.sh is a Zsh script that simplifies interacting with local Large Language Models using Ollama. It provides a rich set of pre-configured prompt templates with advanced features like language detection, JSON schema processing, and flexible output handling.
Inspired by the workflow described in this Hacker News post by eliya_confiant: https://news.ycombinator.com/item?id=39592297.
| tccutil reset All com.steventheworker.DockAltTab | |
| tccutil reset ScreenCapture com.steventheworker.DockAltTab | |
| tccutil reset AppleEvents com.steventheworker.DockAltTab | |
| tccutil reset Accessibility com.steventheworker.DockAltTab | |
| tccutil reset MediaLibrary com.steventheworker.DockAltTab | |
| tccutil reset ListenEvent com.steventheworker.DockAltTab | |
| # other... ? | |
| # tccutil reset ListenEvent com.steventheworker.DockAltTab | |
| # tccutil reset DeveloperTool com.steventheworker.DockAltTab |
| #!/usr/bin/env python3 | |
| # Copyright © 2023 Justin McGettigan | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
| # and associated documentation files (the “Software”), to deal in the Software without | |
| # restriction, including without limitation the rights to use, copy, modify, merge, publish, | |
| # distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the | |
| # Software is furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in all copies or |
