Skip to content

Instantly share code, notes, and snippets.

Avatar

Toshihiro Yagi sys1yagi

View GitHub Profile
@sys1yagi
sys1yagi / fabfile.py
Last active Nov 14, 2016 — forked from shikajiro/fabfile.py
Script to perform the build of Android on another machine
View fabfile.py
# 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 Nov 9, 2012 — forked from tomorrowkey/bookmarklet
expand all tree on google site's sitemap. auto!
View bookmarklet
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 Mar 1, 2012 — forked from zaki50/gist:1947002
setOnClickListener を生成するテンプレート
View gist:1947020
${1:import(android.view.View.OnClickListener)}${2:import(android.view.View)}setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
${cursor}
}
});