Skip to content

Instantly share code, notes, and snippets.

View Michaelin007's full-sized avatar
🎯
Focusing

Michael Olayemi Michaelin007

🎯
Focusing
View GitHub Profile
import javax.swing.*;
import java.awt.*;
import java.util.List;
import java.util.ArrayList;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
public class DemoViewer {
public static void main(String[] args) {
@Michaelin007
Michaelin007 / .gitignore
Created December 22, 2022 14:41 — forked from DarrenN/.gitignore
Emacs setup for Clojure
shibuya.el
dazza.el
elpa/
places
eshell/
.smex-items
ac-comphist.dat
projectile-bookmarks.eld
@Michaelin007
Michaelin007 / free-backend-hosting.md
Created September 11, 2022 15:45 — forked from bmaupin/free-backend-hosting.md
Free backend hosting
@Michaelin007
Michaelin007 / rocketguide.md
Created September 5, 2022 20:47 — forked from belst/rocketguide.md
Deploy Rocket in production

Deploy Rocket using Letsencrypt and nginx

Information

This guide uses the domain your-domain.tld and its www. prefixed version. It starts the rocket application on 127.0.0.1:1337 and as the user www-data. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.

Prerequisites

You need to have nginx, certbot and rust installed.