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
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<Url type="application/x-suggestions+json" method="GET" template="http://api.search.yahoo.co.jp/AssistSearchService/V2/webassistSearch"> | |
<Param name="p" value="{searchTerms}"/> | |
<Param name="output" value="fxjson"/> | |
<Param name="ei" value="utf-8"/> | |
</Url> | |
<InputEncoding>UTF-8</InputEncoding> | |
<OutputEncoding>UTF-8</OutputEncoding> | |
<Url type="text/html" template="http://search.san-x.co.jp/search/?Keywords={searchTerms}"/> | |
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
function trs(){ | |
google.load('language','1',{'callback':function(){ | |
var d=document,w=window,b=d.createElement('input'); | |
b.type='button'; | |
b.value='translate'; | |
b.style.zIndex=99; | |
b.style.position='fixed'; | |
b.style.top=0; | |
b.style.left='50%'; | |
b.style.display='block'; |
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
document.body.innerHTML='<a href="'+videourl+'">DL</a>' |
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
function _trsen_(){ | |
google.load('language','1',{'callback':function(){ | |
var d=document,w=window,b=d.createElement('input'); | |
b.type='button'; | |
b.value='英→日翻訳'; | |
b.style.zIndex=99; | |
b.style.position='fixed'; | |
b.style.top=0; | |
b.style.left='50%'; | |
b.style.display='block'; |
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
function _trsja_(){ | |
google.load('language','1',{'callback':function(){ | |
var d=document,w=window,b=d.createElement('input'); | |
b.type='button'; | |
b.value='日→英翻訳'; | |
b.style.zIndex=99; | |
b.style.position='fixed'; | |
b.style.top='2em'; | |
b.style.left='50%'; | |
b.style.display='block'; |
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
<?php | |
// 簡易計測クラス | |
class Keisoku | |
{ | |
private static $_m = 0; | |
private static $_t = 0; | |
public static function start(){ | |
self::$_t = microtime(true); | |
self::$_m = memory_get_usage(true); | |
} |
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
<?php | |
// http://taggedaa.com/ からランダムに何かを表示するやつ | |
// コマンドラインで実行 | |
// http://taggedaa.com/asciiart.php?id=92 | |
$baseUrl = 'http://taggedaa.com/asciiart.php?id='; | |
$num = rand(1,400); | |
$url = $baseUrl.$num; | |
$src = file_get_contents($url); |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html lang="ja"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="content-style-type" content="text/css"> | |
<title>正n角形を描画するテスト</title> | |
</head> | |
<body> | |
<style type="text/css"><!-- |
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
(function(){var i=180,b=document.body,s=setInterval,c=clearInterval,t=s(function(){b.innerHTML=i;if(i--<1){c(t);t=s(function(){b.style.background=(i=i?0:1)?'red':'blue'},99)}},1000)})() |
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
function _dotmail_(mail_addr, elm_id, bgcolor, color) { | |
var str_list={ | |
a:[[1,3],[2,3],[3,4],[3,5],[3,6],[2,6],[1,5]], | |
b:[[1,1],[1,2],[1,3],[1,4],[1,5],[1,6],[2,3],[3,3],[4,4],[4,5],[3,6],[2,6]], | |
c:[[3,3],[2,3],[1,4],[1,5],[2,6],[3,6]], | |
d:[[3,3],[2,3],[1,4],[1,5],[2,6],[3,6],[4,6],[4,5],[4,4],[4,3],[4,2],[4,1]], | |
e:[[1,5],[1,6],[2,7],[3,7],[2,4],[3,5]], | |
f:[[2,1],[1,2],[1,3],[1,4],[1,5],[1,6],[1,7],[2,3],], | |
g:[[1,4],[1,5],[2,6],[3,6],[2,3],[3,3],[4,3],[4,4],[4,5],[4,6],[4,7],[3,8],[2,8]], | |
h:[[1,1],[1,2],[1,3],[1,4],[1,5],[1,6],[2,4],[3,5],[3,6]], |