From 155a42f57804158aa678f4b766577257d4b21cda Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Sun, 22 May 2022 02:19:37 +0200 Subject: Link bare Git repositories --- BACKLOG.md | 1 - code.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ site.hs | 4 +-- templates/default.html | 1 + 4 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 code.md diff --git a/BACKLOG.md b/BACKLOG.md index 93ca0ba..8ed3451 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -12,7 +12,6 @@ * Advertize feeds in blog post footer * Publish the website's source code * Recommended readings page and feed -* Link bare git repositories served over dumb HTTPS at /repos/project.git ## Styling diff --git a/code.md b/code.md new file mode 100644 index 0000000..d22ded8 --- /dev/null +++ b/code.md @@ -0,0 +1,68 @@ +--- +title: Code +--- + +Here are some of my personal Git repositories in alphabetical order. + +Don't be surprised, these are *bare* Git repositories. +You can clone them with your favorite Git client. +For example: + + $ git clone https://www.skreutz.com/scm/git/wpa-psk-rs.git + +Feedback and contributions are welcome. +Please [contact](/contact/) me via email. + +## dotfiles + +My personal configuration files. + +* Git [repository](https://www.skreutz.com/scm/git/dotfiles.git/) + +## html5-skeleton + +A simple HTML5 skeleton. + +* Git [repository](https://www.skreutz.com/scm/git/html5-skeleton.git/) + +## jotpass + +A BSD utility to generate random passwords suitable for handwriting. + +* Introductory blog [post](https://www.skreutz.com/posts/readable-random-passwords-with-jot/) +* Git [repository](https://www.skreutz.com/scm/git/jotpass.git/) + +## openbsd-installiso + +An OpenBSD utility to create custom ISO 9660 installation images for unattended installation. + +* Introductory blog [post](https://www.skreutz.com/posts/first-release-of-installiso/) +* Git [repository](https://www.skreutz.com/scm/git/openbsd-installiso.git/) + +## shellpass + +A minimalist password manager for OpenBSD's Korn shell. + +* Git [repository](https://www.skreutz.com/scm/git/shellpass.git/) + +## ssh-tmux + +A utility to execute long-running interactive remote commands. + +* Git [repository](https://www.skreutz.com/scm/git/ssh-tmux.git/) + +## temp-postgres + +A utility to run the PostgreSQL server off a temporary data directory. + +* Introductory blog [post](https://www.skreutz.com/posts/temporary-postgresql-server/) +* Git [repository](https://www.skreutz.com/scm/git/temp-postgres.git/) + +## wpa-psk-rs + +A command-line utility and Rust library to compute the WPA pre-shared key of a Wi-Fi SSID and passphrase. + +* Git [repository](https://www.skreutz.com/scm/git/wpa-psk-rs.git/) +* Cargo package on [crates.io](https://crates.io/crates/wpa-psk), and [lib.rs](https://lib.rs/crates/wpa-psk) +* Library documentation on [docs.rs](https://docs.rs/wpa-psk/latest/wpa_psk/) + diff --git a/site.hs b/site.hs index 17d0aed..5bc34bb 100644 --- a/site.hs +++ b/site.hs @@ -17,7 +17,7 @@ main = hakyllWith hakyllConfig $ do -- WORKAROUND: compressCssCompiler removes copyright notices compile copyFileCompiler - match (fromList ["about.md", "contact.md", "privacy.md"]) $ do + match (fromList ["about.md", "contact.md", "privacy.md", "code.md"]) $ do route $ setExtension "html" `composeRoutes` appendIndex let context = dropIndexHtml "url" <> defaultContext compile $ pandocCompiler @@ -60,7 +60,7 @@ main = hakyllWith hakyllConfig $ do route idRoute compile $ do posts <- recentFirst =<< loadAll "posts/*" - singles <- loadAll (fromList ["about.md", "contact.md", "privacy.md", "posts.html"]) + singles <- loadAll (fromList ["about.md", "contact.md", "privacy.md", "code.md", "posts.html"]) let pages = posts <> singles sitemapContext = diff --git a/templates/default.html b/templates/default.html index 52ef143..ef1ef92 100644 --- a/templates/default.html +++ b/templates/default.html @@ -24,6 +24,7 @@
  • skreutz.com
  • About
  • Blog
  • +
  • Code
  • Contact
  • -- cgit v1.2.3