You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
503 lines
11 KiB
503 lines
11 KiB
# This viminfo file was generated by Vim 7.4. |
|
# You may edit it if you're careful! |
|
|
|
# Value of 'encoding' when this file was written |
|
*encoding=utf-8 |
|
|
|
|
|
# hlsearch on (H) or off (h): |
|
~H |
|
# Last Search Pattern: |
|
~MSle0~/imgbed |
|
|
|
# Last Substitute String: |
|
$ |
|
|
|
# Command Line History (newest to oldest): |
|
:q |
|
:w |
|
:q! |
|
:wq |
|
:Wq |
|
:Q! |
|
:q1 |
|
:! |
|
:Q |
|
:!q |
|
:s |
|
|
|
# Search String History (newest to oldest): |
|
?/imgbed |
|
?/getImg |
|
?/api.yimian |
|
?/echo |
|
|
|
# Expression History (newest to oldest): |
|
|
|
# Input Line History (newest to oldest): |
|
|
|
# Input Line History (newest to oldest): |
|
|
|
# Registers: |
|
"0 CHAR 0 |
|
|
|
|
|
/* obs get img */ |
|
function getImg($path, $time = 300){ |
|
|
|
return str_replace('yimian-image.obs.cn-east-2.myhuaweicloud.com:443','image.yimian.xyz',trim(exec("obs sign obs://yimian-image/". $path ." -e=". $time))); |
|
} |
|
|
|
|
|
"1 CHAR 0 |
|
|
|
function getMatchedKeys($str, $arr){ |
|
if(!is_array($str)){ |
|
$o = array(); |
|
foreach($arr as $key=>$val){ |
|
if($val >= $str - $GLOBALS['range'] && $val <= $str + $GLOBALS['range']) array_push($o, $key); |
|
} |
|
return $o; |
|
}else{ |
|
$o = array(); |
|
foreach($arr as $key=>$val){ |
|
if($val >= $str[0] - $GLOBALS['range'] && $val <= $str[1] + $GLOBALS['range']) array_push($o, $key); |
|
} |
|
return $o; |
|
} |
|
} |
|
"2 CHAR 0 |
|
elseif($type){ |
|
|
|
$arr = getImgsInfo($type); |
|
|
|
if($id){ |
|
$pos = array_search($id, $arr[1]); |
|
if($pos) $path = $type. '/' .$arr[0][$pos]; |
|
} |
|
|
|
if(!$size && !$path){ |
|
$path = $type. '/' .$arr[0][array_rand($arr[0])]; |
|
}elseif(strpos($size, '-') && !$path){ |
|
$arr_size = explode('x',$size); |
|
if(strpos($arr_size[0], '-')) $arr_size_length = explode('-',$arr_size[0]); |
|
else $arr_size_length = $arr_size[0]; |
|
if(strpos($arr_size[1], '-')) $arr_size_high = explode('-',$arr_size[1]); |
|
else $arr_size_high = $arr_size[1]; |
|
$arr_length = getMatchedKeys($arr_size_length, $arr[2]); |
|
$arr_high = getMatchedKeys($arr_size_high, $arr[3]); |
|
if($arr_size[0] == '*') $arr_keys = $arr_high; |
|
elseif($arr_size[1] == '*') $arr_keys = $arr_length; |
|
else $arr_keys = array_intersect($arr_length, $arr_high); |
|
if(!count($arr_keys)){ |
|
header('content-type: application/json'); |
|
echo json_encode(array("err"=>"Can not find any images matching Size $size in Type $type!!")); |
|
die(); |
|
} |
|
do{ |
|
$index = array_rand($arr_keys); |
|
}while($R18 != true && $arr[6][$arr_keys[$index]] != "normal"); |
|
$path = $type. '/' .$arr[0][$arr_keys[$index]]; |
|
|
|
}elseif(!$path){ |
|
$arr_size = explode('x',$size); |
|
$arr_length = getMatchedKeys($arr_size[0], $arr[2]); |
|
$arr_high = getMatchedKeys($arr_size[1], $arr[3]); |
|
if($arr_size[0] == '*' && $arr_size[1] == '*') $arr_keys = getMatchedKeys(array(0=>0,1=>9999), $arr[2]); |
|
elseif($arr_size[0] == '*') $arr_keys = $arr_high; |
|
elseif($arr_size[1] == '*') $arr_keys = $arr_length; |
|
else $arr_keys = array_intersect($arr_length, $arr_high); |
|
if(!count($arr_keys)){ |
|
header('content-type: application/json'); |
|
echo json_encode(array("err"=>"Can not find any images matching Size $size in Type $type!!")); |
|
die(); |
|
} |
|
do{ |
|
$index = array_rand($arr_keys); |
|
}while($R18 != true && $arr[6][$arr_keys[$index]] != "normal"); |
|
$path = $type. '/' .$arr[0][$arr_keys[$index]]; |
|
|
|
"3 LINE 0 |
|
|
|
"4 LINE 0 |
|
|
|
"5 LINE 0 |
|
if(isset($range) && $range > 0) $range = $range; else $range = 0; |
|
"6 LINE 0 |
|
if($R18 != "true") $R18 = false; else $R18 = true; |
|
"7 LINE 0 |
|
if($display != "true") $display = false; else $display = true; |
|
"8 LINE 0 |
|
if(!isset($path)) $path = null; |
|
"9 LINE 0 |
|
if(!isset($size)) $size = null; |
|
""- CHAR 0 |
|
) |
|
|
|
# File marks: |
|
'0 99 19 ~/www/blog/usr/themes/handsome/post.php |
|
'1 26 0 ~/www/blog/usr/themes/handsome/page.php |
|
'2 26 85 ~/www/blog/usr/plugins/Pio/static/pio.js |
|
'3 1 1 ~/www/blog/usr/plugins/Pio/static/l2d.js |
|
'4 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.moc |
|
'5 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.json |
|
'6 49 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
'7 1 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
'8 141 53 ~/www/blog/usr/themes/handsome/component/aside.php |
|
'9 59 166 ~/www/mikutap/index.html |
|
|
|
# Jumplist (newest first): |
|
-' 99 19 ~/www/blog/usr/themes/handsome/post.php |
|
-' 1 0 ~/www/blog/usr/themes/handsome/post.php |
|
-' 26 0 ~/www/blog/usr/themes/handsome/page.php |
|
-' 1 0 ~/www/blog/usr/themes/handsome/page.php |
|
-' 26 85 ~/www/blog/usr/plugins/Pio/static/pio.js |
|
-' 1 0 ~/www/blog/usr/plugins/Pio/static/pio.js |
|
-' 1 1 ~/www/blog/usr/plugins/Pio/static/l2d.js |
|
-' 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.moc |
|
-' 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.json |
|
-' 49 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
-' 1 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
-' 141 53 ~/www/blog/usr/themes/handsome/component/aside.php |
|
-' 1 2 ~/www/blog/usr/themes/handsome/component/aside.php |
|
-' 59 166 ~/www/mikutap/index.html |
|
-' 1 0 ~/www/mikutap/index.html |
|
-' 407 26 ~/www/blog/usr/themes/handsome/component/footer.php |
|
-' 10 2 ~/www/blog/usr/themes/handsome/component/footer.php |
|
-' 217 27 ~/www/blog/var/PasswordHash.php |
|
-' 1 0 ~/www/blog/var/PasswordHash.php |
|
-' 101 2 /home/ushio/www/api/msc/index.php |
|
-' 1 0 /home/ushio/www/api/msc/index.php |
|
-' 196 77 ~/www/settlement/api/index.php |
|
-' 170 8 ~/www/settlement/api/index.php |
|
-' 8 201 ~/www/blog/usr/themes/handsome/component/footer.php |
|
-' 1 0 ~/www/blog/usr/themes/handsome/component/footer.php |
|
-' 112 4 ~/www/blog/usr/themes/handsome/index.php |
|
-' 1 0 ~/www/blog/usr/themes/handsome/index.php |
|
-' 3 0 ~/www/shorturl/index.php |
|
-' 5 0 ~/www/shorturl/index.php |
|
-' 6 21 ~/www/shorturl/.db.key.php |
|
-' 1 0 ~/www/shorturl/.db.key.php |
|
-' 2 33 ~/www/shorturl/functions.php |
|
-' 1 0 ~/www/shorturl/functions.php |
|
-' 1 0 ~/www/shorturl/index.php |
|
-' 14 32 ~/conf/nginx/settlement.yimian.xyz.conf |
|
-' 1 0 ~/conf/nginx/settlement.yimian.xyz.conf |
|
-' 308 60 ~/www/settlement/index.html |
|
-' 456 4 ~/www/settlement/index.html |
|
-' 573 1 ~/www/settlement/index.html |
|
-' 22 28 /home/ushio/www/img/usr/themes/photograph/index.php |
|
-' 1 0 /home/ushio/www/img/usr/themes/photograph/index.php |
|
-' 1 0 /home/ushio/www/img/usr/themes/photograph/index. |
|
-' 1 0 /home/lib/php/anti-ddos.php |
|
-' 1 0 /home/ushio/www/img/index.php |
|
-' 38 0 /home/ushio/www/img/index.php |
|
-' 1 0 /home/ushio/www/img/in |
|
-' 32 0 /home/ushio/www/api/video/index.php |
|
-' 20 0 /home/ushio/www/api/video/index.php |
|
-' 291 3 /home/ushio/www/api/functions.php |
|
-' 293 0 /home/ushio/www/api/functions.php |
|
-' 29 4 /home/ushio/www/api/video/index.php |
|
-' 31 0 /home/ushio/www/api/video/index.php |
|
-' 298 4 /home/ushio/www/api/functions.php |
|
-' 491 0 /home/ushio/www/api/functions.php |
|
-' 1 0 /home/ushio/www/api/functions.php |
|
-' 541 0 /home/ushio/www/api/functions.php |
|
-' 2 0 /home/ushio/www/api/functions.php |
|
-' 1 0 /home/ushio/www/api/video/index.php |
|
-' 1 0 /home/ushio/www/api/video/in |
|
-' 27 0 ~/www/settlement/api/index.php |
|
-' 294 24 ~/www/settlement/index.html |
|
-' 289 16 ~/www/settlement/index.html |
|
-' 5 105 ~/www/settlement/login.html |
|
-' 10 0 ~/www/settlement/login.html |
|
-' 285 6 ~/www/settlement/index.html |
|
-' 292 6 ~/www/settlement/index.html |
|
-' 282 1 ~/www/settlement/index.html |
|
-' 1 0 ~/www/settlement/login.html |
|
-' 1 0 ~/www/settlement/login.php |
|
-' 296 0 ~/www/settlement/index.html |
|
-' 310 0 ~/www/settlement/index.html |
|
-' 317 0 ~/www/settlement/index.html |
|
-' 320 0 ~/www/settlement/index.html |
|
-' 327 0 ~/www/settlement/index.html |
|
-' 329 0 ~/www/settlement/index.html |
|
-' 335 0 ~/www/settlement/index.html |
|
-' 339 0 ~/www/settlement/index.html |
|
-' 345 0 ~/www/settlement/index.html |
|
-' 348 0 ~/www/settlement/index.html |
|
-' 354 0 ~/www/settlement/index.html |
|
-' 357 0 ~/www/settlement/index.html |
|
-' 363 0 ~/www/settlement/index.html |
|
-' 366 0 ~/www/settlement/index.html |
|
-' 372 0 ~/www/settlement/index.html |
|
-' 376 0 ~/www/settlement/index.html |
|
-' 406 0 ~/www/settlement/index.html |
|
-' 410 0 ~/www/settlement/index.html |
|
-' 417 0 ~/www/settlement/index.html |
|
-' 421 0 ~/www/settlement/index.html |
|
-' 423 0 ~/www/settlement/index.html |
|
-' 433 0 ~/www/settlement/index.html |
|
-' 467 0 ~/www/settlement/index.html |
|
-' 474 0 ~/www/settlement/index.html |
|
-' 477 0 ~/www/settlement/index.html |
|
-' 481 0 ~/www/settlement/index.html |
|
-' 502 0 ~/www/settlement/index.html |
|
-' 509 0 ~/www/settlement/index.html |
|
-' 519 0 ~/www/settlement/index.html |
|
-' 528 0 ~/www/settlement/index.html |
|
|
|
# History of marks within files (newest to oldest): |
|
|
|
> ~/www/blog/usr/themes/handsome/post.php |
|
" 99 19 |
|
^ 1 0 |
|
|
|
> ~/www/blog/usr/themes/handsome/page.php |
|
" 26 0 |
|
^ 1 0 |
|
|
|
> ~/www/blog/usr/plugins/Pio/static/pio.js |
|
" 26 85 |
|
^ 26 86 |
|
. 26 85 |
|
+ 26 85 |
|
|
|
> ~/www/blog/usr/plugins/Pio/static/l2d.js |
|
" 1 1 |
|
^ 1 0 |
|
|
|
> ~/www/blog/usr/plugins/Pio/models/pio/model.moc |
|
" 1 0 |
|
^ 1 0 |
|
|
|
> ~/www/blog/usr/plugins/Pio/models/pio/model.json |
|
" 1 0 |
|
^ 1 0 |
|
|
|
> ~/www/blog/usr/plugins/Pio/Plugin.php |
|
" 49 0 |
|
. 1 0 |
|
+ 1 0 |
|
|
|
> ~/www/blog/usr/themes/handsome/component/aside.php |
|
" 141 53 |
|
^ 141 54 |
|
. 141 53 |
|
+ 141 53 |
|
|
|
> ~/www/mikutap/index.html |
|
" 59 166 |
|
^ 59 167 |
|
. 59 161 |
|
+ 59 161 |
|
|
|
> ~/www/blog/usr/themes/handsome/component/footer.php |
|
" 407 26 |
|
^ 407 25 |
|
. 407 26 |
|
+ 8 64 |
|
+ 8 193 |
|
+ 8 37 |
|
+ 10 154 |
|
+ 403 88 |
|
+ 407 26 |
|
|
|
> ~/www/blog/var/PasswordHash.php |
|
" 217 27 |
|
^ 217 28 |
|
. 217 27 |
|
+ 258 9 |
|
+ 257 14 |
|
+ 256 9 |
|
+ 259 10 |
|
+ 257 44 |
|
+ 218 17 |
|
+ 217 27 |
|
|
|
> /home/ushio/www/api/msc/index.php |
|
" 101 2 |
|
^ 101 3 |
|
. 101 2 |
|
+ 101 2 |
|
|
|
> ~/www/settlement/api/index.php |
|
" 196 77 |
|
^ 196 78 |
|
. 196 77 |
|
+ 84 0 |
|
+ 5 0 |
|
+ 2 0 |
|
+ 3 37 |
|
+ 21 69 |
|
+ 27 192 |
|
+ 27 96 |
|
+ 27 126 |
|
+ 27 154 |
|
+ 27 183 |
|
+ 157 0 |
|
+ 161 0 |
|
+ 213 3 |
|
+ 162 104 |
|
+ 165 7 |
|
+ 163 40 |
|
+ 165 31 |
|
+ 169 9 |
|
+ 165 31 |
|
+ 169 385 |
|
+ 183 0 |
|
+ 169 389 |
|
+ 173 116 |
|
+ 177 26 |
|
+ 179 31 |
|
+ 182 21 |
|
+ 183 0 |
|
+ 184 0 |
|
+ 186 33 |
|
+ 187 68 |
|
+ 188 22 |
|
+ 192 218 |
|
+ 192 332 |
|
+ 196 140 |
|
+ 160 14 |
|
+ 196 152 |
|
+ 160 49 |
|
+ 161 10 |
|
+ 165 28 |
|
+ 166 8 |
|
+ 177 22 |
|
+ 169 383 |
|
+ 174 8 |
|
+ 189 8 |
|
+ 193 8 |
|
+ 196 159 |
|
+ 197 8 |
|
+ 201 8 |
|
+ 204 22 |
|
+ 205 10 |
|
+ 201 15 |
|
+ 197 15 |
|
+ 193 15 |
|
+ 189 15 |
|
+ 178 11 |
|
+ 174 15 |
|
+ 166 15 |
|
+ 170 15 |
|
+ 166 12 |
|
+ 184 12 |
|
+ 170 12 |
|
+ 174 12 |
|
+ 189 12 |
|
+ 193 12 |
|
+ 197 12 |
|
+ 201 12 |
|
+ 206 60 |
|
+ 179 59 |
|
+ 16 48 |
|
+ 17 21 |
|
+ 113 17 |
|
+ 114 8 |
|
+ 118 13 |
|
+ 115 14 |
|
+ 116 27 |
|
+ 88 7 |
|
+ 85 14 |
|
+ 86 100 |
|
+ 116 105 |
|
+ 196 169 |
|
+ 196 42 |
|
+ 192 91 |
|
+ 169 90 |
|
+ 180 11 |
|
+ 207 12 |
|
+ 192 335 |
|
+ 196 153 |
|
+ 91 64 |
|
+ 92 1 |
|
+ 96 0 |
|
+ 93 44 |
|
+ 196 257 |
|
+ 196 152 |
|
+ 91 39 |
|
+ 8 15 |
|
+ 28 0 |
|
+ 28 0 |
|
+ 192 507 |
|
+ 169 413 |
|
+ 196 77 |
|
|
|
> ~/www/blog/usr/themes/handsome/index.php |
|
" 112 4 |
|
^ 1 0 |
|
|
|
> ~/www/shorturl/index.php |
|
" 3 0 |
|
^ 3 0 |
|
. 3 44 |
|
+ 2 0 |
|
+ 3 50 |
|
+ 4 0 |
|
+ 3 44 |
|
|
|
> ~/conf/nginx/eee.dog.conf |
|
" 15 37 |
|
^ 15 38 |
|
|
|
> ~/www/shorturl/.db.key.php |
|
" 6 21 |
|
^ 6 22 |
|
. 6 20 |
|
+ 4 22 |
|
+ 6 20 |
|
|
|
> ~/www/shorturl/functions.php |
|
" 2 33 |
|
^ 2 34 |
|
. 2 33 |
|
+ 2 33 |
|
|
|
> ~/conf/nginx/settlement.yimian.xyz.conf |
|
" 14 32 |
|
^ 14 33 |
|
. 14 32 |
|
+ 4 32 |
|
+ 14 32 |
|
|
|
> ~/www/settlement/index.html |
|
" 308 60 |
|
^ 308 61 |
|
. 308 61 |
|
+ 6 9 |
|
+ 8 59 |
|
+ 9 77 |
|
+ 321 56 |
|
+ 322 51 |
|
+ 323 163 |
|
+ 324 164 |
|
+ 286 0 |
|
+ 285 58 |
|
+ 286 44 |
|
+ 289 12 |
|
+ 290 3 |
|
+ 290 15 |
|
+ 289 33 |
|
+ 287 37 |
|
+ 290 8 |
|
+ 291 15 |
|
+ 292 6 |
|
+ 13 78 |
|
+ 14 127 |
|
+ 539 58 |
|
+ 538 57 |
|
+ 283 31 |
|
+ 285 0 |
|
+ 284 22 |
|
+ 285 25 |
|
+ 284 40 |
|
+ 285 8 |
|
+ 284 0 |
|
+ 288 48 |
|
+ 289 17 |
|
+ 572 53 |
|
+ 456 0 |
|
+ 308 61
|
|
|