Skip to content

Instantly share code, notes, and snippets.

@lachesis
lachesis / letsencrypt_notes.sh
Last active February 3, 2025 10:38
Set up LetsEncrypt using acme.sh without root
# How to use "acme.sh" to set up Lets Encrypt without root permissions
# See https://github.com/Neilpang/acme.sh for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "EXAMPLE.com" as an example
# When this is done, there will be an "acme" user that handles issuing,
# updating, and installing certificates. This account will have the following
# (fairly minimal) permissions:
# - Host files at http://EXAMPLE.com/.well-known/acme-challenge
@lachesis
lachesis / Makefile.patch
Created May 7, 2015 04:49
Naive implementation of CSV parsing using nested strtok and a mmap'd file
--- a/Makefile 2010-08-23 08:46:24.000000000 -0700
+++ b/Makefile 2015-05-06 21:20:20.177910661 -0700
@@ -100,15 +100,15 @@
################
## CHANGE NAME OF ANSI COMPILER HERE
################
-CC =
+CC = gcc
# Current values for DATABASE are: INFORMIX, DB2, TDAT (Teradata)
# SQLSERVER, SYBASE, ORACLE

Keybase proof

I hereby claim:

  • I am lachesis on github.
  • I am aftbit (https://keybase.io/aftbit) on keybase.
  • I have a public key whose fingerprint is 9E15 397E 4D53 7E3A 3A23 8F87 E620 C8A7 4BAF 5D09

To claim this, I am signing this object: