From e0631c4877d93704c275fbde2ee6e2658585418f Mon Sep 17 00:00:00 2001
From: Alexchent <1023615292@qq.com>
Date: Wed, 15 Jan 2020 00:36:02 +0800
Subject: [PATCH] update README
---
.idea/workspace.xml | 307 ++++++++++++++++----------
Useredis.php => Cache/Redis.php | 2 +-
Helper/cuttxt.php | 9 +-
README.md | 9 +-
getVideoTxt.php | 3 +-
strpad.php | 12 -
all_group.php => suanfa/all_group.php | 4 +-
subday.php | 12 -
test.js | 1 -
test.php | 2 +-
10 files changed, 208 insertions(+), 153 deletions(-)
rename Useredis.php => Cache/Redis.php (99%)
delete mode 100644 strpad.php
rename all_group.php => suanfa/all_group.php (97%)
delete mode 100644 subday.php
delete mode 100644 test.js
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 6271339..9f6dfe2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,9 +3,15 @@
+
-
-
+
+
+
+
+
+
+
@@ -31,12 +37,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -44,16 +72,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -66,21 +84,33 @@
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -88,6 +118,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -110,16 +170,12 @@
@@ -177,7 +237,7 @@
-
+
@@ -226,7 +286,12 @@
-
+
+
+
+
+
+
@@ -248,8 +313,9 @@
-
+
+
@@ -375,7 +441,7 @@
-
+
1548580343503
@@ -486,7 +552,7 @@
-
+
@@ -498,8 +564,7 @@
-
-
+
@@ -507,9 +572,9 @@
-
+
-
+
@@ -574,35 +639,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -666,13 +702,6 @@
-
-
-
-
-
-
-
@@ -731,34 +760,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -829,16 +830,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -895,19 +886,105 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/Useredis.php b/Cache/Redis.php
similarity index 99%
rename from Useredis.php
rename to Cache/Redis.php
index 355778f..749a372 100644
--- a/Useredis.php
+++ b/Cache/Redis.php
@@ -1,5 +1,5 @@
pconnect('127.0.0.1','6379');
@@ -20,7 +19,7 @@
//$res = $redis->sMembers('video_'.URL);
$res = $redis->sDiff('video_'.URL, 'video');//获取差集,key1为主体
-//var_dump($res);die;
+var_dump($res);die;
foreach ($res as $i){
file_put_contents("video1.txt", $i."\n",FILE_APPEND);
}
diff --git a/strpad.php b/strpad.php
deleted file mode 100644
index 9b8f99c..0000000
--- a/strpad.php
+++ /dev/null
@@ -1,12 +0,0 @@
-connect('127.0.0.1',3306);
die;
class A {
private $x = 1;
}
// PHP 7 之前版本定义闭包函数代码
$getXCB = function() {
return $this->x;
};
// 闭包函数绑定到类 A 上
//$getX = $getXCB->bindTo(new A, 'A');
//echo $getX();
//print(PHP_EOL);
echo $getXCB->call(new A, 'A');
\ No newline at end of file
+x;
};
// 闭包函数绑定到类 A 上
//$getX = $getXCB->bindTo(new A, 'A');
//echo $getX();
//print(PHP_EOL);
echo $getXCB->call(new A, 'A');
\ No newline at end of file