Skip to content

Instantly share code, notes, and snippets.

View sys1yagi's full-sized avatar

Toshihiro Yagi sys1yagi

View GitHub Profile
@sys1yagi
sys1yagi / fabfile.py
Last active November 14, 2016 00:51 — forked from shikajiro/fabfile.py
Script to perform the build of Android on another machine
# Script Name : fabfile.py
# Author : shikajiro
# Created : 2016-11-03
# Last Modified : 2016-11-03
# Version : 1.0.0
# Modifications :
# Description :
# Script to perform the build of Android on another machine
# By performing such a build of severely time on another machine,
# it is possible to ensure the CPU resources of the development machine,
@sys1yagi
sys1yagi / bookmarklet
Created November 9, 2012 09:42 — forked from tomorrowkey/bookmarklet
expand all tree on google site's sitemap. auto!
javascript:(function(){var t = 1000;var r = 3;var s = function(k){return document.getElementsByClassName('goog-tree-expand-icon-'+k);};var d = function(p){var e=document.createEvent('MouseEvents');e.initMouseEvent('mousedown',true,true,window,0,0,0,0,0,false,false,false,false,0,null);while(p.length>0){p[0].dispatchEvent(e);}};var c = function(){var p=s("tplus");var ps = p.length;d(p);var l=s("lplus");var ls = l.length;d(l);if(r>0){if(ps + ls == 0){console.log("retry");r--;}setTimeout(function(){c();}, t);}};c();})();
@sys1yagi
sys1yagi / gist:1947020
Created March 1, 2012 03:25 — forked from zaki50/gist:1947002
setOnClickListener を生成するテンプレート
${1:import(android.view.View.OnClickListener)}${2:import(android.view.View)}setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
${cursor}
}
});