List of projects that are somewhat related to opencode.
## Running local models
| #!/usr/bin/env bun | |
| import { promises as fs } from 'node:fs'; | |
| import path from 'node:path'; | |
| import process from 'node:process'; | |
| const chromeExtensionIds = [ | |
| 'bpgaffohfacaamplbbojgbiicfgedmoi', 'cdgonefipacceedbkflolomdegncceid', | |
| 'cihbmmokhmieaidfgamioabhhkggnehm', 'eagiakjmjnblliacokhcalebgnhellfi', | |
| 'eaokmbopbenbmgegkmoiogmpejlaikea', 'gipnpcencdgljnaecpekokmpgnhgpela', | |
| 'gnhgdhlkojnlgljamagoigaabdmfhfeg', 'hlcjkaoneihodfmonjnlnnfpdcopgfjk', |
List of projects that are somewhat related to opencode.
## Running local models
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| shopt -s nullglob | |
| # opencode-model-check.sh - Check currently used model in OpenCode logs | |
| # | |
| # Requirements: | |
| # REQUIRED: | |
| # - jq: JSON processor (https://jqlang.github.io/jq/) | |
| # - grep: Text search utility (standard on all Unix systems) |
This document provides a comprehensive overview of all available configuration options for OpenCode, including command-line flags, environment variables, and configuration file settings.
| description |
|---|
Stage and commit changes with conventional commit message |
You are tasked with staging and committing changes in a repository using conventional commit message format.
First, detect the version control system:
!if [ -d ".git" ]; then echo "git"; elif [ -d ".jj" ]; then echo "jujutsu"; else echo "none"; fi
If git is detected:
| #!/bin/bash | |
| DIRNAME=${1:-.} | |
| cd "$DIRNAME" | |
| FILES=$(mktemp) | |
| PACKAGES=$(mktemp) | |
| export NUMCONCURRENT=8 | |
| function findCmd { |
| #!/bin/bash | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| ORANGE='\033[0;33m' | |
| CYAN='\033[0;36m' | |
| NC='\033[0m' # No Color | |
| LOGFILE="$(date '+%Y%m%d-%H%M%S')-migrate-from-homebrew.log" |
This guide explains how to deploy the Get my application using
Incus with the new OCI container support introduced in Incus 6.3.
Get my is a lightweight web application for managing shared family task and shopping lists, created by Brian (Open
Source Advocate).
For users new to Incus, refer to the introductory tutorial:
This guide shows you how to set up a self-hosted local and secure DNS server using:
| select_aws_profile () { | |
| local profiles=($(leapp session list --output=json | jq -r '[.[] | select(.status=="active")] | .[].profileId')) | |
| if [[ ${#profiles[@]} -eq 0 ]] | |
| then | |
| unset AWS_PROFILE | |
| echo "AWS_PROFILE unset as there are no profiles" | |
| elif [[ ${#profiles[@]} -eq 1 ]] | |
| then | |
| export AWS_PROFILE="${profiles}" | |
| echo "AWS_PROFILE set to ${profiles}" |