Skip to content

Instantly share code, notes, and snippets.

@azu
azu / getMemoryInfo.uc.js
Created December 25, 2010 15:21
メモリ情報をcontentスコープから取得できるように拡張
// ==UserScript==
// @name getMemoryInfo
// @namespace http://efcl.info/
// @description メモリ情報をcontentスコープから取得できるように拡張
// @include main
// ==/UserScript==
var memoryInfo = {
init: function(event) {
let doc = event.originalTarget;
//alert(doc.defaultView.location.href);
@taizooo
taizooo / hoge.markdown
Created December 22, 2009 02:46
gist で markdown 記法がつかえる。

#なんだかんだ

##えーと1 どういうこういう そういうどういう

##えーと2 どういうこういう そういうどういう

@rcmachado
rcmachado / jquery.unserialize.js
Created November 25, 2009 10:19
$.unserialize for jQuery
/**
* $.unserialize
*
* Takes a string in format "param1=value1&param2=value2" and returns an object { param1: 'value1', param2: 'value2' }. If the "param1" ends with "[]" the param is treated as an array.
*
* Example:
*
* Input: param1=value1&param2=value2
* Return: { param1 : value1, param2: value2 }
*