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
View sysctl.conf
### 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
View 転職先に訊きたいチェックリスト.md

時雨堂の場合

制度

  • 有休... 20 日
  • 病休... なし
  • 育休... なし (検討中)
  • 年収(月給、賞与など)...
  • 住宅補助... なし
  • 通勤補助... あり (3 万円未満)
@voluntas
voluntas / rust-day-3.rst
Created April 12, 2016 16:34 — forked from omasanori/rust-day-3.rst
5分で分かったふりができるRust紹介
View rust-day-3.rst

5分で分かったふりができるRust紹介

作成者にもかかわらず、いきなり遅刻しました。ごめんなさい。`Rust Advent Calendar 2013`_、今からでも参加できますのでぜひ。

今日はRustの特徴を簡潔に紹介します。

システムプログラミング & 低レイヤ

@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
View clockwork-base32.md
@voluntas
voluntas / ThreadPool.zig
Created July 16, 2022 14:43 — forked from kprotty/ThreadPool.zig
An isolated thread pool implementation for Zig
View ThreadPool.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 / webrtc_sfu_develop.rst
Last active June 17, 2021 10:33 — forked from alanmshelly/webrtc_sfu_develop.rst
WebRTC SFU をフルスクラッチで作ってみた
View webrtc_sfu_develop.rst

WebRTC SFU をフルスクラッチで作ってみた

I wrote a WebRTC SFU from scratch

Author:@voluntas
Translator:@alanmshelly
Version:0.0.0
url:https://voluntas.github.io/
@voluntas
voluntas / benchmark.py
Last active March 6, 2021 18:59 — forked from eamartin/benchmark.py
PyPy での JSON ライブラリベンチーマーク
View benchmark.py
'''cjson, jsonlib, simplejson, and yajl also use C code
demjson did not use C code, but was too painfully slow to benchmark
(took about 20 seconds for these tests)
'''
import json
import sys
import time
with open('doc.json') as f:
View simulcast-sdp-chrome.txt
Chrome simulcasting: offer (browser)
------------------------------------
v=0
o=- 4308117731863853442 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video data
a=msid-semantic: WMS ZUJWk5rc0kNVekwY7gpiWsPbvAa6UbZWQI4A
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
View gist:9b717c7b16719a0cdd40615a9675bfd3
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
View simulcast-sdp-firefox56.txt
Firefox 56 simulcasting: offer (browser)
----------------------------------------
v=0
o=mozilla...THIS_IS_SDPARTA-56.0a1 6240803254751085187 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 E7:F5:25:C8:88:0D:4E:7D:B1:49:60:BF:AB:8D:84:5B:F6:D6:A9:74:FB:F1:2A:82:16:65:5B:AF:0F:23:02:BE
a=group:BUNDLE sdparta_0 sdparta_1 sdparta_2
a=ice-options:trickle
a=msid-semantic:WMS *