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 | |
$source = './a'; | |
$desc = './b'; | |
$words = array( | |
'and' => 1, | |
'__LINE__' => 1, | |
'class' => 1, | |
'die' => 1, | |
'empty' => 1, |
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 | |
/* | |
you may modify: | |
php: | |
filename | |
file max size | |
buf size | |
how long to wait |
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
-- 罗技脚本示例 | |
-- 此脚本被本人用于弱智核电 | |
-- 国服 慕容行者#5979 | |
-- 启动键编号 | |
startButton = 7; | |
-- 结束键编号,必须小于等于5,否则有可能报错 | |
endButton = 4; |
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
$(document).ajaxComplete(function(e, xhr, settings) { | |
if (!$('#queryLeftTable').children().length) { | |
window.setTimeout(function() { | |
if (!$('#queryLeftTable').children().length) { | |
window.setTimeout(function() { | |
$('#query_ticket').click(); | |
window.setTimeout(function() { | |
$('#query_ticket').click(); | |
}, 500); | |
}, 500); |
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 | |
class Map | |
{ | |
const TREE = 0x1; | |
const GRESS = 0x2; | |
const BRIDGE = 0x4; | |
const BLOCKED = 0x8; | |
protected $size_x; |
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 | |
class Base | |
{ | |
private $called = false; | |
public function save() | |
{ | |
if ($this->called) { | |
throw new Exception("should be only called once!", 1); | |
} |