This gist contains notes that I took while installing NixOS onto a nanopi r5s. Many thanks to the kind folks in this issue who helped me along the way.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABC, abstractmethod | |
from collections.abc import Iterator, MutableMapping | |
from pathlib import Path | |
from typing import Generic, TypeVar, cast, Type, Dict | |
from pydantic import BaseModel, Field | |
K = TypeVar('K', bound='Key') | |
V = TypeVar('V', bound='Value') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import airflow_client | |
from airflow_client.client.api import dag_api, dag_run_api | |
from datetime import datetime | |
import csv | |
import sys | |
from time import sleep | |
# you will need a different token than this one, see Workspace Settings -> Access Management to create one | |
token = "eyJhbGcREDACTED-Jjw6GJAp5A" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, claude-code-tarball, claude-code-version }: | |
pkgs.stdenv.mkDerivation { | |
name = "claude-code"; | |
version = claude-code-version; | |
src = claude-code-tarball; | |
dontConfigure = true; | |
dontBuild = true; | |
installPhase = '' | |
mkdir -p $out/bin | |
mkdir -p $out/lib/node_modules/@anthropic-ai/claude-code |
OlderNewer