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
<?php | |
function check_alive($url, $timeout = 10, $successOn = array(200, 301)) { | |
$ch = curl_init($url); | |
// Set request options | |
curl_setopt_array($ch, array( | |
CURLOPT_FOLLOWLOCATION => false, | |
CURLOPT_NOBODY => true, | |
CURLOPT_TIMEOUT => $timeout, |
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
"あ(a)" "か(ka)" "さ(sa)" "た(ta)" "な(na)" "は(ha)" "ま(ma)" "や(ya)" "ら(ra)" "わ(wa)" "い(i)" "き(ki)" "し(shi)" "ち(chi)" "に(ni)" "ひ(hi)" "み(mi)" "り(ri)" "う(u)" "く(ku)" "す(su)" "つ(tsu)" "ぬ(nu)" "ふ(fu)" "む(mu)" "ゆ(yu)" "る(ru)" "ん(n )" "え(e)" "け(ke)" "せ(se)" "て(te)" "ね(ne)" "へ(he)" "め(me)" "れ(re)" "お(o)" "こ(ko)" "そ(so)" "と(to)" "の(no)" "ほ(ho)" "も(mo)" "よ(yo)" "ろ(ro)" "を(o)" "が(ga)" "ざ(za)" "だ(da)" "ば(ba)" "ぱ(pa)" "ぎ(gi)" "じ(ji)" "ぢ(ji)" "び(bi)" "ぴ(pi)" "ぐ(gu)" "ず(zu)" "づ(zu)" "ぶ(u)" "ぷ(pu)" "げ(ge)" "ぜ(ze)" "で(de)" "べ(be)" "ぺ(pe)" "ご(go)" "ぞ(zo)" "ど(do)" "ぼ(bo)" "ぽ(po)" "きゃ(kya)" "ぎゃ(gya)" "しゃ(sha)" "じゃ(ja)" "ちゃ(cha)" "にゃ(nya)" "ひゃ(hya)" "びゃ(bya)" "ぴゃ(pya)" "みゃ(mya)" "りゃ(rya)" "きゅ(kyu)" "ぎゅ(gyu)" "しゅ(shu)" "じゅ(ju)" "ちゅ(chu)" "にゅ(nyu)" "ひゅ(hyu)" "びゅ(byu)" "ぴゅ(pyu)" "みゅ(myu)" "りゅ(ryu)" "きょ(kyo)" "ぎょ(gyo)" "しょ(sho)" "じょ(jo)" "ちょ(cho)" "にょ(nyo)" "ひょ(hyo)" "びょ(byo)" "ぴょ(pyo)" "みょ(myo)" "りょ(ryo)" "ア(a)" "カ(ka)" "サ(sa)" "タ(ta)" "ナ(na)" "ハ(ha)" "マ(ma)" "ヤ(ya)" "ラ(ra)" "ワ(wa)" "イ(i)" "キ(ki)" "シ(shi)" "チ(chi)" "ニ(ni)" "ヒ(hi)" "ミ(mi |
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 http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello Node.js\n'); | |
}).listen(8124, "127.0.0.1"); | |
console.log('Server running at http://127.0.0.1:8124/'); |
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
import java.io.*; | |
import java.net.*; | |
public class Client { | |
int i; | |
static String iaddr; | |
static int port; | |
public Client() { | |
try{ |
NewerOlder