Skip to content

Instantly share code, notes, and snippets.

@soifou
soifou / install-ut-goty-debian-64bits.md
Last active January 29, 2025 23:41
Install Unreal Tournament GOTY on Debian Jessie 64bits

Install Unreal Tournament GOTY on Debian 64bits

Run natively Unreal Tournament Game Of The Year (GOTY) on Debian system.

UT is not dead! The install process is a bit cumbersome but the game has been published more than 20 years ago! Please let me know how it went for you and if you have any tips, please share :)

And most important, have fun!

(Tested on Debian Bullseye 64bits)

On Twitter the other day, I was lamenting the state of OCSP stapling support on Linux servers, and got asked by several people to write-up what I think the requirements are for OCSP stapling support.

  1. Support for keeping a long-lived (disk) cache of OCSP responses.

    This should be fairly simple. Any restarting of the service shouldn't blow away previous responses that were obtained. This doesn't need to be disk, just stable - and disk is an easy stable storage for most server

@joepie91
joepie91 / vpn.md
Last active May 20, 2025 14:11
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@CMCDragonkai
CMCDragonkai / trusted_certificate_stores_on_linux_os_and_applications.md
Last active March 5, 2025 15:19
SSL/TLS: Trusted Certificate Stores on Linux Operating Systems and Applications

Trusted SSL/TLS Certificate Stores on Linux Operating Systems and Applications

The SSL/TLS store location is not standardised across operating systems or even Linux distros. It could be anywhere in:

  • /etc/ssl/certs
  • /etc/pki/tls/certs/ca-bundle.crt
  • /etc/ssl/certs/ca-bundle.crt
  • /etc/pki/tls/certs/ca-bundle.trust.crt
@twolfson
twolfson / README.md
Last active June 25, 2024 01:50
Drawing graphs from collectd data via rrdtool

We are exploring capturing local laptop metrics as research for applying collectd recordings on our server (so we can get weekly emails).

The rrdtool syntax is non-obvious but we are making progress.

The apt package for collectd collects information into a few buckets (e.g. 10 second average, 50 second average, etc). We can see this information at a high level via rrdtool info:

rrdtool info /var/lib/collectd/rrd/Euclid/battery-0/charge.rrd
# step = 10
# last_update = 1454486292
anonymous
anonymous / jp terms 2.1.md
Created March 28, 2016 09:58
Term Explanation Example
OL Office Lady. Basically set in an office theme. Focus often on the uniform/glasses/stockings/tights. PTS-229 美巨乳OL レズ出張マッサージ 3
ギャル (Gyaru), 顔黒 (Ganguro), 黒ギャル (Kuro Gyaru), 白ギャル (Shiro Gyaru), Gal Fashion style, main characteristics are: heavily bleached or dyed hair (mostly shades from dark brown to blonde), highly decorated nails, dramatic makeup, tanned skin. Ganguro and Kuro Gals have dark skin, Shiro Gals have light skin. CYAL-002 白ギャル黒ギャル 制服レズ性感 つばさ 大槻ひびき
ロリ (Rori), ロリータ (Roriita) Young looking girls. KIRD-189 ロリカワGALご奉仕ナース大量ぶっかけザーメンシャワー病棟
美少女 (Bishoujo) A term to describe a really, really pretty girl. LID-006 泣きじゃくり 泣き虫美少女涙ぼろぼろイラマチオ なごみ
コスプレ (Kosupure),sometimes abbreviated コス (Kosu), スプレイヤー (Cosplayer) Cosplay, costume play. Not limited to anime/games characters, can refer to nurses, school girl uniforms, etc... NITR-168 ザーメン大好き精飲デカ尻コスプレイヤー
JK, 女子校生, 女子高生 (Joshikousei) 女子高校生 (Josh
@JanTvrdik
JanTvrdik / record-screen.ps1
Last active October 31, 2021 08:21
Windows FFmpeg-based H.264 lossless screen recording
# https://trac.ffmpeg.org/wiki/Capture/Desktop
# https://ffmpeg.org/ffmpeg-devices.html#gdigrab
# https://trac.ffmpeg.org/wiki/Encode/H.264#LosslessH.264
# WARNING: THE RECORDING WILL STOP WHEN UAC POPUP IS SHOWN
C:\SoftPortable\ffmpeg\bin\ffmpeg `
-f gdigrab -framerate 30 -draw_mouse 1 -i desktop `
-c:v libx264 -qp 0 -pix_fmt yuv444p -preset ultrafast `
"C:\Videos\recording-$(get-date -f yyyy-MM-dd-Hmss).mp4"
@Brainiarc7
Brainiarc7 / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Last active May 18, 2025 15:48
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

@Brainiarc7
Brainiarc7 / ffmppeg-advanced-playbook-nvenc-and-libav-and-vaapi.md
Last active September 2, 2024 14:37
FFMpeg's playbook: Advanced encoding options with hardware-accelerated acceleration for both NVIDIA NVENC's and Intel's VAAPI-based hardware encoders in both ffmpeg and libav.

FFmpeg and libav's playbook: Advanced encoding options with hardware-based acceleration, NVIDIA's NVENC and Intel's VAAPI-based encoder.

Hello guys,

Continuing from this guide to building ffmpeg and libav with NVENC and VAAPI enabled, this snippet will cover advanced options that you can use with ffmpeg and libav on both NVENC and VAAPI hardware-based encoders.

For ffmpeg:

@ejcx
ejcx / nginx.conf
Last active December 9, 2022 21:07
Basic configuration for a global HTTP proxy.
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;