summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-05-22 02:19:37 +0200
committerStefan Kreutz <mail@skreutz.com>2022-05-22 02:19:37 +0200
commit155a42f57804158aa678f4b766577257d4b21cda (patch)
tree35b7cd1c3a55fff2f16e7eecf1bf5b6ed11fcc57
parentf687522860d0619082c1ddb65e14775d9c35d031 (diff)
downloadblog-155a42f57804158aa678f4b766577257d4b21cda.tar
Link bare Git repositories
-rw-r--r--BACKLOG.md1
-rw-r--r--code.md68
-rw-r--r--site.hs4
-rw-r--r--templates/default.html1
4 files changed, 71 insertions, 3 deletions
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 @@
<li><a href="/" title="Home page">skreutz.com</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/posts/">Blog</a></li>
+ <li><a href="/code/">Code</a></li>
<li><a href="/contact/">Contact</a></li>
</ul>
</nav>
Generated by cgit. See skreutz.com for my tech blog and contact information.