Skip to content

Instantly share code, notes, and snippets.

@S-YOU
S-YOU / fusionbench.c
Created September 22, 2020 12:50 — forked from kazuho/fusionbench.c
Tiny benchmark program for picotls-fusion
/*
* Copyright (c) 2020 Fastly, Kazuho Oku
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@S-YOU
S-YOU / webrtc.rst
Created September 20, 2020 13:33 — forked from voluntas/webrtc.rst
WebRTC 資料まとめ
@S-YOU
S-YOU / sora_labo.rst
Created September 12, 2020 14:30 — forked from voluntas/sora_labo.md
時雨堂 Sora Labo 開発ログ

時雨堂 Sora Labo 開発ログ

日時:2020-08-04
作:時雨堂
バージョン:2020.5
URL:https://sora-labo.shiguredo.jp/

このサービスに興味がある人はこの資料に Star をつけてもらえると嬉しいです。

@S-YOU
S-YOU / sora_momo_av1.md
Created September 12, 2020 14:29 — forked from voluntas/sora_momo_av1.md
Sora と Momo で WebRTC の AV1 を試す

Sora と Momo で WebRTC の AV1 を試す

前提

Sora Labo と Momo の使い方は把握している前提の資料です

@S-YOU
S-YOU / gist:d5a6c98f5f58d5c933faf5dd835c4ac3
Created August 17, 2020 14:30
MacOS X nginx SSL Proxy Setup

#Installing nginx on OS X

brew install nginx
sudo cp -v /usr/local/opt/nginx/*.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
mkdir -p /usr/local/etc/nginx/logs
mkdir -p /usr/local/etc/nginx/sites-available
mkdir -p /usr/local/etc/nginx/sites-enabled
mkdir -p /usr/local/etc/nginx/conf.d
mkdir -p /usr/local/etc/nginx/ssl
@S-YOU
S-YOU / client.js
Created July 27, 2020 11:04 — forked from hagino3000/client.js
WebSocket with binary data
var socket = null;
function bootstrap() {
// 適当な図形を描画
var c = document.getElementById('mycanvas');
var ctx = c.getContext('2d');
ctx.globalalpha = 0.3;
for(var i=0; i<1000; i++) {
ctx.beginPath();

radare2

load without any analysis (file header at offset 0x0): r2 -n /path/to/file

  • analyze all: aa
  • show sections: iS
  • list functions: afl
  • list imports: ii
  • list entrypoints: ie
  • seek to function: s sym.main
@S-YOU
S-YOU / easing.js
Created January 16, 2020 01:16 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
@S-YOU
S-YOU / 00_timeline.md
Created August 17, 2019 09:06 — forked from south37/00_timeline.md
ISUCON Cheat Sheet
# Make sure that you’ve installed minikube and run `minikube start` to get your Kubernetes cluster running.
minikube version (should be at least 0.19.0)
minikube start
kubectl version (should be at least 1.6.0 for both client and server)
-------------------
# Create the CockroachDB cluster and other relevant resources
kubectl create -f https://bit.ly/crdb-k8s-yaml