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
curl https://notify-api.line.me/api/notify -X POST -H 'Authorization: Bearer [MY_ACCESS_TOKEN]' -F 'message=hello' -F 'imageThumbnail=[IMAGE_URL]' -F 'imageFullsize=[IMAGE_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
curl https://notify-api.line.me/api/notify -X POST -H 'Authorization: Bearer [MY_ACCESS_TOKEN]' -F 'message=hello' |
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
20161004204353 | milphy777 | 1級 | 勝 | ko31 | 2級 | 負 | http://shogiwars.heroz.jp:3002/games/milphy777-ko31-20161004_204353?locale=ja | |
---|---|---|---|---|---|---|---|---|
20161005211628 | dokutero | 1級 | 勝 | ko31 | 2級 | 負 | http://shogiwars.heroz.jp:3002/games/dokutero-ko31-20161005_211628?locale=ja | |
20161006203011 | nazoomoheji | 1級 | 勝 | ko31 | 2級 | 負 | http://shogiwars.heroz.jp:3002/games/nazoomoheji-ko31-20161006_203011?locale=ja |
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
{"nodes":[ | |
{"name":"クラーク国際"}, | |
{"name":"北海"}, | |
{"name":"嘉手納"}, | |
{"name":"北海道"}, | |
{"name":"東京"}, | |
{"name":"沖縄"} | |
], | |
"links":[ | |
{"source":0,"target":3,"value":10}, |
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 | |
require_once('LineBot.php'); | |
// LINE:チャンネルID | |
$CHANNEL_ID = '[LINEのチャンネルID]'; | |
// LINE:チャンネルシークレット | |
$CHANNEL_SECRET = '[LINEのチェンネルシークレット'; | |
// LINE:MID | |
$CHANNEL_MID = '[LINEのMID]'; |
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 | |
require_once('LineBot.php'); | |
// LINE:チャンネルID | |
$CHANNEL_ID = '[LINEのチャンネルID]'; | |
// LINE:チャンネルシークレット | |
$CHANNEL_SECRET = '[LINEのチェンネルシークレット'; | |
// LINE:MID | |
$CHANNEL_MID = '[LINEのMID]'; |
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 | |
$lines = file('url.txt', FILE_IGNORE_NEW_LINES); | |
foreach ($lines as $line) { | |
$val = explode(',', $line); | |
$tags = get_meta_tags($val[1]); | |
if (isset($tags['generator'])) { | |
echo $val[0] . "は " . $tags['generator'] . " です\n"; | |
} | |
} |
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 | |
$lines = file('url.txt', FILE_IGNORE_NEW_LINES); | |
$count = 0; | |
foreach ($lines as $line) { | |
$val = explode(',', $line); | |
$html = file_get_contents($val[1]); | |
if (strpos($html, 'wp-content') !== false) { | |
echo $val[0] . "は WordPress です\n"; |
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://www.kibou.ac.jp/daiichi/ | |
青森山田,http://www.aomoriyamada-hs.jp/ | |
八戸学院光星,http://kh.hachinohe-u.ac.jp/ | |
木更津総合,http://www.kimigaku.ed.jp/sohgoh/ | |
常総学院,https://www.joso.ac.jp/ | |
桐生第一,http://www.kiriichi.ac.jp/ | |
東海大甲府,http://www.kofu.tokai.ed.jp/ | |
花咲徳栄,http://www.hanasakitokuharu-h.info/ | |
関東一,https://www.kanto-ichiko.ac.jp/ | |
東邦,http://www.toho-h.ed.jp/ |
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 sample.php | |
https://www.google.co.jp/,59 | |
http://www.yahoo.co.jp/,66 | |
http://www.msn.com/,73 |