Skip to content

Instantly share code, notes, and snippets.

View jnsgruk's full-sized avatar
🚀

Jon Seager jnsgruk

🚀
View GitHub Profile
package main
//go:generate bash -c "hugo -s ./webui --minify"
import (
"embed"
"flag"
"fmt"
"log"
"net/http"
@jnsgruk
jnsgruk / Cargo.lock
Last active November 28, 2023 14:59
Cargo.lock patch for Screenly CLI v0.2.3
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644
index 0000000..1af7aaf
--- /dev/null
+++ b/Cargo.lock
@@ -0,0 +1,3391 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
@jnsgruk
jnsgruk / srht.yaml
Created November 4, 2023 15:10
srht
image: nixos/unstable
repositories:
nixpkgs: https://nixos.org/channels/nixos-unstable
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
sources:
- https://github.com/jnsgruk/crafts-flake#sr-ht-tests
tasks:
- setup-system: |
sudo nixos-rebuild switch --flake ./crafts-flake
{ pkgs ? import <nixpkgs> { } }:
(pkgs.buildFHSUserEnv {
name = "toxy";
targetPkgs = pkgs: [ (pkgs.python3.withPackages (pp: with pp; [ tox ])) ];
runScript = "zsh";
}).env
@jnsgruk
jnsgruk / signature-profile.txt
Created December 1, 2022 10:11
Keyoxide Signature Profile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
This is a personal signature profile for Jon Seager.
You can find Jon at https://jnsgr.uk.
Verify this profile at https://keyoxide.org/sig.
proof=https://hachyderm.io/@jnsgruk
@jnsgruk
jnsgruk / lxd-example.tf
Created August 23, 2022 20:01
Juju Terraform Providers
terraform {
required_providers {
juju = {
source = "juju/juju"
version = "0.4.0"
}
}
}
provider "juju" {}

Keybase proof

I hereby claim:

  • I am jnsgruk on github.
  • I am jnsgruk (https://keybase.io/jnsgruk) on keybase.
  • I have a public key ASColA1fh5X3XU2T1V-RzQQCHQ5WlyRN7t0DcjItsV5fMwo

To claim this, I am signing this object: