Skip to content

Instantly share code, notes, and snippets.

@serxoz
serxoz / client.go
Created August 1, 2022 23:48 — forked from xjdrew/client.go
golang tls client and server, require and verify certificate in double direction
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io"
"io/ioutil"
"log"
"os"
@serxoz
serxoz / main.go
Created September 21, 2022 08:29 — forked from hnakamur/main.go
A go example to stop a worker goroutine when Ctrl-C is pressed (MIT License)
package main
import (
"fmt"
"os"
"os/signal"
"time"
"golang.org/x/net/context"
)
@serxoz
serxoz / postgresql-manjaro.md
Created September 23, 2022 19:38 — forked from marcorichetta/postgresql-manjaro.md
Install PostgreSQL on Manjaro and set it up for Django
@serxoz
serxoz / post-installation-void-linux-glibc.txt
Last active November 23, 2022 15:28 — forked from bastomiadi/post-installation-void-linux-glibc.txt
Post installation Void Linux (Glibc)
0. Check keyboard layout on /etc/rc.conf
set KEYMAP="es" and TIMEZONE="Europe/Madrid"
1. Update all package system
sudo xbps-install -Suv
2. add non-free repo
sudo xbps-install -Rs void-repo-nonfree
3. Software & utilities
@serxoz
serxoz / nginx.conf
Created January 30, 2023 10:56 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@serxoz
serxoz / VOID-INSTALL.md
Created June 23, 2023 12:41 — forked from tobi-wan-kenobi/VOID-INSTALL.md
Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Here's a record of my experiences when setting up Void Linux for the first time, maybe it contains useful information for somebody :-)

Basics

  • Laptop: Lenovo IdeaPad S340
  • Void Linux installer version: 20191109 (x86_64 musl)

Features