Skip to content

Instantly share code, notes, and snippets.

View orisano's full-sized avatar

Nao Yonashiro orisano

View GitHub Profile
@voluntas
voluntas / webrtc_sfu_dev.rst
Last active April 24, 2025 12:04
WebRTC SFU コトハジメ

WebRTC SFU コトハジメ

日時:2023-12-03
作:voluntas
バージョン:2023.1
url:https://voluntas.github.io

この記事が良いと思ったらこの記事に Star をお願いします

@voluntas
voluntas / webrtc.rst
Last active June 28, 2025 12:10
WebRTC コトハジメ
@tompng
tompng / smooth_random.js
Last active August 29, 2015 14:23
なだらかに変化する乱数列(乱数じゃないけどもそんなかんじの).js
function gaussRandom(){
var r=Math.sqrt(-2*Math.log(Math.random()));
var t=2*Math.PI*Math.random();
return r*Math.sin(t);
}
//smoothed with exp(kx)-2exp(2kx)+exp(3kx), k=1/tscale, variance=1
function SmoothRandom(tscale){
this.tscale=tscale||1;
this.a1=0;
@voluntas
voluntas / pypy.rst
Last active April 8, 2019 05:06
PyPy コトハジメ
//;%(
a='main=eval';
eval(a)
{}
main()
{eval('puts=console.log');
//).tap{
puts("Hello World");}
@yyaammaa
yyaammaa / gist:7480613
Last active June 30, 2017 02:50
Butter Knifeの紹介

Butter Knifeの紹介

Android用のView Injectionライブラリである Butter Knife について解説します (といいますか、サイトに書いてあることをほとんどそのまま日本語にしただけです) 。

概要

Butter Knifeは ActionBarSherlock などでお馴染みの Square のJake WhartonさんによるAndroid用のView Injectionライブラリです。

使い方

このライブラリの目的が、

  • Activity, ViewのfindViewByIdを楽に書く
@hayajo
hayajo / changelog_en.md
Last active April 1, 2025 14:37
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形