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:
- AdGuard Home as main DNS server with ad filter and control panel.
- Unbound as a recursive DNS resolver, directly querying the internet root servers.
- Docker Compose for simple and efficient orchestration.
- Features and Benefits
| 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}" |
During my PhD in Data Science at Stanford, I got sick and tired of ghost jobs & 3rd party offshore agencies on LinkedIn & Indeed. So I wrote a script that fetches jobs from 30k+ company websites' career pages and uses GPT4o-mini to extract relevant information (ex salary, remote, etc.) from job descriptions. You can use it here: (HiringCafe). Here is a filter for Data science jobs
| /*-------------------------------------------------------------- | |
| /*! normalize.css v8.0.1 | |
| --------------------------------------------------------------*/ | |
| html { | |
| line-height: 1.15; | |
| -webkit-text-size-adjust: 100%; | |
| scroll-behavior: smooth; | |
| } |
This was now moved to: https://github.com/thoroc/git-mirror
Deno script to clone a github/gitlab repo to ~/Projects while keeping a tree structure close to the remote url. If the project is already present, then it'll fetch from the remote.
WARNING this was developed on a MacOS, so no guaranty are offered to run on a different OS.