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 | |
// PHPでuser_agent.datにアクセスログもどきをjson風に記録する。こんなもの実用化したら、読み込みが遅くなってお話にならないので、要注意。 | |
// $item に好きなものを入れれば、好きな環境変数を記録可能。put($file_name)でログの吐き出しが可能。 | |
$item = array( | |
"REQUEST_URI", | |
"HTTP_USER_AGENT", | |
"REMOTE_ADDR" | |
); |
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
<?xml version="1.0" standalone="no" encoding="UTF-8"?> | |
<!--?xml-stylesheet type="text/css" href=".css"?--> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
<svg width="1000" height="1200" viewBox="0 0 1000 1200" xmlns="http://www.w3.org/2000/svg"> | |
<style type="text/css"><![CDATA[ | |
text{ | |
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; | |
text-anchor:middle; | |
fill:black; |
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
<? | |
//EasyBotter.php 内の class EasyBotter 内に新しい関数を突っ込むような感じで | |
function send($user,$address){ | |
$f_list = $this->getFollowers(); | |
for ( $i=0; $i < count($f_list); $i++){ | |
$data[$i] = $f_list->user[$i]->screen_name; | |
} | |
sort($data); | |
$n_data= count($data); //フォロワー数を変数に代入しておく | |
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> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<style> | |
#twitter{ | |
box-sizing:border-box; | |
width:520px; | |
height:260px; | |
margin:0; |
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> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>安田記念レース結果</title> | |
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script> | |
$(function(){ | |
var settings = new Array(); | |
set = { |
NewerOlder