This file contains 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 denyIframe = [ | |
/^https?:\/\/(www\.)?twitter\.com\b/, | |
/^http:\/\/(www\.)?ustream\.tv\b/, /^http:\/\/ustre\.am\b/, | |
/^http:\/\/blogs\.msdn\.com\/b\/ie\b/ | |
]; |
This file contains 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 followers_limit = 200; | |
var followers_ids_list = (readCookie('followers_ids') || ''); | |
var followers_idx = 0, followers_ids_slice; | |
while(true) { | |
followers_ids_slice = readCookie('followers_ids' + (followers_idx++)||'') | |
if(!followers_ids_slice) break; | |
followers_ids_list = followers_ids_list.concat(followers_ids_slice); | |
} | |
followers_ids_list = followers_ids_list != '' ? followers_ids_list.split(',') : []; | |
var followers_ids = []; |
This file contains 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
@echo off | |
setlocal | |
if not defined VIM set VIM=%1 | |
pushd %VIM%\src || goto end | |
rem mingw32-make -f Make_ming.mak clean | |
rem pause | |
mingw32-make -f Make_ming.mak OLE=yes | |
mingw32-make -f Make_ming.mak GUI=no |
This file contains 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
function setFstHeight(h, force) { | |
if (!h) | |
h = $("fst").value.length ? Math.max($("fst").scrollHeight+2,min_fst_height) : min_fst_height; | |
if (no_resize_fst && !force) return; | |
var exh = (navigator.userAgent.indexOf("MSIE 8") >= 0 ? 1 : 0), opt = $("option").clientHeight; | |
$("fst").style.height = h; | |
var twh = (window.innerHeight || document.documentElement.clientHeight)-$("control").offsetHeight-2; | |
$("tw").style.height = $("re").style.height = $("tw2").style.height = | |
twh > 0 ? twh : 0; | |
} |
This file contains 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
registerPlugin({ | |
newMessageElement: function(elem, tw) { | |
var rs = tw.retweeted_status || tw; | |
if (!rs.geo || rs.geo.type != 'Point') return; | |
var geomap = null; // find "geomap" in elem | |
for (var i = 0; i < elem.childNodes.length; i++) { | |
var util = elem.childNodes[i]; | |
if (util.className != "utils") continue; | |
for (var j = 0; j < util.childNodes.length; j++) { |
This file contains 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
div.tw { font-size: x-small; } | |
div.tw .utils, div.tw .fav { display:none; } | |
div.tw div.selected { font-size: medium; } | |
div.tw div.selected .utils, div.tw div.selected .fav { display:block; } | |
div.tw div.selected .thumbnail-image { border: solid 2px white; width: auto; max-width: 200px; } |
This file contains 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
geo::{return (g=this.geo)&&Math.floor(g.coordinates[0]*10)==349&&Math.floor(g.coordinates[1]*10)==1383}:0 |
This file contains 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
xds.retry = 1; | |
xds.load_default = function(url, callback, old, callback_key) { | |
this.abort(old); | |
return this.load(url, callback, twFail, this.retry, callback_key); | |
}; | |
xds.load_for_tab = function(url, callback, callback_key) { // タブ切替時に自動abort | |
var ifr_tab = this.ifr_tab; | |
var fr = [this.load(url, | |
function() { callback.apply(this,arguments); try { ifr_tab.remove(fr[0]); } catch(e) {} }, | |
function() { twFail(); try { ifr_tab.remove(fr[0]); } catch(e) {} }, |
This file contains 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
" msysGit | |
if executable($ProgramFiles . '\Git\bin\git.exe') | |
let g:VCSCommandGitExec= $ProgramFiles . '\Git\bin\git.exe' | |
endif | |
" TortoiseHg for Windows | |
if executable($ProgramFiles . '\TortoiseHg\hg.exe') | |
let g:VCSCommandHGExec= $ProgramFiles . '\TortoiseHg\hg.exe' | |
endif |
This file contains 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
@echo off | |
setlocal | |
set target=vimexe | |
set vim=vim | |
if exist %target% ( | |
echo %target% is already exist. | |
goto end | |
) | |
if exist %target%.zip ( | |
echo %target%.zip is already exist. |