Skip to content

Instantly share code, notes, and snippets.

View p4block's full-sized avatar
🚀
Fly me to the moon

Pablo p4block

🚀
Fly me to the moon
View GitHub Profile

Keybase proof

I hereby claim:

  • I am p4block on github.
  • I am p4block (https://keybase.io/p4block) on keybase.
  • I have a public key ASB_lI3yeaY3azvgjI7Oz3Wgr2PG6jdjLX6FNuKY6DSzOwo

To claim this, I am signing this object:

@p4block
p4block / run-faf.sh
Last active March 4, 2023 15:37
FAF
# Modify to get the user folder
export WORKDIR="${HOME}/.faforever/linux-prefix"
export WINEPREFIX="${WORKDIR}/prefix"
export DXVKVERSION=2.1
# Useful environment variables
export WINEDLLOVERRIDES="mscoree,mshtml="
export DXVK_HUD=fps,api
export MANGOHUD=1
@p4block
p4block / nginx.conf
Created March 14, 2020 22:48
Fully automated luxury gay space nginx.conf for container use. Mount to /etc/nginx/nginx.conf and your webpage to /usr/share/nginx/html.
user nginx;
worker_processes 12;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
@p4block
p4block / cows.sh
Created March 31, 2017 23:20
cows
#!/usr/bin/env bash
fortune | cowsay -f `ls /usr/share/cows/ | shuf -n 1`