diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..09dd66dd --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,87 @@ +name: Publish Hugo Site + +on: + push: + branches: + - main + paths-ignore: + - templates/** + + workflow_run: + workflows: ["Update Projects Page"] + types: + - completed + +jobs: + update_hugo_npm_dependencies: + name: Update Hugo npm Dependencies + runs-on: ubuntu-latest + permissions: + contents: write + outputs: + commit_hash: ${{ steps.commit_changes.outputs.commit_hash }} + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: "18" + + - name: Install Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: "0.111.3" + extended: true + + - name: Write composite package.json + run: hugo mod npm pack + + - name: Install npm Packages + run: npm install + + - name: Display Changes + run: git status + + - name: Commit Changes + id: commit_changes + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Update Hugo npm Dependencies + + publish: + name: Publish Hugo Site + needs: update_hugo_npm_dependencies + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ needs.update_hugo_npm_dependencies.outputs.commit_hash }} + + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: "18" + + - name: Install Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: "0.111.3" + extended: true + + - name: Install npm Packages + run: npm ci + + - name: Build Hugo + run: hugo --minify + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..cbbc36bc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-video"] + path = themes/hugo-video + url = https://github.com/martignoni/hugo-video.git diff --git a/config.yaml b/config.yaml index c7ac718b..41381924 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,9 @@ -baseurl: "https://davegallant.ca" -languageCode: en-us +baseURL: / googleAnalytics: G-V8WJDERTX9 copyright: Dave Gallant +enableGitInfo: true +enableRobotsTXT: true +noJSConfigInAssets: true params: author: Dave Gallant @@ -20,6 +22,27 @@ params: username: davegallant repository: davegallant.github.io + prism: + languages: + - markup + - css + - clike + - javascript + - bash + - csharp + - hcl + - ignore + - json + - markdown + - powershell + - toml + - yaml + plugins: + - normalize-whitespace + - toolbar + - copy-to-clipboard + - command-line + menu: main: - name: RSS @@ -29,6 +52,11 @@ menu: permalinks: post: "/blog/:year/:month/:day/:slug/" +markup: + goldmark: + renderer: + unsafe: true + module: imports: - path: github.com/davegallant/hugo-theme-gruvbox diff --git a/content/about.md b/content/about.md new file mode 100644 index 00000000..ebc034f4 --- /dev/null +++ b/content/about.md @@ -0,0 +1,10 @@ +--- +title: About +weight: -210 +disable_comments: true +hide_date: true +--- + +I'm a software tinkerer with a passion for infrastructure, tooling, security, and coffee. + +Feel free to reach out at [me@davegallant.ca](mailto:me@davegallant.ca). diff --git a/content/post/replacing-docker-with-podman-on-macos/index.md b/content/post/replacing-docker-with-podman-on-macos/index.md index da36721e..4a280689 100644 --- a/content/post/replacing-docker-with-podman-on-macos/index.md +++ b/content/post/replacing-docker-with-podman-on-macos/index.md @@ -11,7 +11,7 @@ There are a number of reasons why you might want to replace docker, especially o -{{< tweet 1388586550682861568 >}} +{{< tweet user="moyix" id="1388586550682861568" >}} Docker has been one of the larger influencers in the container world, helping to standardize the [OCI Image Format Specification](https://github.com/opencontainers/image-spec/blob/main/spec.md). For many developers, containers have become synonymous with terms like `docker` and `Dockerfile` (a file containing build instructions for a container image). Docker has certainly made it very convenient to build and run containers, but it is not the only solution for doing so. diff --git a/go.mod b/go.mod index ebccffcd..1a3450d0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module davegallant.github.io -go 1.21.5 +go 1.23 require ( github.com/davegallant/hugo-theme-gruvbox v0.0.0-20240102030224-3e3d39381e83 // indirect diff --git a/package-lock.json b/package-lock.json index e90cac60..aa7bb4c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,35 +8,35 @@ "name": "davegallant.github.io", "version": "0.1.0", "dependencies": { - "@tabler/icons": "^2.44.0", + "@tabler/icons": "^2.39.0", "flexsearch": "^0.7.31", "normalize.css": "^8.0.1", "prism-themes": "^1.9.0", "prismjs": "^1.29.0", - "simple-icons": "^10.4.0", + "simple-icons": "^9.19.0", "typeface-fira-code": "^1.1.13", "typeface-roboto-slab": "^1.1.13" }, "devDependencies": { "@fullhuman/postcss-purgecss": "^5.0.0", - "cssnano": "^6.0.2", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.1", + "cssnano": "^6.0.1", + "eslint": "^8.52.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.1", "husky": "^8.0.3", - "lint-staged": "^15.2.0", - "markdownlint-cli": "^0.38.0", - "postcss": "^8.4.32", - "postcss-cli": "^11.0.0", + "lint-staged": "^15.0.2", + "markdownlint-cli": "^0.37.0", + "postcss": "^8.4.31", + "postcss-cli": "^10.1.0", "postcss-custom-media": "^10.0.2", "postcss-import": "^15.1.0", - "postcss-nesting": "^12.0.2", - "postcss-preset-env": "^9.3.0", + "postcss-nesting": "^12.0.1", + "postcss-preset-env": "^9.2.0", "postcss-url": "^10.1.3", - "prettier": "^3.1.1", + "prettier": "^3.0.3", "prettier-plugin-go-template": "^0.0.15", - "stylelint": "^16.0.2", - "stylelint-prettier": "^5.0.0" + "stylelint": "^15.11.0", + "stylelint-prettier": "^4.0.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1377,18 +1377,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@sindresorhus/merge-streams": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz", - "integrity": "sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@tabler/icons": { "version": "2.45.0", "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.45.0.tgz", @@ -1407,6 +1395,18 @@ "node": ">=10.13.0" } }, + "node_modules/@types/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==", + "dev": true + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", @@ -1529,6 +1529,15 @@ "node": ">=8" } }, + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -1659,6 +1668,48 @@ "node": ">=6" } }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", + "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "dev": true, + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/caniuse-api": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", @@ -1883,15 +1934,15 @@ "dev": true }, "node_modules/cosmiconfig": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", - "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", "dev": true, "dependencies": { - "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" + "parse-json": "^5.2.0", + "path-type": "^4.0.0" }, "engines": { "node": ">=14" @@ -2217,6 +2268,52 @@ } } }, + "node_modules/decamelize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", + "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dev": true, + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", @@ -2253,15 +2350,6 @@ "node": ">=8" } }, - "node_modules/dir-glob/node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -2371,15 +2459,6 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -2993,20 +3072,31 @@ } }, "node_modules/globby": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz", - "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==", + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", + "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", "dev": true, "dependencies": { - "@sindresorhus/merge-streams": "^1.0.0", - "fast-glob": "^3.3.2", + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", "ignore": "^5.2.4", - "path-type": "^5.0.0", - "slash": "^5.1.0", - "unicorn-magic": "^0.1.0" + "merge2": "^1.4.1", + "slash": "^4.0.0" }, "engines": { - "node": ">=18" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -3030,6 +3120,15 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -3051,6 +3150,30 @@ "node": ">= 0.4" } }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/html-tags": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", @@ -3112,6 +3235,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -3121,6 +3253,18 @@ "node": ">=0.8.19" } }, + "node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -3227,6 +3371,15 @@ "node": ">=8" } }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-plain-object": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", @@ -3601,10 +3754,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/markdown-it": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.2.tgz", - "integrity": "sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz", + "integrity": "sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==", "dev": true, "dependencies": { "argparse": "^2.0.1", @@ -3618,34 +3783,31 @@ } }, "node_modules/markdownlint": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.32.1.tgz", - "integrity": "sha512-3sx9xpi4xlHlokGyHO9k0g3gJbNY4DI6oNEeEYq5gQ4W7UkiJ90VDAnuDl2U+yyXOUa6BX+0gf69ZlTUGIBp6A==", + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.31.1.tgz", + "integrity": "sha512-CKMR2hgcIBrYlIUccDCOvi966PZ0kJExDrUi1R+oF9PvqQmCrTqjOsgIvf2403OmJ+CWomuzDoylr6KbuMyvHA==", "dev": true, "dependencies": { - "markdown-it": "13.0.2", + "markdown-it": "13.0.1", "markdownlint-micromark": "0.1.7" }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/DavidAnson" + "node": ">=16" } }, "node_modules/markdownlint-cli": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.38.0.tgz", - "integrity": "sha512-qkZRKJ4LVq6CJIkRIuJsEHvhWhm+FP0E7yhHvOMrrgdykgFWNYD4wuhZTjvigbJLTKPooP79yPiUDDZBCBI5JA==", + "version": "0.37.0", + "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.37.0.tgz", + "integrity": "sha512-hNKAc0bWBBuVhJbSWbUhRzavstiB4o1jh3JeSpwC4/dt6eJ54lRfYHRxVdzVp4qGWBKbeE6Pg490PFEfrKjqSg==", "dev": true, "dependencies": { - "commander": "~11.1.0", + "commander": "~11.0.0", "get-stdin": "~9.0.0", - "glob": "~10.3.10", - "ignore": "~5.3.0", + "glob": "~10.3.4", + "ignore": "~5.2.4", "js-yaml": "^4.1.0", "jsonc-parser": "~3.2.0", - "markdownlint": "~0.32.1", + "markdownlint": "~0.31.1", "minimatch": "~9.0.3", "run-con": "~1.3.2" }, @@ -3653,7 +3815,7 @@ "markdownlint": "markdownlint.js" }, "engines": { - "node": ">=18" + "node": ">=16" } }, "node_modules/markdownlint-cli/node_modules/brace-expansion": { @@ -3665,6 +3827,24 @@ "balanced-match": "^1.0.0" } }, + "node_modules/markdownlint-cli/node_modules/commander": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", + "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/markdownlint-cli/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, "node_modules/markdownlint-cli/node_modules/minimatch": { "version": "9.0.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", @@ -3712,17 +3892,52 @@ "dev": true }, "node_modules/meow": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-13.0.0.tgz", - "integrity": "sha512-4Hu+75Vo7EOR+8C9RmkabfLijuwd9SrzQ8f0SyC4qZZwU6BlxeOt5ulF3PGCpcMJX4hI+ktpJhea0P6PN1RiWw==", + "version": "10.1.5", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", + "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", "dev": true, + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, "engines": { - "node": ">=18" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/meow/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -3775,6 +3990,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -3796,6 +4020,20 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/minipass": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", @@ -3841,6 +4079,48 @@ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, + "node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -4054,15 +4334,12 @@ } }, "node_modules/path-type": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/picocolors": { @@ -4183,18 +4460,18 @@ } }, "node_modules/postcss-cli": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-11.0.0.tgz", - "integrity": "sha512-xMITAI7M0u1yolVcXJ9XTZiO9aO49mcoKQy6pCDFdMh9kGqhzLVpWxeD/32M/QBmkhcGypZFFOLNLmIW4Pg4RA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-10.1.0.tgz", + "integrity": "sha512-Zu7PLORkE9YwNdvOeOVKPmWghprOtjFQU3srMUGbdz3pHJiFh7yZ4geiZFMkjMfB0mtTFR3h8RemR62rPkbOPA==", "dev": true, "dependencies": { "chokidar": "^3.3.0", "dependency-graph": "^0.11.0", "fs-extra": "^11.0.0", "get-stdin": "^9.0.0", - "globby": "^14.0.0", + "globby": "^13.0.0", "picocolors": "^1.0.0", - "postcss-load-config": "^5.0.0", + "postcss-load-config": "^4.0.0", "postcss-reporter": "^7.0.0", "pretty-hrtime": "^1.0.3", "read-cache": "^1.0.0", @@ -4205,7 +4482,7 @@ "postcss": "index.js" }, "engines": { - "node": ">=18" + "node": ">=14" }, "peerDependencies": { "postcss": "^8.0.0" @@ -4658,9 +4935,9 @@ } }, "node_modules/postcss-load-config": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-5.0.2.tgz", - "integrity": "sha512-Q8QR3FYbqOKa0bnC1UQ2bFq9/ulHX5Bi34muzitMr8aDtUelO5xKeJEYC/5smE0jNE9zdB/NBnOwXKexELbRlw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", "dev": true, "funding": [ { @@ -4677,17 +4954,17 @@ "yaml": "^2.3.4" }, "engines": { - "node": ">= 18" + "node": ">= 14" }, "peerDependencies": { - "jiti": ">=1.21.0", - "postcss": ">=8.0.9" + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" }, "peerDependenciesMeta": { - "jiti": { + "postcss": { "optional": true }, - "postcss": { + "ts-node": { "optional": true } } @@ -5247,29 +5524,19 @@ "dev": true }, "node_modules/postcss-safe-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.0.tgz", - "integrity": "sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", + "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "engines": { - "node": ">=18.0" + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" }, "peerDependencies": { - "postcss": "^8.4.31" + "postcss": "^8.3.3" } }, "node_modules/postcss-selector-not": { @@ -5537,6 +5804,18 @@ } ] }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -5546,6 +5825,65 @@ "pify": "^2.3.0" } }, + "node_modules/read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -5558,6 +5896,22 @@ "node": ">=8.10.0" } }, + "node_modules/redent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", + "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "dev": true, + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -5780,9 +6134,9 @@ } }, "node_modules/simple-icons": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-10.4.0.tgz", - "integrity": "sha512-XBoU1ljCsWjw59IVkaQ1nKc0PiaDAAKNFVx59ueC0tBy4WY/I4Q040sGj6ok2cZRLT8zBzL1HaTubi8MRqmojQ==", + "version": "9.21.0", + "resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-9.21.0.tgz", + "integrity": "sha512-yxjs49nKwff5ozRwPCBVcGG4Ehlg5YiR1g4EJ83zmqc0hYhYb6UQJqiy2WOga2OJ1/qVHaej7q762hYZX/mavA==", "engines": { "node": ">=0.12.18" }, @@ -5840,6 +6194,38 @@ "node": ">=0.10.0" } }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", + "dev": true + }, "node_modules/string-argv": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", @@ -5960,6 +6346,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/strip-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", + "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -5972,6 +6373,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==", + "dev": true + }, "node_modules/stylehacks": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-6.0.1.tgz", @@ -5989,45 +6396,47 @@ } }, "node_modules/stylelint": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.1.0.tgz", - "integrity": "sha512-Sh1rRV0lN1qxz/QsuuooLWsIZ/ona7NKw/fRZd6y6PyXYdD2W0EAzJ8yJcwSx4Iw/muz0CF09VZ+z4EiTAcKmg==", + "version": "15.11.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz", + "integrity": "sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==", "dev": true, "dependencies": { - "@csstools/css-parser-algorithms": "^2.4.0", - "@csstools/css-tokenizer": "^2.2.2", - "@csstools/media-query-list-parser": "^2.1.6", - "@csstools/selector-specificity": "^3.0.1", + "@csstools/css-parser-algorithms": "^2.3.1", + "@csstools/css-tokenizer": "^2.2.0", + "@csstools/media-query-list-parser": "^2.1.4", + "@csstools/selector-specificity": "^3.0.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^9.0.0", + "cosmiconfig": "^8.2.0", "css-functions-list": "^3.2.1", "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.3.2", + "fast-glob": "^3.3.1", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "^7.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^5.3.0", + "ignore": "^5.2.4", + "import-lazy": "^4.0.0", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", "known-css-properties": "^0.29.0", "mathml-tag-names": "^2.1.3", - "meow": "^13.0.0", + "meow": "^10.1.5", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.32", + "postcss": "^8.4.28", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-safe-parser": "^7.0.0", + "postcss-safe-parser": "^6.0.0", "postcss-selector-parser": "^6.0.13", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "strip-ansi": "^7.1.0", + "strip-ansi": "^6.0.1", + "style-search": "^0.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", "table": "^6.8.1", @@ -6037,7 +6446,7 @@ "stylelint": "bin/stylelint.mjs" }, "engines": { - "node": ">=18.12.0" + "node": "^14.13.1 || >=16.0.0" }, "funding": { "type": "opencollective", @@ -6045,19 +6454,19 @@ } }, "node_modules/stylelint-prettier": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.0.tgz", - "integrity": "sha512-RHfSlRJIsaVg5Br94gZVdWlz/rBTyQzZflNE6dXvSxt/GthWMY3gEHsWZEBaVGg7GM+XrtVSp4RznFlB7i0oyw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-4.1.0.tgz", + "integrity": "sha512-dd653q/d1IfvsSQshz1uAMe+XDm6hfM/7XiFH0htYY8Lse/s5ERTg7SURQehZPwVvm/rs7AsFhda9EQ2E9TS0g==", "dev": true, "dependencies": { "prettier-linter-helpers": "^1.0.0" }, "engines": { - "node": ">=18.12.0" + "node": "^14.17.0 || >=16.0.0" }, "peerDependencies": { "prettier": ">=3.0.0", - "stylelint": ">=16.0.0" + "stylelint": ">=15.8.0" } }, "node_modules/stylelint/node_modules/balanced-match": { @@ -6073,29 +6482,15 @@ "dev": true }, "node_modules/stylelint/node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-7.0.2.tgz", + "integrity": "sha512-TfW7/1iI4Cy7Y8L6iqNdZQVvdXn0f8B4QcIXmkIbtTIe/Okm/nSlHb4IwGzRVOd3WfSieCgvf5cMzEfySAIl0g==", "dev": true, "dependencies": { - "flat-cache": "^4.0.0" + "flat-cache": "^3.2.0" }, "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/stylelint/node_modules/flat-cache": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.0.tgz", - "integrity": "sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==", - "dev": true, - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">=16" + "node": ">=12.0.0" } }, "node_modules/stylelint/node_modules/globby": { @@ -6136,24 +6531,6 @@ "node": ">=8" } }, - "node_modules/stylelint/node_modules/rimraf": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", - "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", - "dev": true, - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/stylelint/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -6189,33 +6566,6 @@ "node": ">=8" } }, - "node_modules/stylelint/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/stylelint/node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -6417,6 +6767,18 @@ "node": ">=8.0" } }, + "node_modules/trim-newlines": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", + "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -6472,18 +6834,6 @@ "ulid": "bin/cli.js" } }, - "node_modules/unicorn-magic": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", @@ -6538,6 +6888,16 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6693,6 +7053,12 @@ "node": ">=10" } }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/yaml": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", diff --git a/package.json b/package.json index 88ba5585..b590d749 100644 --- a/package.json +++ b/package.json @@ -33,36 +33,43 @@ } }, "dependencies": { - "@tabler/icons": "^2.44.0", + "@tabler/icons": "^2.39.0", "flexsearch": "^0.7.31", "normalize.css": "^8.0.1", "prism-themes": "^1.9.0", "prismjs": "^1.29.0", - "simple-icons": "^10.4.0", + "simple-icons": "^9.19.0", "typeface-fira-code": "^1.1.13", "typeface-roboto-slab": "^1.1.13" }, "devDependencies": { "@fullhuman/postcss-purgecss": "^5.0.0", - "cssnano": "^6.0.2", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.1", + "cssnano": "^6.0.1", + "eslint": "^8.52.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.1", "husky": "^8.0.3", - "lint-staged": "^15.2.0", - "markdownlint-cli": "^0.38.0", - "postcss": "^8.4.32", - "postcss-cli": "^11.0.0", + "lint-staged": "^15.0.2", + "markdownlint-cli": "^0.37.0", + "postcss": "^8.4.31", + "postcss-cli": "^10.1.0", "postcss-custom-media": "^10.0.2", "postcss-import": "^15.1.0", - "postcss-nesting": "^12.0.2", - "postcss-preset-env": "^9.3.0", + "postcss-nesting": "^12.0.1", + "postcss-preset-env": "^9.2.0", "postcss-url": "^10.1.3", - "prettier": "^3.1.1", + "prettier": "^3.0.3", "prettier-plugin-go-template": "^0.0.15", - "stylelint": "^16.0.2", - "stylelint-prettier": "^5.0.0" + "stylelint": "^15.11.0", + "stylelint-prettier": "^4.0.2" }, "name": "davegallant.github.io", - "version": "0.1.0" + "version": "0.1.0", + "scripts": { + "lint": "npm run lint:css && npm run lint:js && npm run lint:md", + "lint:css": "stylelint --fix **/*.css", + "lint:js": "eslint --fix --ext js .", + "lint:md": "markdownlint --fix **/*.md", + "prepare": "husky install" + } } diff --git a/public/404.html b/public/404.html deleted file mode 100644 index c81c3145..00000000 --- a/public/404.html +++ /dev/null @@ -1,10 +0,0 @@ -404 Page not found -
-

404 Page not found

This is not the page you're looking for.

\ No newline at end of file diff --git a/public/CNAME b/public/CNAME deleted file mode 100644 index 55868b24..00000000 --- a/public/CNAME +++ /dev/null @@ -1 +0,0 @@ -davegallant.ca diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png deleted file mode 100644 index f6256164..00000000 Binary files a/public/android-chrome-192x192.png and /dev/null differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png deleted file mode 100644 index e6f588e2..00000000 Binary files a/public/android-chrome-512x512.png and /dev/null differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png deleted file mode 100644 index 3faefa82..00000000 Binary files a/public/apple-touch-icon.png and /dev/null differ diff --git a/public/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html b/public/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html deleted file mode 100644 index a755d007..00000000 --- a/public/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html +++ /dev/null @@ -1,68 +0,0 @@ -AppGate SDP on Arch Linux -
-

AppGate SDP on Arch Linux

AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP 4.3.2 working on Arch Linux.

Depending on the AppGate SDP Server that is running, you may require a client that is more recent than the latest package on AUR. -As of right now, the latest AUR is 4.2.2-1.

These steps highlight how to get it working with Python3.8 by making a 1 line modification to AppGate source code.

Packaging

We already know the community package is currently out of date, so let’s clone it:

git clone https://aur.archlinux.org/appgate-sdp.git
-cd appgate-sdp
-

You’ll likely notice that the version is not what we want, so let’s modify the PKGBUILD to the following:

# Maintainer: Pawel Mosakowski <pawel at mosakowski dot net>
-pkgname=appgate-sdp
-conflicts=('appgate-sdp-headless')
-pkgver=4.3.2
-_download_pkgver=4.3
-pkgrel=1
-epoch=
-pkgdesc="Software Defined Perimeter - GUI client"
-arch=('x86_64')
-url="https://www.cyxtera.com/essential-defense/appgate-sdp/support"
-license=('custom')
-# dependecies calculated by namcap
-depends=('gconf' 'libsecret' 'gtk3' 'python' 'nss' 'libxss' 'nodejs' 'dnsmasq')
-source=("https://sdpdownloads.cyxtera.com/AppGate-SDP-${_download_pkgver}/clients/${pkgname}_${pkgver}_amd64.deb"
-        "appgatedriver.service")
-options=(staticlibs)
-prepare() {
-    tar -xf data.tar.xz
-}
-package() {
-    cp -dpr "${srcdir}"/{etc,lib,opt,usr} "${pkgdir}"
-    mv -v "$pkgdir/lib/systemd/system" "$pkgdir/usr/lib/systemd/"
-    rm -vrf "$pkgdir/lib"
-    cp -v "$srcdir/appgatedriver.service" "$pkgdir/usr/lib/systemd/system/appgatedriver.service"
-    mkdir -vp "$pkgdir/usr/share/licenses/appgate-sdp"
-    cp -v "$pkgdir/usr/share/doc/appgate/copyright" "$pkgdir/usr/share/licenses/appgate-sdp"
-    cp -v "$pkgdir/usr/share/doc/appgate/LICENSE.github" "$pkgdir/usr/share/licenses/appgate-sdp"
-    cp -v "$pkgdir/usr/share/doc/appgate/LICENSES.chromium.html.bz2" "$pkgdir/usr/share/licenses/appgate-sdp"
-}
-md5sums=('17101aac7623c06d5fbb95f50cf3dbdc'
-         '002644116e20b2d79fdb36b7677ab4cf')
-

Let’s first make sure we have some dependencies. If you do not have yay, check it out.

yay -S dnsmasq gconf
-

Now, let’s install it:

makepkg -si
-

Running the client

Ok, let’s run the client by executing appgate.

It complains about not being able to connect.

Easy fix:

sudo systemctl start appgatedriver.service
-

Now we should be connected… but DNS is not working?

Fixing the DNS

Running resolvectl should display that something is not right.

Why is the DNS not being set by appgate?

$ head -3 /opt/appgate/linux/set_dns
-#!/usr/bin/env python3
-'''
-This is used to set and unset the DNS.
-

It seems like python3 is required for the DNS setting to happen. -Let’s try to run it.

$ sudo /opt/appgate/linux/set_dns
-/opt/appgate/linux/set_dns:88: SyntaxWarning: "is" with a literal. Did you mean "=="?
-  servers = [( socket.AF_INET if x.version is 4 else socket.AF_INET6, map(int, x.packed)) for x in servers]
-Traceback (most recent call last):
-  File "/opt/appgate/linux/set_dns", line 30, in <module>
-    import dbus
-ModuleNotFoundError: No module named 'dbus'
-

Ok, let’s install it:

$ sudo python3.8 -m pip install dbus-python
-

Will it work now? Not yet. There’s another issue:

$ sudo /opt/appgate/linux/set_dns
-/opt/appgate/linux/set_dns:88: SyntaxWarning: "is" with a literal. Did you mean "=="?
-  servers = [( socket.AF_INET if x.version is 4 else socket.AF_INET6, map(int, x.packed)) for x in servers]
-module 'platform' has no attribute 'linux_distribution'
-

This is a breaking change in Python3.8.

So what is calling platform.linux_distribution?

Let’s search for it:

$ sudo grep -r 'linux_distribution' /opt/appgate/linux/
-/opt/appgate/linux/nm.py:    if platform.linux_distribution()[0] != 'Fedora':
-

Aha! So this is in the local AppGate source code. This should be an easy fix. Let’s just replace this line with:

if True: # Since we are not using Fedora :)
-

Wrapping up

It turns out there are breaking changes in Python3.8.

The docs say Deprecated since version 3.5, will be removed in version 3.8: See alternative like the distro package.

I suppose this highlights one of the caveats of relying upon the system’s python, rather than having an isolated, dedicated environment for all dependencies.

\ No newline at end of file diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/index.html b/public/blog/2021/09/06/what-to-do-with-a-homelab/index.html deleted file mode 100644 index 64b902fe..00000000 --- a/public/blog/2021/09/06/what-to-do-with-a-homelab/index.html +++ /dev/null @@ -1,15 +0,0 @@ -What to do with a homelab -
-

What to do with a homelab

A homelab can be an inexpensive way to host a multitude of internal/external services and learn a lot in the process.

Do you want host your own Media server? Ad blocker? Web server? -Are you interested in learning more about Linux? Virtualization? Networking? Security? -Building a homelab can be an entertaining playground to enhance your computer skills.

One of the best parts about building a homelab is that it doesn’t have to be a large investment in terms of hardware. One of the simplest ways to build a homelab is out of a refurbished computer. -Having multiple machines/nodes provides the advantage of increased redundancy, but starting out with a single node is enough to reap many of the benefits of having a homelab.

Virtualization

Virtualizing your hardware is an organized way of dividing up your machine’s resources. This can be done with something such as a Virtual Machine or something lighter like a container using LXC or runC. -Containers have much less overhead in terms of boot time and storage allocation. This Stack Overflow answer sums it up nicely.

image

A hypervisor such as Proxmox can be installed in minutes on a new machine. It provides a web interface and a straight-forward way to spin up new VMs and containers. Even if your plan is to run mostly docker containers, Proxmox can be a useful abstraction for managing VMs, disks and running scheduled backups. You can even run docker within an LXC container by enabling nested virtualization. You’ll want to ensure that VT-d and VT-x are enabled in the BIOS if you decide to install a hypervisor to manage your virtualization.

Services

So what are some useful services to deploy?

  • Jellyfin or Plex - basically a self-hosted Netflix that can be used to stream from multiple devices, and the best part is that you manage the content! Unlike Plex, Jellyfin is open source and can be found here.
  • changedetection - is a self-hosted equivalent to something like visualping.io that will notify you when a webpage changes and keep track of the diffs
  • Adguard or Pihole - can block a list of known trackers for all clients on your local network. I’ve used pihole for a long time, but have recently switched to Adguard since the UI is more modern and it has the ability to toggle on/off a pre-defined list of services, including Netflix (this is useful if you have stealthy young kids). Either of these will speed up your internet experience, simply because you won’t need to download all of the extra tracking bloat.
  • Gitea - A lightweight git server. I use this to mirror git repos from GitHub, GitLab, etc.
  • Homer - A customizable landing page for services you need to access (including the ability to quickly search).
  • Uptime Kuma - A fancy tool for monitoring the uptime of services.

There is a large number of services you can self-host, including your own applications that you might be developing. awesome-self-hosted provides a curated list of services that might be of interest to you.

VPN

You could certainly setup and manage your own VPN by using something like OpenVPN, but there is also something else you can try: tailscale. It is a very quick way to create fully-encrypted connections between clients. With its MagicDNS, your can reference the names of machines like homer rather than using an IP address. By using this mesh-like VPN, you can easily create a secure tunnel to your homelab from anywhere.

Monitoring

dashboard

Monitoring can become an important aspect of your homelab after it starts to become something that is relied upon. One of the simplest ways to setup some monitoring is using netdata. It can be installed on individual containers, VMs, and also a hypervisor (such as Proxmox). All of the monitoring works out of the box by detecting disks, memory, network interfaces, etc.

Additionally, agents installed on different machines can all be centrally viewed in netdata, and it can alert you when some of your infrastructure is down or in a degraded state. Adding additional nodes to netdata is as simple as a 1-line shell command.

As mentioned above, Uptime Kuma is a convenient way to track uptime and monitor the availability of your services.

uptime-kuma

In Summary

Building out a homelab can be a rewarding experience and it doesn’t require buying a rack full of expensive servers to get a significant amount of utility. There are many services that you can run that require very minimal setup, making it possible to get a server up and running in a short period of time, with monitoring, and that can be securely connected to remotely.

\ No newline at end of file diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata.png deleted file mode 100644 index e443c593..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_box_3.png deleted file mode 100644 index c4bd8e24..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 6cb24f63..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_box_3.png deleted file mode 100644 index d64e5545..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 84d6a1a2..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_box_3.png deleted file mode 100644 index 331ad27f..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 35c55c76..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/netdata_hu78bc2e52079d7a1d3cf726e171d4b7dc_70867_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox.png deleted file mode 100644 index f371c6d2..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_box_3.png deleted file mode 100644 index 789280b7..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 3c2deefe..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_box_3.png deleted file mode 100644 index 735594a3..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 221bcc64..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_box_3.png deleted file mode 100644 index 4e6011ee..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index b524a6ae..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/proxmox_hu301314f34acbd231910aa3e526d496c0_160705_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma.png deleted file mode 100644 index f6009f7b..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_box_3.png deleted file mode 100644 index 856fda81..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 367b2845..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_box_3.png deleted file mode 100644 index bdf1fdf9..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index b6fc8f43..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_box_3.png b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_box_3.png deleted file mode 100644 index 6ce19142..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_q75_h2_box_3.webp b/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index a0f8a0c9..00000000 Binary files a/public/blog/2021/09/06/what-to-do-with-a-homelab/uptime-kuma_hue98ab284e327523b28029e370b7b9d34_120263_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2021/09/08/why-i-threw-out-my-dotfiles/index.html b/public/blog/2021/09/08/why-i-threw-out-my-dotfiles/index.html deleted file mode 100644 index af0a7857..00000000 --- a/public/blog/2021/09/08/why-i-threw-out-my-dotfiles/index.html +++ /dev/null @@ -1,119 +0,0 @@ -Why I threw out my dotfiles -
-

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

What is home-manager?

Before understanding home-manager, it is worth briefly discussing what nix is. nix is a package manager that originally spawned from a PhD thesis. Unlike other package managers, it uses symbolic links to keep track of the currently installed packages, keeping around the old ones in case you may want to rollback.

For example, I have used nix to install the package bind which includes dig. You can see that it is available on multiple platforms. The absolute path of dig can be found by running:

$ ls -lh $(which dig)
-lrwxr-xr-x 73 root 31 Dec  1969 /run/current-system/sw/bin/dig -> /nix/store/0r4qdyprljd3dki57jn6c6a8dh2rbg9g-bind-9.16.16-dnsutils/bin/dig
-

Notice that there is a hash included in the file path? This is a nix store path and is computed by the nix package manager. This nix pill does a good job explaining how this hash is computed. All of the nix pills are worth a read, if you are interested in learning more about nix itself. However, using home-manager does not require extensive knowledge of nix.

Part of the nix ecosystem includes nixpkgs. Many popular tools can be found already packaged in this repository. As you can see with these stats, there is a large number of existing packages that are being maintained by the community. Contributing a new package is easy, and anyone can do it!

home-manager leverages the nix package manager (and nixpkgs), as well the nix language so that you can declaratively define your system configuration. I store my nix-config in git so that I can keep track of my packages and configurations, and retain a clean and informative git commit history so that I can understand what changed and why.

Setting up home-manager

⚠️ If you run this on your main machine, make sure you backup your configuration files first. home-manager is pretty good about not overwriting existing configuration, but it is better to have a backup! Alternatively, you could test this out on a VM or cloud instance.

The first thing you should do is install nix:

curl -L https://nixos.org/nix/install | sh
-

It’s generally not a good idea to curl and execute files from the internet (without verifying integrity), so you might want to download the install script first and take a look before executing it!

Open up a new shell in your terminal and running nix should work. If not, run . ~/.nix-profile/etc/profile.d/nix.sh

Now, install home-manager:

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
-nix-channel --update
-nix-shell '<home-manager>' -A install
-

You should see a wave of /nix/store/* paths being displayed on your screen.

Now, to start off with a basic configuration, open up ~/.config/nixpkgs/home.nix in the editor of your choice and paste this in (you will want to change userName and homeDirectory):

{ config, pkgs, ... }:
-
-{
-  programs.home-manager.enable = true;
-
-  home = {
-    username = "dave";
-    homeDirectory = "/home/dave";
-    stateVersion = "21.11";
-    packages = with pkgs; [
-      bind
-      exa
-      fd
-      ripgrep
-    ];
-  };
-
-  programs = {
-
-    git = {
-      enable = true;
-      aliases = {
-        aa = "add -A .";
-        br = "branch";
-        c = "commit -S";
-        ca = "commit -S --amend";
-        cb = "checkout -b";
-        co = "checkout";
-        d = "diff";
-        l =
-          "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
-      };
-
-      delta = {
-        enable = true;
-
-        options = {
-          features = "line-numbers decorations";
-          whitespace-error-style = "22 reverse";
-          plus-style = "green bold ul '#198214'";
-          decorations = {
-            commit-decoration-style = "bold yellow box ul";
-            file-style = "bold yellow ul";
-            file-decoration-style = "none";
-          };
-        };
-      };
-
-      extraConfig = {
-        push = { default = "current"; };
-        pull = { rebase = true; };
-      };
-
-    };
-
-    starship = {
-      enable = true;
-      enableZshIntegration = true;
-
-      settings = {
-        add_newline = false;
-        scan_timeout = 10;
-      };
-    };
-
-    zsh = {
-      enable = true;
-      enableAutosuggestions = true;
-      enableSyntaxHighlighting = true;
-      history.size = 1000000;
-
-      localVariables = {
-        CASE_SENSITIVE = "true";
-        DISABLE_UNTRACKED_FILES_DIRTY = "true";
-        RPROMPT = ""; # override because macOS defaults to filepath
-        ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#838383,underline";
-        ZSH_DISABLE_COMPFIX = "true";
-      };
-
-      initExtra = ''
-        export PAGER=less
-      '';
-
-      shellAliases = {
-        ".." = "cd ..";
-        grep = "rg --smart-case";
-        ls = "exa -la --git";
-      };
-
-      "oh-my-zsh" = {
-        enable = true;
-        plugins = [
-          "gitfast"
-          "last-working-dir"
-        ];
-      };
-
-    };
-
-  };
-}
-

Save the file and run:

home-manager switch
-

You should see another wave of /nix/store/* paths. The new configuration should now be active.

If you run zsh, you should see that you have starship and access to several other utils such as rg, fd, and exa.

This basic configuration above is also defining your ~/.config/git/config and .zshrc. If you already have either of these files, home-manager will complain about them already existing.

If you run cat ~/.zshrc, you will see the way these configuration files are generated.

You can extend this configuration for programs such as (neo)vim, emacs, alacritty, ssh, etc. To see other programs, take a look at home-manager/modules/programs.

Gateway To Nix

In ways, home-manager can be seen as a gateway to the nix ecosystem. If you have enjoyed the way you can declare user configuration with home-manager, you may be interested in expanding your configuration to include other system dependencies and configuration. For example, in Linux you can define your entire system’s configuration (including the kernel, kernel modules, networking, filesystems, etc) in nix. For macOS, there is nix-darwin that includes nix modules for configuring launchd, dock, and other preferences and services. You may also want to check out Nix Flakes: a more recent feature that allows you declare dependencies, and have them automatically pinned and hashed in flake.lock, similar to that of many modern package managers.

Wrapping up

The title of this post is slightly misleading, since it’s possible to retain some of your dotfiles and have them intermingle with home-manager by including them alongside nix. The idea of defining user configuration using nix can provide a clean way to maintain your configuration, and allow it to be portable across platforms. Is it worth the effort to migrate away from shell scripts and dotfiles? I’d say so.

\ No newline at end of file diff --git a/public/blog/2021/09/17/automatically-rotating-aws-access-keys/index.html b/public/blog/2021/09/17/automatically-rotating-aws-access-keys/index.html deleted file mode 100644 index 40d493df..00000000 --- a/public/blog/2021/09/17/automatically-rotating-aws-access-keys/index.html +++ /dev/null @@ -1,14 +0,0 @@ -Automatically rotating AWS access keys -
-

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background.

In the longer term, migrating my local workflows to aws-vault seems like a more secure solution. This would mean that credentials (even temporary session credentials) never have to be written in plaintext to disk (i.e. where AWS suggests). Any existing applications, such as terraform, could be have their credentials passed to them from aws-vault, which retrieves them from the OS’s secure keystore. There is even a rotate command included.

\ No newline at end of file diff --git a/public/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/index.html b/public/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/index.html deleted file mode 100644 index 226a1d11..00000000 --- a/public/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/index.html +++ /dev/null @@ -1,52 +0,0 @@ -Replacing docker with podman on macOS (and Linux) -
-

Replacing docker with podman on macOS (and Linux)

There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:

Docker has been one of the larger influencers in the container world, helping to standardize the OCI Image Format Specification. For many developers, containers have become synonymous with terms like docker and Dockerfile (a file containing build instructions for a container image). Docker has certainly made it very convenient to build and run containers, but it is not the only solution for doing so.

This post briefly describes my experience swapping out docker for podman on macOS.

What is a container?

A container is a standard unit of software that packages up all application dependencies within it. Multiple containers can be run on a host machine all sharing the same kernel as the host. Linux namespaces help provide an isolated view of the system, including mnt, pid, net, ipc, uid, cgroup, and time. There is an in-depth video that discusses what containers are made from, and near the end there is a demonstration on how to build your own containers from the command line.

By easily allowing the necessary dependencies to live alongside the application code, containers make the “works on my machine” problem less of a problem.

Benefits of Podman

One of the most interesting features of Podman is that it is daemonless. There isn’t a process running on your system managing your containers. In contrast, the docker client is reliant upon the docker daemon (often running as root) to be able to build and run containers.

Podman is rootless by default. It is now possible to run the docker daemon rootless as well, but it’s still not the default behaviour.

I’ve also observed that so far my 2019 16" Macbook Pro hasn’t sounded like a jet engine, although I haven’t performed any disk-intensive operations yet.

Installing Podman

Running Podman on macOS is more involved than on Linux, because the podman-machine must run Linux inside of a virtual machine. Fortunately, the installation is made simple with brew (read this if you’re installing Podman on Linux):

brew install podman
-

The podman-machine must be started:

# This is not necessary on Linux
-podman machine init
-podman machine start
-

Running a container

Let’s try to pull an image:

$ podman pull alpine
-Trying to pull docker.io/library/alpine:latest...
-Getting image source signatures
-Copying blob sha256:a0d0a0d46f8b52473982a3c466318f479767577551a53ffc9074c9fa7035982e
-Copying config sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
-Writing manifest to image destination
-Storing signatures
-14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
-

If you’re having an issue pulling images, you may need to remove ~/.docker/config.json or remove the set of auths in the configuration as mentioned here.

and then run and exec into the container:

$ podman run --rm -ti alpine
-Error: error preparing container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b for attach: error configuring network namespace for container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b: error adding pod unruffled_bohr_unruffled_bohr to CNI network "podman": unexpected end of JSON input
-

What does this error mean? A bit of searching lead to this github issue.

Until the fix is released, a workaround is to just specify a port (even when it’s not needed):

podman run -p 4242 --rm -ti alpine
-

If you’re reading this from the future, there is a good chance specifying a port won’t be needed.

Another example of running a container with Podman can be found in the Jellyfin Documentation.

Aliasing docker with podman

Force of habit (or other scripts) may have you calling docker. To work around this:

alias docker=podman
-

podman-compose

You may be wondering: what about docker-compose? Well, there claims to be a drop-in replacement for it: podman-compose.

pip3 install --user podman-compose
-

Now let’s create a docker-compose.yml file to test:

cat << EOF >> docker-compose.yml
-version: '2'
-services:
-  hello_world:
-    image: ubuntu
-    command: [/bin/echo, 'Hello world']
-EOF
-

Now run:

$ podman-compose up
-podman pod create --name=davegallant.github.io --share net
-40d61dc6e95216c07d2b21cea6dcb30205bfcaf1260501fe652f05bddf7e595e
-0
-podman create --name=davegallant.github.io_hello_world_1 --pod=davegallant.github.io -l io.podman.compose.config-hash=123 -l io.podman.compose.project=davegallant.github.io -l io.podman.compose.version=0.0.1 -l com.docker.compose.container-number=1 -l com.docker.compose.service=hello_world --add-host hello_world:127.0.0.1 --add-host davegallant.github.io_hello_world_1:127.0.0.1 ubuntu /bin/echo Hello world
-Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
-Trying to pull docker.io/library/ubuntu:latest...
-Getting image source signatures
-Copying blob sha256:f3ef4ff62e0da0ef761ec1c8a578f3035bef51043e53ae1b13a20b3e03726d17
-Copying blob sha256:f3ef4ff62e0da0ef761ec1c8a578f3035bef51043e53ae1b13a20b3e03726d17
-Copying config sha256:597ce1600cf4ac5f449b66e75e840657bb53864434d6bd82f00b172544c32ee2
-Writing manifest to image destination
-Storing signatures
-1a68b2fed3fdf2037b7aef16d770f22929eec1d799219ce30541df7876918576
-0
-podman start -a davegallant.github.io_hello_world_1
-Hello world
-

This should more or less provide the same results you would come to expect with docker. The README does clearly state that podman-compose is under development.

Summary

Installing Podman on macOS was not seamless, but it was manageable well within 30 minutes. I would recommend giving Podman a try to anyone who is unhappy with experiencing forced docker updates, or who is interested in using a more modern technology for running containers.

One caveat to mention is that there isn’t an official graphical user interface for Podman, but there is an open issue considering one. If you rely heavily on Docker Desktop’s UI, you may not be as interested in using podman yet.

Update: After further usage, bind mounts do not seem to work out of the box when the client and host are on different machines. A rather involved solution using sshfs was shared here.

I had been experimenting with Podman on Linux before writing this, but after listening to this podcast episode, I was inspired to give Podman a try on macOS.

\ No newline at end of file diff --git a/public/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/index.html b/public/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/index.html deleted file mode 100644 index 746297ba..00000000 --- a/public/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/index.html +++ /dev/null @@ -1,53 +0,0 @@ -Running K3s in LXC on Proxmox -
-

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. LXC containers also provide an efficient way to use a machine’s resources.

What is K3s?

K3s is a Kubernetes distro that advertises itself as a lightweight binary with a much smaller memory-footprint than traditional k8s. K3s is not a fork of k8s as it seeks to remain as close to upstream as it possibly can.

Configure Proxmox

This gist contains snippets and discussion on how to deploy K3s in LXC on Proxmox. It mentions that bridge-nf-call-iptables should be loaded, but I did not understand the benefit of doing this.

Disable swap

There is an issue on Kubernetes regarding swap here. There claims to be support for swap in 1.22, but for now let’s disable it:

sudo sysctl vm.swappiness=0
-sudo swapoff -a
-

It might be worth experimenting with swap enabled in the future to see how that might affect performance.

Enable IP Forwarding

To avoid IP Forwarding issues with Traefik, run the following on the host:

sudo sysctl net.ipv4.ip_forward=1
-sudo sysctl net.ipv6.conf.all.forwarding=1
-sudo sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf
-sudo sed -i 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf
-

Create LXC container

Create an LXC container in the Proxmox interface as you normally would. Remember to:

  • Uncheck unprivileged container
  • Use a LXC template (I chose a debian 11 template downloaded with pveam)
  • In memory, set swap to 0
  • Create and start the container

Modify container config

Now back on the host run pct list to determine what VMID it was given.

Open /etc/pve/lxc/$VMID.conf and append:

lxc.apparmor.profile: unconfined
-lxc.cap.drop:
-lxc.mount.auto: "proc:rw sys:rw"
-lxc.cgroup2.devices.allow: c 10:200 rwm
-

All of the above configurations are described in the manpages. -Notice that cgroup2 is used since Proxmox VE 7.0 has switched to a pure cgroupv2 environment.

Thankfully cgroup v2 support has been supported in k3s with these contributions:

Enable shared host mounts

From within the container, run:

echo '#!/bin/sh -e
-ln -s /dev/console /dev/kmsg
-mount --make-rshared /' > /etc/rc.local
-chmod +x /etc/rc.local
-reboot
-

Install K3s

One of the simplest ways to install K3s on a remote host is to use k3sup. -Ensure that you supply a valid CONTAINER_IP and choose the k3s-version you prefer. -As of 2021/11, it is still defaulting to the 1.19 channel, so I overrode it to 1.22 for cgroup v2 support. See the published releases here.

ssh-copy-id root@$CONTAINER_IP
-k3sup install --ip $CONTAINER_IP --user root --k3s-version v1.22.3+k3s1
-

If all goes well, you should see a path to the kubeconfig generated. I moved this into ~/.kube/config so that kubectl would read this by default.

Wrapping up

Installing K3s in LXC on Proxmox works with a few tweaks to the default configuration. I later followed the Tekton’s Getting Started guide and was able to deploy it in a few commands.

$ kubectl get all --namespace tekton-pipelines
-NAME                                               READY   STATUS    RESTARTS      AGE
-pod/tekton-pipelines-webhook-8566ff9b6b-6rnh8      1/1     Running   1 (50m ago)   12h
-pod/tekton-dashboard-6bf858f977-qt4hr              1/1     Running   1 (50m ago)   11h
-pod/tekton-pipelines-controller-69fd7498d8-f57m4   1/1     Running   1 (50m ago)   12h
-
-NAME                                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                              AGE
-service/tekton-pipelines-controller   ClusterIP   10.43.44.245    <none>        9090/TCP,8080/TCP                    12h
-service/tekton-pipelines-webhook      ClusterIP   10.43.183.242   <none>        9090/TCP,8008/TCP,443/TCP,8080/TCP   12h
-service/tekton-dashboard              ClusterIP   10.43.87.97     <none>        9097/TCP                             11h
-
-NAME                                          READY   UP-TO-DATE   AVAILABLE   AGE
-deployment.apps/tekton-pipelines-webhook      1/1     1            1           12h
-deployment.apps/tekton-dashboard              1/1     1            1           11h
-deployment.apps/tekton-pipelines-controller   1/1     1            1           12h
-
-NAME                                                     DESIRED   CURRENT   READY   AGE
-replicaset.apps/tekton-pipelines-webhook-8566ff9b6b      1         1         1       12h
-replicaset.apps/tekton-dashboard-6bf858f977              1         1         1       11h
-replicaset.apps/tekton-pipelines-controller-69fd7498d8   1         1         1       12h
-
-NAME                                                           REFERENCE                             TARGETS   MINPODS   MAXPODS   REPLICAS   AGE
-horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook   Deployment/tekton-pipelines-webhook   9%/100%   1         5         1          12h
-

I made sure to install Tailscale in the container so that I can easily access K3s from anywhere.

If I’m feeling adventurous, I might experiment with K3s rootless.

\ No newline at end of file diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/index.html b/public/blog/2022/03/13/backing-up-gmail-with-synology/index.html deleted file mode 100644 index 1f190e78..00000000 --- a/public/blog/2022/03/13/backing-up-gmail-with-synology/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Backing up gmail with Synology -
-

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

The thought of completely de-googling has crossed my mind on occassion. Convenience, coupled with my admiration for Google engineering, has prevented me from doing so thus far. Though, I may end up doing so at some point in the future.

Synology MailPlus Server

Synology products are reasonably priced for what you get (essentially a cloud-in-a-box) and there is very little maintenance required. I’ve recently been in interested in syncing and snapshotting my personal data. I’ve setup Synology’s Cloud Sync and keep copies of most of my cloud data.

I’ve used tools such as gmvault with success in the past. Setting this up on a cron seems like a viable option. However, I don’t really need a lot of the features it offers and do not plan to restore this data to another account.

Synology’s MailPlus seems to be a good candidate for backing up this data. By enabling POP3 fetching, it’s possible to fetch all existing emails, as well as periodically fetch all new emails. If a disaster ever did occur, having these emails would be beneficial, as they are an extension of my memory bank.

Installing MailPlus can be done from the Package Center:

image

Next, I went into Synology MailPlus Server and on the left, clicked on Account and ensured my user was marked as active.

Afterwords, I followed these instructions in order to start backing up emails.

When entering the POP3 credentials, I created an app password solely for authenticating to POP3 from the Synology device. This is required because I have 2-Step verification enabled on my account. There doesn’t seem to be a more secure way to access POP3 at the moment. It does seem like app password access is limited in scope (when MFA is enabled). These app passwords can’t be used to login to the main Google account.

I made sure to set the Fetch Range to All in order to get all emails from the beginning of time.

After this, mail started coming in.

image

After fetching 19 years worth of emails, I tried searching for some emails. It only took a few seconds to search through ~50K emails, which is a relief if I ever did have to search for something important.

Securing Synology

Since Synology devices are not hermetically sealed, it’s best to secure them by enabling MFA to help prevent being the victim of ransomware. It is also wise to backup your system settings and volumes to the cloud using a tool such as Hyper Backup. -Encrypting your shared volumes should also be done, since unfortunately DSM does not support full disk encryption.

Summary

Having backups of various forms of cloud data is a good investment, especially in times of war. I certainly feel more at ease for having backed up my emails.

\ No newline at end of file diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server.png deleted file mode 100644 index 5aa08863..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_box_3.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_box_3.png deleted file mode 100644 index 5373c34b..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 5ea140f1..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_box_3.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_box_3.png deleted file mode 100644 index 05ee5597..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index f39a5534..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_box_3.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_box_3.png deleted file mode 100644 index 1c62a854..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index c66a5f9f..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/install-mailplus-server_hu44978467cf355ace52c86216e9adcb07_30909_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail.png deleted file mode 100644 index ccf992ee..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_box_3.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_box_3.png deleted file mode 100644 index 03ab2b69..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 4ce13bd4..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_box_3.png b/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_box_3.png deleted file mode 100644 index 09b76aca..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_q75_h2_box_3.webp b/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 538df32a..00000000 Binary files a/public/blog/2022/03/13/backing-up-gmail-with-synology/mail-plus-incoming-mail_hu9ddd0265c16cd611df4e36648057a118_53092_433x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/index.html b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/index.html deleted file mode 100644 index 31ae4dc8..00000000 --- a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Virtualizing my router with pfSense -
-

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

pfSense

I figured this would be a good opportunity to try pfSense. I’ve heard nothing but positive things about pfSense and the fact it’s been around since 2004, based on FreeBSD, and written in PHP gave me the impression that it would be relatively stable (and I’d expect nothing less because it has an important job to do!). pfSense can be run on many different machines, and there are even some officially supported appliances. Since I already have a machine running Proxmox, why not just run it in a VM? It’d allow for automatic snapshotting of the machine. There is a good video on this by Techno Tim. Tim has a lot of good videos, and this one is about virtualizing pfSense.

Router on a stick

I had initially made the assumption that in order to build a router, you would need more than a single NIC (or a dual-port NIC) in order to support both WAN and LAN. This is simply not the case, because VLANs are awesome! In order to create a router, all you need is a single port NIC and a network switch that supports VLANs (also marketed as a managed switch). I picked up the Netgear GS308E because it has both a sufficient amount of ports for my needs, and it supports VLANs. It also has a nice sturdy metal frame which was a pleasant surprise.

After setting up this Netgear switch, it shoud be possible to access the web interface at http://192.168.0.239. It may be at a different address. To find the address, try checking your DHCP leases in your router interface (if you plugged it into an existing router). I realized I was unable to access this interface because I was on a different subnet, so I set my machine’s address to 192.168.0.22 in order to temporarily setup this switch. I assigned a static ip address to the switch (in System > Switch Information) so that it was in the same subnet as the rest of my network.

The web interface is nothing spectactular, but it allows for managing VLANs.

The following configuration will:

  • assign port 1 to be the LAN (connected to the Proxmox machine)
  • assign port 8 to be the WAN (connected to my ISP’s modem)

In the switch’s web interface, I went to VLAN and then 802.1Q, and then clicked on VLAN Configuration. I configured the ports to look like this:

vlan-config

Note that the VLAN Identifier Setting has been setup already with two VLANs (1 and 10). More VLANs can be created (i.e. to isolate IoT devices), but 2 VLANs is all we need for the initial setup of a router.

To replicate the above configuration, add a new VLAN ID 10 (1 should exist by default).

Next, go into VLAN Membership and configure VLAN 1’s port membership to be the following:

vlan-membership-1

and then configure VLAN 10’s port membership to be the following:

vlan-membership-10

Now, go into Port PVID and ensure that port 8 is set to PVID 10.

vlan-port-pvid

This above configuration will dedicate two of the eight ports to WAN and LAN. This will allow the internet to flow into the pfSense from the modem.

Setting up pfSense

pfSense is fairly easy to setup. Just download the latest ISO and boot up the virtual machine. -When setting up the machine, I mostly went with all of the defaults. Configuration can be changed later in the web interface, which is quite a bit simpler.

Since VLANs are going to be leveraged, when you go to Assign Interfaces, VLANs should be setup now like the following:

  • WAN should be vtnet0.10
  • LAN should be vtnet0

After going through the rest of the installation, if everything is connected correctly it should display both WAN and LAN addresses.

If all goes well, the web interface should be running at https://192.168.1.1.

pfsense-dashboard

And this is where the fun begins. There are many tutorials and blogs about how to setup pfSense and various services and packages that can be installed. I’ve already installed pfBlocker-NG.

Summary

It is fairly simple to setup a router with pfSense from within a virtual machine. A physical dedicated routing machine is not necessary and often does not perform as well as software running on faster and more reliable hardware. So far, pfSense has been running for over a week without a single hiccup. pfSense is a mature piece of software that is incredibly powerful and flexible. To avoid some of the instability I had experienced with OpenWrt, I enabled AutoConfigBackup, which is capable of automatically backing up configuration upon every change. I plan to explore and experiment with more services and configuration in the future, so the ability to track all of these changes gives me the peace of mind that experimentation is safe.

\ No newline at end of file diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid.png deleted file mode 100644 index 663605d9..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_box_3.png deleted file mode 100644 index 2d9fa4f3..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index dfe254af..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_box_3.png deleted file mode 100644 index 75f3d1d1..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 57242a9e..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_box_3.png deleted file mode 100644 index 28d24643..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 49d34094..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-port-pvid_hucba536e6a1c36d3eba5afa50576e38e1_34094_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration.png deleted file mode 100644 index a13bb2b5..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_box_3.png deleted file mode 100644 index 147da493..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index f6eec9f9..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_box_3.png deleted file mode 100644 index 7fe7e802..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 3247b7f4..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_box_3.png deleted file mode 100644 index becd0d9f..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index f85294b9..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-configuration_hu15e5056e9ef99b27d88357dc2a65692f_42578_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1.png deleted file mode 100644 index 90ec6445..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10.png deleted file mode 100644 index 1016eddc..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_box_3.png deleted file mode 100644 index 69ca855a..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 85f43eff..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_box_3.png deleted file mode 100644 index 94c74632..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index be088172..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_box_3.png deleted file mode 100644 index afca5534..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 358db32c..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-10_hue1e5d029f0ad357e37b4f4dea2ed5f90_37319_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_box_3.png deleted file mode 100644 index 14342de1..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index acdb932d..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_box_3.png deleted file mode 100644 index 3bc3f3dc..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 568aaf9d..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_box_3.png deleted file mode 100644 index 1cce7e4b..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index fa67542b..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/netgear-vlan-membership-1_hue1e5d029f0ad357e37b4f4dea2ed5f90_36344_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard.png deleted file mode 100644 index 1863e728..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_box_3.png deleted file mode 100644 index be30375c..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 1b524eb7..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_box_3.png deleted file mode 100644 index 044410f4..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 5925df7f..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_box_3.png b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_box_3.png deleted file mode 100644 index 6029089f..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 9645bb15..00000000 Binary files a/public/blog/2022/04/02/virtualizing-my-router-with-pfsense/pfsense-dashboard_hu7b4fdbe22d7ed98f90e451e0d2c7f8c0_92631_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile.png b/public/blog/2022/12/10/watching-youtube-in-private/computerphile.png deleted file mode 100644 index e271dadd..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_box_3.png deleted file mode 100644 index 3682cacc..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index f793d980..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_box_3.png deleted file mode 100644 index e50e46f3..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 76f01642..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_box_3.png deleted file mode 100644 index f1e813c6..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index d2cdafbf..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/computerphile_huab6e3127a0b06a834b4e3cd718370398_957247_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/index.html b/public/blog/2022/12/10/watching-youtube-in-private/index.html deleted file mode 100644 index 0983de46..00000000 --- a/public/blog/2022/12/10/watching-youtube-in-private/index.html +++ /dev/null @@ -1,51 +0,0 @@ -Watching YouTube in private -
-

Watching YouTube in private

I recently stumbled upon yewtu.be and found it intriguing. It not only allows you to watch YouTube without being on YouTube, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it’s a hosted instance of invidious.

image

The layout is simple, and JavaScript is not required.

I started using yewtu.be as my primary client for watching videos. I subscribe to several YouTube channels and I prefer the interface invidiuous provides due to its simplicity. It’s also nice to be in control of my search and watch history.

A few days ago, yewtu.be went down briefly, and that motivated me enough to self-host invidious. There are several other hosted instances listed here, but being able to easily backup my own instance (including subscriptions and watch history) is more compelling in my case.

Hosting invidious

The quickest way to get invidious up is with docker-compose as mentioned in the docs.

I made a few modifications, and ended up with:

version: "3"
-services:
-  invidious:
-    image: quay.io/invidious/invidious
-    restart: unless-stopped
-    ports:
-      - "0.0.0.0:3000:3000"
-    environment:
-      INVIDIOUS_CONFIG: |
-        db:
-          dbname: invidious
-          user: kemal
-          password: kemal
-          host: invidious-db
-          port: 5432
-        check_tables: true        
-    healthcheck:
-      test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
-      interval: 30s
-      timeout: 5s
-      retries: 2
-    depends_on:
-      - invidious-db
-
-  invidious-db:
-    image: docker.io/library/postgres:14
-    restart: unless-stopped
-    volumes:
-      - postgresdata:/var/lib/postgresql/data
-      - ./config/sql:/config/sql
-      - ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
-    environment:
-      POSTGRES_DB: invidious
-      POSTGRES_USER: kemal
-      POSTGRES_PASSWORD: kemal
-    healthcheck:
-      test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
-
-volumes:
-  postgresdata:
-

After invidious was up and running, I installed Tailscale on it to leverage its MagicDNS, and I’m now able to access this instance from anywhere at http://invidious:3000/feed/subscriptions.

I figured it would be nice to redirect existing YouTube links that others send me, so that I could seamlessly watch the videos using invidious.

I went looking for a way to redirect paths at the browser level. I found the lightweight proxy requestly, which can be used to modify http requests in my browser. I created the following rules:

requestly

Now the link https://www.youtube.com/watch?v=-lz30by8-sU will redirect to http://invidious:3000/watch?v=-lz30by8-sU

I’m still looking for ways to improve this invidious setup. There doesn’t appear to be a way to stream in 4K yet.

\ No newline at end of file diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules.png b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules.png deleted file mode 100644 index fb822b79..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_box_3.png deleted file mode 100644 index a2b4db08..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 48af65a9..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_box_3.png deleted file mode 100644 index fdcb6cca..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 39e8d85b..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_box_3.png b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_box_3.png deleted file mode 100644 index d999a497..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_q75_h2_box_3.webp b/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index d024bbfb..00000000 Binary files a/public/blog/2022/12/10/watching-youtube-in-private/requestly-rules_hucd7a47e92b94540e7a76322ee330fb89_88020_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/index.html b/public/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/index.html deleted file mode 100644 index efd4f436..00000000 --- a/public/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/index.html +++ /dev/null @@ -1,20 +0,0 @@ -Using AKS and SOCKS to connect to a private Azure DB -
-

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Go Public?

Should the database be migrated to public subnets? Ideally not, since it is good practice to host internal infrastructure in restricted subnets.

How do others handle this?

With GCP, connecting to a private db instance from any machine can be achieved with cloud-sql-proxy. This works by proxying requests from your machine to the SQL database instance in the cloud, while the authentication is handled by GCP’s IAM.

So what about Azure? Is there any solution that is as elegant as cloud-sql-proxy?

A Bastion

Similar to what AWS has recommended, perhaps a bastion is the way forward?

Azure has a fully-managed service called Azure Bastion that provides secure access to virtual machines that do not have public IPs. This looks interesting, but unfortunately it costs money and requires an additional virtual machine.

Because this adds cost (and complexity), it does not seem like a desirable option in its current state. If it provided a more seamless connection to the database, it would be more appealing.

SOCKS

2023-12-13: -An alternative to using a socks proxy is socat. This would allow you to relay tcp connections to a pod running in k8s, and then port-forward them to your localhost. -If this sounds more appealing, install krew-net-forward and then run “kubectl net-forward -i mydb.postgres.database.azure.com -p 5432 -l 5432” to access the database through “localhost:5432”

SOCKS is a protocol that enables a way to proxy connections by exchanging network packets between the client and the server. There are many implementations and many readily available container images that can run a SOCKS server.

It’s possible to use this sort of proxy to connect to a private DB, but is it any simpler than using a virtual machine as a jumphost? It wasn’t until I stumbled upon kubectl-plugin-socks5-proxy that I was convinced that using SOCKS could be made simple.

So how does it work? By installing the kubectl plugin and then running kubectl socks5-proxy, a SOCKS proxy server is spun up in a pod and then opens up port-forwarding session using kubectl.

As you can see below, this k8s plugin is wrapped up nicely:

$ kubectl socks5-proxy
-using: namespace=default
-using: port=1080
-using: name=davegallant-proxy
-using: image=serjs/go-socks5-proxy
-Creating SOCKS5 Proxy (Pod)...
-pod/davegallant-proxy created
-

With the above proxy connection open, it is possible to access both the DNS and private IPs accessible within the k8s cluster. In this case, I am able to access the private database, since there is network connectivity between the k8s cluster and the database.

Caveats and Conclusion

The above outlined solution makes some assumptions:

  • there is a k8s cluster
  • the k8s cluster has network connectivity to the desired private database

If these stars align, than this solution might work as a stopgap for accessing a private Azure DB (and I’m assuming this could work similarly on AWS).

It would be nice if Azure provided tooling similar to cloud-sql-proxy, so that using private databases would be more of a convenient experience.

One other thing to note is that some clients (such as dbeaver) do not provide DNS resolution over SOCKS. So in this case, you won’t be able to use DNS as if you were inside the cluster, but instead have to rely on knowing private ip addresses.

\ No newline at end of file diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners.png b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners.png deleted file mode 100644 index d733190d..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners.png and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_box_3.png b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_box_3.png deleted file mode 100644 index d01addcb..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_q75_h2_box_3.webp b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_q75_h2_box_3.webp deleted file mode 100644 index aadff9dd..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_300x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_box_3.png b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_box_3.png deleted file mode 100644 index cb8e8661..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_q75_h2_box_3.webp b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 2a9c9261..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_500x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_box_3.png b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_box_3.png deleted file mode 100644 index e262f78f..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_box_3.png and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_q75_h2_box_3.webp b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_q75_h2_box_3.webp deleted file mode 100644 index 81ee6417..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runners_hub2705fca9eca2ad49032b5d26e38ba63_36278_700x0_resize_q75_h2_box_3.webp and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-workflow.webm b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-workflow.webm deleted file mode 100644 index 6300be6a..00000000 Binary files a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-workflow.webm and /dev/null differ diff --git a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/index.html b/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/index.html deleted file mode 100644 index 4d52f223..00000000 --- a/public/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/index.html +++ /dev/null @@ -1,117 +0,0 @@ -Setting up Gitea Actions with Tailscale -
-

Setting up Gitea Actions with Tailscale

In this post I’ll go through the process of setting up Gitea Actions and Tailscale, unlocking a simple and secure way to automate workflows.

What is Gitea?

Gitea is a lightweight and fast git server that has much of the same look and feel as github. I have been using it in my homelab to mirror repositories hosted on other platforms such as github and gitlab. These mirrors take advantage of the decentralized nature of git by serving as “backups”. One of the main reasons I hadn’t been using it more often was due to the lack of integrated CI/CD. This is no longer the case.

Gitea Actions

Gitea Actions have made it into the 1.19.0 release. This feature had been in an experimental state up until 1.21.0 and is now enabled by default 🎉.

So what are they? If you’ve ever used GitHub Actions (and if you’re reading this, I imagine you have), these will look familiar. Gitea Actions essentially enable the ability to run github workflows on gitea. Workflows between gitea and github are not completely interopable, but a lot of the same workflow syntax is already compatible on gitea. You can find a documented list of unsupported workflows syntax.

Actions work by using a custom fork of nekos/act. Workflows run in a new container for every job. If you specify an action such as ‘actions/checkout@v3’, it defaults to downloading the scripts from github.com. To avoid internet egress, you could always clone the required actions to your local gitea instance.

Actions (gitea’s implementation) has me excited because it makes spinning up a network-isolated environment for workflow automation incredibly simple.

Integration with Tailscale

So how does Tailscale help here? Well, more recently I’ve been exposing my self-hosted services through a combination of traefik and the tailscale (through the tailscale-traefik proxy integration described here). This allows for a nice looking dns name (i.e. gitea.my-tailnet-name.ts.net) and automatic tls certificate management. I can also share this tailscale node securely with other tailscale users without configuring any firewall rules on my router.

Deploying Gitea, Traefik, and Tailscale

In my case, the following is already set up:

My preferred approach to deploying code in a homelab environment is with docker compose. I have deployed this in a proxmox lxc container based on debian with a hostname gitea. This could be deployed in any environment and with any hostname (as long you updated the tailscale machine name to your preferred subdomain for magic dns).

The docker-compose.yaml file looks like:

version: "3.7"
-services:
-  gitea:
-    image: gitea/gitea:1.21.1
-    container_name: gitea
-    environment:
-      - USER_UID=1000
-      - USER_GID=1000
-
-      - GITEA__server__DOMAIN=gitea.my-tailnet-name.ts.net
-      - GITEA__server__ROOT_URL=https://gitea.my-tailnet-name.ts.net
-      - GITEA__server__HTTP_ADDR=0.0.0.0
-      - GITEA__server__LFS_JWT_SECRET=my-secret-jwt
-    restart: always
-    volumes:
-      - ./data:/data
-      - /etc/timezone:/etc/timezone:ro
-      - /etc/localtime:/etc/localtime:ro
-  traefik:
-    image: traefik:v3.0.0-beta4
-    container_name: traefik
-    security_opt:
-      - no-new-privileges:true
-    restart: unless-stopped
-    ports:
-      - 80:80
-      - 443:443
-    volumes:
-      - ./traefik/data/traefik.yaml:/traefik.yaml:ro
-      - ./traefik/data/dynamic.yaml:/dynamic.yaml:ro
-      - /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock
-

traefik/data/traefik.yaml:

entryPoints:
-  https:
-    address: ":443"
-providers:
-  file:
-    filename: dynamic.yaml
-certificatesResolvers:
-  myresolver:
-    tailscale: {}
-log:
-  level: INFO
-

and finally traefik/data/dynamic/dynamic.yaml:

http:
-  routers:
-    gitea:
-      rule: Host(`gitea.my-tailnet-name.ts.net`)
-      entrypoints:
-        - "https"
-      service: gitea
-      tls:
-        certResolver: myresolver
-  services:
-    gitea:
-      loadBalancer:
-        servers:
-          - url: "http://gitea:3000"
-

Something to consider is whether or not you want to use ssh with git. One method to get this to work with containers is to use ssh container passthrough. I decided to keep it simple and not use ssh, since communicating over https is perfectly fine for my use case.

After adding the above configuration, running docker compose up -d should be enough to get an instance up and running. It will be accessible at https://gitea.my-tailnet-name.ts.net from within the tailnet.

Connecting a Runner

I installed the runner by following the docs. I opted for installing it on a separate host (another lxc container) as recommended in the docs. I used the systemd unit file to ensure that the runner comes back online after system reboots. I installed tailscale on this gitea runner as well, so that it can have the same “networking privileges” as the main instance.

After registering this runner and starting the daemon, it appeared in /admin/actions/runners:

image

Running a workflow

Now it’s time start running some automation. I used the demo workflow as a starting point to verify that the runner is executing workflows.

After this, I wanted to make sure that some of my existing workflows could be migrated over.

The following workflow uses a matrix to run a job for several of my hosts using ansible playbooks that will do various tasks such as patching os updates and updating container images.

name: Run ansible
-on:
-  push:
-  schedule:
-    - cron: "0 */12 * * *"
-
-jobs:
-  run-ansible-playbook:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        host:
-          - changedetection
-          - homelab
-          - invidious
-          - jackett
-          - ladder
-          - miniflux
-          - plex
-          - qbittorrent
-          - tailscale-exit-node
-          - uptime-kuma
-    steps:
-      - name: Check out repository code
-        uses: actions/checkout@v4
-      - name: Install ansible
-        run: |
-          apt update && apt install ansible -y          
-      - name: Run playbook
-        uses: dawidd6/action-ansible-playbook@v2
-        with:
-          playbook: playbooks/main.yml
-          requirements: requirements.yml
-          options: |
-            --inventory inventory
-            --limit ${{ matrix.host }}            
-      - name: Send failure notification
-        uses: dawidd6/action-send-mail@v3
-        if: always() && failure()
-        with:
-          server_address: smtp.gmail.com
-          server_port: 465
-          secure: true
-          username: myuser
-          password: ${{ secrets.MAIL_PASSWORD }}
-          subject: ansible runbook '${{ matrix.host }}' failed
-          to: me@davegallant.ca
-          from: RFD Notify
-          body: |
-            ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}            
-

And voilà:

You may be wondering how the gitea runner is allowed to connect to the other hosts using ansible? Well, the nodes are in the same tailnet and have tailscale ssh enabled.

Areas for improvement

One enhancement that I would like to see is the ability to send notifications on workflow failures. Currently, this doesn’t seem possible without adding logic to each workflow.

Conclusion

Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantially more resources. It likely helps that the codebase is largely written in go.

By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection.

\ No newline at end of file diff --git a/public/browserconfig.xml b/public/browserconfig.xml deleted file mode 100644 index b82dfc5d..00000000 --- a/public/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #282828 - - - diff --git a/public/categories/index.html b/public/categories/index.html deleted file mode 100644 index d2c7b251..00000000 --- a/public/categories/index.html +++ /dev/null @@ -1,10 +0,0 @@ -Categories -
-

Categories

\ No newline at end of file diff --git a/public/categories/index.xml b/public/categories/index.xml deleted file mode 100644 index cafd74e3..00000000 --- a/public/categories/index.xml +++ /dev/null @@ -1 +0,0 @@ -Categories onhttps://davegallant.ca/categories/Recent content in Categories onHugo -- gohugo.ioen-usDave Gallant \ No newline at end of file diff --git a/public/categories/page/1/index.html b/public/categories/page/1/index.html deleted file mode 100644 index 00816e01..00000000 --- a/public/categories/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/categories/ - \ No newline at end of file diff --git a/public/css/.gitkeep b/public/css/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/public/css/non-critical.10bf652274d1149570c93631c19d9e068c317875079471d2fda62260a2d40136a468ceb49a9b091ce868ae2db84cbfdb5e4eab1b465fb9710247eb86f36275a0.css b/public/css/non-critical.10bf652274d1149570c93631c19d9e068c317875079471d2fda62260a2d40136a468ceb49a9b091ce868ae2db84cbfdb5e4eab1b465fb9710247eb86f36275a0.css deleted file mode 100644 index 1840b6e3..00000000 --- a/public/css/non-critical.10bf652274d1149570c93631c19d9e068c317875079471d2fda62260a2d40136a468ceb49a9b091ce868ae2db84cbfdb5e4eab1b465fb9710247eb86f36275a0.css +++ /dev/null @@ -1,3 +0,0 @@ -div.code-toolbar{position:relative}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out;z-index:10}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{background:#f5f2f0;background:hsla(0,0%,88%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;-webkit-text-decoration:none;text-decoration:none}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none}.command-line-prompt>span:before{content:" ";display:block;opacity:.7;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.command-line-prompt>span[data-continuation-prompt]:before{content:attr(data-continuation-prompt)}.command-line span.token.output{opacity:.7}pre.diff-highlight>code .token.deleted:not(.prefix),pre>code.diff-highlight .token.deleted:not(.prefix){background-color:rgba(255,0,0,.1);color:inherit;display:block}pre.diff-highlight>code .token.inserted:not(.prefix),pre>code.diff-highlight .token.inserted:not(.prefix){background-color:rgba(0,255,128,.1);color:inherit;display:block} - -/*! MIT License | github.com/schnerring/hugo-theme-gruvbox */ \ No newline at end of file diff --git a/public/de/404.html b/public/de/404.html deleted file mode 100644 index 81198503..00000000 --- a/public/de/404.html +++ /dev/null @@ -1,10 +0,0 @@ -404 Page not found -
-

404 Page not found

This is not the page you're looking for.

\ No newline at end of file diff --git a/public/de/categories/index.html b/public/de/categories/index.html deleted file mode 100644 index 8f2293d6..00000000 --- a/public/de/categories/index.html +++ /dev/null @@ -1,10 +0,0 @@ -Categories -
-

Categories

\ No newline at end of file diff --git a/public/de/categories/index.xml b/public/de/categories/index.xml deleted file mode 100644 index 7acb9f77..00000000 --- a/public/de/categories/index.xml +++ /dev/null @@ -1 +0,0 @@ -Categories onhttps://davegallant.ca/de/categories/Recent content in Categories onHugo -- gohugo.iodeDave Gallant \ No newline at end of file diff --git a/public/de/categories/page/1/index.html b/public/de/categories/page/1/index.html deleted file mode 100644 index 6fec466f..00000000 --- a/public/de/categories/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/de/categories/ - \ No newline at end of file diff --git a/public/de/index.html b/public/de/index.html deleted file mode 100644 index 39d92a76..00000000 --- a/public/de/index.html +++ /dev/null @@ -1,10 +0,0 @@ - -
-

\ No newline at end of file diff --git a/public/de/index.xml b/public/de/index.xml deleted file mode 100644 index e0883684..00000000 --- a/public/de/index.xml +++ /dev/null @@ -1 +0,0 @@ -<link>https://davegallant.ca/de/</link><description>Recent content on</description><generator>Hugo -- gohugo.io</generator><language>de</language><copyright>Dave Gallant</copyright><atom:link href="https://davegallant.ca/de/index.xml" rel="self" type="application/rss+xml"/></channel></rss> \ No newline at end of file diff --git a/public/de/page/1/index.html b/public/de/page/1/index.html deleted file mode 100644 index 4c2416b6..00000000 --- a/public/de/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -<!doctype html><html lang=de><head><title>https://davegallant.ca/de/ - \ No newline at end of file diff --git a/public/de/sitemap.xml b/public/de/sitemap.xml deleted file mode 100644 index 2924cae0..00000000 --- a/public/de/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://davegallant.ca/de/https://davegallant.ca/de/categories/https://davegallant.ca/de/tags/ \ No newline at end of file diff --git a/public/de/tags/index.html b/public/de/tags/index.html deleted file mode 100644 index 12d4d80d..00000000 --- a/public/de/tags/index.html +++ /dev/null @@ -1,10 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/de/tags/index.xml b/public/de/tags/index.xml deleted file mode 100644 index f04ab4ab..00000000 --- a/public/de/tags/index.xml +++ /dev/null @@ -1 +0,0 @@ -Tags onhttps://davegallant.ca/de/tags/Recent content in Tags onHugo -- gohugo.iodeDave Gallant \ No newline at end of file diff --git a/public/de/tags/page/1/index.html b/public/de/tags/page/1/index.html deleted file mode 100644 index 4b26cbd8..00000000 --- a/public/de/tags/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/de/tags/ - \ No newline at end of file diff --git a/public/en/index.html b/public/en/index.html deleted file mode 100644 index 6f314ca2..00000000 --- a/public/en/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca - \ No newline at end of file diff --git a/public/en/sitemap.xml b/public/en/sitemap.xml deleted file mode 100644 index 24853c65..00000000 --- a/public/en/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://davegallant.ca/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/gitea/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/gitea-actions/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/github-actions/2023-12-10T17:22:11-05:00https://davegallant.ca/post/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/self-hosted/2023-12-10T17:22:11-05:00https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/tailscale/2023-12-10T17:22:11-05:00https://davegallant.ca/tags/aks/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/aws/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/azure/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/bastion/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/cloud-sql-proxy/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/database/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/eks/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/k8s/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/kubectl-plugin-socks5-proxy/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/proxy/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/socat/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/socks/2023-05-22T16:31:29-04:00https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/2023-05-22T16:31:29-04:00https://davegallant.ca/tags/degoogle/2022-12-10T21:46:55-05:00https://davegallant.ca/tags/invidious/2022-12-10T21:46:55-05:00https://davegallant.ca/tags/privacy/2022-12-10T21:46:55-05:00https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/2022-12-10T21:46:55-05:00https://davegallant.ca/tags/yewtu.be/2022-12-10T21:46:55-05:00https://davegallant.ca/tags/youtube/2022-12-10T21:46:55-05:00https://davegallant.ca/tags/openwrt/2022-04-02T18:50:09-04:00https://davegallant.ca/tags/pfsense/2022-04-02T18:50:09-04:00https://davegallant.ca/tags/proxmox/2022-04-02T18:50:09-04:00https://davegallant.ca/tags/router/2022-04-02T18:50:09-04:00https://davegallant.ca/tags/router-on-a-stick/2022-04-02T18:50:09-04:00https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/2022-04-02T18:50:09-04:00https://davegallant.ca/tags/vlan/2022-04-02T18:50:09-04:00https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/2022-03-13T18:49:10-04:00https://davegallant.ca/tags/backup/2022-03-13T18:49:10-04:00https://davegallant.ca/tags/gmail/2022-03-13T18:49:10-04:00https://davegallant.ca/tags/ransomware/2022-03-13T18:49:10-04:00https://davegallant.ca/tags/synology/2022-03-13T18:49:10-04:00https://davegallant.ca/tags/k3s/2021-11-14T10:07:03-05:00https://davegallant.ca/tags/lxc/2021-11-14T10:07:03-05:00https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/2021-11-14T10:07:03-05:00https://davegallant.ca/tags/containers/2021-10-11T10:43:35-04:00https://davegallant.ca/tags/docker/2021-10-11T10:43:35-04:00https://davegallant.ca/tags/podman/2021-10-11T10:43:35-04:00https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/2021-10-11T10:43:35-04:00https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/2021-09-17T12:48:33-04:00https://davegallant.ca/tags/aws-vault/2021-09-17T12:48:33-04:00https://davegallant.ca/tags/python/2021-09-17T12:48:33-04:00https://davegallant.ca/tags/security/2021-09-17T12:48:33-04:00https://davegallant.ca/tags/dotfiles/2021-09-08T00:42:33-04:00https://davegallant.ca/tags/home-manager/2021-09-08T00:42:33-04:00https://davegallant.ca/tags/nix/2021-09-08T00:42:33-04:00https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/2021-09-08T00:42:33-04:00https://davegallant.ca/blog/2021/09/06/what-to-do-with-a-homelab/2021-09-06T01:12:54-04:00https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/2020-03-16T22:00:15-04:00https://davegallant.ca/tags/linux/2020-03-16T22:00:15-04:00https://davegallant.ca/tags/vpn/2020-03-16T22:00:15-04:00https://davegallant.ca/categories/ \ No newline at end of file diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png deleted file mode 100644 index b8758794..00000000 Binary files a/public/favicon-16x16.png and /dev/null differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png deleted file mode 100644 index 3d10067a..00000000 Binary files a/public/favicon-32x32.png and /dev/null differ diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index fafbdafe..00000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/fonts/fira-code-latin-300.woff b/public/fonts/fira-code-latin-300.woff deleted file mode 100644 index 140a94a4..00000000 Binary files a/public/fonts/fira-code-latin-300.woff and /dev/null differ diff --git a/public/fonts/fira-code-latin-300.woff2 b/public/fonts/fira-code-latin-300.woff2 deleted file mode 100644 index 86eaa9ca..00000000 Binary files a/public/fonts/fira-code-latin-300.woff2 and /dev/null differ diff --git a/public/fonts/fira-code-latin-400.woff b/public/fonts/fira-code-latin-400.woff deleted file mode 100644 index 10a14ac5..00000000 Binary files a/public/fonts/fira-code-latin-400.woff and /dev/null differ diff --git a/public/fonts/fira-code-latin-400.woff2 b/public/fonts/fira-code-latin-400.woff2 deleted file mode 100644 index 99f05e3f..00000000 Binary files a/public/fonts/fira-code-latin-400.woff2 and /dev/null differ diff --git a/public/fonts/fira-code-latin-500.woff b/public/fonts/fira-code-latin-500.woff deleted file mode 100644 index b3a2364c..00000000 Binary files a/public/fonts/fira-code-latin-500.woff and /dev/null differ diff --git a/public/fonts/fira-code-latin-500.woff2 b/public/fonts/fira-code-latin-500.woff2 deleted file mode 100644 index 76695cf4..00000000 Binary files a/public/fonts/fira-code-latin-500.woff2 and /dev/null differ diff --git a/public/fonts/fira-code-latin-600.woff b/public/fonts/fira-code-latin-600.woff deleted file mode 100644 index 837477ef..00000000 Binary files a/public/fonts/fira-code-latin-600.woff and /dev/null differ diff --git a/public/fonts/fira-code-latin-600.woff2 b/public/fonts/fira-code-latin-600.woff2 deleted file mode 100644 index 677b25ae..00000000 Binary files a/public/fonts/fira-code-latin-600.woff2 and /dev/null differ diff --git a/public/fonts/fira-code-latin-700.woff b/public/fonts/fira-code-latin-700.woff deleted file mode 100644 index 0925d245..00000000 Binary files a/public/fonts/fira-code-latin-700.woff and /dev/null differ diff --git a/public/fonts/fira-code-latin-700.woff2 b/public/fonts/fira-code-latin-700.woff2 deleted file mode 100644 index b120bb1b..00000000 Binary files a/public/fonts/fira-code-latin-700.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-100.woff b/public/fonts/roboto-slab-latin-100.woff deleted file mode 100644 index 4cc73bfc..00000000 Binary files a/public/fonts/roboto-slab-latin-100.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-100.woff2 b/public/fonts/roboto-slab-latin-100.woff2 deleted file mode 100644 index cc7a1e9d..00000000 Binary files a/public/fonts/roboto-slab-latin-100.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-200.woff b/public/fonts/roboto-slab-latin-200.woff deleted file mode 100644 index e94017f6..00000000 Binary files a/public/fonts/roboto-slab-latin-200.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-200.woff2 b/public/fonts/roboto-slab-latin-200.woff2 deleted file mode 100644 index e34ea989..00000000 Binary files a/public/fonts/roboto-slab-latin-200.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-300.woff b/public/fonts/roboto-slab-latin-300.woff deleted file mode 100644 index 349f3053..00000000 Binary files a/public/fonts/roboto-slab-latin-300.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-300.woff2 b/public/fonts/roboto-slab-latin-300.woff2 deleted file mode 100644 index 3100e32c..00000000 Binary files a/public/fonts/roboto-slab-latin-300.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-400.woff b/public/fonts/roboto-slab-latin-400.woff deleted file mode 100644 index 4ef4ab83..00000000 Binary files a/public/fonts/roboto-slab-latin-400.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-400.woff2 b/public/fonts/roboto-slab-latin-400.woff2 deleted file mode 100644 index b135852b..00000000 Binary files a/public/fonts/roboto-slab-latin-400.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-500.woff b/public/fonts/roboto-slab-latin-500.woff deleted file mode 100644 index 7b21a3ec..00000000 Binary files a/public/fonts/roboto-slab-latin-500.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-500.woff2 b/public/fonts/roboto-slab-latin-500.woff2 deleted file mode 100644 index ec193de6..00000000 Binary files a/public/fonts/roboto-slab-latin-500.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-600.woff b/public/fonts/roboto-slab-latin-600.woff deleted file mode 100644 index 7c3774e2..00000000 Binary files a/public/fonts/roboto-slab-latin-600.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-600.woff2 b/public/fonts/roboto-slab-latin-600.woff2 deleted file mode 100644 index 1e20cbf4..00000000 Binary files a/public/fonts/roboto-slab-latin-600.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-700.woff b/public/fonts/roboto-slab-latin-700.woff deleted file mode 100644 index a1dbdd7f..00000000 Binary files a/public/fonts/roboto-slab-latin-700.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-700.woff2 b/public/fonts/roboto-slab-latin-700.woff2 deleted file mode 100644 index 9813ce22..00000000 Binary files a/public/fonts/roboto-slab-latin-700.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-800.woff b/public/fonts/roboto-slab-latin-800.woff deleted file mode 100644 index 89e8b52d..00000000 Binary files a/public/fonts/roboto-slab-latin-800.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-800.woff2 b/public/fonts/roboto-slab-latin-800.woff2 deleted file mode 100644 index 48c58311..00000000 Binary files a/public/fonts/roboto-slab-latin-800.woff2 and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-900.woff b/public/fonts/roboto-slab-latin-900.woff deleted file mode 100644 index 88006300..00000000 Binary files a/public/fonts/roboto-slab-latin-900.woff and /dev/null differ diff --git a/public/fonts/roboto-slab-latin-900.woff2 b/public/fonts/roboto-slab-latin-900.woff2 deleted file mode 100644 index 91ae1576..00000000 Binary files a/public/fonts/roboto-slab-latin-900.woff2 and /dev/null differ diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 2fba4e2c..00000000 --- a/public/index.html +++ /dev/null @@ -1,11 +0,0 @@ -— Software Engineer -
-

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

Read more >
\ No newline at end of file diff --git a/public/index.xml b/public/index.xml deleted file mode 100644 index 4bb989d4..00000000 --- a/public/index.xml +++ /dev/null @@ -1,26 +0,0 @@ -<link>https://davegallant.ca/</link><description>Recent content on</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>Dave Gallant</copyright><lastBuildDate>Sun, 10 Dec 2023 17:22:11 -0500</lastBuildDate><atom:link href="https://davegallant.ca/index.xml" rel="self" type="application/rss+xml"/><item><title>Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p>Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p>Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p>Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p>Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p>Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.Replacing docker with podman on macOS (and Linux)https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/<p>There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:</p>Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.Why I threw out my dotfileshttps://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/<p>Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (<code>~/.zshrc</code>, <code>~/.config/git/config</code>, <code>~/.config/tmux/tmux.conf</code>, etc). I have tried several different ways to manage them, including <a -href="https://www.atlassian.com/git/tutorials/dotfiles" -class="link--external" target="_blank" rel="noreferrer" ->bare git repos</a> and utilities such as <a -href="https://www.gnu.org/software/stow/" -class="link--external" target="_blank" rel="noreferrer" ->GNU Stow</a>. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: <a -href="https://github.com/nix-community/home-manager" -class="link--external" target="_blank" rel="noreferrer" ->home-manager</a>.</p>What to do with a homelabhttps://davegallant.ca/blog/2021/09/06/what-to-do-with-a-homelab/Mon, 06 Sep 2021 01:12:54 -0400https://davegallant.ca/blog/2021/09/06/what-to-do-with-a-homelab/<p>A homelab can be an inexpensive way to host a multitude of internal/external services and learn <em>a lot</em> in the process.</p>AppGate SDP on Arch Linuxhttps://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/<p>AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP <code>4.3.2</code> working on Arch Linux.</p> \ No newline at end of file diff --git a/public/js/.gitkeep b/public/js/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/public/js/flexsearch.6008453bea2c3113a5612f78b88f04db99ba8fb4ce62b8ee2facd2970062f3f2cf949bebc2b610a40366d44598c9a453b7c6d502e4089844ce707f118ae649db.js b/public/js/flexsearch.6008453bea2c3113a5612f78b88f04db99ba8fb4ce62b8ee2facd2970062f3f2cf949bebc2b610a40366d44598c9a453b7c6d502e4089844ce707f118ae649db.js deleted file mode 100644 index c5f328a9..00000000 --- a/public/js/flexsearch.6008453bea2c3113a5612f78b88f04db99ba8fb4ce62b8ee2facd2970062f3f2cf949bebc2b610a40366d44598c9a453b7c6d502e4089844ce707f118ae649db.js +++ /dev/null @@ -1,201 +0,0 @@ -(()=>{var oe=Object.create;var te=Object.defineProperty;var se=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var ue=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var he=(e,n,i,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of ae(n))!le.call(e,s)&&s!==i&&te(e,s,{get:()=>n[s],enumerable:!(o=se(n,s))||o.enumerable});return e};var ce=(e,n,i)=>(i=e!=null?oe(re(e)):{},he(n||!e||!e.__esModule?te(i,"default",{value:e,enumerable:!0}):i,e));var ne=ue((exports,module)=>{(function _f(self){"use strict";try{module&&(self=module)}catch(e){}self._factory=_f;var t;function u(e){return typeof e!="undefined"?e:!0}function aa(e){let n=Array(e);for(let i=0;i=this.B&&(A||!m[f])){var r=L(w,o,k),l="";switch(this.G){case"full":if(2r;h--)if(h-r>=this.B){var p=L(w,o,k,s,r);l=f.substring(r,h),M(this,m,l,p,e,i)}break}case"reverse":if(1=this.B&&M(this,m,l,L(w,o,k,s,h),e,i);l=""}case"forward":if(1=this.B&&M(this,m,l,r,e,i);break}default:if(this.C&&(r=Math.min(r/this.C(n,f,k)|0,w-1)),M(this,m,f,r,e,i),A&&1=this.B&&!s[f]){s[f]=1;let y=this.l&&f>r;M(this,g,y?r:f,L(l+(o/2>l?0:1),o,k,h-1,p-1),e,i,y?f:r)}}}}}this.m||(this.register[e]=1)}}return this};function L(e,n,i,o,s){return i&&1=this.B&&!i[w])if(this.s||r||this.map[w])p[A++]=w,i[w]=1;else return o;e=p,s=e.length}if(!s)return o;n||(n=100),h=this.depth&&1=o))));w++);if(m){if(r)return ta(p,o,0);n[n.length]=p;return}}return!i&&p}function ta(e,n,i){return e=e.length===1?e[0]:[].concat.apply([],e),i||e.length>n?e.slice(i,i+n):e}function ua(e,n,i,o){return i?(o=o&&n>i,e=(e=e[o?n:i])&&e[o?i:n]):e=e[n],e}t.contain=function(e){return!!this.register[e]},t.update=function(e,n){return this.remove(e).add(e,n)},t.remove=function(e,n){let i=this.register[e];if(i){if(this.m)for(let o=0,s;on||i)&&(s=s.slice(i,i+n)),o&&(s=za.call(this,s)),{tag:e,result:s}}function za(e){let n=Array(e.length);for(let i=0,o;i{e.ctrlKey&&e.key==="/"?(e.preventDefault(),j.focus()):e.key==="Escape"&&(j.blur(),z.classList.add("search__suggestions--hidden"))});document.addEventListener("click",e=>{z.contains(e.target)||z.classList.add("search__suggestions--hidden")});document.addEventListener("keydown",e=>{if(z.classList.contains("search__suggestions--hidden"))return;let i=[...z.querySelectorAll("a")];if(i.length===0)return;let o=i.indexOf(document.activeElement);if(e.key==="ArrowDown"){e.preventDefault();let s=o+10?o-1:0,i[nextIndex].focus())});(function(){let e=new ie.Document({tokenize:"forward",cache:100,document:{id:"id",store:["href","title","description"],index:["title","description","content"]}});e.add({id:0,href:"/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/",title:"Setting up Gitea Actions with Tailscale",description:`In this post I’ll go through the process of setting up Gitea Actions and Tailscale, unlocking a simple and secure way to automate workflows. -`,content:`In this post I’ll go through the process of setting up Gitea Actions and Tailscale, unlocking a simple and secure way to automate workflows. -What is Gitea?# Gitea is a lightweight and fast git server that has much of the same look and feel as github. I have been using it in my homelab to mirror repositories hosted on other platforms such as github and gitlab. These mirrors take advantage of the decentralized nature of git by serving as “backups”. One of the main reasons I hadn’t been using it more often was due to the lack of integrated CI/CD. This is no longer the case. -Gitea Actions# Gitea Actions have made it into the 1.19.0 release. This feature had been in an experimental state up until 1.21.0 and is now enabled by default \u{1F389}. -So what are they? If you’ve ever used GitHub Actions (and if you’re reading this, I imagine you have), these will look familiar. Gitea Actions essentially enable the ability to run github workflows on gitea. Workflows between gitea and github are not completely interopable, but a lot of the same workflow syntax is already compatible on gitea. You can find a documented list of unsupported workflows syntax. -Actions work by using a custom fork of nekos/act. Workflows run in a new container for every job. If you specify an action such as ‘actions/checkout@v3’, it defaults to downloading the scripts from github.com. To avoid internet egress, you could always clone the required actions to your local gitea instance. -Actions (gitea’s implementation) has me excited because it makes spinning up a network-isolated environment for workflow automation incredibly simple. -Integration with Tailscale# So how does Tailscale help here? Well, more recently I’ve been exposing my self-hosted services through a combination of traefik and the tailscale (through the tailscale-traefik proxy integration described here). This allows for a nice looking dns name (i.e. gitea.my-tailnet-name.ts.net) and automatic tls certificate management. I can also share this tailscale node securely with other tailscale users without configuring any firewall rules on my router. -Deploying Gitea, Traefik, and Tailscale# In my case, the following is already set up: -docker-compose is installed tailscale is installed on the gitea host tailscale magic dns is enabled My preferred approach to deploying code in a homelab environment is with docker compose. I have deployed this in a proxmox lxc container based on debian with a hostname gitea. This could be deployed in any environment and with any hostname (as long you updated the tailscale machine name to your preferred subdomain for magic dns). -The docker-compose.yaml file looks like: -version: "3.7" services: gitea: image: gitea/gitea:1.21.1 container_name: gitea environment: - USER_UID=1000 - USER_GID=1000 - GITEA__server__DOMAIN=gitea.my-tailnet-name.ts.net - GITEA__server__ROOT_URL=https://gitea.my-tailnet-name.ts.net - GITEA__server__HTTP_ADDR=0.0.0.0 - GITEA__server__LFS_JWT_SECRET=my-secret-jwt restart: always volumes: - ./data:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro traefik: image: traefik:v3.0.0-beta4 container_name: traefik security_opt: - no-new-privileges:true restart: unless-stopped ports: - 80:80 - 443:443 volumes: - ./traefik/data/traefik.yaml:/traefik.yaml:ro - ./traefik/data/dynamic.yaml:/dynamic.yaml:ro - /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock traefik/data/traefik.yaml: -entryPoints: https: address: ":443" providers: file: filename: dynamic.yaml certificatesResolvers: myresolver: tailscale: {} log: level: INFO and finally traefik/data/dynamic/dynamic.yaml: -http: routers: gitea: rule: Host(\`gitea.my-tailnet-name.ts.net\`) entrypoints: - "https" service: gitea tls: certResolver: myresolver services: gitea: loadBalancer: servers: - url: "http://gitea:3000" Something to consider is whether or not you want to use ssh with git. One method to get this to work with containers is to use ssh container passthrough. I decided to keep it simple and not use ssh, since communicating over https is perfectly fine for my use case. -After adding the above configuration, running docker compose up -d should be enough to get an instance up and running. It will be accessible at https://gitea.my-tailnet-name.ts.net from within the tailnet. -Connecting a Runner# I installed the runner by following the docs. I opted for installing it on a separate host (another lxc container) as recommended in the docs. I used the systemd unit file to ensure that the runner comes back online after system reboots. I installed tailscale on this gitea runner as well, so that it can have the same “networking privileges” as the main instance. -After registering this runner and starting the daemon, it appeared in /admin/actions/runners: -Running a workflow# Now it’s time start running some automation. I used the demo workflow as a starting point to verify that the runner is executing workflows. -After this, I wanted to make sure that some of my existing workflows could be migrated over. -The following workflow uses a matrix to run a job for several of my hosts using ansible playbooks that will do various tasks such as patching os updates and updating container images. -name: Run ansible on: push: schedule: - cron: "0 */12 * * *" jobs: run-ansible-playbook: runs-on: ubuntu-latest strategy: matrix: host: - changedetection - homelab - invidious - jackett - ladder - miniflux - plex - qbittorrent - tailscale-exit-node - uptime-kuma steps: - name: Check out repository code uses: actions/checkout@v4 - name: Install ansible run: | apt update && apt install ansible -y - name: Run playbook uses: dawidd6/action-ansible-playbook@v2 with: playbook: playbooks/main.yml requirements: requirements.yml options: | --inventory inventory --limit \${{ matrix.host }} - name: Send failure notification uses: dawidd6/action-send-mail@v3 if: always() && failure() with: server_address: smtp.gmail.com server_port: 465 secure: true username: myuser password: \${{ secrets.MAIL_PASSWORD }} subject: ansible runbook '\${{ matrix.host }}' failed to: me@davegallant.ca from: RFD Notify body: | \${{ github.server_url }}/\${{ github.repository }}/actions/runs/\${{ github.run_number }} And voil\xE0: -You may be wondering how the gitea runner is allowed to connect to the other hosts using ansible? Well, the nodes are in the same tailnet and have tailscale ssh enabled. -Areas for improvement# One enhancement that I would like to see is the ability to send notifications on workflow failures. Currently, this doesn’t seem possible without adding logic to each workflow. -Conclusion# Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantially more resources. It likely helps that the codebase is largely written in go. -By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection. -`}).add({id:1,href:"/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/",title:"Using AKS and SOCKS to connect to a private Azure DB",description:`I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this. -`,content:`I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this. -Go Public?# Should the database be migrated to public subnets? Ideally not, since it is good practice to host internal infrastructure in restricted subnets. -How do others handle this?# With GCP, connecting to a private db instance from any machine can be achieved with cloud-sql-proxy. This works by proxying requests from your machine to the SQL database instance in the cloud, while the authentication is handled by GCP’s IAM. -So what about Azure? Is there any solution that is as elegant as cloud-sql-proxy? -A Bastion# Similar to what AWS has recommended, perhaps a bastion is the way forward? -Azure has a fully-managed service called Azure Bastion that provides secure access to virtual machines that do not have public IPs. This looks interesting, but unfortunately it costs money and requires an additional virtual machine. -Because this adds cost (and complexity), it does not seem like a desirable option in its current state. If it provided a more seamless connection to the database, it would be more appealing. -SOCKS# 2023-12-13: An alternative to using a socks proxy is socat. This would allow you to relay tcp connections to a pod running in k8s, and then port-forward them to your localhost. If this sounds more appealing, install krew-net-forward and then run “kubectl net-forward -i mydb.postgres.database.azure.com -p 5432 -l 5432” to access the database through “localhost:5432” -SOCKS is a protocol that enables a way to proxy connections by exchanging network packets between the client and the server. There are many implementations and many readily available container images that can run a SOCKS server. -It’s possible to use this sort of proxy to connect to a private DB, but is it any simpler than using a virtual machine as a jumphost? It wasn’t until I stumbled upon kubectl-plugin-socks5-proxy that I was convinced that using SOCKS could be made simple. -So how does it work? By installing the kubectl plugin and then running kubectl socks5-proxy, a SOCKS proxy server is spun up in a pod and then opens up port-forwarding session using kubectl. -As you can see below, this k8s plugin is wrapped up nicely: -$ kubectl socks5-proxy using: namespace=default using: port=1080 using: name=davegallant-proxy using: image=serjs/go-socks5-proxy Creating SOCKS5 Proxy (Pod)... pod/davegallant-proxy created With the above proxy connection open, it is possible to access both the DNS and private IPs accessible within the k8s cluster. In this case, I am able to access the private database, since there is network connectivity between the k8s cluster and the database. -Caveats and Conclusion# The above outlined solution makes some assumptions: -there is a k8s cluster the k8s cluster has network connectivity to the desired private database If these stars align, than this solution might work as a stopgap for accessing a private Azure DB (and I’m assuming this could work similarly on AWS). -It would be nice if Azure provided tooling similar to cloud-sql-proxy, so that using private databases would be more of a convenient experience. -One other thing to note is that some clients (such as dbeaver) do not provide DNS resolution over SOCKS. So in this case, you won’t be able to use DNS as if you were inside the cluster, but instead have to rely on knowing private ip addresses. -`}).add({id:2,href:"/blog/2022/12/10/watching-youtube-in-private/",title:"Watching YouTube in private",description:`I recently stumbled upon yewtu.be and found it intriguing. It not only allows you to watch YouTube without being on YouTube, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it’s a hosted instance of invidious. -`,content:`I recently stumbled upon yewtu.be and found it intriguing. It not only allows you to watch YouTube without being on YouTube, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it’s a hosted instance of invidious. -The layout is simple, and JavaScript is not required. -I started using yewtu.be as my primary client for watching videos. I subscribe to several YouTube channels and I prefer the interface invidiuous provides due to its simplicity. It’s also nice to be in control of my search and watch history. -A few days ago, yewtu.be went down briefly, and that motivated me enough to self-host invidious. There are several other hosted instances listed here, but being able to easily backup my own instance (including subscriptions and watch history) is more compelling in my case. -Hosting invidious# The quickest way to get invidious up is with docker-compose as mentioned in the docs. -I made a few modifications, and ended up with: -version: "3" services: invidious: image: quay.io/invidious/invidious restart: unless-stopped ports: - "0.0.0.0:3000:3000" environment: INVIDIOUS_CONFIG: | db: dbname: invidious user: kemal password: kemal host: invidious-db port: 5432 check_tables: true healthcheck: test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 interval: 30s timeout: 5s retries: 2 depends_on: - invidious-db invidious-db: image: docker.io/library/postgres:14 restart: unless-stopped volumes: - postgresdata:/var/lib/postgresql/data - ./config/sql:/config/sql - ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh environment: POSTGRES_DB: invidious POSTGRES_USER: kemal POSTGRES_PASSWORD: kemal healthcheck: test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"] volumes: postgresdata: After invidious was up and running, I installed Tailscale on it to leverage its MagicDNS, and I’m now able to access this instance from anywhere at http://invidious:3000/feed/subscriptions. -Redirecting YouTube links# I figured it would be nice to redirect existing YouTube links that others send me, so that I could seamlessly watch the videos using invidious. -I went looking for a way to redirect paths at the browser level. I found the lightweight proxy requestly, which can be used to modify http requests in my browser. I created the following rules: -Now the link https://www.youtube.com/watch?v=-lz30by8-sU will redirect to http://invidious:3000/watch?v=-lz30by8-sU -I’m still looking for ways to improve this invidious setup. There doesn’t appear to be a way to stream in 4K yet. -`}).add({id:3,href:"/blog/2022/04/02/virtualizing-my-router-with-pfsense/",title:"Virtualizing my router with pfSense",description:`My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on! -`,content:`My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on! -pfSense# I figured this would be a good opportunity to try pfSense. I’ve heard nothing but positive things about pfSense and the fact it’s been around since 2004, based on FreeBSD, and written in PHP gave me the impression that it would be relatively stable (and I’d expect nothing less because it has an important job to do!). pfSense can be run on many different machines, and there are even some officially supported appliances. Since I already have a machine running Proxmox, why not just run it in a VM? It’d allow for automatic snapshotting of the machine. There is a good video on this by Techno Tim. Tim has a lot of good videos, and this one is about virtualizing pfSense. -Router on a stick# I had initially made the assumption that in order to build a router, you would need more than a single NIC (or a dual-port NIC) in order to support both WAN and LAN. This is simply not the case, because VLANs are awesome! In order to create a router, all you need is a single port NIC and a network switch that supports VLANs (also marketed as a managed switch). I picked up the Netgear GS308E because it has both a sufficient amount of ports for my needs, and it supports VLANs. It also has a nice sturdy metal frame which was a pleasant surprise. -After setting up this Netgear switch, it shoud be possible to access the web interface at http://192.168.0.239. It may be at a different address. To find the address, try checking your DHCP leases in your router interface (if you plugged it into an existing router). I realized I was unable to access this interface because I was on a different subnet, so I set my machine’s address to 192.168.0.22 in order to temporarily setup this switch. I assigned a static ip address to the switch (in System > Switch Information) so that it was in the same subnet as the rest of my network. -The web interface is nothing spectactular, but it allows for managing VLANs. -The following configuration will: -assign port 1 to be the LAN (connected to the Proxmox machine) assign port 8 to be the WAN (connected to my ISP’s modem) In the switch’s web interface, I went to VLAN and then 802.1Q, and then clicked on VLAN Configuration. I configured the ports to look like this: -Note that the VLAN Identifier Setting has been setup already with two VLANs (1 and 10). More VLANs can be created (i.e. to isolate IoT devices), but 2 VLANs is all we need for the initial setup of a router. -To replicate the above configuration, add a new VLAN ID 10 (1 should exist by default). -Next, go into VLAN Membership and configure VLAN 1’s port membership to be the following: -and then configure VLAN 10’s port membership to be the following: -Now, go into Port PVID and ensure that port 8 is set to PVID 10. -This above configuration will dedicate two of the eight ports to WAN and LAN. This will allow the internet to flow into the pfSense from the modem. -Setting up pfSense# pfSense is fairly easy to setup. Just download the latest ISO and boot up the virtual machine. When setting up the machine, I mostly went with all of the defaults. Configuration can be changed later in the web interface, which is quite a bit simpler. -Since VLANs are going to be leveraged, when you go to Assign Interfaces, VLANs should be setup now like the following: -WAN should be vtnet0.10 LAN should be vtnet0 After going through the rest of the installation, if everything is connected correctly it should display both WAN and LAN addresses. -If all goes well, the web interface should be running at https://192.168.1.1. -And this is where the fun begins. There are many tutorials and blogs about how to setup pfSense and various services and packages that can be installed. I’ve already installed pfBlocker-NG. -Summary# It is fairly simple to setup a router with pfSense from within a virtual machine. A physical dedicated routing machine is not necessary and often does not perform as well as software running on faster and more reliable hardware. So far, pfSense has been running for over a week without a single hiccup. pfSense is a mature piece of software that is incredibly powerful and flexible. To avoid some of the instability I had experienced with OpenWrt, I enabled AutoConfigBackup, which is capable of automatically backing up configuration upon every change. I plan to explore and experiment with more services and configuration in the future, so the ability to track all of these changes gives me the peace of mind that experimentation is safe. -`}).add({id:4,href:"/blog/2022/03/13/backing-up-gmail-with-synology/",title:"Backing up gmail with Synology",description:`I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines. -`,content:`I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines. -The thought of completely de-googling has crossed my mind on occassion. Convenience, coupled with my admiration for Google engineering, has prevented me from doing so thus far. Though, I may end up doing so at some point in the future. -Synology MailPlus Server# Synology products are reasonably priced for what you get (essentially a cloud-in-a-box) and there is very little maintenance required. I’ve recently been in interested in syncing and snapshotting my personal data. I’ve setup Synology’s Cloud Sync and keep copies of most of my cloud data. -I’ve used tools such as gmvault with success in the past. Setting this up on a cron seems like a viable option. However, I don’t really need a lot of the features it offers and do not plan to restore this data to another account. -Synology’s MailPlus seems to be a good candidate for backing up this data. By enabling POP3 fetching, it’s possible to fetch all existing emails, as well as periodically fetch all new emails. If a disaster ever did occur, having these emails would be beneficial, as they are an extension of my memory bank. -Installing MailPlus can be done from the Package Center: -Next, I went into Synology MailPlus Server and on the left, clicked on Account and ensured my user was marked as active. -Afterwords, I followed these instructions in order to start backing up emails. -When entering the POP3 credentials, I created an app password solely for authenticating to POP3 from the Synology device. This is required because I have 2-Step verification enabled on my account. There doesn’t seem to be a more secure way to access POP3 at the moment. It does seem like app password access is limited in scope (when MFA is enabled). These app passwords can’t be used to login to the main Google account. -I made sure to set the Fetch Range to All in order to get all emails from the beginning of time. -After this, mail started coming in. -After fetching 19 years worth of emails, I tried searching for some emails. It only took a few seconds to search through ~50K emails, which is a relief if I ever did have to search for something important. -Securing Synology# Since Synology devices are not hermetically sealed, it’s best to secure them by enabling MFA to help prevent being the victim of ransomware. It is also wise to backup your system settings and volumes to the cloud using a tool such as Hyper Backup. Encrypting your shared volumes should also be done, since unfortunately DSM does not support full disk encryption. -Summary# Having backups of various forms of cloud data is a good investment, especially in times of war. I certainly feel more at ease for having backed up my emails. -`}).add({id:5,href:"/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/",title:"Running K3s in LXC on Proxmox",description:"It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.",content:`It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. LXC containers also provide an efficient way to use a machine’s resources. -What is K3s?# K3s is a Kubernetes distro that advertises itself as a lightweight binary with a much smaller memory-footprint than traditional k8s. K3s is not a fork of k8s as it seeks to remain as close to upstream as it possibly can. -Configure Proxmox# This gist contains snippets and discussion on how to deploy K3s in LXC on Proxmox. It mentions that bridge-nf-call-iptables should be loaded, but I did not understand the benefit of doing this. -Disable swap# There is an issue on Kubernetes regarding swap here. There claims to be support for swap in 1.22, but for now let’s disable it: -sudo sysctl vm.swappiness=0 sudo swapoff -a It might be worth experimenting with swap enabled in the future to see how that might affect performance. -Enable IP Forwarding# To avoid IP Forwarding issues with Traefik, run the following on the host: -sudo sysctl net.ipv4.ip_forward=1 sudo sysctl net.ipv6.conf.all.forwarding=1 sudo sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf sudo sed -i 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf Create LXC container# Create an LXC container in the Proxmox interface as you normally would. Remember to: -Uncheck unprivileged container Use a LXC template (I chose a debian 11 template downloaded with pveam) In memory, set swap to 0 Create and start the container Modify container config# Now back on the host run pct list to determine what VMID it was given. -Open /etc/pve/lxc/$VMID.conf and append: -lxc.apparmor.profile: unconfined lxc.cap.drop: lxc.mount.auto: "proc:rw sys:rw" lxc.cgroup2.devices.allow: c 10:200 rwm All of the above configurations are described in the manpages. Notice that cgroup2 is used since Proxmox VE 7.0 has switched to a pure cgroupv2 environment. -Thankfully cgroup v2 support has been supported in k3s with these contributions: -https://github.com/k3s-io/k3s/pull/2584 https://github.com/k3s-io/k3s/pull/2844 Enable shared host mounts# From within the container, run: -echo '#!/bin/sh -e ln -s /dev/console /dev/kmsg mount --make-rshared /' > /etc/rc.local chmod +x /etc/rc.local reboot Install K3s# One of the simplest ways to install K3s on a remote host is to use k3sup. Ensure that you supply a valid CONTAINER_IP and choose the k3s-version you prefer. As of 2021/11, it is still defaulting to the 1.19 channel, so I overrode it to 1.22 for cgroup v2 support. See the published releases here. -ssh-copy-id root@$CONTAINER_IP k3sup install --ip $CONTAINER_IP --user root --k3s-version v1.22.3+k3s1 If all goes well, you should see a path to the kubeconfig generated. I moved this into ~/.kube/config so that kubectl would read this by default. -Wrapping up# Installing K3s in LXC on Proxmox works with a few tweaks to the default configuration. I later followed the Tekton’s Getting Started guide and was able to deploy it in a few commands. -$ kubectl get all --namespace tekton-pipelines NAME READY STATUS RESTARTS AGE pod/tekton-pipelines-webhook-8566ff9b6b-6rnh8 1/1 Running 1 (50m ago) 12h pod/tekton-dashboard-6bf858f977-qt4hr 1/1 Running 1 (50m ago) 11h pod/tekton-pipelines-controller-69fd7498d8-f57m4 1/1 Running 1 (50m ago) 12h NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/tekton-pipelines-controller ClusterIP 10.43.44.245 <none> 9090/TCP,8080/TCP 12h service/tekton-pipelines-webhook ClusterIP 10.43.183.242 <none> 9090/TCP,8008/TCP,443/TCP,8080/TCP 12h service/tekton-dashboard ClusterIP 10.43.87.97 <none> 9097/TCP 11h NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/tekton-pipelines-webhook 1/1 1 1 12h deployment.apps/tekton-dashboard 1/1 1 1 11h deployment.apps/tekton-pipelines-controller 1/1 1 1 12h NAME DESIRED CURRENT READY AGE replicaset.apps/tekton-pipelines-webhook-8566ff9b6b 1 1 1 12h replicaset.apps/tekton-dashboard-6bf858f977 1 1 1 11h replicaset.apps/tekton-pipelines-controller-69fd7498d8 1 1 1 12h NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook Deployment/tekton-pipelines-webhook 9%/100% 1 5 1 12h I made sure to install Tailscale in the container so that I can easily access K3s from anywhere. -If I’m feeling adventurous, I might experiment with K3s rootless. -`}).add({id:6,href:"/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/",title:"Replacing docker with podman on macOS (and Linux)",description:`There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker: -`,content:`There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker: -...ignoring Docker updates is a paid feature now?? pic.twitter.com/ZxKW3b9LQM -— Brendan Dolan-Gavitt (@moyix) May 1, 2021 Docker has been one of the larger influencers in the container world, helping to standardize the OCI Image Format Specification. For many developers, containers have become synonymous with terms like docker and Dockerfile (a file containing build instructions for a container image). Docker has certainly made it very convenient to build and run containers, but it is not the only solution for doing so. -This post briefly describes my experience swapping out docker for podman on macOS. -What is a container?# A container is a standard unit of software that packages up all application dependencies within it. Multiple containers can be run on a host machine all sharing the same kernel as the host. Linux namespaces help provide an isolated view of the system, including mnt, pid, net, ipc, uid, cgroup, and time. There is an in-depth video that discusses what containers are made from, and near the end there is a demonstration on how to build your own containers from the command line. -By easily allowing the necessary dependencies to live alongside the application code, containers make the “works on my machine” problem less of a problem. -Benefits of Podman# One of the most interesting features of Podman is that it is daemonless. There isn’t a process running on your system managing your containers. In contrast, the docker client is reliant upon the docker daemon (often running as root) to be able to build and run containers. -Podman is rootless by default. It is now possible to run the docker daemon rootless as well, but it’s still not the default behaviour. -I’ve also observed that so far my 2019 16" Macbook Pro hasn’t sounded like a jet engine, although I haven’t performed any disk-intensive operations yet. -Installing Podman# Running Podman on macOS is more involved than on Linux, because the podman-machine must run Linux inside of a virtual machine. Fortunately, the installation is made simple with brew (read this if you’re installing Podman on Linux): -brew install podman The podman-machine must be started: -# This is not necessary on Linux podman machine init podman machine start Running a container# Let’s try to pull an image: -$ podman pull alpine Trying to pull docker.io/library/alpine:latest... Getting image source signatures Copying blob sha256:a0d0a0d46f8b52473982a3c466318f479767577551a53ffc9074c9fa7035982e Copying config sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab Writing manifest to image destination Storing signatures 14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab If you’re having an issue pulling images, you may need to remove ~/.docker/config.json or remove the set of auths in the configuration as mentioned here. -and then run and exec into the container: -$ podman run --rm -ti alpine Error: error preparing container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b for attach: error configuring network namespace for container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b: error adding pod unruffled_bohr_unruffled_bohr to CNI network "podman": unexpected end of JSON input What does this error mean? A bit of searching lead to this github issue. -Until the fix is released, a workaround is to just specify a port (even when it’s not needed): -podman run -p 4242 --rm -ti alpine If you’re reading this from the future, there is a good chance specifying a port won’t be needed. -Another example of running a container with Podman can be found in the Jellyfin Documentation. -Aliasing docker with podman# Force of habit (or other scripts) may have you calling docker. To work around this: -alias docker=podman podman-compose# You may be wondering: what about docker-compose? Well, there claims to be a drop-in replacement for it: podman-compose. -pip3 install --user podman-compose Now let’s create a docker-compose.yml file to test: -cat << EOF >> docker-compose.yml version: '2' services: hello_world: image: ubuntu command: [/bin/echo, 'Hello world'] EOF Now run: -$ podman-compose up podman pod create --name=davegallant.github.io --share net 40d61dc6e95216c07d2b21cea6dcb30205bfcaf1260501fe652f05bddf7e595e 0 podman create --name=davegallant.github.io_hello_world_1 --pod=davegallant.github.io -l io.podman.compose.config-hash=123 -l io.podman.compose.project=davegallant.github.io -l io.podman.compose.version=0.0.1 -l com.docker.compose.container-number=1 -l com.docker.compose.service=hello_world --add-host hello_world:127.0.0.1 --add-host davegallant.github.io_hello_world_1:127.0.0.1 ubuntu /bin/echo Hello world Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf) Trying to pull docker.io/library/ubuntu:latest... Getting image source signatures Copying blob sha256:f3ef4ff62e0da0ef761ec1c8a578f3035bef51043e53ae1b13a20b3e03726d17 Copying blob sha256:f3ef4ff62e0da0ef761ec1c8a578f3035bef51043e53ae1b13a20b3e03726d17 Copying config sha256:597ce1600cf4ac5f449b66e75e840657bb53864434d6bd82f00b172544c32ee2 Writing manifest to image destination Storing signatures 1a68b2fed3fdf2037b7aef16d770f22929eec1d799219ce30541df7876918576 0 podman start -a davegallant.github.io_hello_world_1 Hello world This should more or less provide the same results you would come to expect with docker. The README does clearly state that podman-compose is under development. -Summary# Installing Podman on macOS was not seamless, but it was manageable well within 30 minutes. I would recommend giving Podman a try to anyone who is unhappy with experiencing forced docker updates, or who is interested in using a more modern technology for running containers. -One caveat to mention is that there isn’t an official graphical user interface for Podman, but there is an open issue considering one. If you rely heavily on Docker Desktop’s UI, you may not be as interested in using podman yet. -Update: After further usage, bind mounts do not seem to work out of the box when the client and host are on different machines. A rather involved solution using sshfs was shared here. -I had been experimenting with Podman on Linux before writing this, but after listening to this podcast episode, I was inspired to give Podman a try on macOS. -`}).add({id:7,href:"/blog/2021/09/17/automatically-rotating-aws-access-keys/",title:"Automatically rotating AWS access keys",description:`Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.`,content:`Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution. This would mean that credentials (even temporary session credentials) never have to be written in plaintext to disk (i.e. where AWS suggests). Any existing applications, such as terraform, could be have their credentials passed to them from aws-vault, which retrieves them from the OS’s secure keystore. There is even a rotate command included. -`}).add({id:8,href:"/blog/2021/09/08/why-i-threw-out-my-dotfiles/",title:"Why I threw out my dotfiles",description:`Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager. -`,content:`Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager. -What is home-manager?# Before understanding home-manager, it is worth briefly discussing what nix is. nix is a package manager that originally spawned from a PhD thesis. Unlike other package managers, it uses symbolic links to keep track of the currently installed packages, keeping around the old ones in case you may want to rollback. -For example, I have used nix to install the package bind which includes dig. You can see that it is available on multiple platforms. The absolute path of dig can be found by running: -$ ls -lh $(which dig) lrwxr-xr-x 73 root 31 Dec 1969 /run/current-system/sw/bin/dig -> /nix/store/0r4qdyprljd3dki57jn6c6a8dh2rbg9g-bind-9.16.16-dnsutils/bin/dig Notice that there is a hash included in the file path? This is a nix store path and is computed by the nix package manager. This nix pill does a good job explaining how this hash is computed. All of the nix pills are worth a read, if you are interested in learning more about nix itself. However, using home-manager does not require extensive knowledge of nix. -Part of the nix ecosystem includes nixpkgs. Many popular tools can be found already packaged in this repository. As you can see with these stats, there is a large number of existing packages that are being maintained by the community. Contributing a new package is easy, and anyone can do it! -home-manager leverages the nix package manager (and nixpkgs), as well the nix language so that you can declaratively define your system configuration. I store my nix-config in git so that I can keep track of my packages and configurations, and retain a clean and informative git commit history so that I can understand what changed and why. -Setting up home-manager# \u26A0\uFE0F If you run this on your main machine, make sure you backup your configuration files first. home-manager is pretty good about not overwriting existing configuration, but it is better to have a backup! Alternatively, you could test this out on a VM or cloud instance. -The first thing you should do is install nix: -curl -L https://nixos.org/nix/install | sh It’s generally not a good idea to curl and execute files from the internet (without verifying integrity), so you might want to download the install script first and take a look before executing it! -Open up a new shell in your terminal and running nix should work. If not, run . ~/.nix-profile/etc/profile.d/nix.sh -Now, install home-manager: -nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager nix-channel --update nix-shell '<home-manager>' -A install You should see a wave of /nix/store/* paths being displayed on your screen. -Now, to start off with a basic configuration, open up ~/.config/nixpkgs/home.nix in the editor of your choice and paste this in (you will want to change userName and homeDirectory): -{ config, pkgs, ... }: { programs.home-manager.enable = true; home = { username = "dave"; homeDirectory = "/home/dave"; stateVersion = "21.11"; packages = with pkgs; [ bind exa fd ripgrep ]; }; programs = { git = { enable = true; aliases = { aa = "add -A ."; br = "branch"; c = "commit -S"; ca = "commit -S --amend"; cb = "checkout -b"; co = "checkout"; d = "diff"; l = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"; }; delta = { enable = true; options = { features = "line-numbers decorations"; whitespace-error-style = "22 reverse"; plus-style = "green bold ul '#198214'"; decorations = { commit-decoration-style = "bold yellow box ul"; file-style = "bold yellow ul"; file-decoration-style = "none"; }; }; }; extraConfig = { push = { default = "current"; }; pull = { rebase = true; }; }; }; starship = { enable = true; enableZshIntegration = true; settings = { add_newline = false; scan_timeout = 10; }; }; zsh = { enable = true; enableAutosuggestions = true; enableSyntaxHighlighting = true; history.size = 1000000; localVariables = { CASE_SENSITIVE = "true"; DISABLE_UNTRACKED_FILES_DIRTY = "true"; RPROMPT = ""; # override because macOS defaults to filepath ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#838383,underline"; ZSH_DISABLE_COMPFIX = "true"; }; initExtra = '' export PAGER=less ''; shellAliases = { ".." = "cd .."; grep = "rg --smart-case"; ls = "exa -la --git"; }; "oh-my-zsh" = { enable = true; plugins = [ "gitfast" "last-working-dir" ]; }; }; }; } Save the file and run: -home-manager switch You should see another wave of /nix/store/* paths. The new configuration should now be active. -If you run zsh, you should see that you have starship and access to several other utils such as rg, fd, and exa. -This basic configuration above is also defining your ~/.config/git/config and .zshrc. If you already have either of these files, home-manager will complain about them already existing. -If you run cat ~/.zshrc, you will see the way these configuration files are generated. -You can extend this configuration for programs such as (neo)vim, emacs, alacritty, ssh, etc. To see other programs, take a look at home-manager/modules/programs. -Gateway To Nix# In ways, home-manager can be seen as a gateway to the nix ecosystem. If you have enjoyed the way you can declare user configuration with home-manager, you may be interested in expanding your configuration to include other system dependencies and configuration. For example, in Linux you can define your entire system’s configuration (including the kernel, kernel modules, networking, filesystems, etc) in nix. For macOS, there is nix-darwin that includes nix modules for configuring launchd, dock, and other preferences and services. You may also want to check out Nix Flakes: a more recent feature that allows you declare dependencies, and have them automatically pinned and hashed in flake.lock, similar to that of many modern package managers. -Wrapping up# The title of this post is slightly misleading, since it’s possible to retain some of your dotfiles and have them intermingle with home-manager by including them alongside nix. The idea of defining user configuration using nix can provide a clean way to maintain your configuration, and allow it to be portable across platforms. Is it worth the effort to migrate away from shell scripts and dotfiles? I’d say so. -`}).add({id:9,href:"/blog/2021/09/06/what-to-do-with-a-homelab/",title:"What to do with a homelab",description:`A homelab can be an inexpensive way to host a multitude of internal/external services and learn a lot in the process. -`,content:`A homelab can be an inexpensive way to host a multitude of internal/external services and learn a lot in the process. -Do you want host your own Media server? Ad blocker? Web server? Are you interested in learning more about Linux? Virtualization? Networking? Security? Building a homelab can be an entertaining playground to enhance your computer skills. -One of the best parts about building a homelab is that it doesn’t have to be a large investment in terms of hardware. One of the simplest ways to build a homelab is out of a refurbished computer. Having multiple machines/nodes provides the advantage of increased redundancy, but starting out with a single node is enough to reap many of the benefits of having a homelab. -Virtualization# Virtualizing your hardware is an organized way of dividing up your machine’s resources. This can be done with something such as a Virtual Machine or something lighter like a container using LXC or runC. Containers have much less overhead in terms of boot time and storage allocation. This Stack Overflow answer sums it up nicely. -A hypervisor such as Proxmox can be installed in minutes on a new machine. It provides a web interface and a straight-forward way to spin up new VMs and containers. Even if your plan is to run mostly docker containers, Proxmox can be a useful abstraction for managing VMs, disks and running scheduled backups. You can even run docker within an LXC container by enabling nested virtualization. You’ll want to ensure that VT-d and VT-x are enabled in the BIOS if you decide to install a hypervisor to manage your virtualization. -Services# So what are some useful services to deploy? -Jellyfin or Plex - basically a self-hosted Netflix that can be used to stream from multiple devices, and the best part is that you manage the content! Unlike Plex, Jellyfin is open source and can be found here. changedetection - is a self-hosted equivalent to something like visualping.io that will notify you when a webpage changes and keep track of the diffs Adguard or Pihole - can block a list of known trackers for all clients on your local network. I’ve used pihole for a long time, but have recently switched to Adguard since the UI is more modern and it has the ability to toggle on/off a pre-defined list of services, including Netflix (this is useful if you have stealthy young kids). Either of these will speed up your internet experience, simply because you won’t need to download all of the extra tracking bloat. Gitea - A lightweight git server. I use this to mirror git repos from GitHub, GitLab, etc. Homer - A customizable landing page for services you need to access (including the ability to quickly search). Uptime Kuma - A fancy tool for monitoring the uptime of services. There is a large number of services you can self-host, including your own applications that you might be developing. awesome-self-hosted provides a curated list of services that might be of interest to you. -VPN# You could certainly setup and manage your own VPN by using something like OpenVPN, but there is also something else you can try: tailscale. It is a very quick way to create fully-encrypted connections between clients. With its MagicDNS, your can reference the names of machines like homer rather than using an IP address. By using this mesh-like VPN, you can easily create a secure tunnel to your homelab from anywhere. -Monitoring# Monitoring can become an important aspect of your homelab after it starts to become something that is relied upon. One of the simplest ways to setup some monitoring is using netdata. It can be installed on individual containers, VMs, and also a hypervisor (such as Proxmox). All of the monitoring works out of the box by detecting disks, memory, network interfaces, etc. -Additionally, agents installed on different machines can all be centrally viewed in netdata, and it can alert you when some of your infrastructure is down or in a degraded state. Adding additional nodes to netdata is as simple as a 1-line shell command. -As mentioned above, Uptime Kuma is a convenient way to track uptime and monitor the availability of your services. -In Summary# Building out a homelab can be a rewarding experience and it doesn’t require buying a rack full of expensive servers to get a significant amount of utility. There are many services that you can run that require very minimal setup, making it possible to get a server up and running in a short period of time, with monitoring, and that can be securely connected to remotely. -`}).add({id:10,href:"/blog/2020/03/16/appgate-sdp-on-arch-linux/",title:"AppGate SDP on Arch Linux",description:`AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP 4.3.2 working on Arch Linux. -`,content:`AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP 4.3.2 working on Arch Linux. -Depending on the AppGate SDP Server that is running, you may require a client that is more recent than the latest package on AUR. As of right now, the latest AUR is 4.2.2-1. -These steps highlight how to get it working with Python3.8 by making a 1 line modification to AppGate source code. -Packaging# We already know the community package is currently out of date, so let’s clone it: -git clone https://aur.archlinux.org/appgate-sdp.git cd appgate-sdp You’ll likely notice that the version is not what we want, so let’s modify the PKGBUILD to the following: -# Maintainer: Pawel Mosakowski <pawel at mosakowski dot net> pkgname=appgate-sdp conflicts=('appgate-sdp-headless') pkgver=4.3.2 _download_pkgver=4.3 pkgrel=1 epoch= pkgdesc="Software Defined Perimeter - GUI client" arch=('x86_64') url="https://www.cyxtera.com/essential-defense/appgate-sdp/support" license=('custom') # dependecies calculated by namcap depends=('gconf' 'libsecret' 'gtk3' 'python' 'nss' 'libxss' 'nodejs' 'dnsmasq') source=("https://sdpdownloads.cyxtera.com/AppGate-SDP-\${_download_pkgver}/clients/\${pkgname}_\${pkgver}_amd64.deb" "appgatedriver.service") options=(staticlibs) prepare() { tar -xf data.tar.xz } package() { cp -dpr "\${srcdir}"/{etc,lib,opt,usr} "\${pkgdir}" mv -v "$pkgdir/lib/systemd/system" "$pkgdir/usr/lib/systemd/" rm -vrf "$pkgdir/lib" cp -v "$srcdir/appgatedriver.service" "$pkgdir/usr/lib/systemd/system/appgatedriver.service" mkdir -vp "$pkgdir/usr/share/licenses/appgate-sdp" cp -v "$pkgdir/usr/share/doc/appgate/copyright" "$pkgdir/usr/share/licenses/appgate-sdp" cp -v "$pkgdir/usr/share/doc/appgate/LICENSE.github" "$pkgdir/usr/share/licenses/appgate-sdp" cp -v "$pkgdir/usr/share/doc/appgate/LICENSES.chromium.html.bz2" "$pkgdir/usr/share/licenses/appgate-sdp" } md5sums=('17101aac7623c06d5fbb95f50cf3dbdc' '002644116e20b2d79fdb36b7677ab4cf') Let’s first make sure we have some dependencies. If you do not have yay, check it out. -yay -S dnsmasq gconf Now, let’s install it: -makepkg -si Running the client# Ok, let’s run the client by executing appgate. -It complains about not being able to connect. -Easy fix: -sudo systemctl start appgatedriver.service Now we should be connected… but DNS is not working? -Fixing the DNS# Running resolvectl should display that something is not right. -Why is the DNS not being set by appgate? -$ head -3 /opt/appgate/linux/set_dns #!/usr/bin/env python3 ''' This is used to set and unset the DNS. It seems like python3 is required for the DNS setting to happen. Let’s try to run it. -$ sudo /opt/appgate/linux/set_dns /opt/appgate/linux/set_dns:88: SyntaxWarning: "is" with a literal. Did you mean "=="? servers = [( socket.AF_INET if x.version is 4 else socket.AF_INET6, map(int, x.packed)) for x in servers] Traceback (most recent call last): File "/opt/appgate/linux/set_dns", line 30, in <module> import dbus ModuleNotFoundError: No module named 'dbus' Ok, let’s install it: -$ sudo python3.8 -m pip install dbus-python Will it work now? Not yet. There’s another issue: -$ sudo /opt/appgate/linux/set_dns /opt/appgate/linux/set_dns:88: SyntaxWarning: "is" with a literal. Did you mean "=="? servers = [( socket.AF_INET if x.version is 4 else socket.AF_INET6, map(int, x.packed)) for x in servers] module 'platform' has no attribute 'linux_distribution' This is a breaking change in Python3.8. -So what is calling platform.linux_distribution? -Let’s search for it: -$ sudo grep -r 'linux_distribution' /opt/appgate/linux/ /opt/appgate/linux/nm.py: if platform.linux_distribution()[0] != 'Fedora': Aha! So this is in the local AppGate source code. This should be an easy fix. Let’s just replace this line with: -if True: # Since we are not using Fedora :) Wrapping up# It turns out there are breaking changes in Python3.8. -The docs say Deprecated since version 3.5, will be removed in version 3.8: See alternative like the distro package. -I suppose this highlights one of the caveats of relying upon the system’s python, rather than having an isolated, dedicated environment for all dependencies. -`}),j.addEventListener("input",function(){let i=this.value,o=e.search(i,5,{enrich:!0}),s=new Map;for(let r of o.flatMap(l=>l.result))s.has(r.href)||s.set(r.doc.href,r.doc);if(z.innerHTML="",z.classList.remove("search__suggestions--hidden"),s.size===0&&i){let r=document.createElement("div");r.innerHTML=`No results for "${i}"`,r.classList.add("search__no-results"),z.appendChild(r);return}for(let[r,l]of s){let h=document.createElement("a");h.href=r,h.classList.add("search__suggestion-item"),z.appendChild(h);let p=document.createElement("div");p.textContent=l.title,p.classList.add("search__suggestion-title"),h.appendChild(p);let g=document.createElement("div");if(g.textContent=l.description,g.classList.add("search__suggestion-description"),h.appendChild(g),z.childElementCount===5)break}})})();})(); -//! Source: https://github.com/h-enk/doks/blob/master/assets/js/index.js -/*! Source: https://dev.to/shubhamprakash/trap-focus-using-javascript-6a3 */ -//! Source: https://discourse.gohugo.io/t/range-length-or-last-element/3803/2 diff --git a/public/js/main.27c23e9259a01acff79c2e4d6c0e56713673c603840d96e8a252b6167e3108706294f823212428068f89451f34415ed350980671eacda0cb92f5fd6291d1ff4a.js b/public/js/main.27c23e9259a01acff79c2e4d6c0e56713673c603840d96e8a252b6167e3108706294f823212428068f89451f34415ed350980671eacda0cb92f5fd6291d1ff4a.js deleted file mode 100644 index 7d18e040..00000000 --- a/public/js/main.27c23e9259a01acff79c2e4d6c0e56713673c603840d96e8a252b6167e3108706294f823212428068f89451f34415ed350980671eacda0cb92f5fd6291d1ff4a.js +++ /dev/null @@ -1,23 +0,0 @@ -(()=>{var re=Object.create;var W=Object.defineProperty;var ne=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ie=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var X=(o,p)=>()=>(p||o((p={exports:{}}).exports,p),p.exports);var oe=(o,p,v,S)=>{if(p&&typeof p=="object"||typeof p=="function")for(let s of ae(p))!se.call(o,s)&&s!==v&&W(o,s,{get:()=>p[s],enumerable:!(S=ne(p,s))||S.enumerable});return o};var Z=(o,p,v)=>(v=o!=null?re(ie(o)):{},oe(p||!o||!o.__esModule?W(v,"default",{value:o,enumerable:!0}):v,o));var Y=X((ce,z)=>{var ue=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var m=function(o){var p=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,v=0,S={},s={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:function r(n){return n instanceof t?new t(n.type,r(n.content),n.alias):Array.isArray(n)?n.map(r):n.replace(/&/g,"&").replace(/"+d.content+""};function e(r,n,u,l){r.lastIndex=n;var d=r.exec(u);if(d&&l&&d[1]){var b=d[1].length;d.index+=b,d[0]=d[0].slice(b)}return d}function a(r,n,u,l,d,b){for(var F in u)if(!(!u.hasOwnProperty(F)||!u[F])){var f=u[F];f=Array.isArray(f)?f:[f];for(var E=0;E=b.reach);T+=k.value.length,k=k.next){var C=k.value;if(n.length>r.length)return;if(!(C instanceof t)){var I=1,P;if(U){if(P=e(j,T,r,N),!P||P.index>=r.length)break;var O=P.index,ee=P.index+P[0].length,$=T;for($+=k.value.length;O>=$;)k=k.next,$+=k.value.length;if($-=k.value.length,T=$,k.value instanceof t)continue;for(var L=k;L!==n.tail&&($b.reach&&(b.reach=G);var D=k.prev;M&&(D=g(n,D,M),T+=M.length),c(n,D,I);var te=new t(F,_?s.tokenize(R,_):R,J,R);if(k=g(n,D,te),q&&g(n,k,q),I>1){var B={cause:F+","+E,reach:G};a(r,n,u,k.prev,T,B),b&&B.reach>b.reach&&(b.reach=B.reach)}}}}}}function i(){var r={value:null,prev:null,next:null},n={value:null,prev:r,next:null};r.next=n,this.head=r,this.tail=n,this.length=0}function g(r,n,u){var l=n.next,d={value:u,prev:n,next:l};return n.next=d,l.prev=d,r.length++,d}function c(r,n,u){for(var l=n.next,d=0;d/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};m.languages.markup.tag.inside["attr-value"].inside.entity=m.languages.markup.entity;m.languages.markup.doctype.inside["internal-subset"].inside=m.languages.markup;m.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.replace(/&/,"&"))});Object.defineProperty(m.languages.markup.tag,"addInlined",{value:function(p,v){var S={};S["language-"+v]={pattern:/(^$)/i,lookbehind:!0,inside:m.languages[v]},S.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:S}};s["language-"+v]={pattern:/[\s\S]+/,inside:m.languages[v]};var t={};t[p]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return p}),"i"),lookbehind:!0,greedy:!0,inside:s},m.languages.insertBefore("markup","cdata",t)}});Object.defineProperty(m.languages.markup.tag,"addAttribute",{value:function(o,p){m.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[p,"language-"+p],inside:m.languages[p]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});m.languages.html=m.languages.markup;m.languages.mathml=m.languages.markup;m.languages.svg=m.languages.markup;m.languages.xml=m.languages.extend("markup",{});m.languages.ssml=m.languages.xml;m.languages.atom=m.languages.xml;m.languages.rss=m.languages.xml;(function(o){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+p.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var v=o.languages.markup;v&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css"))})(m);m.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};m.languages.javascript=m.languages.extend("clike",{"class-name":[m.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});m.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;m.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:m.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:m.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:m.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:m.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:m.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});m.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:m.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});m.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});m.languages.markup&&(m.languages.markup.tag.addInlined("script","javascript"),m.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));m.languages.js=m.languages.javascript;(function(){if(typeof m=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var o="Loading\u2026",p=function(y,A){return"\u2716 Error "+y+" while fetching file: "+A},v="\u2716 Error: File does not exist or is empty",S={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",t="loading",e="loaded",a="failed",i="pre[data-src]:not(["+s+'="'+e+'"]):not(['+s+'="'+t+'"])';function g(y,A,w){var r=new XMLHttpRequest;r.open("GET",y,!0),r.onreadystatechange=function(){r.readyState==4&&(r.status<400&&r.responseText?A(r.responseText):r.status>=400?w(p(r.status,r.statusText)):w(v))},r.send(null)}function c(y){var A=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(A){var w=Number(A[1]),r=A[2],n=A[3];return r?n?[w,Number(n)]:[w,void 0]:[w,w]}}m.hooks.add("before-highlightall",function(y){y.selector+=", "+i}),m.hooks.add("before-sanity-check",function(y){var A=y.element;if(A.matches(i)){y.code="",A.setAttribute(s,t);var w=A.appendChild(document.createElement("CODE"));w.textContent=o;var r=A.getAttribute("data-src"),n=y.language;if(n==="none"){var u=(/\.(\w+)$/.exec(r)||[,"none"])[1];n=S[u]||u}m.util.setLanguage(w,n),m.util.setLanguage(A,n);var l=m.plugins.autoloader;l&&l.loadLanguages(n),g(r,function(d){A.setAttribute(s,e);var b=c(A.getAttribute("data-range"));if(b){var F=d.split(/\r\n?|\n/g),f=b[0],E=b[1]==null?F.length:b[1];f<0&&(f+=F.length),f=Math.max(0,Math.min(f-1,F.length)),E<0&&(E+=F.length),E=Math.max(0,Math.min(E,F.length)),d=F.slice(f,E).join(` -`),A.hasAttribute("data-start")||A.setAttribute("data-start",String(f+1))}w.textContent=d,m.highlightElement(w)},function(d){A.setAttribute(s,a),w.textContent=d})}}),m.plugins.fileHighlight={highlight:function(A){for(var w=(A||document).querySelectorAll(i),r=0,n;n=w[r++];)m.highlightElement(n)}};var h=!1;m.fileHighlight=function(){h||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),h=!0),m.plugins.fileHighlight.highlight.apply(this,arguments)}})()});var K=X((de,H)=>{(function(){if(typeof Prism=="undefined")return;var o=Object.assign||function(t,e){for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);return t};function p(t){this.defaults=o({},t)}function v(t){return t.replace(/-(\w)/g,function(e,a){return a.toUpperCase()})}function S(t){for(var e=0,a=0;ae&&(g[h]=` -`+g[h],c=y)}a[i]=g.join("")}return a.join(` -`)}},typeof H!="undefined"&&H.exports&&(H.exports=p),Prism.plugins.NormalizeWhitespace=new p({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(t){var e=Prism.plugins.NormalizeWhitespace;if(!(t.settings&&t.settings["whitespace-normalization"]===!1)&&Prism.util.isActive(t.element,"whitespace-normalization",!0)){if((!t.element||!t.element.parentNode)&&t.code){t.code=e.normalize(t.code,t.settings);return}var a=t.element.parentNode;if(!(!t.code||!a||a.nodeName.toLowerCase()!=="pre")){t.settings==null&&(t.settings={});for(var i in s)if(Object.hasOwnProperty.call(s,i)){var g=s[i];if(a.hasAttribute("data-"+i))try{var c=JSON.parse(a.getAttribute("data-"+i)||"true");typeof c===g&&(t.settings[i]=c)}catch(l){}}for(var h=a.childNodes,y="",A="",w=!1,r=0;r/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(p,v){var S={};S["language-"+v]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[v]},S.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:S}};s["language-"+v]={pattern:/[\s\S]+/,inside:Prism.languages[v]};var t={};t[p]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return p}),"i"),lookbehind:!0,greedy:!0,inside:s},Prism.languages.insertBefore("markup","cdata",t)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(o,p){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[p,"language-"+p],inside:Prism.languages[p]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;(function(o){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+p.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var v=o.languages.markup;v&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css"))})(Prism);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(o){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",v={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},S={bash:v,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:S},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:v}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:S},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:S.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:S.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},v.inside=o.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],t=S.variable[1].inside,e=0;e",unchanged:" ",diff:"!"};Object.keys(p).forEach(function(v){var S=p[v],s=[];/^\w+$/.test(v)||s.push(/\w+/.exec(v)[0]),v==="diff"&&s.push("bold"),o.languages.diff[v]={pattern:RegExp("^(?:["+S+`].*(?:\r -?| -|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(v)[0]}}}}),Object.defineProperty(o.languages.diff,"PREFIXES",{value:p})})(Prism);(function(o){var p=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function v(S){return S.replace(/__/g,function(){return p})}o.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(v(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(v(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(Prism);var ye=Z(K());(function(){if(typeof Prism=="undefined"||typeof document=="undefined")return;var o=[],p={},v=function(){};Prism.plugins.toolbar={};var S=Prism.plugins.toolbar.registerButton=function(e,a){var i;if(typeof a=="function"?i=a:i=function(g){var c;return typeof a.onClick=="function"?(c=document.createElement("button"),c.type="button",c.addEventListener("click",function(){a.onClick.call(this,g)})):typeof a.url=="string"?(c=document.createElement("a"),c.href=a.url):c=document.createElement("span"),a.className&&c.classList.add(a.className),c.textContent=a.text,c},e in p){console.warn('There is a button with the key "'+e+'" registered already.');return}o.push(p[e]=i)};function s(e){for(;e;){var a=e.getAttribute("data-toolbar-order");if(a!=null)return a=a.trim(),a.length?a.split(/\s*,\s*/g):[];e=e.parentElement}}var t=Prism.plugins.toolbar.hook=function(e){var a=e.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&!a.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),a.parentNode.insertBefore(i,a),i.appendChild(a);var g=document.createElement("div");g.classList.add("toolbar");var c=o,h=s(e.element);h&&(c=h.map(function(y){return p[y]||v})),c.forEach(function(y){var A=y(e);if(A){var w=document.createElement("div");w.classList.add("toolbar-item"),w.appendChild(A),g.appendChild(w)}}),i.appendChild(g)}};S("label",function(e){var a=e.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&a.hasAttribute("data-label")){var i,g,c=a.getAttribute("data-label");try{g=document.querySelector("template#"+c)}catch(h){}return g?i=g.content:(a.hasAttribute("data-url")?(i=document.createElement("a"),i.href=a.getAttribute("data-url")):i=document.createElement("span"),i.textContent=c),i}}),Prism.hooks.add("complete",t)})();(function(){if(typeof Prism=="undefined"||typeof document=="undefined")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function o(t,e){t.addEventListener("click",function(){v(e)})}function p(t){var e=document.createElement("textarea");e.value=t.getText(),e.style.top="0",e.style.left="0",e.style.position="fixed",document.body.appendChild(e),e.focus(),e.select();try{var a=document.execCommand("copy");setTimeout(function(){a?t.success():t.error()},1)}catch(i){setTimeout(function(){t.error(i)},1)}document.body.removeChild(e)}function v(t){navigator.clipboard?navigator.clipboard.writeText(t.getText()).then(t.success,function(){p(t)}):p(t)}function S(t){window.getSelection().selectAllChildren(t)}function s(t){var e={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},a="data-prismjs-";for(var i in e){for(var g=a+i,c=t;c&&!c.hasAttribute(g);)c=c.parentElement;c&&(e[i]=c.getAttribute(g))}return e}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var e=t.element,a=s(e),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var g=document.createElement("span");return i.appendChild(g),h("copy"),o(i,{getText:function(){return e.textContent},success:function(){h("copy-success"),c()},error:function(){h("copy-error"),setTimeout(function(){S(e)},1),c()}}),i;function c(){setTimeout(function(){h("copy")},a["copy-timeout"])}function h(y){g.textContent=a[y],i.setAttribute("data-copy-state",y)}})})();(function(){if(typeof Prism=="undefined"||typeof document=="undefined")return;var o="line-numbers",p=/\n(?!$)/g,v=Prism.plugins.lineNumbers={getLine:function(e,a){if(!(e.tagName!=="PRE"||!e.classList.contains(o))){var i=e.querySelector(".line-numbers-rows");if(i){var g=parseInt(e.getAttribute("data-start"),10)||1,c=g+(i.children.length-1);ac&&(a=c);var h=a-g;return i.children[h]}}},resize:function(e){S([e])},assumeViewportIndependence:!0};function S(e){if(e=e.filter(function(i){var g=s(i),c=g["white-space"];return c==="pre-wrap"||c==="pre-line"}),e.length!=0){var a=e.map(function(i){var g=i.querySelector("code"),c=i.querySelector(".line-numbers-rows");if(!(!g||!c)){var h=i.querySelector(".line-numbers-sizer"),y=g.textContent.split(p);h||(h=document.createElement("span"),h.className="line-numbers-sizer",g.appendChild(h)),h.innerHTML="0",h.style.display="block";var A=h.getBoundingClientRect().height;return h.innerHTML="",{element:i,lines:y,lineHeights:[],oneLinerHeight:A,sizer:h}}}).filter(Boolean);a.forEach(function(i){var g=i.sizer,c=i.lines,h=i.lineHeights,y=i.oneLinerHeight;h[c.length-1]=void 0,c.forEach(function(A,w){if(A&&A.length>1){var r=g.appendChild(document.createElement("span"));r.style.display="block",r.textContent=A}else h[w]=y})}),a.forEach(function(i){for(var g=i.sizer,c=i.lineHeights,h=0,y=0;y");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=y,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),e.element.appendChild(h),S([i]),Prism.hooks.run("line-numbers",e)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})})();(function(){if(typeof Prism=="undefined"||typeof document=="undefined")return;var o=/(?:^|\s)command-line(?:\s|$)/,p="command-line-prompt",v="".startsWith?function(e,a){return e.startsWith(a)}:function(e,a){return e.indexOf(a)===0},S="".endsWith?function(e,a){return e.endsWith(a)}:function(e,a){var i=e.length;return e.substring(i-a.length,i)===a};function s(e){var a=e.vars=e.vars||{};return"command-line"in a}function t(e){var a=e.vars=e.vars||{};return a["command-line"]=a["command-line"]||{}}Prism.hooks.add("before-highlight",function(e){var a=t(e);if(a.complete||!e.code){a.complete=!0;return}var i=e.element.parentElement;if(!i||!/pre/i.test(i.nodeName)||!o.test(i.className)&&!o.test(e.element.className)){a.complete=!0;return}var g=e.element.querySelector("."+p);g&&g.remove();var c=e.code.split(` -`);a.numberOfLines=c.length;var h=a.outputLines=[],y=i.getAttribute("data-output"),A=i.getAttribute("data-filter-output");if(y!==null)y.split(",").forEach(function(b){var F=b.split("-"),f=parseInt(F[0],10),E=F.length===2?parseInt(F[1],10):f;if(!isNaN(f)&&!isNaN(E)){f<1&&(f=1),E>c.length&&(E=c.length),f--,E--;for(var x=f;x<=E;x++)h[x]=c[x],c[x]=""}});else if(A)for(var w=0;w0&&u&&v(d,u)&&(c[l]=d.slice(u.length),r.add(l)))}e.code=c.join(` -`)}),Prism.hooks.add("before-insert",function(e){var a=t(e);if(!a.complete){for(var i=e.highlightedCode.split(` -`),g=a.outputLines||[],c=0,h=i.length;c'+Prism.util.encode(g[c])+"":i[c]=''+i[c]+"";e.highlightedCode=i.join(` -`)}}),Prism.hooks.add("complete",function(e){if(!s(e))return;var a=t(e);if(a.complete)return;var i=e.element.parentElement;o.test(e.element.className)&&(e.element.className=e.element.className.replace(o," ")),o.test(i.className)||(i.className+=" command-line");function g(_,N){return(i.getAttribute(_)||N).replace(/"/g,""")}var c="",h=a.numberOfLines||0,y=g("data-prompt",""),A;if(y!=="")A='';else{var w=g("data-user","user"),r=g("data-host","localhost");A=''}for(var n=a.continuationLineIndicies||new Set,u=g("data-continuation-prompt",">"),l='',d=0;d\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/g,v=RegExp(/(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(/__/g,function(){return p.source}),"gi"),S=!1;Prism.hooks.add("before-sanity-check",function(s){var t=s.language;o.test(t)&&!s.grammar&&(s.grammar=Prism.languages[t]=Prism.languages.diff)}),Prism.hooks.add("before-tokenize",function(s){!S&&!Prism.languages.diff&&!Prism.plugins.autoloader&&(S=!0,console.warn("Prism's Diff Highlight plugin requires the Diff language definition (prism-diff.js).Make sure the language definition is loaded or use Prism's Autoloader plugin."));var t=s.language;o.test(t)&&!Prism.languages[t]&&(Prism.languages[t]=Prism.languages.diff)}),Prism.hooks.add("wrap",function(s){var t,e;if(s.language!=="diff"){var a=o.exec(s.language);if(!a)return;t=a[1],e=Prism.languages[t]}var i=Prism.languages.diff&&Prism.languages.diff.PREFIXES;if(i&&s.type in i){var g=s.content.replace(p,""),c=g.replace(/</g,"<").replace(/&/g,"&"),h=c.replace(/(^|[\r\n])./g,"$1"),y;e?y=Prism.highlight(h,e,t):y=Prism.util.encode(h);var A=new Prism.Token("prefix",i[s.type],[/\w+/.exec(s.type)[0]]),w=Prism.Token.stringify(A,s.language),r=[],n;for(v.lastIndex=0;n=v.exec(y);)r.push(w+n[0]);/(?:^|[\r\n]).$/.test(c)&&r.push(w),s.content=r.join(""),e&&s.classes.push("language-"+t)}})}})();V.default.highlightAll();})(); -/*! Bundled license information: - -prismjs/prism.js: - (** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - *) -*/ diff --git a/public/mstile-144x144.png b/public/mstile-144x144.png deleted file mode 100644 index a755b767..00000000 Binary files a/public/mstile-144x144.png and /dev/null differ diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png deleted file mode 100644 index b31e628e..00000000 Binary files a/public/mstile-150x150.png and /dev/null differ diff --git a/public/mstile-310x150.png b/public/mstile-310x150.png deleted file mode 100644 index a26c9473..00000000 Binary files a/public/mstile-310x150.png and /dev/null differ diff --git a/public/mstile-310x310.png b/public/mstile-310x310.png deleted file mode 100644 index 3f95a019..00000000 Binary files a/public/mstile-310x310.png and /dev/null differ diff --git a/public/mstile-70x70.png b/public/mstile-70x70.png deleted file mode 100644 index 238cb0aa..00000000 Binary files a/public/mstile-70x70.png and /dev/null differ diff --git a/public/page/1/index.html b/public/page/1/index.html deleted file mode 100644 index ba7091e6..00000000 --- a/public/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/ - \ No newline at end of file diff --git a/public/page/2/index.html b/public/page/2/index.html deleted file mode 100644 index 32336240..00000000 --- a/public/page/2/index.html +++ /dev/null @@ -1,11 +0,0 @@ -— Software Engineer -
-

\ No newline at end of file diff --git a/public/post/index.html b/public/post/index.html deleted file mode 100644 index 57e561f1..00000000 --- a/public/post/index.html +++ /dev/null @@ -1,11 +0,0 @@ -Posts -
-

Posts

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

Read more >
\ No newline at end of file diff --git a/public/post/index.xml b/public/post/index.xml deleted file mode 100644 index 9fe43d07..00000000 --- a/public/post/index.xml +++ /dev/null @@ -1,26 +0,0 @@ -Posts onhttps://davegallant.ca/post/Recent content in Posts onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p>Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p>Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p>Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p>Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p>Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.Replacing docker with podman on macOS (and Linux)https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/<p>There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:</p>Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.Why I threw out my dotfileshttps://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/<p>Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (<code>~/.zshrc</code>, <code>~/.config/git/config</code>, <code>~/.config/tmux/tmux.conf</code>, etc). I have tried several different ways to manage them, including <a -href="https://www.atlassian.com/git/tutorials/dotfiles" -class="link--external" target="_blank" rel="noreferrer" ->bare git repos</a> and utilities such as <a -href="https://www.gnu.org/software/stow/" -class="link--external" target="_blank" rel="noreferrer" ->GNU Stow</a>. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: <a -href="https://github.com/nix-community/home-manager" -class="link--external" target="_blank" rel="noreferrer" ->home-manager</a>.</p>What to do with a homelabhttps://davegallant.ca/blog/2021/09/06/what-to-do-with-a-homelab/Mon, 06 Sep 2021 01:12:54 -0400https://davegallant.ca/blog/2021/09/06/what-to-do-with-a-homelab/<p>A homelab can be an inexpensive way to host a multitude of internal/external services and learn <em>a lot</em> in the process.</p>AppGate SDP on Arch Linuxhttps://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/<p>AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP <code>4.3.2</code> working on Arch Linux.</p> \ No newline at end of file diff --git a/public/post/page/1/index.html b/public/post/page/1/index.html deleted file mode 100644 index d62b55b7..00000000 --- a/public/post/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/post/ - \ No newline at end of file diff --git a/public/post/page/2/index.html b/public/post/page/2/index.html deleted file mode 100644 index c620f945..00000000 --- a/public/post/page/2/index.html +++ /dev/null @@ -1,11 +0,0 @@ -Posts -
-

Posts

\ No newline at end of file diff --git a/public/prism-themes/prism-gruvbox-dark.min.54aecc64074623a4f9898544dcbdab9e804f1560ef0b38f4cf8e10fcaaf72264e798cb407c601aca6ecd833ec4eb93d66535581f18d45ba202cf848b70dbc332.css b/public/prism-themes/prism-gruvbox-dark.min.54aecc64074623a4f9898544dcbdab9e804f1560ef0b38f4cf8e10fcaaf72264e798cb407c601aca6ecd833ec4eb93d66535581f18d45ba202cf848b70dbc332.css deleted file mode 100644 index 85461d3e..00000000 --- a/public/prism-themes/prism-gruvbox-dark.min.54aecc64074623a4f9898544dcbdab9e804f1560ef0b38f4cf8e10fcaaf72264e798cb407c601aca6ecd833ec4eb93d66535581f18d45ba202cf848b70dbc332.css +++ /dev/null @@ -1 +0,0 @@ -code[class*=language-],pre[class*=language-]{color:#ebdbb2;font-family:Consolas,Monaco,andale mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{color:#fbf1c7;background:#7c6f64}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{color:#fbf1c7;background:#7c6f64}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#1d2021}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}.token.comment,.token.prolog,.token.cdata{color:#a89984}.token.delimiter,.token.boolean,.token.keyword,.token.selector,.token.important,.token.atrule{color:#fb4934}.token.operator,.token.punctuation,.token.attr-name{color:#a89984}.token.tag,.token.tag .punctuation,.token.doctype,.token.builtin{color:#fabd2f}.token.entity,.token.number,.token.symbol{color:#d3869b}.token.property,.token.constant,.token.variable{color:#fb4934}.token.string,.token.char{color:#b8bb26}.token.attr-value,.token.attr-value .punctuation{color:#a89984}.token.url{color:#b8bb26;text-decoration:underline}.token.function{color:#fabd2f}.token.regex{background:#b8bb26}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.inserted{background:#a89984}.token.deleted{background:#fb4934} \ No newline at end of file diff --git a/public/prism-themes/prism-gruvbox-light.min.42a221741efe997fcc94187c39d63c555560678789ac9ca856c74a5f0ddb2aa6c50d38b2ffbecc7a99038cbbd2efa99746e862267f781c559e0cfec10b88a5fc.css b/public/prism-themes/prism-gruvbox-light.min.42a221741efe997fcc94187c39d63c555560678789ac9ca856c74a5f0ddb2aa6c50d38b2ffbecc7a99038cbbd2efa99746e862267f781c559e0cfec10b88a5fc.css deleted file mode 100644 index 70760814..00000000 --- a/public/prism-themes/prism-gruvbox-light.min.42a221741efe997fcc94187c39d63c555560678789ac9ca856c74a5f0ddb2aa6c50d38b2ffbecc7a99038cbbd2efa99746e862267f781c559e0cfec10b88a5fc.css +++ /dev/null @@ -1 +0,0 @@ -code[class*=language-],pre[class*=language-]{color:#3c3836;font-family:Consolas,Monaco,andale mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{color:#282828;background:#a89984}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{color:#282828;background:#a89984}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f9f5d7}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}.token.comment,.token.prolog,.token.cdata{color:#7c6f64}.token.delimiter,.token.boolean,.token.keyword,.token.selector,.token.important,.token.atrule{color:#9d0006}.token.operator,.token.punctuation,.token.attr-name{color:#7c6f64}.token.tag,.token.tag .punctuation,.token.doctype,.token.builtin{color:#b57614}.token.entity,.token.number,.token.symbol{color:#8f3f71}.token.property,.token.constant,.token.variable{color:#9d0006}.token.string,.token.char{color:#797403}.token.attr-value,.token.attr-value .punctuation{color:#7c6f64}.token.url{color:#797403;text-decoration:underline}.token.function{color:#b57614}.token.regex{background:#797403}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.inserted{background:#7c6f64}.token.deleted{background:#9d0006} \ No newline at end of file diff --git a/public/richard-hendricks.webp b/public/richard-hendricks.webp deleted file mode 100644 index 570ed0c3..00000000 Binary files a/public/richard-hendricks.webp and /dev/null differ diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg deleted file mode 100644 index 927bb59c..00000000 --- a/public/safari-pinned-tab.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/public/site.webmanifest b/public/site.webmanifest deleted file mode 100644 index 26228d21..00000000 --- a/public/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "hugo-theme-gruvbox", - "short_name": "hugo-theme-gruvbox", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#282828", - "background_color": "#282828", - "display": "standalone" -} diff --git a/public/sitemap.xml b/public/sitemap.xml deleted file mode 100644 index 15c4b465..00000000 --- a/public/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://davegallant.ca/en/sitemap.xml2023-12-10T17:22:11-05:00https://davegallant.ca/de/sitemap.xml \ No newline at end of file diff --git a/public/tags/aks/index.html b/public/tags/aks/index.html deleted file mode 100644 index dc0feef4..00000000 --- a/public/tags/aks/index.html +++ /dev/null @@ -1,10 +0,0 @@ -aks -
-

aks

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/aks/index.xml b/public/tags/aks/index.xml deleted file mode 100644 index 2aa3cfb6..00000000 --- a/public/tags/aks/index.xml +++ /dev/null @@ -1 +0,0 @@ -aks onhttps://davegallant.ca/tags/aks/Recent content in aks onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/aks/page/1/index.html b/public/tags/aks/page/1/index.html deleted file mode 100644 index 88d67da2..00000000 --- a/public/tags/aks/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/aks/ - \ No newline at end of file diff --git a/public/tags/aws-vault/index.html b/public/tags/aws-vault/index.html deleted file mode 100644 index 53dd97e7..00000000 --- a/public/tags/aws-vault/index.html +++ /dev/null @@ -1,11 +0,0 @@ -aws-vault -
-

aws-vault

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >
\ No newline at end of file diff --git a/public/tags/aws-vault/index.xml b/public/tags/aws-vault/index.xml deleted file mode 100644 index f9636cfe..00000000 --- a/public/tags/aws-vault/index.xml +++ /dev/null @@ -1,2 +0,0 @@ -aws-vault onhttps://davegallant.ca/tags/aws-vault/Recent content in aws-vault onHugo -- gohugo.ioen-usDave GallantFri, 17 Sep 2021 12:48:33 -0400Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution. \ No newline at end of file diff --git a/public/tags/aws-vault/page/1/index.html b/public/tags/aws-vault/page/1/index.html deleted file mode 100644 index 3c2c7d61..00000000 --- a/public/tags/aws-vault/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/aws-vault/ - \ No newline at end of file diff --git a/public/tags/aws/index.html b/public/tags/aws/index.html deleted file mode 100644 index 8a45a246..00000000 --- a/public/tags/aws/index.html +++ /dev/null @@ -1,11 +0,0 @@ -aws -
-

aws

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >
\ No newline at end of file diff --git a/public/tags/aws/index.xml b/public/tags/aws/index.xml deleted file mode 100644 index 887343b2..00000000 --- a/public/tags/aws/index.xml +++ /dev/null @@ -1,2 +0,0 @@ -aws onhttps://davegallant.ca/tags/aws/Recent content in aws onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p>Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution. \ No newline at end of file diff --git a/public/tags/aws/page/1/index.html b/public/tags/aws/page/1/index.html deleted file mode 100644 index 418ba199..00000000 --- a/public/tags/aws/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/aws/ - \ No newline at end of file diff --git a/public/tags/azure/index.html b/public/tags/azure/index.html deleted file mode 100644 index 05dd7c42..00000000 --- a/public/tags/azure/index.html +++ /dev/null @@ -1,10 +0,0 @@ -azure -
-

azure

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/azure/index.xml b/public/tags/azure/index.xml deleted file mode 100644 index 260889d4..00000000 --- a/public/tags/azure/index.xml +++ /dev/null @@ -1 +0,0 @@ -azure onhttps://davegallant.ca/tags/azure/Recent content in azure onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/azure/page/1/index.html b/public/tags/azure/page/1/index.html deleted file mode 100644 index ddbca9d2..00000000 --- a/public/tags/azure/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/azure/ - \ No newline at end of file diff --git a/public/tags/backup/index.html b/public/tags/backup/index.html deleted file mode 100644 index c87f6650..00000000 --- a/public/tags/backup/index.html +++ /dev/null @@ -1,10 +0,0 @@ -backup -
-

backup

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >
\ No newline at end of file diff --git a/public/tags/backup/index.xml b/public/tags/backup/index.xml deleted file mode 100644 index 559602da..00000000 --- a/public/tags/backup/index.xml +++ /dev/null @@ -1 +0,0 @@ -backup onhttps://davegallant.ca/tags/backup/Recent content in backup onHugo -- gohugo.ioen-usDave GallantSun, 13 Mar 2022 18:49:10 -0400Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p> \ No newline at end of file diff --git a/public/tags/backup/page/1/index.html b/public/tags/backup/page/1/index.html deleted file mode 100644 index c2cd852b..00000000 --- a/public/tags/backup/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/backup/ - \ No newline at end of file diff --git a/public/tags/bastion/index.html b/public/tags/bastion/index.html deleted file mode 100644 index f4bab744..00000000 --- a/public/tags/bastion/index.html +++ /dev/null @@ -1,10 +0,0 @@ -bastion -
-

bastion

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/bastion/index.xml b/public/tags/bastion/index.xml deleted file mode 100644 index bd233403..00000000 --- a/public/tags/bastion/index.xml +++ /dev/null @@ -1 +0,0 @@ -bastion onhttps://davegallant.ca/tags/bastion/Recent content in bastion onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/bastion/page/1/index.html b/public/tags/bastion/page/1/index.html deleted file mode 100644 index 3995775b..00000000 --- a/public/tags/bastion/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/bastion/ - \ No newline at end of file diff --git a/public/tags/cloud-sql-proxy/index.html b/public/tags/cloud-sql-proxy/index.html deleted file mode 100644 index 2ccd9194..00000000 --- a/public/tags/cloud-sql-proxy/index.html +++ /dev/null @@ -1,10 +0,0 @@ -cloud-sql-proxy -
-

cloud-sql-proxy

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/cloud-sql-proxy/index.xml b/public/tags/cloud-sql-proxy/index.xml deleted file mode 100644 index 8d1bba22..00000000 --- a/public/tags/cloud-sql-proxy/index.xml +++ /dev/null @@ -1 +0,0 @@ -cloud-sql-proxy onhttps://davegallant.ca/tags/cloud-sql-proxy/Recent content in cloud-sql-proxy onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/cloud-sql-proxy/page/1/index.html b/public/tags/cloud-sql-proxy/page/1/index.html deleted file mode 100644 index 38574192..00000000 --- a/public/tags/cloud-sql-proxy/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/cloud-sql-proxy/ - \ No newline at end of file diff --git a/public/tags/containers/index.html b/public/tags/containers/index.html deleted file mode 100644 index b3fac91d..00000000 --- a/public/tags/containers/index.html +++ /dev/null @@ -1,10 +0,0 @@ -containers -
-

containers

\ No newline at end of file diff --git a/public/tags/containers/index.xml b/public/tags/containers/index.xml deleted file mode 100644 index 2d92c824..00000000 --- a/public/tags/containers/index.xml +++ /dev/null @@ -1 +0,0 @@ -containers onhttps://davegallant.ca/tags/containers/Recent content in containers onHugo -- gohugo.ioen-usDave GallantMon, 11 Oct 2021 10:43:35 -0400Replacing docker with podman on macOS (and Linux)https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/<p>There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:</p> \ No newline at end of file diff --git a/public/tags/containers/page/1/index.html b/public/tags/containers/page/1/index.html deleted file mode 100644 index 8263919b..00000000 --- a/public/tags/containers/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/containers/ - \ No newline at end of file diff --git a/public/tags/database/index.html b/public/tags/database/index.html deleted file mode 100644 index efdfdd9c..00000000 --- a/public/tags/database/index.html +++ /dev/null @@ -1,10 +0,0 @@ -database -
-

database

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/database/index.xml b/public/tags/database/index.xml deleted file mode 100644 index 9e069a7c..00000000 --- a/public/tags/database/index.xml +++ /dev/null @@ -1 +0,0 @@ -database onhttps://davegallant.ca/tags/database/Recent content in database onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/database/page/1/index.html b/public/tags/database/page/1/index.html deleted file mode 100644 index 4ce5b9ef..00000000 --- a/public/tags/database/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/database/ - \ No newline at end of file diff --git a/public/tags/degoogle/index.html b/public/tags/degoogle/index.html deleted file mode 100644 index f84223d0..00000000 --- a/public/tags/degoogle/index.html +++ /dev/null @@ -1,10 +0,0 @@ -degoogle -
-

degoogle

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >
\ No newline at end of file diff --git a/public/tags/degoogle/index.xml b/public/tags/degoogle/index.xml deleted file mode 100644 index 7aa8652e..00000000 --- a/public/tags/degoogle/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -degoogle onhttps://davegallant.ca/tags/degoogle/Recent content in degoogle onHugo -- gohugo.ioen-usDave GallantSat, 10 Dec 2022 21:46:55 -0500Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p>Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p> \ No newline at end of file diff --git a/public/tags/degoogle/page/1/index.html b/public/tags/degoogle/page/1/index.html deleted file mode 100644 index 18580c40..00000000 --- a/public/tags/degoogle/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/degoogle/ - \ No newline at end of file diff --git a/public/tags/docker/index.html b/public/tags/docker/index.html deleted file mode 100644 index daa6b60f..00000000 --- a/public/tags/docker/index.html +++ /dev/null @@ -1,10 +0,0 @@ -docker -
-

docker

\ No newline at end of file diff --git a/public/tags/docker/index.xml b/public/tags/docker/index.xml deleted file mode 100644 index 6b33030a..00000000 --- a/public/tags/docker/index.xml +++ /dev/null @@ -1 +0,0 @@ -docker onhttps://davegallant.ca/tags/docker/Recent content in docker onHugo -- gohugo.ioen-usDave GallantMon, 11 Oct 2021 10:43:35 -0400Replacing docker with podman on macOS (and Linux)https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/<p>There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:</p> \ No newline at end of file diff --git a/public/tags/docker/page/1/index.html b/public/tags/docker/page/1/index.html deleted file mode 100644 index 16f39441..00000000 --- a/public/tags/docker/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/docker/ - \ No newline at end of file diff --git a/public/tags/dotfiles/index.html b/public/tags/dotfiles/index.html deleted file mode 100644 index aef8a6e4..00000000 --- a/public/tags/dotfiles/index.html +++ /dev/null @@ -1,10 +0,0 @@ -dotfiles -
-

dotfiles

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

Read more >
\ No newline at end of file diff --git a/public/tags/dotfiles/index.xml b/public/tags/dotfiles/index.xml deleted file mode 100644 index ac227db3..00000000 --- a/public/tags/dotfiles/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -dotfiles onhttps://davegallant.ca/tags/dotfiles/Recent content in dotfiles onHugo -- gohugo.ioen-usDave GallantWed, 08 Sep 2021 00:42:33 -0400Why I threw out my dotfileshttps://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/<p>Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (<code>~/.zshrc</code>, <code>~/.config/git/config</code>, <code>~/.config/tmux/tmux.conf</code>, etc). I have tried several different ways to manage them, including <a -href="https://www.atlassian.com/git/tutorials/dotfiles" -class="link--external" target="_blank" rel="noreferrer" ->bare git repos</a> and utilities such as <a -href="https://www.gnu.org/software/stow/" -class="link--external" target="_blank" rel="noreferrer" ->GNU Stow</a>. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: <a -href="https://github.com/nix-community/home-manager" -class="link--external" target="_blank" rel="noreferrer" ->home-manager</a>.</p> \ No newline at end of file diff --git a/public/tags/dotfiles/page/1/index.html b/public/tags/dotfiles/page/1/index.html deleted file mode 100644 index 2a67c2e8..00000000 --- a/public/tags/dotfiles/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/dotfiles/ - \ No newline at end of file diff --git a/public/tags/eks/index.html b/public/tags/eks/index.html deleted file mode 100644 index 26eb9642..00000000 --- a/public/tags/eks/index.html +++ /dev/null @@ -1,10 +0,0 @@ -eks -
-

eks

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/eks/index.xml b/public/tags/eks/index.xml deleted file mode 100644 index db5f83bb..00000000 --- a/public/tags/eks/index.xml +++ /dev/null @@ -1 +0,0 @@ -eks onhttps://davegallant.ca/tags/eks/Recent content in eks onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/eks/page/1/index.html b/public/tags/eks/page/1/index.html deleted file mode 100644 index 0992031c..00000000 --- a/public/tags/eks/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/eks/ - \ No newline at end of file diff --git a/public/tags/gitea-actions/index.html b/public/tags/gitea-actions/index.html deleted file mode 100644 index da79bf11..00000000 --- a/public/tags/gitea-actions/index.html +++ /dev/null @@ -1,10 +0,0 @@ -gitea actions -
-

gitea actions

\ No newline at end of file diff --git a/public/tags/gitea-actions/index.xml b/public/tags/gitea-actions/index.xml deleted file mode 100644 index ddb1f1ce..00000000 --- a/public/tags/gitea-actions/index.xml +++ /dev/null @@ -1,4 +0,0 @@ -gitea actions onhttps://davegallant.ca/tags/gitea-actions/Recent content in gitea actions onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p> \ No newline at end of file diff --git a/public/tags/gitea-actions/page/1/index.html b/public/tags/gitea-actions/page/1/index.html deleted file mode 100644 index 1f74ae55..00000000 --- a/public/tags/gitea-actions/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/gitea-actions/ - \ No newline at end of file diff --git a/public/tags/gitea/index.html b/public/tags/gitea/index.html deleted file mode 100644 index e59f1c98..00000000 --- a/public/tags/gitea/index.html +++ /dev/null @@ -1,10 +0,0 @@ -gitea -
-

gitea

\ No newline at end of file diff --git a/public/tags/gitea/index.xml b/public/tags/gitea/index.xml deleted file mode 100644 index 2cb6a598..00000000 --- a/public/tags/gitea/index.xml +++ /dev/null @@ -1,4 +0,0 @@ -gitea onhttps://davegallant.ca/tags/gitea/Recent content in gitea onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p> \ No newline at end of file diff --git a/public/tags/gitea/page/1/index.html b/public/tags/gitea/page/1/index.html deleted file mode 100644 index 3eb973a9..00000000 --- a/public/tags/gitea/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/gitea/ - \ No newline at end of file diff --git a/public/tags/github-actions/index.html b/public/tags/github-actions/index.html deleted file mode 100644 index c36fdd35..00000000 --- a/public/tags/github-actions/index.html +++ /dev/null @@ -1,10 +0,0 @@ -github actions -
-

github actions

\ No newline at end of file diff --git a/public/tags/github-actions/index.xml b/public/tags/github-actions/index.xml deleted file mode 100644 index 25b2abd4..00000000 --- a/public/tags/github-actions/index.xml +++ /dev/null @@ -1,4 +0,0 @@ -github actions onhttps://davegallant.ca/tags/github-actions/Recent content in github actions onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p> \ No newline at end of file diff --git a/public/tags/github-actions/page/1/index.html b/public/tags/github-actions/page/1/index.html deleted file mode 100644 index 15c0730a..00000000 --- a/public/tags/github-actions/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/github-actions/ - \ No newline at end of file diff --git a/public/tags/gmail/index.html b/public/tags/gmail/index.html deleted file mode 100644 index 81d4a726..00000000 --- a/public/tags/gmail/index.html +++ /dev/null @@ -1,10 +0,0 @@ -gmail -
-

gmail

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >
\ No newline at end of file diff --git a/public/tags/gmail/index.xml b/public/tags/gmail/index.xml deleted file mode 100644 index 86071bf5..00000000 --- a/public/tags/gmail/index.xml +++ /dev/null @@ -1 +0,0 @@ -gmail onhttps://davegallant.ca/tags/gmail/Recent content in gmail onHugo -- gohugo.ioen-usDave GallantSun, 13 Mar 2022 18:49:10 -0400Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p> \ No newline at end of file diff --git a/public/tags/gmail/page/1/index.html b/public/tags/gmail/page/1/index.html deleted file mode 100644 index a6186dd4..00000000 --- a/public/tags/gmail/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/gmail/ - \ No newline at end of file diff --git a/public/tags/home-manager/index.html b/public/tags/home-manager/index.html deleted file mode 100644 index ccf81d95..00000000 --- a/public/tags/home-manager/index.html +++ /dev/null @@ -1,10 +0,0 @@ -home-manager -
-

home-manager

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

Read more >
\ No newline at end of file diff --git a/public/tags/home-manager/index.xml b/public/tags/home-manager/index.xml deleted file mode 100644 index 63097033..00000000 --- a/public/tags/home-manager/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -home-manager onhttps://davegallant.ca/tags/home-manager/Recent content in home-manager onHugo -- gohugo.ioen-usDave GallantWed, 08 Sep 2021 00:42:33 -0400Why I threw out my dotfileshttps://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/<p>Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (<code>~/.zshrc</code>, <code>~/.config/git/config</code>, <code>~/.config/tmux/tmux.conf</code>, etc). I have tried several different ways to manage them, including <a -href="https://www.atlassian.com/git/tutorials/dotfiles" -class="link--external" target="_blank" rel="noreferrer" ->bare git repos</a> and utilities such as <a -href="https://www.gnu.org/software/stow/" -class="link--external" target="_blank" rel="noreferrer" ->GNU Stow</a>. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: <a -href="https://github.com/nix-community/home-manager" -class="link--external" target="_blank" rel="noreferrer" ->home-manager</a>.</p> \ No newline at end of file diff --git a/public/tags/home-manager/page/1/index.html b/public/tags/home-manager/page/1/index.html deleted file mode 100644 index d6fe0a36..00000000 --- a/public/tags/home-manager/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/home-manager/ - \ No newline at end of file diff --git a/public/tags/index.html b/public/tags/index.html deleted file mode 100644 index baec6ebb..00000000 --- a/public/tags/index.html +++ /dev/null @@ -1,10 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/tags/index.xml b/public/tags/index.xml deleted file mode 100644 index 64b2e494..00000000 --- a/public/tags/index.xml +++ /dev/null @@ -1 +0,0 @@ -Tags onhttps://davegallant.ca/tags/Recent content in Tags onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500giteahttps://davegallant.ca/tags/gitea/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/tags/gitea/gitea actionshttps://davegallant.ca/tags/gitea-actions/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/tags/gitea-actions/github actionshttps://davegallant.ca/tags/github-actions/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/tags/github-actions/self-hostedhttps://davegallant.ca/tags/self-hosted/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/tags/self-hosted/tailscalehttps://davegallant.ca/tags/tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/tags/tailscale/akshttps://davegallant.ca/tags/aks/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/aks/awshttps://davegallant.ca/tags/aws/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/aws/azurehttps://davegallant.ca/tags/azure/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/azure/bastionhttps://davegallant.ca/tags/bastion/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/bastion/cloud-sql-proxyhttps://davegallant.ca/tags/cloud-sql-proxy/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/cloud-sql-proxy/databasehttps://davegallant.ca/tags/database/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/database/ekshttps://davegallant.ca/tags/eks/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/eks/k8shttps://davegallant.ca/tags/k8s/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/k8s/kubectl-plugin-socks5-proxyhttps://davegallant.ca/tags/kubectl-plugin-socks5-proxy/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/kubectl-plugin-socks5-proxy/proxyhttps://davegallant.ca/tags/proxy/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/proxy/socathttps://davegallant.ca/tags/socat/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/socat/sockshttps://davegallant.ca/tags/socks/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/tags/socks/degooglehttps://davegallant.ca/tags/degoogle/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/tags/degoogle/invidioushttps://davegallant.ca/tags/invidious/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/tags/invidious/privacyhttps://davegallant.ca/tags/privacy/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/tags/privacy/yewtu.behttps://davegallant.ca/tags/yewtu.be/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/tags/yewtu.be/youtubehttps://davegallant.ca/tags/youtube/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/tags/youtube/openwrthttps://davegallant.ca/tags/openwrt/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/openwrt/pfsensehttps://davegallant.ca/tags/pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/pfsense/proxmoxhttps://davegallant.ca/tags/proxmox/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/proxmox/routerhttps://davegallant.ca/tags/router/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/router/router-on-a-stickhttps://davegallant.ca/tags/router-on-a-stick/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/router-on-a-stick/vlanhttps://davegallant.ca/tags/vlan/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/tags/vlan/backuphttps://davegallant.ca/tags/backup/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/tags/backup/gmailhttps://davegallant.ca/tags/gmail/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/tags/gmail/ransomwarehttps://davegallant.ca/tags/ransomware/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/tags/ransomware/synologyhttps://davegallant.ca/tags/synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/tags/synology/k3shttps://davegallant.ca/tags/k3s/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/tags/k3s/lxchttps://davegallant.ca/tags/lxc/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/tags/lxc/containershttps://davegallant.ca/tags/containers/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/tags/containers/dockerhttps://davegallant.ca/tags/docker/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/tags/docker/podmanhttps://davegallant.ca/tags/podman/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/tags/podman/aws-vaulthttps://davegallant.ca/tags/aws-vault/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/tags/aws-vault/pythonhttps://davegallant.ca/tags/python/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/tags/python/securityhttps://davegallant.ca/tags/security/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/tags/security/dotfileshttps://davegallant.ca/tags/dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/tags/dotfiles/home-managerhttps://davegallant.ca/tags/home-manager/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/tags/home-manager/nixhttps://davegallant.ca/tags/nix/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/tags/nix/linuxhttps://davegallant.ca/tags/linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/tags/linux/vpnhttps://davegallant.ca/tags/vpn/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/tags/vpn/ \ No newline at end of file diff --git a/public/tags/invidious/index.html b/public/tags/invidious/index.html deleted file mode 100644 index c2e0942b..00000000 --- a/public/tags/invidious/index.html +++ /dev/null @@ -1,10 +0,0 @@ -invidious -
-

invidious

\ No newline at end of file diff --git a/public/tags/invidious/index.xml b/public/tags/invidious/index.xml deleted file mode 100644 index b5781a75..00000000 --- a/public/tags/invidious/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -invidious onhttps://davegallant.ca/tags/invidious/Recent content in invidious onHugo -- gohugo.ioen-usDave GallantSat, 10 Dec 2022 21:46:55 -0500Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p> \ No newline at end of file diff --git a/public/tags/invidious/page/1/index.html b/public/tags/invidious/page/1/index.html deleted file mode 100644 index dafc2b82..00000000 --- a/public/tags/invidious/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/invidious/ - \ No newline at end of file diff --git a/public/tags/k3s/index.html b/public/tags/k3s/index.html deleted file mode 100644 index 3460c632..00000000 --- a/public/tags/k3s/index.html +++ /dev/null @@ -1,10 +0,0 @@ -k3s -
-

k3s

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >
\ No newline at end of file diff --git a/public/tags/k3s/index.xml b/public/tags/k3s/index.xml deleted file mode 100644 index d2a10d67..00000000 --- a/public/tags/k3s/index.xml +++ /dev/null @@ -1 +0,0 @@ -k3s onhttps://davegallant.ca/tags/k3s/Recent content in k3s onHugo -- gohugo.ioen-usDave GallantSun, 14 Nov 2021 10:07:03 -0500Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. \ No newline at end of file diff --git a/public/tags/k3s/page/1/index.html b/public/tags/k3s/page/1/index.html deleted file mode 100644 index ea2a99c5..00000000 --- a/public/tags/k3s/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/k3s/ - \ No newline at end of file diff --git a/public/tags/k8s/index.html b/public/tags/k8s/index.html deleted file mode 100644 index d9c5f679..00000000 --- a/public/tags/k8s/index.html +++ /dev/null @@ -1,10 +0,0 @@ -k8s -
-

k8s

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/k8s/index.xml b/public/tags/k8s/index.xml deleted file mode 100644 index 8ea9eb72..00000000 --- a/public/tags/k8s/index.xml +++ /dev/null @@ -1 +0,0 @@ -k8s onhttps://davegallant.ca/tags/k8s/Recent content in k8s onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/k8s/page/1/index.html b/public/tags/k8s/page/1/index.html deleted file mode 100644 index 487724de..00000000 --- a/public/tags/k8s/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/k8s/ - \ No newline at end of file diff --git a/public/tags/kubectl-plugin-socks5-proxy/index.html b/public/tags/kubectl-plugin-socks5-proxy/index.html deleted file mode 100644 index ccc499ad..00000000 --- a/public/tags/kubectl-plugin-socks5-proxy/index.html +++ /dev/null @@ -1,10 +0,0 @@ -kubectl-plugin-socks5-proxy -
-

kubectl-plugin-socks5-proxy

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/kubectl-plugin-socks5-proxy/index.xml b/public/tags/kubectl-plugin-socks5-proxy/index.xml deleted file mode 100644 index 8862e1fc..00000000 --- a/public/tags/kubectl-plugin-socks5-proxy/index.xml +++ /dev/null @@ -1 +0,0 @@ -kubectl-plugin-socks5-proxy onhttps://davegallant.ca/tags/kubectl-plugin-socks5-proxy/Recent content in kubectl-plugin-socks5-proxy onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/kubectl-plugin-socks5-proxy/page/1/index.html b/public/tags/kubectl-plugin-socks5-proxy/page/1/index.html deleted file mode 100644 index b6189550..00000000 --- a/public/tags/kubectl-plugin-socks5-proxy/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/kubectl-plugin-socks5-proxy/ - \ No newline at end of file diff --git a/public/tags/linux/index.html b/public/tags/linux/index.html deleted file mode 100644 index 3792bdba..00000000 --- a/public/tags/linux/index.html +++ /dev/null @@ -1,10 +0,0 @@ -linux -
-

linux

\ No newline at end of file diff --git a/public/tags/linux/index.xml b/public/tags/linux/index.xml deleted file mode 100644 index 2229adc1..00000000 --- a/public/tags/linux/index.xml +++ /dev/null @@ -1 +0,0 @@ -linux onhttps://davegallant.ca/tags/linux/Recent content in linux onHugo -- gohugo.ioen-usDave GallantMon, 16 Mar 2020 22:00:15 -0400AppGate SDP on Arch Linuxhttps://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/<p>AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP <code>4.3.2</code> working on Arch Linux.</p> \ No newline at end of file diff --git a/public/tags/linux/page/1/index.html b/public/tags/linux/page/1/index.html deleted file mode 100644 index 8652f2ea..00000000 --- a/public/tags/linux/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/linux/ - \ No newline at end of file diff --git a/public/tags/lxc/index.html b/public/tags/lxc/index.html deleted file mode 100644 index 7f354fb5..00000000 --- a/public/tags/lxc/index.html +++ /dev/null @@ -1,10 +0,0 @@ -lxc -
-

lxc

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >
\ No newline at end of file diff --git a/public/tags/lxc/index.xml b/public/tags/lxc/index.xml deleted file mode 100644 index c69c0e4f..00000000 --- a/public/tags/lxc/index.xml +++ /dev/null @@ -1 +0,0 @@ -lxc onhttps://davegallant.ca/tags/lxc/Recent content in lxc onHugo -- gohugo.ioen-usDave GallantSun, 14 Nov 2021 10:07:03 -0500Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. \ No newline at end of file diff --git a/public/tags/lxc/page/1/index.html b/public/tags/lxc/page/1/index.html deleted file mode 100644 index 6c10a7b7..00000000 --- a/public/tags/lxc/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/lxc/ - \ No newline at end of file diff --git a/public/tags/nix/index.html b/public/tags/nix/index.html deleted file mode 100644 index dad70197..00000000 --- a/public/tags/nix/index.html +++ /dev/null @@ -1,10 +0,0 @@ -nix -
-

nix

Why I threw out my dotfiles

Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (~/.zshrc, ~/.config/git/config, ~/.config/tmux/tmux.conf, etc). I have tried several different ways to manage them, including bare git repos and utilities such as GNU Stow. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: home-manager.

Read more >
\ No newline at end of file diff --git a/public/tags/nix/index.xml b/public/tags/nix/index.xml deleted file mode 100644 index ca3cfefb..00000000 --- a/public/tags/nix/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -nix onhttps://davegallant.ca/tags/nix/Recent content in nix onHugo -- gohugo.ioen-usDave GallantWed, 08 Sep 2021 00:42:33 -0400Why I threw out my dotfileshttps://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/Wed, 08 Sep 2021 00:42:33 -0400https://davegallant.ca/blog/2021/09/08/why-i-threw-out-my-dotfiles/<p>Over the years I have collected a number of dotfiles that I have shared across both Linux and macOS machines (<code>~/.zshrc</code>, <code>~/.config/git/config</code>, <code>~/.config/tmux/tmux.conf</code>, etc). I have tried several different ways to manage them, including <a -href="https://www.atlassian.com/git/tutorials/dotfiles" -class="link--external" target="_blank" rel="noreferrer" ->bare git repos</a> and utilities such as <a -href="https://www.gnu.org/software/stow/" -class="link--external" target="_blank" rel="noreferrer" ->GNU Stow</a>. These solutions work well enough, but I have since found what I would consider a much better solution for organizing user configuration: <a -href="https://github.com/nix-community/home-manager" -class="link--external" target="_blank" rel="noreferrer" ->home-manager</a>.</p> \ No newline at end of file diff --git a/public/tags/nix/page/1/index.html b/public/tags/nix/page/1/index.html deleted file mode 100644 index dde23c66..00000000 --- a/public/tags/nix/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/nix/ - \ No newline at end of file diff --git a/public/tags/openwrt/index.html b/public/tags/openwrt/index.html deleted file mode 100644 index f826905b..00000000 --- a/public/tags/openwrt/index.html +++ /dev/null @@ -1,10 +0,0 @@ -openwrt -
-

openwrt

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >
\ No newline at end of file diff --git a/public/tags/openwrt/index.xml b/public/tags/openwrt/index.xml deleted file mode 100644 index 4dc5f18c..00000000 --- a/public/tags/openwrt/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -openwrt onhttps://davegallant.ca/tags/openwrt/Recent content in openwrt onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p> \ No newline at end of file diff --git a/public/tags/openwrt/page/1/index.html b/public/tags/openwrt/page/1/index.html deleted file mode 100644 index 81d698db..00000000 --- a/public/tags/openwrt/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/openwrt/ - \ No newline at end of file diff --git a/public/tags/page/1/index.html b/public/tags/page/1/index.html deleted file mode 100644 index 585e0606..00000000 --- a/public/tags/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/ - \ No newline at end of file diff --git a/public/tags/page/2/index.html b/public/tags/page/2/index.html deleted file mode 100644 index d2015078..00000000 --- a/public/tags/page/2/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/tags/page/3/index.html b/public/tags/page/3/index.html deleted file mode 100644 index 8bd828f0..00000000 --- a/public/tags/page/3/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/tags/page/4/index.html b/public/tags/page/4/index.html deleted file mode 100644 index 7ad1453c..00000000 --- a/public/tags/page/4/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/tags/page/5/index.html b/public/tags/page/5/index.html deleted file mode 100644 index b13f3bdd..00000000 --- a/public/tags/page/5/index.html +++ /dev/null @@ -1,11 +0,0 @@ -Tags -
-

Tags

\ No newline at end of file diff --git a/public/tags/pfsense/index.html b/public/tags/pfsense/index.html deleted file mode 100644 index 846ee46f..00000000 --- a/public/tags/pfsense/index.html +++ /dev/null @@ -1,10 +0,0 @@ -pfsense -
-

pfsense

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >
\ No newline at end of file diff --git a/public/tags/pfsense/index.xml b/public/tags/pfsense/index.xml deleted file mode 100644 index 67499526..00000000 --- a/public/tags/pfsense/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -pfsense onhttps://davegallant.ca/tags/pfsense/Recent content in pfsense onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p> \ No newline at end of file diff --git a/public/tags/pfsense/page/1/index.html b/public/tags/pfsense/page/1/index.html deleted file mode 100644 index 157cfc35..00000000 --- a/public/tags/pfsense/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/pfsense/ - \ No newline at end of file diff --git a/public/tags/podman/index.html b/public/tags/podman/index.html deleted file mode 100644 index 56d87759..00000000 --- a/public/tags/podman/index.html +++ /dev/null @@ -1,10 +0,0 @@ -podman -
-

podman

\ No newline at end of file diff --git a/public/tags/podman/index.xml b/public/tags/podman/index.xml deleted file mode 100644 index 82de6cb5..00000000 --- a/public/tags/podman/index.xml +++ /dev/null @@ -1 +0,0 @@ -podman onhttps://davegallant.ca/tags/podman/Recent content in podman onHugo -- gohugo.ioen-usDave GallantMon, 11 Oct 2021 10:43:35 -0400Replacing docker with podman on macOS (and Linux)https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/Mon, 11 Oct 2021 10:43:35 -0400https://davegallant.ca/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/<p>There are a number of reasons why you might want to replace docker, especially on macOS. The following feature bundled in Docker Desktop might have motivated you enough to consider replacing docker:</p> \ No newline at end of file diff --git a/public/tags/podman/page/1/index.html b/public/tags/podman/page/1/index.html deleted file mode 100644 index 2b764eee..00000000 --- a/public/tags/podman/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/podman/ - \ No newline at end of file diff --git a/public/tags/privacy/index.html b/public/tags/privacy/index.html deleted file mode 100644 index a7a1bfbd..00000000 --- a/public/tags/privacy/index.html +++ /dev/null @@ -1,10 +0,0 @@ -privacy -
-

privacy

\ No newline at end of file diff --git a/public/tags/privacy/index.xml b/public/tags/privacy/index.xml deleted file mode 100644 index 124ee17c..00000000 --- a/public/tags/privacy/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -privacy onhttps://davegallant.ca/tags/privacy/Recent content in privacy onHugo -- gohugo.ioen-usDave GallantSat, 10 Dec 2022 21:46:55 -0500Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p> \ No newline at end of file diff --git a/public/tags/privacy/page/1/index.html b/public/tags/privacy/page/1/index.html deleted file mode 100644 index 3bc670b6..00000000 --- a/public/tags/privacy/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/privacy/ - \ No newline at end of file diff --git a/public/tags/proxmox/index.html b/public/tags/proxmox/index.html deleted file mode 100644 index 68155883..00000000 --- a/public/tags/proxmox/index.html +++ /dev/null @@ -1,10 +0,0 @@ -proxmox -
-

proxmox

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >
\ No newline at end of file diff --git a/public/tags/proxmox/index.xml b/public/tags/proxmox/index.xml deleted file mode 100644 index d91573b6..00000000 --- a/public/tags/proxmox/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -proxmox onhttps://davegallant.ca/tags/proxmox/Recent content in proxmox onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p>Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. \ No newline at end of file diff --git a/public/tags/proxmox/page/1/index.html b/public/tags/proxmox/page/1/index.html deleted file mode 100644 index 2c416186..00000000 --- a/public/tags/proxmox/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/proxmox/ - \ No newline at end of file diff --git a/public/tags/proxy/index.html b/public/tags/proxy/index.html deleted file mode 100644 index f75a6f49..00000000 --- a/public/tags/proxy/index.html +++ /dev/null @@ -1,10 +0,0 @@ -proxy -
-

proxy

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/proxy/index.xml b/public/tags/proxy/index.xml deleted file mode 100644 index bf2cb834..00000000 --- a/public/tags/proxy/index.xml +++ /dev/null @@ -1 +0,0 @@ -proxy onhttps://davegallant.ca/tags/proxy/Recent content in proxy onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/proxy/page/1/index.html b/public/tags/proxy/page/1/index.html deleted file mode 100644 index 4e67a12e..00000000 --- a/public/tags/proxy/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/proxy/ - \ No newline at end of file diff --git a/public/tags/python/index.html b/public/tags/python/index.html deleted file mode 100644 index dc61f653..00000000 --- a/public/tags/python/index.html +++ /dev/null @@ -1,11 +0,0 @@ -python -
-

python

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >
\ No newline at end of file diff --git a/public/tags/python/index.xml b/public/tags/python/index.xml deleted file mode 100644 index 6da8677c..00000000 --- a/public/tags/python/index.xml +++ /dev/null @@ -1,2 +0,0 @@ -python onhttps://davegallant.ca/tags/python/Recent content in python onHugo -- gohugo.ioen-usDave GallantFri, 17 Sep 2021 12:48:33 -0400Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.AppGate SDP on Arch Linuxhttps://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/<p>AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP <code>4.3.2</code> working on Arch Linux.</p> \ No newline at end of file diff --git a/public/tags/python/page/1/index.html b/public/tags/python/page/1/index.html deleted file mode 100644 index d0130f89..00000000 --- a/public/tags/python/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/python/ - \ No newline at end of file diff --git a/public/tags/ransomware/index.html b/public/tags/ransomware/index.html deleted file mode 100644 index d6d2d78b..00000000 --- a/public/tags/ransomware/index.html +++ /dev/null @@ -1,10 +0,0 @@ -ransomware -
-

ransomware

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >
\ No newline at end of file diff --git a/public/tags/ransomware/index.xml b/public/tags/ransomware/index.xml deleted file mode 100644 index bc0d63d1..00000000 --- a/public/tags/ransomware/index.xml +++ /dev/null @@ -1 +0,0 @@ -ransomware onhttps://davegallant.ca/tags/ransomware/Recent content in ransomware onHugo -- gohugo.ioen-usDave GallantSun, 13 Mar 2022 18:49:10 -0400Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p> \ No newline at end of file diff --git a/public/tags/ransomware/page/1/index.html b/public/tags/ransomware/page/1/index.html deleted file mode 100644 index 53f73a72..00000000 --- a/public/tags/ransomware/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/ransomware/ - \ No newline at end of file diff --git a/public/tags/router-on-a-stick/index.html b/public/tags/router-on-a-stick/index.html deleted file mode 100644 index 23db1472..00000000 --- a/public/tags/router-on-a-stick/index.html +++ /dev/null @@ -1,10 +0,0 @@ -router-on-a-stick -
-

router-on-a-stick

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >
\ No newline at end of file diff --git a/public/tags/router-on-a-stick/index.xml b/public/tags/router-on-a-stick/index.xml deleted file mode 100644 index 643f9f09..00000000 --- a/public/tags/router-on-a-stick/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -router-on-a-stick onhttps://davegallant.ca/tags/router-on-a-stick/Recent content in router-on-a-stick onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p> \ No newline at end of file diff --git a/public/tags/router-on-a-stick/page/1/index.html b/public/tags/router-on-a-stick/page/1/index.html deleted file mode 100644 index eb3855c4..00000000 --- a/public/tags/router-on-a-stick/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/router-on-a-stick/ - \ No newline at end of file diff --git a/public/tags/router/index.html b/public/tags/router/index.html deleted file mode 100644 index bc1599ec..00000000 --- a/public/tags/router/index.html +++ /dev/null @@ -1,10 +0,0 @@ -router -
-

router

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >
\ No newline at end of file diff --git a/public/tags/router/index.xml b/public/tags/router/index.xml deleted file mode 100644 index 9de756d8..00000000 --- a/public/tags/router/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -router onhttps://davegallant.ca/tags/router/Recent content in router onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p> \ No newline at end of file diff --git a/public/tags/router/page/1/index.html b/public/tags/router/page/1/index.html deleted file mode 100644 index 4b10d0c1..00000000 --- a/public/tags/router/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/router/ - \ No newline at end of file diff --git a/public/tags/security/index.html b/public/tags/security/index.html deleted file mode 100644 index 624feba8..00000000 --- a/public/tags/security/index.html +++ /dev/null @@ -1,11 +0,0 @@ -security -
-

security

Automatically rotating AWS access keys

Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution.
Read more >
\ No newline at end of file diff --git a/public/tags/security/index.xml b/public/tags/security/index.xml deleted file mode 100644 index d9651378..00000000 --- a/public/tags/security/index.xml +++ /dev/null @@ -1,2 +0,0 @@ -security onhttps://davegallant.ca/tags/security/Recent content in security onHugo -- gohugo.ioen-usDave GallantFri, 17 Sep 2021 12:48:33 -0400Automatically rotating AWS access keyshttps://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Fri, 17 Sep 2021 12:48:33 -0400https://davegallant.ca/blog/2021/09/17/automatically-rotating-aws-access-keys/Rotating credentials is a security best practice. This morning, I read a question about automatically rotating AWS Access Keys without having to go through the hassle of navigating the AWS console. There are some existing solutions already, but I decided to write a script since it was incredibly simple. The script could be packed up as a systemd/launchd service to continually rotate access keys in the background. -In the longer term, migrating my local workflows to aws-vault seems like a more secure solution. \ No newline at end of file diff --git a/public/tags/security/page/1/index.html b/public/tags/security/page/1/index.html deleted file mode 100644 index 25eca25f..00000000 --- a/public/tags/security/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/security/ - \ No newline at end of file diff --git a/public/tags/self-hosted/index.html b/public/tags/self-hosted/index.html deleted file mode 100644 index 9aa59ade..00000000 --- a/public/tags/self-hosted/index.html +++ /dev/null @@ -1,10 +0,0 @@ -self-hosted -
-

self-hosted

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >

Running K3s in LXC on Proxmox

It has been a while since I’ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I’ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it’d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.
Read more >
\ No newline at end of file diff --git a/public/tags/self-hosted/index.xml b/public/tags/self-hosted/index.xml deleted file mode 100644 index dd073c1d..00000000 --- a/public/tags/self-hosted/index.xml +++ /dev/null @@ -1,16 +0,0 @@ -self-hosted onhttps://davegallant.ca/tags/self-hosted/Recent content in self-hosted onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p>Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p>Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p>Running K3s in LXC on Proxmoxhttps://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/Sun, 14 Nov 2021 10:07:03 -0500https://davegallant.ca/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. \ No newline at end of file diff --git a/public/tags/self-hosted/page/1/index.html b/public/tags/self-hosted/page/1/index.html deleted file mode 100644 index 086df59a..00000000 --- a/public/tags/self-hosted/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/self-hosted/ - \ No newline at end of file diff --git a/public/tags/socat/index.html b/public/tags/socat/index.html deleted file mode 100644 index 2db011ba..00000000 --- a/public/tags/socat/index.html +++ /dev/null @@ -1,10 +0,0 @@ -socat -
-

socat

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/socat/index.xml b/public/tags/socat/index.xml deleted file mode 100644 index a6706323..00000000 --- a/public/tags/socat/index.xml +++ /dev/null @@ -1 +0,0 @@ -socat onhttps://davegallant.ca/tags/socat/Recent content in socat onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/socat/page/1/index.html b/public/tags/socat/page/1/index.html deleted file mode 100644 index ad996afe..00000000 --- a/public/tags/socat/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/socat/ - \ No newline at end of file diff --git a/public/tags/socks/index.html b/public/tags/socks/index.html deleted file mode 100644 index fe732e26..00000000 --- a/public/tags/socks/index.html +++ /dev/null @@ -1,10 +0,0 @@ -socks -
-

socks

Using AKS and SOCKS to connect to a private Azure DB

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >
\ No newline at end of file diff --git a/public/tags/socks/index.xml b/public/tags/socks/index.xml deleted file mode 100644 index 75904b11..00000000 --- a/public/tags/socks/index.xml +++ /dev/null @@ -1 +0,0 @@ -socks onhttps://davegallant.ca/tags/socks/Recent content in socks onHugo -- gohugo.ioen-usDave GallantMon, 22 May 2023 16:31:29 -0400Using AKS and SOCKS to connect to a private Azure DBhttps://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/Mon, 22 May 2023 16:31:29 -0400https://davegallant.ca/blog/2023/05/22/using-aks-and-socks-to-connect-to-a-private-azure-db/<p>I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I&rsquo;d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I&rsquo;d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.</p> \ No newline at end of file diff --git a/public/tags/socks/page/1/index.html b/public/tags/socks/page/1/index.html deleted file mode 100644 index af06bea1..00000000 --- a/public/tags/socks/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/socks/ - \ No newline at end of file diff --git a/public/tags/synology/index.html b/public/tags/synology/index.html deleted file mode 100644 index 43bcfad8..00000000 --- a/public/tags/synology/index.html +++ /dev/null @@ -1,10 +0,0 @@ -synology -
-

synology

Backing up gmail with Synology

I’ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.

Read more >
\ No newline at end of file diff --git a/public/tags/synology/index.xml b/public/tags/synology/index.xml deleted file mode 100644 index d580a435..00000000 --- a/public/tags/synology/index.xml +++ /dev/null @@ -1 +0,0 @@ -synology onhttps://davegallant.ca/tags/synology/Recent content in synology onHugo -- gohugo.ioen-usDave GallantSun, 13 Mar 2022 18:49:10 -0400Backing up gmail with Synologyhttps://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/Sun, 13 Mar 2022 18:49:10 -0400https://davegallant.ca/blog/2022/03/13/backing-up-gmail-with-synology/<p>I&rsquo;ve used gmail since the beta launched touting a whopping 1GB of storage. I thought this was a massive leap in email technology at the time. I was lucky enough to get an invite fairly quickly. Not suprisingly, I have many years of emails, attachments, and photos. I certainly do not want to lose the content of many of these emails. Despite the redundancy of the data that Google secures, I still feel better retaining a copy of this data on my own physical machines.</p> \ No newline at end of file diff --git a/public/tags/synology/page/1/index.html b/public/tags/synology/page/1/index.html deleted file mode 100644 index 13d7a6b6..00000000 --- a/public/tags/synology/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/synology/ - \ No newline at end of file diff --git a/public/tags/tailscale/index.html b/public/tags/tailscale/index.html deleted file mode 100644 index bb50566e..00000000 --- a/public/tags/tailscale/index.html +++ /dev/null @@ -1,10 +0,0 @@ -tailscale -
-

tailscale

\ No newline at end of file diff --git a/public/tags/tailscale/index.xml b/public/tags/tailscale/index.xml deleted file mode 100644 index 6174d081..00000000 --- a/public/tags/tailscale/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -tailscale onhttps://davegallant.ca/tags/tailscale/Recent content in tailscale onHugo -- gohugo.ioen-usDave GallantSun, 10 Dec 2023 17:22:11 -0500Setting up Gitea Actions with Tailscalehttps://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/Sun, 10 Dec 2023 17:22:11 -0500https://davegallant.ca/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/<p>In this post I&rsquo;ll go through the process of setting up Gitea Actions and <a -href="https://tailscale.com/" -class="link--external" target="_blank" rel="noreferrer" ->Tailscale</a>, unlocking a simple and secure way to automate workflows.</p>Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p> \ No newline at end of file diff --git a/public/tags/tailscale/page/1/index.html b/public/tags/tailscale/page/1/index.html deleted file mode 100644 index 461e5205..00000000 --- a/public/tags/tailscale/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/tailscale/ - \ No newline at end of file diff --git a/public/tags/vlan/index.html b/public/tags/vlan/index.html deleted file mode 100644 index 25c00849..00000000 --- a/public/tags/vlan/index.html +++ /dev/null @@ -1,10 +0,0 @@ -vlan -
-

vlan

Virtualizing my router with pfSense

My aging router has been running OpenWrt for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a large index of packages. Ever since I’ve connected some standalone wireless access points, I’ve had less of a need for an off-the-shelf all-in-one wireless router combo. I’ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!

Read more >
\ No newline at end of file diff --git a/public/tags/vlan/index.xml b/public/tags/vlan/index.xml deleted file mode 100644 index d9b6ec52..00000000 --- a/public/tags/vlan/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -vlan onhttps://davegallant.ca/tags/vlan/Recent content in vlan onHugo -- gohugo.ioen-usDave GallantSat, 02 Apr 2022 18:50:09 -0400Virtualizing my router with pfSensehttps://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/Sat, 02 Apr 2022 18:50:09 -0400https://davegallant.ca/blog/2022/04/02/virtualizing-my-router-with-pfsense/<p>My aging router has been running <a -href="https://en.wikipedia.org/wiki/OpenWrt" -class="link--external" target="_blank" rel="noreferrer" ->OpenWrt</a> for years and for the most part has been quite reliable. OpenWrt is an open-source project used on embedded devices to route network traffic. It supports many different configurations and there exists a <a -href="https://openwrt.org/packages/index/start" -class="link--external" target="_blank" rel="noreferrer" ->large index of packages</a>. Ever since I&rsquo;ve connected some standalone wireless access points, I&rsquo;ve had less of a need for an off-the-shelf all-in-one wireless router combo. I&rsquo;ve also recently been experiencing instability with my router (likely the result of a combination of configuration tweaking and firmware updating). OpenWrt has served me well, but it is time to move on!</p> \ No newline at end of file diff --git a/public/tags/vlan/page/1/index.html b/public/tags/vlan/page/1/index.html deleted file mode 100644 index d1fd6d73..00000000 --- a/public/tags/vlan/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/vlan/ - \ No newline at end of file diff --git a/public/tags/vpn/index.html b/public/tags/vpn/index.html deleted file mode 100644 index 94911498..00000000 --- a/public/tags/vpn/index.html +++ /dev/null @@ -1,10 +0,0 @@ -vpn -
-

vpn

\ No newline at end of file diff --git a/public/tags/vpn/index.xml b/public/tags/vpn/index.xml deleted file mode 100644 index b7b1f74e..00000000 --- a/public/tags/vpn/index.xml +++ /dev/null @@ -1 +0,0 @@ -vpn onhttps://davegallant.ca/tags/vpn/Recent content in vpn onHugo -- gohugo.ioen-usDave GallantMon, 16 Mar 2020 22:00:15 -0400AppGate SDP on Arch Linuxhttps://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/Mon, 16 Mar 2020 22:00:15 -0400https://davegallant.ca/blog/2020/03/16/appgate-sdp-on-arch-linux/<p>AppGate SDP provides a Zero Trust network. This post describes how to get AppGate SDP <code>4.3.2</code> working on Arch Linux.</p> \ No newline at end of file diff --git a/public/tags/vpn/page/1/index.html b/public/tags/vpn/page/1/index.html deleted file mode 100644 index 4f939251..00000000 --- a/public/tags/vpn/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/vpn/ - \ No newline at end of file diff --git a/public/tags/yewtu.be/index.html b/public/tags/yewtu.be/index.html deleted file mode 100644 index a45a7cd2..00000000 --- a/public/tags/yewtu.be/index.html +++ /dev/null @@ -1,10 +0,0 @@ -yewtu.be -
-

yewtu.be

\ No newline at end of file diff --git a/public/tags/yewtu.be/index.xml b/public/tags/yewtu.be/index.xml deleted file mode 100644 index 5a5b64a6..00000000 --- a/public/tags/yewtu.be/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -yewtu.be onhttps://davegallant.ca/tags/yewtu.be/Recent content in yewtu.be onHugo -- gohugo.ioen-usDave GallantSat, 10 Dec 2022 21:46:55 -0500Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p> \ No newline at end of file diff --git a/public/tags/yewtu.be/page/1/index.html b/public/tags/yewtu.be/page/1/index.html deleted file mode 100644 index fc054d1a..00000000 --- a/public/tags/yewtu.be/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/yewtu.be/ - \ No newline at end of file diff --git a/public/tags/youtube/index.html b/public/tags/youtube/index.html deleted file mode 100644 index 256b7d65..00000000 --- a/public/tags/youtube/index.html +++ /dev/null @@ -1,10 +0,0 @@ -youtube -
-

youtube

\ No newline at end of file diff --git a/public/tags/youtube/index.xml b/public/tags/youtube/index.xml deleted file mode 100644 index 815ca175..00000000 --- a/public/tags/youtube/index.xml +++ /dev/null @@ -1,7 +0,0 @@ -youtube onhttps://davegallant.ca/tags/youtube/Recent content in youtube onHugo -- gohugo.ioen-usDave GallantSat, 10 Dec 2022 21:46:55 -0500Watching YouTube in privatehttps://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/Sat, 10 Dec 2022 21:46:55 -0500https://davegallant.ca/blog/2022/12/10/watching-youtube-in-private/<p>I recently stumbled upon <a -href="https://yewtu.be" -class="link--external" target="_blank" rel="noreferrer" ->yewtu.be</a> and found it intriguing. It not only allows you to watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. What sort of wizardry is going on under the hood? It turns out that it&rsquo;s a hosted instance of <a -href="https://invidious.io/" -class="link--external" target="_blank" rel="noreferrer" ->invidious</a>.</p> \ No newline at end of file diff --git a/public/tags/youtube/page/1/index.html b/public/tags/youtube/page/1/index.html deleted file mode 100644 index daee085d..00000000 --- a/public/tags/youtube/page/1/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://davegallant.ca/tags/youtube/ - \ No newline at end of file diff --git a/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.content b/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.content index 1840b6e3..f7cfb747 100644 --- a/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.content +++ b/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.content @@ -1,3 +1,3 @@ -div.code-toolbar{position:relative}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out;z-index:10}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{background:#f5f2f0;background:hsla(0,0%,88%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;-webkit-text-decoration:none;text-decoration:none}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none}.command-line-prompt>span:before{content:" ";display:block;opacity:.7;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.command-line-prompt>span[data-continuation-prompt]:before{content:attr(data-continuation-prompt)}.command-line span.token.output{opacity:.7}pre.diff-highlight>code .token.deleted:not(.prefix),pre>code.diff-highlight .token.deleted:not(.prefix){background-color:rgba(255,0,0,.1);color:inherit;display:block}pre.diff-highlight>code .token.inserted:not(.prefix),pre>code.diff-highlight .token.inserted:not(.prefix){background-color:rgba(0,255,128,.1);color:inherit;display:block} +div.code-toolbar{position:relative}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out;z-index:10}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{background:#f5f2f0;background:hsla(0,0%,88%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;-webkit-text-decoration:none;text-decoration:none}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none}.command-line-prompt>span:before{content:" ";display:block;opacity:.7;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.command-line-prompt>span[data-continuation-prompt]:before{content:attr(data-continuation-prompt)}.command-line span.token.output{opacity:.7} /*! MIT License | github.com/schnerring/hugo-theme-gruvbox */ \ No newline at end of file diff --git a/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.json b/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.json index 44f7df07..d3832211 100644 --- a/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.json +++ b/resources/_gen/assets/css/css/non-critical.css_c3f8c1bd69b669b02aeceffdffce2ae7.json @@ -1 +1 @@ -{"Target":"css/non-critical.10bf652274d1149570c93631c19d9e068c317875079471d2fda62260a2d40136a468ceb49a9b091ce868ae2db84cbfdb5e4eab1b465fb9710247eb86f36275a0.css","MediaType":"text/css","Data":{"Integrity":"sha512-EL9lInTRFJVwyTYxwZ2eBowxeHUHlHHS/aYiYKLUATakaM60mpsJHOhori24TL/bXk6rG0ZfuXECR+uG82J1oA=="}} \ No newline at end of file +{"Target":"css/non-critical.84abe72d2e13924c4967767940c5a6e945550db473f64b927fa091dc697ce443b6d9ff3e2d8f30e3fadfa4142e7282ab04f189ff69c57a23df45dd9ecfb8dff5.css","MediaType":"text/css","Data":{"Integrity":"sha512-hKvnLS4TkkxJZ3Z5QMWm6UVVDbRz9kuSf6CR3Gl85EO22f8+LY8w4/rfpBQucoKrBPGJ/2nFeiPfRd2ez7jf9Q=="}} \ No newline at end of file diff --git a/resources/_gen/assets/css/css/non-critical.css_dec9ec4ba6a8398679fa2a3d8d143c1a.content b/resources/_gen/assets/css/css/non-critical.css_dec9ec4ba6a8398679fa2a3d8d143c1a.content index 59e0384c..216ca75b 100644 --- a/resources/_gen/assets/css/css/non-critical.css_dec9ec4ba6a8398679fa2a3d8d143c1a.content +++ b/resources/_gen/assets/css/css/non-critical.css_dec9ec4ba6a8398679fa2a3d8d143c1a.content @@ -71,49 +71,6 @@ div.code-toolbar > .toolbar > .toolbar-item > span:focus { text-decoration: none; } -/*prismjs/plugins/line-numbers/prism-line-numbers.css*/ - -pre[class*="language-"].line-numbers { - position: relative; - padding-left: 3.8em; - counter-reset: linenumber; -} - -pre[class*="language-"].line-numbers > code { - position: relative; - white-space: inherit; -} - -.line-numbers .line-numbers-rows { - position: absolute; - pointer-events: none; - top: 0; - font-size: 100%; - left: -3.8em; - width: 3em; /* works for line-numbers below 1000 lines */ - letter-spacing: -1px; - border-right: 1px solid #999; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -} - -.line-numbers-rows > span { - display: block; - counter-increment: linenumber; - } - -.line-numbers-rows > span:before { - content: counter(linenumber); - color: #999; - display: block; - padding-right: 0.8em; - text-align: right; - } - /*prismjs/plugins/command-line/prism-command-line.css*/ .command-line-prompt { @@ -160,22 +117,6 @@ pre[class*="language-"].line-numbers > code { opacity: 0.7; } -/*prismjs/plugins/diff-highlight/prism-diff-highlight.css*/ - -pre.diff-highlight > code .token.deleted:not(.prefix), -pre > code.diff-highlight .token.deleted:not(.prefix) { - background-color: rgba(255, 0, 0, .1); - color: inherit; - display: block; -} - -pre.diff-highlight > code .token.inserted:not(.prefix), -pre > code.diff-highlight .token.inserted:not(.prefix) { - background-color: rgba(0, 255, 128, .1); - color: inherit; - display: block; -} - /* Prism Font */ code,