description: Expert implementation agent that executes plans, writes tests, and loops until the project compiles. mode: primary temperature: 0.2 permission: read: allow glob: allow grep: allow list: allow bash: allow
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>ollama</string> | |
| <key>StandardOutPath</key> | |
| <string>/Users/m1/.ollama/launchd.stdout.log</string> | |
| <key>StandardErrorPath</key> | |
| <string>/Users/m1/.ollama/launchd.stderr.log</string> |
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 | |
| # Define GitHub API URL for Ollama releases | |
| GITHUB_API_URL="https://api.github.com/repos/ollama/ollama/releases/latest" | |
| # Use curl and jq to parse the JSON returned by GitHub API to find the download URL for Ollama-darwin.zip and ollama-darwin | |
| OLLAMA_DARWIN_ZIP_URL=$(curl -s $GITHUB_API_URL | jq -r '.assets[] | select(.name | test("Ollama-darwin\\.zip$")) | .browser_download_url') | |
| OLLAMA_DARWIN_BIN_URL=$(curl -s $GITHUB_API_URL | jq -r '.assets[] | select(.name | test("ollama-darwin$")) | .browser_download_url') | |
| # Ensure the URLs were found |
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: "" | |
| trigger: | |
| - platform: time | |
| at: "08:00:00" | |
| condition: [] | |
| action: | |
| - service: notify.telegram | |
| data: | |
| message: > | |
| {# Change these entities with your's #} |
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
| test: | |
| stage: test | |
| script: | |
| - ./gradlew test jacocoTestReport | |
| tags: | |
| - docker-L | |
| artifacts: | |
| paths: | |
| - shared/build/reports/jacoco.xml |
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
| # Every minute, perfect for IP_INFO free tier | |
| * * * * * /usr/bin/python3 /PATH_TO_THE_SCRIPT/ipbot.py |
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 | |
| for d in */ ; do | |
| cd $d | |
| if [ -f "pubspec.yaml" ]; then | |
| echo "$d is a flutter project" | |
| flutter clean | |
| else | |
| echo "$d is a gradle project" | |
| ./gradlew clean |
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
| buildscript { | |
| repositories { | |
| // repos | |
| } | |
| dependencies { | |
| // deps | |
| } | |
| } | |
| plugins { |
Works on linux and macOS (and linux inside Windows)
- Download the script (or copy paste it)
- Put the script in the same folder than your projects
chmod +x your_script_name.sh, if you didn't change the name => `chmod +x projects_cleaner.sh./projects_cleaner.sh- Wait and enjoy!!
If you find this gist helpful, don't forget the star! :)
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
| mkdir pico_micropython_install | |
| cd pico_micropython_install | |
| git clone -b pico https://github.com/raspberrypi/micropython.git | |
| cd micropython | |
| git submodule update --init -- lib/pico-sdk | |
| cd lib/pico-sdk | |
| git submodule update --init | |
| cd ../.. | |
| make -C mpy-cross | |
| cd ports/rp2 |
NewerOlder