A comprehensive reference and side-by-side configuration guide for deploying the qwen3.8:27b-mlx model across both Pi Agent (~/.pi/agent/models.json) and OpenCode (~/.config/opencode/opencode.jsonc) agent harnesses.
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
| #!/usr/bin/env bash | |
| # | |
| # =========================================================================== | |
| # OCI Always Free A1.Flex automated setup script | |
| # =========================================================================== | |
| # - Provisions a VM.Standard.A1.Flex instance (4 OCPU / 24 GB RAM) and | |
| # expands its boot volume to the full Always Free limit (200 GB). | |
| # - Uses the well-known "small-first" trick: launch a 1 OCPU / 6 GB | |
| # instance first (much higher chance of getting capacity), then update | |
| # the shape-config up to 4 OCPU / 24 GB. |
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
| # install xcodes | |
| brew install robotsandpencils/made/xcodes aria2 | |
| # install & select latest version of xcode | |
| xcodes list | awk 'END{system("xcodes install " $1"; xcodes select " $1)}' | |
| # install x86-64 homebrew | |
| arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| # switch to x86_64 homebrew |
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 | |
| ######## | |
| # | |
| # Install "figlet" package | |
| # & Download figlet fonts | |
| # (running as root) | |
| # | |
| # + Github Repositories: | |
| #--> https://github.com/xero/figlet-fonts | |
| #--> https://github.com/phracker/figlet-fonts |
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
| # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
| # Initialization code that may require console input (password prompts, [y/n] | |
| # confirmations, etc.) must go above this block; everything else may go below. | |
| if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
| source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
| fi | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
| #!/usr/bin/env bash | |
| ### Bash Environment Setup | |
| # http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
| # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
| # set -o xtrace | |
| set -o errexit | |
| set -o errtrace | |
| set -o nounset | |
| set -o pipefail |
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
| #!/usr/bin/env python | |
| # | |
| # Very simple Python script to dump all emails in an IMAP folder to files. | |
| # This code is released into the public domain. | |
| # | |
| # RKI Nov 2013 | |
| # | |
| import sys | |
| import imaplib | |
| import getpass |
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
| #!/usr/bin/env bash | |
| ## | |
| # Install: | |
| # curl -sL https://raw.github.com/gist/2108403/fast.sh | sh | |
| # | |
| # Share your feedbacks on: | |
| # https://gist.github.com/2108403 | |
| # | |
| # Author: @DAddYE (Twitter/Github) |