Skip to content

Instantly share code, notes, and snippets.

View piroor's full-sized avatar

YUKI "Piro" Hiroshi piroor

View GitHub Profile
@piroor
piroor / geturi.js
Last active December 15, 2015 03:19
Sample code to research the URI of the blocklist on the platform.
/**
* Original:
* http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/nsBlocklistService.js?raw=1
* Usage:
* 1. Go to "about:config" and turn "devtools.chrome.enabled" to "true".
* 2. Start "Scratchpad" with Shift-F4.
* 3. Change the context from "web page" to "browser".
* 4. Copy this script and paste to the scratchpad.
* 5. Run it.
* Sample result:
@piroor
piroor / socket.io.js
Last active March 25, 2018 20:29
Wrapper of socket.io-client for Sencha Touch/ExtJS.
/**
* Usage:
* var socket = Ext.create('MyApp.data.SocketIO', {
* host: 'localhost',
* port: 80
* });
*
* License: The MIT License
* Copyright (c) 2013 ClearCode Inc. / YUKI "Piro" Hiroshi
*/
@piroor
piroor / screenshot-fx6-tst-tabgroupsmanager
Created August 29, 2011 15:25
screen shot: Firefox 6 + Tree Style Tab + TabGroups Manager
With the prefs:
group bar = 0
tab bar = 1
@piroor
piroor / computed-style.png
Created May 24, 2011 10:26
Screenshots around vertical tab bar
computed-style.png