Skip to content

Instantly share code, notes, and snippets.

View voluntas's full-sized avatar
🎲
Focusing

V voluntas

🎲
Focusing
View GitHub Profile
@teocci
teocci / compile_ffmpeg.md
Last active December 18, 2022 00:15
Compile FFmpeg on Ubuntu 16.04

Compile FFmpeg on Ubuntu

This basic guide supports Ubuntu Xenial Xerus 16.04 and will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide][1].

Note: Copy and paste the whole code box for each step.

Preparation

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 *
Firefox 54 simulcasting: offer (browser)
----------------------------------------
v=0
o=mozilla...THIS_IS_SDPARTA-54.0 8032511078174487015 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 3C:22:03:71:82:EA:7B:46:DB:4E:A8:9E:FE:5F:0C:83:3E:65:CB:CF:A0:59:F7:A1:58:FB:DC:9E:6C:E0:8D:FA
a=group:BUNDLE sdparta_0 sdparta_1 sdparta_2
a=ice-options:trickle
a=msid-semantic:WMS *
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
Delivered-To: [email protected]
Received: by 10.103.48.150 with SMTP id w144csp1952885vsw;
Sun, 2 Apr 2017 19:26:57 -0700 (PDT)
X-Received: by 10.84.195.129 with SMTP id j1mr18830811pld.88.1491186417426;
Sun, 02 Apr 2017 19:26:57 -0700 (PDT)
Return-Path: <[email protected]>
Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0079.outbound.protection.outlook.com. [104.47.124.79])
by mx.google.com with ESMTPS id j16si12639980pfk.353.2017.04.02.19.26.56
for <[email protected]>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
@adr0sen
adr0sen / load_impact_web_load_testing_sample.lua
Created March 30, 2017 23:32
Load Impact Lua script sample: Advanced login w dynamic data extraction/correlation
-- For more details, see http://support.loadimpact.com/knowledgebase/articles/389413-advanced-login-w-dynamic-data-extraction-correlati
--
-- Dynamic data correlation/extraction example user scenario
--
-- This user scenario code demonstrates how to look for certain data in an HTTP response
-- using regular expression matching. The extracted data can then be used in future requests,
-- typically to simulate CSRF (cross-site request forgery) tokens, session keys or similar
-- dynamic data the server wants included in requests for security or other reasons.
--
@melpon
melpon / wandbox-sponsors.md
Last active March 2, 2022 05:31
Wandboxのスポンサー募集(締め切りました)

スポンサーの募集は締め切りました。以後は GitHub Sponsors に移行する予定です。

どのような募集をしていたか知りたい場合は履歴を確認してください。

@sile
sile / json_error_line.erl
Created February 14, 2017 11:43
jsoneのデコード失敗時にエラー行番号を取得する
-module(json_error_line).
-export([parse_json/1]).
-spec parse_json(binary()) -> {ok, term()} | {error, Line::integer(), term()}.
parse_json(Json) ->
case jsone:try_decode(Json) of
{ok, Value, _} ->
{ok, Value};
{error, {badarg, [{_, _, [Rest | _], _} | _]} = Reason} ->
@ykst
ykst / lua-nginx-cheatsheet.md
Last active February 7, 2024 15:17
逆引きlua-nginx-module
@taichi
taichi / code_review_basics.md
Last active May 30, 2024 14:23
チームでコードを書き始めた後、「どうやらレビューってやつをした方が良いらしい」くらいの若手に向けた資料です。

コードレビューの基本


一番大事な事

ソースコードはプロジェクトの共同所有物である

  • 誰かだけが触れるコードを無くす