Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# read the JSON input from stdin
inputs=$(cat);
# pick the paths_released from the JSON input and turn it into a bash array
paths_array=$(jq -r '.paths_released | fromjson | .[]' <<< "$inputs")
for release in $paths_array; do
echo "Creating release branch for $release"

Zed Remote Devcontainers

Caution

I personally couldn't get my fedora setup to connect.

Failed to check metadata of Zed executable path for use in askpass. Please try again.

> tree . -a
.
├── connect.sh
@airtonix
airtonix / myprofile.comtrya
Created May 1, 2025 06:21
Getting into Dotfile Provisioning
where: os.name == "linux"
# https://comtrya.dev/actions.html
actions:
# https://comtrya.dev/files-and-directories.html#filecopy
- action: file.copy
from: bashrc
to: "{{ user.config_dir }}/.bashrc

this is a snapshot of a linkedin post i found.

@airtonix
airtonix / dataview.d.ts
Created October 25, 2024 01:44
dataview.d.ts
/// <reference types="parsimmon" />
/// <reference types="jest" />
declare module "api/result" {
/** Functional return type for error handling. */
export class Success<T, E> {
value: T;
successful: true;
constructor(value: T);
map<U>(f: (a: T) => U): Result<U, E>;
flatMap<U>(f: (a: T) => Result<U, E>): Result<U, E>;
@airtonix
airtonix / README.md
Last active May 2, 2025 02:09
Remix SSG Cli

Remix SSG Cli

tsx ./remix-ssg-cli --help

Same options can be provided as SSG_* envvars.

@airtonix
airtonix / typed-config.spec.ts
Created October 16, 2024 02:01
Typed Config
import { typedConfig } from './core-typed-config';
describe('coreTypedConfig', () => {
it('should work', () => {
type Schema = {
BAR_BAZ: boolean;
BAR_COUNT: number;
REALLY_KABOOM: number;
}
@airtonix
airtonix / README.md
Last active September 8, 2024 10:17
simple-dayz-linux-server-manager/
@airtonix
airtonix / README.md
Last active August 19, 2024 01:37
Partial Lark Grammar for Hledger CSV transform rules
@airtonix
airtonix / README.md
Last active April 19, 2025 01:58
Steam Workshop Mod Manager for Linux Servers

Steam Mod Manager for Linux Servers

uses steamcmd. Yes we know. it sucks. cry me a river.

Usage

To download mods in a collection