alpine version 3.17.4 cloud-init version 22.4
Download alpine-virt-3.17.4-x86_64.iso Uploda to PVE Create a VM
| #!/usr/bin/env bash | |
| if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then | |
| source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=" | |
| fi | |
| use nix |
| { | |
| description = '' | |
| Flake file to setup python/uv environment by supporting .python-version. | |
| ''; | |
| inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
| outputs = { self, nixpkgs }: | |
| let | |
| # Define the systems we want to support |
| /* install libzmq-dev: | |
| * | |
| * wget http://download.zeromq.org/zeromq-4.1.0-rc1.tar.gz | |
| * tar pxvf zeromq-4.1.0-rc1.tar.gz | |
| * cd zeromq-4.1.0 | |
| * ./autogen.sh | |
| * ./configure | |
| * make | |
| * sudo make install | |
| * |
| package data | |
| import ( | |
| "context" | |
| "database/sql" | |
| "time" | |
| ) | |
| // DB is an interface to a sql database. It is a wrapper for the golang sql/db builtin | |
| type DB interface { |
| --- | |
| - name: Install Gostatsd and Carbon Relay NG | |
| hosts: all | |
| become: true | |
| handlers: | |
| - name: Restart Carbon Relay NG | |
| ansible.builtin.systemd: | |
| name: carbon-relay-ng | |
| tasks: | |
| - name: Install dependencies |
| #!/usr/bin/env bash | |
| # | |
| # Author: blockloop | |
| # | |
| # Purpose: browse top hacker news articles from the command line | |
| # | |
| # Requirements: | |
| # jq fzf curl | |
| set -ueo pipefail |
| // ==UserScript== | |
| // @name Grafana Preview Alerts Table | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Grow the size of the Grafana Alerts Preview table so that it is legible. | |
| // @author blockloop | |
| // @match https://*.grafana.net/alerting/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=grafana.net | |
| // @grant none | |
| // ==/UserScript== |
| version: "3" | |
| networks: | |
| default: | |
| driver: bridge | |
| ipam: | |
| config: | |
| - subnet: 172.16.57.0/24 | |
| services: |
| #!/bin/bash | |
| # | |
| # see: https://direnv.net/ | |
| # see: https://github.com/syndbg/goenv | |
| # | |
| # Place this in your go project root as .envrc | |
| GOMOD_VERSION=$(grep 'go 1\.' go.mod | cut -d' ' -f2) | |
| if [[ $GOMOD_VERSION =~ ^1\.[0-9]+$ ]]; then |