Skip to content

Instantly share code, notes, and snippets.

View shizone's full-sized avatar

SUMIDA Yuki shizone

View GitHub Profile
@shizone
shizone / gbdaitokai_timetable2016.md
Last active June 6, 2016 09:20
合同勉強会 in 大都会岡山 -2016 Winter-のタイムテーブル案
時間 内容
1000-1010 オープニング
1010-1030 Session1
1030-1050 Session2
1050-1105 休憩
1105-1125 Session3
1125-1145 Session4
1145-1245 お昼休み
1245-1305 Session5
@shizone
shizone / gist:6572029
Created September 15, 2013 16:05
Developer Consoleからコード突っ込んでクッキークリックしまくるやつ
var cookie = document.getElementById("bigCookie");
var e = document.createEvent("MouseEvents");
e.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false,
false, false, false, 0, null);
window.setInterval( function() {
cookie.dispatchEvent(e);
}, 0)
・好きな言語は?
・好きなメソッドは?
・好きなアニメは?
・好きなガンダムシリーズは?
・githubアカウントは?
・英語しゃべれる?
・最近気になるテクノロジーは?
・最近行った勉強会は?
・最近登壇した勉強会は?
・iPhone落とした事ある?
@shizone
shizone / irof.user.js
Created December 9, 2012 14:06
We are irof
// ==UserScript==
// @name We are irof
// @namespace http://shizone.github.com/
// @description irof Advent Calendar 2012/12/09.
// @include http://atnd.org/events/34079
// ==/UserScript==
(function() {
document.body.innerHTML = document.body.innerHTML.replace(
/<a href=\"\/users\/.*<\/a>/g,
@shizone
shizone / HentaiRank.scala
Created December 6, 2012 16:31
今まで変態AdventCalendarに記事をPostした数を集計して変態ランキングを作る
#!/usr/bin/env xsbtscript
!#
/***
scalaVersion := "2.9.2"
*/
import scala.xml.XML
import scala.io.Source
@shizone
shizone / hentai.scala
Created July 17, 2012 14:24
変態アドベントカレンダー in Summerに参加した物好きどもをTwitterのListに晒しあげるスクリプト
#!/usr/bin/env xsbtscript
!#
/***
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"org.twitter4j" % "twitter4j-core" % "[2.2,)"
)
*/
@shizone
shizone / gist:3103324
Created July 13, 2012 07:19
java.util.Date#getTime同士の比較でズレが出る回数の検証
scala> import java.util.Date
def f(n: Int): Int =
if (new Date().getTime != new Date().getTime) n else f(n + 1)
f(0)
import java.util.Date
f: (n: Int)Int
res0: Int = 15090
scala> f(0)
res1: Int = 52401
@shizone
shizone / test.js
Created January 26, 2012 14:09
ocamljsが吐いたソースが怖い
// compiled by ocamlc 3.12.0, ocamljs 0.3
var ocamljs$caml_named_value = (function (){
var Match_failure$16g = "Match_failure";
var Out_of_memory$17g = "Out_of_memory";
var Stack_overflow$24g = "Stack_overflow";
var Invalid_argument$18g = "Invalid_argument";
var Failure$19g = "Failure";
var Not_found$20g = "Not_found";
var Sys_error$21g = "Sys_error";
var End_of_file$22g = "End_of_file";
@shizone
shizone / Scalaちゃん.svg
Created December 8, 2011 15:10
Scala Advent Calendar jp 2011向けに作ったScalaちゃんのSVG(DLして好きに弄り倒してください)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.