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
ReVIEW::Compiler.definline :seqsplit | |
module ReVIEW | |
class LATEXBuilder | |
def inline_seqsplit(str) | |
escaped_str = escape_latex(str) | |
"\\seqsplit{#{escaped_str}}" | |
end | |
end |
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
// 引用 : http://code.google.com/p/netdns2/wiki/UpdateExample | |
require_once("Net_DNS2/Net/DNS2.php"); | |
// | |
// create a new Updater object | |
// | |
$u = new Net_DNS2_Updater('example.com', array('nameservers' => array('192.168.0.1'))); | |
try { |
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
<!DOCTYPE html> | |
<head> | |
<title>sample (Net_DNS2)</title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div class="contents"> | |
<h1>sample (Net_DNS2)</h1> | |
<form action="sample_net_dns2.php" method="get"> | |
ホスト名: <input type="text" name="host" value="<?php if(isset($_GET['host'])) echo $_GET['host']; ?>"> |
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
<!DOCTYPE html> | |
<head> | |
<title>DNS Search</title> | |
<meta charset="UTF-8"> | |
<link ref="stylesheet" href="style.css" type="text/css"> | |
</head> | |
<body> | |
<h1>DNS Search</h1> | |
<form action="dns_get_record.php" method="get"> | |
ホスト名: <input type="text" name="host"> |