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.
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.common.action_chains import ActionChains | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
timeout_secs = 3 | |
selector_add_btn = 'mds-icon[type="ico_add_circle"]' | |
selector_back_btn_shadow_root = 'mds-navigation-bar' | |
selector_back_btn_el = '#back-button' |
#!/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' |
<?xml version="1.0" encoding="utf-8"?> | |
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<TargetFrameworks>net6.0-ios</TargetFrameworks> | |
<IsPackable>false</IsPackable> | |
<IsBindingProject>true</IsBindingProject> | |
<NoBindingEmbedding>true</NoBindingEmbedding> | |
<BindingPlatform>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</BindingPlatform> | |
</PropertyGroup> | |
<ItemGroup Condition="'$(BindingPlatform)' == 'ios'"> |