Skip to content

Instantly share code, notes, and snippets.

@fmos
fmos / playbook-ghost.yaml
Created March 14, 2024 20:09
Ansible playbook to set up Ghost behind an NGINX reverse proxy using auto-updating rootless Podman cointainers
---
- name: Set up Ghost behind an NGINX reverse proxy using Podman
hosts: all
vars:
homedir: /srv/podman
tld: example.com
certmail: letsencrypt@example.com
tasks:
@fmos
fmos / i3rofi
Created September 3, 2015 13:48
wrapper script to open rofi on the focused i3 workspace
#!/bin/sh
# wrapper script to open rofi on the focused i3 workspace
rofi -m $(i3-msg -t get_outputs | jq '.[] | select(.active) | .name' | awk "/`i3-msg -t get_workspaces | jq '.[] | select(.focused) | .output'`/ { print FNR-1 }") $@
@fmos
fmos / keybase.md
Created August 8, 2014 19:04
keybase.md

Keybase proof

I hereby claim:

  • I am fmos on github.
  • I am fmos (https://keybase.io/fmos) on keybase.
  • I have a public key whose fingerprint is 24C4 22BA B08E DFAF C019 54C3 DF74 9B35 73B8 D7AD

To claim this, I am signing this object:

@fmos
fmos / zotonic_install.patch
Created June 3, 2012 13:08
Zotonic install patch for Ubuntu 12.04
diff -r 4bf7ab502dbd zotonic_install
--- a/zotonic_install Mon Sep 05 15:05:57 2011 +0200
+++ b/zotonic_install Sun Jun 03 15:06:40 2012 +0200
@@ -3,6 +3,7 @@
SHELL=/bin/bash && \
apt-get install -y \
erlang \
+ erlang-src \
build-essential \
rake \