This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi | |
function customPrepareStackTrace(error, structuredStackTrace) { | |
return structuredStackTrace[0].getLineNumber(); | |
}; | |
function getLineNumber() { | |
var original = Error.prepareStackTrace; | |
Error.prepareStackTrace = customPrepareStackTrace; | |
var error = {}; | |
Error.captureStackTrace(error, getLineNumber); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require( "http" ) | |
, url = require( "url" ) | |
, exec = require( "child_process" ).exec | |
, username = process.argv[ 2 ] | |
, seconds = +process.argv[ 3 ] || 300 | |
, friends | |
, events = {} | |
if ( !username ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Google+SBM | |
// @namespace http://wildlifesanctuary.blog38.fc2.com/ | |
// @description Show SBM count in Google search result | |
// @include http://*.google.*/*q=* | |
// ==/UserScript== | |
// this script based on | |
// http://d.hatena.ne.jp/kusigahama/20051207#p1 | |
// http://la.ma.la/blog/diary_200607281316.htm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
There's <meta name="viewport" content="width=480" /> in html then... | |
*/ | |
// handle Android's viewport | |
(function($, undefined){ | |
$.browser.android = /android/i.test(navigator.userAgent); | |
if(!$.browser.android){ |
NewerOlder