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
| @font-face { | |
| font-family: 'System'; | |
| src: url('/media/custom/fonts/system-ms/SystemBold.woff2') format('woff2'), | |
| url('/media/custom/fonts/system-ms/SystemBold.woff') format('woff'); | |
| font-weight: bold; | |
| font-style: normal; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: 'MS Serif'; |
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
| services: | |
| whoami-ts: | |
| image: tailscale/tailscale:latest | |
| environment: | |
| TS_HOSTNAME: "whoami" | |
| TS_SERVE_CONFIG: /config/ts_serve.json | |
| TS_AUTHKEY: ${TS_AUTHKEY} | |
| TS_EXTRA_ARGS: "--advertise-tags=tag:docker" | |
| TS_ENABLE_HEALTH_CHECK: true | |
| TS_LOCAL_ADDR_PORT: 127.0.0.1:41234 |
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
| networks: | |
| default: | |
| lo32: | |
| driver: ipvlan | |
| internal: true | |
| ipam: | |
| config: | |
| - subnet: 192.168.32.32/32 | |
| ip_range: 192.168.32.32/32 |
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
| #!/usr/bin/env bash | |
| set -euxo pipefail | |
| shopt -s nullglob | |
| optdirs=(/opt/*) | |
| if [[ -n "${optdirs[*]}" ]]; then | |
| optfix_dir="/usr/lib/bluebuild-optfix" | |
| mkdir -pv "${optfix_dir}" | |
| echo "Creating symlinks to fix packages that installed to /opt:" | |
| for optdir in "${optdirs[@]}"; do |
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 | |
| # https://medium.com/@svenvanginkel/automating-dependabot-for-docker-compose-13acdff61133 | |
| set -euo pipefail | |
| mkdir -p .github | |
| tmpfile=$(mktemp) | |
| trap 'rm -f "$tmpfile"' EXIT | |
| # Header |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| errHookAlreadyExists="Hook already exists on this repository" | |
| WEBHOOK_SECRET_REFERENCE="${WEBHOOK_SECRET_REFERENCE:-"op://komodo secrets/KOMODO_WEBHOOK_SECRET/credential"}" | |
| WEBHOOK_SECRET="${WEBHOOK_SECRET:-$(op read "${WEBHOOK_SECRET_REFERENCE}")}" | |
| get_gh_repo_name() { | |
| gh repo view --json nameWithOwner | jq '.nameWithOwner' -r |
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 | |
| # Create wrapper script | |
| # | |
| # This script will create a wrapper script, replacing the passed argument (a link) with a wrapper script that applies some flags. | |
| USAGE=" | |
| Usage: ${0} <link> [flags...] | |
| Examples: | |
| - ${0} /usr/bin/firefox --private-window | |
| - ${0} /usr/bin/firefox --private-window --new-tab https://example.com |
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
| variant: fcos | |
| version: 1.4.0 | |
| passwd: | |
| users: | |
| - name: core | |
| ssh_authorized_keys: | |
| - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDx+KV/SW4RGIeKA2FHU9S7bZgnJMy77N6lBeo2n8sJ | |
| - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKvsoJVOLJ3FshnAF5sJTpCxjNu2MAcCsN/hq0/qIBAe | |
| password_hash: $y$j9T$Pb/..... | |
| storage: |
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
| (stack trace truncated; use '--show-trace' to show the full trace) | |
| error: The option `nix.registry.nixpkgs.to.path' has conflicting definition values: | |
| - In `/nix/store/cbbsvzjcqvzlylq9s7p6d2gyxh64q88p-source/nixos/modules/config/nix-flakes.nix': "/nix/store/sssy7p3frs3vrr7ymcp7y016ykl1si7d-source" | |
| - In `/nix/store/cbbsvzjcqvzlylq9s7p6d2gyxh64q88p-source/nixos/modules/misc/nixpkgs-flake.nix': "/nix/store/cbbsvzjcqvzlylq9s7p6d2gyxh64q88p-source" | |
| Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions. |
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 | |
| function shmerge() { git switch -c "$1" &&shift; git commit -am"$*" && gh pr create && echo "waiting 10s to start checks" ; sleep 10s; gh run view --exit-status && gh pr merge -d} |
NewerOlder