Skip to content

Instantly share code, notes, and snippets.

View voluntas's full-sized avatar
🎲
Focusing

voluntas voluntas

🎲
Focusing
View GitHub Profile
@voluntas
voluntas / sysctl.conf
Created October 14, 2017 13:07 — forked from techgaun/sysctl.conf
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
v=0
o=- 7449998072251763612 0 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS
a=group:BUNDLE audio video
m=audio 7320 UDP/TLS/RTP/SAVPF 102 9 0 8 97 13 118 101
c=IN IP4 192.168.8.7
a=rtpmap:102 opus/48000/2
a=rtpmap:9 G722/8000
@voluntas
voluntas / ThreadPool.zig
Created July 16, 2022 14:43 — forked from kprotty/ThreadPool.zig
An isolated thread pool implementation for Zig
const std = @import("std");
const system = std.os.system;
pub const Scheduler = struct {
pub const InitConfig = struct {
max_threads: ?u16 = null,
};
pub fn init(self: *Scheduler, config: InitConfig) !void {
@voluntas
voluntas / clockwork-base32.md
Created July 31, 2023 10:16 — forked from szktty/clockwork-base32.md
Clockwork Base32: A variant of Base32 inspired by Crockford's Base32