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
#!/usr/bin/env pwsh | |
function List-AvailableDistros { | |
# List available WSL distros and only include first column | |
$distroList = wsl --list --online | Where-Object { $_ -ne "" } | Select-Object -Skip 3 | ForEach-Object { $_.Split(" ")[0] } | Where-Object { $_ -ne "" } | |
if ($LASTEXITCODE -ne 0) { | |
Write-Error "Failed to list available WSL distros." | |
exit 1 | |
} |
#!/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" |
import { | |
createContext, | |
useCallback, | |
useContext, | |
useEffect, | |
useState, | |
} from 'react'; | |
import type { Context, PropsWithChildren } from 'react'; |
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.
/// <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>; |
import { typedConfig } from './core-typed-config'; | |
describe('coreTypedConfig', () => { | |
it('should work', () => { | |
type Schema = { | |
BAR_BAZ: boolean; | |
BAR_COUNT: number; | |
REALLY_KABOOM: number; | |
} |
This script is used to manage a DayZ server. It can install mods, start the server, and start the client.
Only tested on Fedora 40.
Downloads mpmissions from :