換算・擬制キロに関する情報 以下の8バイトの情報が繰り返される
| bit長 | type | 詳細 |
|---|---|---|
| 2 | UInt16LE | 路線ID |
| 2 | UInt16LE | 営業キロ |
| 2 | UInt16LE | 換算・擬制キロ |
| <?php | |
| require_once('UltimateOAuth_530.php'); | |
| require_once('config.php') | |
| $uo=new UltimateOAuth(KY,KS,AT,AS); | |
| function id2time($id){ | |
| $i=22; | |
| while($i--){ | |
| $id=bcsub($id,bcmod($id,2)); | |
| $id=bcdiv($id,'2',0); |
| <?php | |
| $user = $_GET['user']; | |
| $unix_time = $_GET['ut']=='t'?TRUE:FALSE; | |
| $gallery = $_GET['gallery']=='t'?TRUE:FALSE; | |
| if(!$gallery){ | |
| header('Content-type: text/plain; charset=utf-8'); | |
| } | |
| $page=0; | |
| $dup_check=""; | |
| if(!isset($user)){ |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <algorithm> | |
| #include <vector> | |
| #define LINE 10000 | |
| #define ELEM 1000000 | |
| #include <chrono> | |
| class Timer{ |
| <?php | |
| require_once("TwistOAuth.phar"); | |
| $account = simplexml_load_file("account_m77_.xml"); | |
| $tos = new TwistOAuth($account->consumer_key,$account->consumer_secret,$account->access_token,$account->access_token_secret); | |
| function id2time($id){ | |
| $i=22; |
| <?php | |
| function multi_file_get_contents( $urlList ) { | |
| //http://nanoappli.com/blog/archives/5743 を HTTPSに対応させた | |
| $resList = array(); | |
| $handle = curl_multi_init(); | |
| foreach ( $urlList as $url ) { | |
| $res= curl_init( $url ); | |
| curl_setopt($res, CURLOPT_TIMEOUT, 500); | |
| curl_setopt($res, CURLOPT_SSL_VERIFYPEER, false); | |
| curl_setopt($res, CURLOPT_RETURNTRANSFER, 1); |
| var lines = []; | |
| var reader = require('readline').createInterface({ | |
| input: process.stdin, | |
| output: process.stdout | |
| }); | |
| reader.on('line', function (line) { | |
| lines.push(line); | |
| }); | |
| var s = function(_percent,digit,start){ | |
| var ratio = _percent/100; |
| "use strict"; | |
| const twitter = require('twitter'); | |
| const fs = require("fs"); | |
| const twit = new twitter({ | |
| consumer_key: CK, | |
| consumer_secret: CS, | |
| access_token_key: AT, | |
| access_token_secret: AS | |
| }); |
| // ==UserScript== | |
| // @name 天鳳牌譜 971777 | |
| // @version 1 | |
| // @grant none | |
| // @include http://tenhou.net/3/ | |
| // ==/UserScript== | |
| (function () { | |
| const mapMjlogID = s => (/[0-9]{10}gm-[0-9a-f]{4}-[0-9]{4}-[0-9a-f]{8}/.exec(s)||[''])[0] | |
| setInterval(()=>{ | |
| const hlist = document.querySelectorAll('#hlist a.bt3') |
| var twitter = TwitterWebService.getInstance( | |
| PropertiesService.getScriptProperties().getProperty('twitterCS'), | |
| PropertiesService.getScriptProperties().getProperty('twitterCK') | |
| ) | |
| function authorize() { | |
| twitter.authorize() | |
| } | |
| twitter.getService = function() { |