Skip to content

Instantly share code, notes, and snippets.

View cjdelisle's full-sized avatar

Caleb James DeLisle cjdelisle

  • Paris France
View GitHub Profile

CJVPS Hosting

What is the machine

  • 1 VCPU Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz
  • 4 GB RAM
  • 50 GB available storage
    • virtio-fs over ZFS
    • Quota is on compressed data, so the actual amount you can store will exceed 50GB
    • Access to your VM's filesystem via SMB: COMING SOON
  • Internet access
@cjdelisle
cjdelisle / mail.cjdns.fr.conf
Created September 5, 2023 17:50
mailcow reverse proxy nginx example
server {
listen [::]:80;
listen 80;
server_name mail.cjdns.fr;
access_log /var/log/nginx/http.mail.cjdns.fr.access.log;
error_log /var/log/nginx/http.mail.cjdns.fr.error.log info;
# Enables or disables emitting nginx version on error pages and in the "Server" response header field.
server_tokens off;
@cjdelisle
cjdelisle / pkteerium.xyz.conf
Created September 4, 2023 21:54
Pkteerium nginx conf
server {
listen [::]:80;
listen 80;
server_name pkteerium.xyz;
error_log /var/log/nginx/pkteerium.error.log info;
location / {
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
}
# Enables or disables emitting nginx version on error pages and in the "Server" response header field.
@cjdelisle
cjdelisle / pkteerium.xyz.conf
Created May 10, 2022 13:36
Nginx file for The Pkteerium - A Pleroma server which serves the frontend separately from the backend.
server {
listen [::]:80;
listen 80;
server_name pkteerium.xyz;
error_log /var/log/nginx/pkteerium.error.log info;
location / {
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
}
# Enables or disables emitting nginx version on error pages and in the "Server" response header field.
I was threatened with rape accusation and now I am far more likely to believe victims.
A person who I once regarded as a friend told me that if I divulged a particular piece of
information to anyone, they would tell the world I had raped them. Perhaps this text
doesn't do justice to the way it was said and how convincing it sounded at the time but
the feeling afterward was something like being 24 hours without sleep, but it lasted for
days. I want to be clear, I'm not much of a victim. People have truly horrifying things
done to them over long periods of time. I got only a taste, but I do know what it means
being afraid to say the wrong thing or upset the person or talk to anyone. Maybe I'm weak
but I still physically tense up thinking about that person or if I see their name somewhere.
@cjdelisle
cjdelisle / cjdns_packet_priority.md
Last active December 8, 2019 19:22
Cjdns Packet Prioritization System

Cjdns Packet Prioritization System

The packet prioritization system is designed to allow access to a link to be exercised by it's owner, thus allowing for bandwidth to be sold and used.

  • A packet SHOULD NOT be dropped unless there is actually not enough bandwidth to send everything.
  • A bandwidth lease MUST be able to send at least its bandwidth limit.
  • Unused bandwidth SHOULD be divided between those leases which are currently sending traffic in a fair way based on the relative size of the leases.
@cjdelisle
cjdelisle / gist:ca9075883ff13e7fc6cd669632c0e939
Created April 14, 2019 20:59
Cjdns Packet Prioritization System
# Cjdns Packet Prioritization System
The packet prioritization system is designed to allow access to a link to be exercised by it's
owner, thus allowing for bandwidth to be sold and used.
* A packet SHOULD NOT be dropped unless there is actually not enough bandwidth to send everything.
* A bandwidth lease MUST be able to send at least its bandwidth limit.
* Unused bandwidth SHOULD be divided between those leases which are currently sending traffic in a
fair way based on the relative size of the leases.