Skip to content

Instantly share code, notes, and snippets.

View tdtsh's full-sized avatar

T.Hanazaki tdtsh

View GitHub Profile
@Gab-km
Gab-km / github-flow.ja.md
Last active April 25, 2024 04:01 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@vvakame
vvakame / to-java7.diff
Created February 20, 2013 03:43
Slim3プロジェクトをJava7で開発できるようにした。@zaki50 さんありがとう。 仕事のプロジェクトなので、全体貼るのがめんどくさいのでdiffだけぺとんちょ。
Date: Wed, 20 Feb 2013 12:40:23 +0900
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
appengine/pom.xml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/appengine/pom.xml b/appengine/pom.xml
@mala
mala / gist:fad5e0bc8a82a9c0fc9d
Last active December 29, 2016 18:02
AFNetworking 2.5.2 以下の脆弱性について

未修正のアプリが数多く残っている状態なので、パブリックな場所での言及には注意して下さい

未修正のアプリが数多く残っている状況ですが、すでに広く情報が公開されており、2.5.2で修正されたという情報が広まると混乱が生じるため広く周知する次第です。

問題と経緯

AFNetworking 2.5.1 にMITM攻撃を許す脆弱性があり、2.5.2で修正された、 と報道されていますが、これは誤りです。

@manumaticx
manumaticx / README.md
Last active July 11, 2020 14:07
Fading ActionBar in Titanium

Fading Actionbar

This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium

fadingactionbar

How this works

This is actually very simple. The trick is putting the Actionbar in overlay mode by configuring the theme with windowActionBarOverlay:true. Then all you need to do is updating the color of the Actionbar, in this case by scrolling a ScrollView.

@voluntas
voluntas / webrtc.rst
Last active June 27, 2024 02:25
WebRTC コトハジメ
@alexpchin
alexpchin / socket-cheatsheet.js
Created December 15, 2015 16:58
A quick cheatsheet for socket.io
// sending to sender-client only
socket.emit('message', "this is a test");
// sending to all clients, include sender
io.emit('message', "this is a test");
// sending to all clients except sender
socket.broadcast.emit('message', "this is a test");
// sending to all clients in 'game' room(channel) except sender
@voluntas
voluntas / webrtc_sfu_dev.rst
Last active July 10, 2024 02:15
WebRTC SFU コトハジメ

WebRTC SFU コトハジメ

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

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

@gtk2k
gtk2k / test.js
Created January 20, 2016 14:19
getUserMediaのconstraintsに設定する拡張キー(goog~)
const (
MinAspectRatioConstraint = MediaConstraintKey("minAspectRatio")
MaxAspectRatioConstraint = MediaConstraintKey("maxAspectRatio")
MaxWidthConstraint = MediaConstraintKey("maxWidth")
MinWidthConstraint = MediaConstraintKey("minWidth")
MaxHeightConstraint = MediaConstraintKey("maxHeight")
MinHeightConstraint = MediaConstraintKey("minHeight")
MaxFrameRateConstraint = MediaConstraintKey("maxFrameRate")
MinFrameRateConstraint = MediaConstraintKey("minFrameRate")
@voluntas
voluntas / firefox_simulcast.md
Last active April 6, 2024 12:00
Firefox の Simulcast 実装について

Firefox の Simulcast 実装について

こちらの資料は古いので WebRTC Simulcast コトハジメ をどうぞ。

Simulcast とは

WebRTC の Simulcast という仕組みは、複数の品質で映像を配信する仕組みのことです。

P2P で必要かどうかというと、必要ではありません。Simulcast はクライアント・サーバモデル、さらに SFU モデルでの利用を前提としています。

@voluntas
voluntas / webrtc_for_work.rst
Last active July 12, 2024 08:21
仕事で WebRTC

仕事で WebRTC

日時:2023-01-15
作:@voluntas
バージョン:2023.1
url:https://voluntas.github.io/

この資料は以下の製品の宣伝を含みます。