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
| { | |
| "did": "did:plc:puvaym5ytsvejx3rwjrnxhvb" | |
| } |
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
| // Type you want to build | |
| struct MyThing {} | |
| trait MyBuilder { | |
| type OutputType; | |
| fn build(&self) -> OutputType; | |
| } | |
| struct MyThingBuilder {} |
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
| { | |
| inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable"; | |
| outputs = inputs@{ flake-parts, ... }: | |
| flake-parts.lib.mkFlake { inherit inputs; } { | |
| systems = inputs.nixpkgs.lib.systems.flakeExposed; | |
| perSystem = { pkgs, ... }: { | |
| packages.default = pkgs.runCommand "ipcalc" { | |
| src = pkgs.fetchFromGitHub { |
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
| package db | |
| import ( | |
| "embed" | |
| "errors" | |
| gokit_log "github.com/go-kit/log" | |
| "github.com/go-kit/log/level" | |
| "github.com/golang-migrate/migrate/v4" | |
| "github.com/golang-migrate/migrate/v4/database/postgres" |
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
| { | |
| inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | |
| outputs = inputs@{ flake-parts, ... }: | |
| flake-parts.lib.mkFlake { inherit inputs; } { | |
| systems = ["x86_64-linux"]; | |
| perSystem = { pkgs, ... }: { | |
| packages.caddy = pkgs.callPackage ./pkg.nix {}; | |
| }; | |
| }; |
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
| package tmp | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "os" | |
| "reflect" | |
| "github.com/go-kit/log" |
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
| nixBuildCmd := "nix build --json --print-build-logs" | |
| build profile='default': | |
| {{nixBuildCmd}} '.#{{profile}}' | |
| build-remote host system profile='default': | |
| {{nixBuildCmd}} --remote-host '{{host}}' --system='{{system}}' '.#{{profile}}' |
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
| export const Base = ({ children }) => ( | |
| <div className="something"> | |
| This is my base | |
| <NavLinks /> | |
| {children} | |
| <Footer /> | |
| </div> | |
| ); |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/schema.json", | |
| "basics": { | |
| "name": "Hayden Young", | |
| "label": "Senior Code Janitor, also DevOps Engineer", | |
| "summary": "I love working with all things DevOps, from automation and software engineering to full-on platform engineering. I’m a huge advocate for making things self-service and as reproducible as possible. My goal as an engineer, and the reason for my advocacy for DevOps, is developer enablement. Being blocked because the configuration needs updating to work with the latest OS or web server, or because the other service we need has gone offline, is never fun. Good DevOps culture can help alleiviate that issue, and that's why I've chosen to build a career in it.\n\nAlso I cannot stand Python. Why are anti-patterns in most languages called \"Pythonic\" in Python circles?", | |
| "website": "https://hbjy.dev", | |
| "email": "[email protected]", | |
| "location": { | |
| "city": "Sheffield", |
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
| #!/bin/bash | |
| set -e | |
| function zk_dir() { | |
| if [[ ! -d $HOME/zet ]]; then | |
| mkdir $HOME/zet | |
| fi | |
| } | |
| function zk_id() { |
NewerOlder