Skip to content

Instantly share code, notes, and snippets.

View tnj's full-sized avatar

Yuki Fujisaki tnj

View GitHub Profile
@pyricau
pyricau / LeakSlackUploadService.java
Created May 9, 2015 00:03
Sending Leak Traces to a Slack Channel (and HipChat, see the comments)
import android.util.Log;
import com.squareup.leakcanary.AnalysisResult;
import com.squareup.leakcanary.DisplayLeakService;
import com.squareup.leakcanary.HeapDump;
import retrofit.RestAdapter;
import retrofit.RetrofitError;
import retrofit.http.Multipart;
import retrofit.http.POST;
import retrofit.http.Part;
import retrofit.mime.TypedFile;
@kusano
kusano / circle.js
Created March 7, 2015 15:23
ガルーンの予定の参加者を円形に(回転版)
!function(){
function render(){
var t=performance.now()/1000;
document.querySelectorAll(".schedule_member_base_grn")[1].style.position="relative";
var p=document.querySelectorAll(".user-grn");
var n=p.length;
for(var i=0;i<n;i++){
var s=p[i].style;
s.position="absolute";
s.top=48*Math.sin(2*Math.PI*(i/n+t))+"px";
@henteko
henteko / deploygate#1.md
Last active August 29, 2015 14:01
Bakusoku Iterations Tokyo 1 メモ

Bakusoku Iterations Tokyo 1

DeployGateについて

  • gfxさんの発言がきっかけでこのイベントをやった
  • deploygate勉強会をやりたい!やろう!

deploygateの生い立ち

  • deploygateを作る前
    • mixiの公式アプリを作ってた
  • 一人で開発してて色々めんどくさかった
fizz = function f() {
fizz = function () {
fizz = function () {
fizz = f
return "Fizz"
}
}
}
buzz = function f() {