Skip to content

Instantly share code, notes, and snippets.

View anon987654321's full-sized avatar


View GitHub Profile
#!/usr/bin/env zsh
# Dependency check
function die {
print >&2 "$@"
exit 1
# default2.theme
# A minimalistic, color-neutral Irssi theme. Inspired by ircII.
# Recommended font:
# /set show_nickmode_empty off
# OpenBSD Puma startup script
# CURRENT STATUS: Failing due to lack of `--bind` switch
pumactl="/usr/local/bin/pumactl --control-url 'ssl://' --environment production"

OpenBSD musings

Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. Creator of the world's simplest and most secure webserver httpd/TLS & crypto stack LibreSSL/SSH implementation OpenSSH/firewall pf/mail server OpenSMTPD and much, much more. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.

Would it be feasible adding something like this to the OpenBSD website?

I've noticed a lot of other organizations doing it, and it would relieve us from constantly having to explain why we chose OpenBSD over all the others.

commit ab928ebc87d96dfa4f072de2f123cf9940f90f9a
Author: dev <>
Date: Mon Mar 30 08:37:05 2020 +0200
Add additional user fields to Devise HTML
diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb
index 8ea5ea6..2f26dd2 100644
--- a/app/views/devise/registrations/edit.html.erb
+++ b/app/views/devise/registrations/edit.html.erb
commit 33f71feec0bfa11a108d7adebd5e7581cfb26b29
Author: dev <>
Date: Mon Mar 30 12:20:46 2020 +0200
Make first user to register admin
diff --git a/app/models/user.rb b/app/models/user.rb
index 9c72148..5339e94 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
commit c34330afa6646893f058e54ddbe29fa9118046e6
Author: dev <>
Date: Wed Jan 1 00:00:00 2020 -0100
Add comments to posts
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb
new file mode 100644
index 0000000..40e773d
--- /dev/null
commit 65d2ec3355e0d12f20d97480c9748e6276338bb3
Author: dev <>
Date: Mon Mar 30 12:51:52 2020 +0200
Add approval routes
diff --git a/config/routes.rb b/config/routes.rb
index 5786e6a..6b1bac1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
commit e7f6af15c65397c1e185aadfd10ce46c99fb1fdd
Author: dev <>
Date: Wed Jan 1 00:00:00 2020 -0100
Add avatars with EXIF removal
diff --git a/Gemfile b/Gemfile
index 172128e..d6b9b2c 100644
--- a/Gemfile
+++ b/Gemfile