Current nix packages only supports Sonarr 3. It also downloads the release artifact instead of compiling from source.
NOTE(jpr): this version expects nix-npm-buildpackage to be accessible via its overlay.
package util | |
import "errors" | |
// https://christine.website/blog/gonads-2022-04-24 | |
type Option[T any] struct { | |
value *T | |
} |
// vibe coded alternative to run in dev console | |
(async function resilientAutoClick() { | |
const pollInterval = 100; | |
const shortPause = 250; | |
function sleep(ms) { | |
return new Promise(r => setTimeout(r, ms)); | |
} | |
// Poll until you find the selector—never times out |
#!/usr/bin/env ruby | |
IN_FILE = ARGV[0] | |
OUT_FILE = ARGV[1] | |
def usage | |
puts <<-EOF | |
USAGE: fix.rb {INFILE} {OUTFILE} | |
EOF | |
end |
Current nix packages only supports Sonarr 3. It also downloads the release artifact instead of compiling from source.
NOTE(jpr): this version expects nix-npm-buildpackage to be accessible via its overlay.
#!/usr/bin/env ruby | |
require 'json' | |
filename = 'iterm_colors.json' | |
mappings = [ | |
"black", | |
"red", | |
"green", |
public static class ProfilingService | |
{ | |
private static Stopwatch? watch = null; | |
public static void StartMeasure() | |
{ | |
lastMillis = 0; | |
watch = System.Diagnostics.Stopwatch.StartNew(); | |
System.Console.WriteLine($"[START]"); | |
} | |
public static void StopMeasure() |
#!/usr/bin/env bash | |
set -euo pipefail | |
readonly flake_name='u3macbook' | |
readonly real_script_dir=$( dirname $(readlink $HOME/.config/nixpkgs/flake.nix) ) | |
header() { | |
local -r msg="${1:-}" |
#!/usr/bin/env python3.7 | |
import iterm2 | |
async def get_last_line(session): | |
async with session.get_screen_streamer() as streamer: | |
ready = False | |
while ready != True: | |
content = await streamer.async_get() | |
for i in range(content.number_of_lines): | |
line = content.line(content.number_of_lines-i-1) |
public class App : Application | |
{ | |
public App() | |
{ | |
StyleUtils.ConfigureResources(Resources, new ThemeLight()); | |
... | |
} | |
} |
#!/usr/bin/env pwsh | |
param( | |
[Parameter(Mandatory = $true)][string] $AppName, | |
[Parameter(Mandatory = $true)][int] $BuildNumber | |
) | |
$ErrorActionPreference = 'Stop' | |
$outDir = Join-Path '.' 'artifacts' 'ios' |