From ea8d2acb3fb7dac8bcaefc49b8cddf99df771daa Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Feb 2023 16:45:25 +0800 Subject: [PATCH 1/7] 'ovo' --- wish.html | 12 ------------ .../\345\206\205\345\256\271.txt" | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 wish.html create mode 100644 "\346\235\216\345\275\244/\345\206\205\345\256\271.txt" diff --git a/wish.html b/wish.html deleted file mode 100644 index 8fd0b0f..0000000 --- a/wish.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - 要工作了 - - -

好好学习,努力挣钱,养自己/养女朋友/养男朋友

- - \ No newline at end of file diff --git "a/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" "b/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" new file mode 100644 index 0000000..2a81bb8 --- /dev/null +++ "b/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" @@ -0,0 +1 @@ +我是内容 \ No newline at end of file -- Gitee From 1d9cf1cc64bd5638382630eefd1a568a83e54595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Wed, 15 Feb 2023 03:34:06 +0000 Subject: [PATCH 2/7] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E6=9D=8E=E5=BD=A4/=E5=86=85=E5=AE=B9.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\346\235\216\345\275\244/\345\206\205\345\256\271.txt" | 1 - 1 file changed, 1 deletion(-) delete mode 100644 "\346\235\216\345\275\244/\345\206\205\345\256\271.txt" diff --git "a/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" "b/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" deleted file mode 100644 index 2a81bb8..0000000 --- "a/\346\235\216\345\275\244/\345\206\205\345\256\271.txt" +++ /dev/null @@ -1 +0,0 @@ -我是内容 \ No newline at end of file -- Gitee From 9c2c5584e1072657b2182b5dbe76a517a73b7c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Wed, 15 Feb 2023 03:34:29 +0000 Subject: [PATCH 3/7] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E6=9D=8E=E5=BD=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\346\235\216\345\275\244/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\346\235\216\345\275\244/.keep" diff --git "a/\346\235\216\345\275\244/.keep" "b/\346\235\216\345\275\244/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From ebec96f2b356a87ce3f2dbe83dbeddd47fad8e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Wed, 15 Feb 2023 03:35:06 +0000 Subject: [PATCH 4/7] 02-15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李彤 <1587475681@qq.com> --- .../jsq.js" | 2 ++ .../use.js" | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 "\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/jsq.js" create mode 100644 "\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/use.js" diff --git "a/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/jsq.js" "b/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/jsq.js" new file mode 100644 index 0000000..65802fc --- /dev/null +++ "b/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/jsq.js" @@ -0,0 +1,2 @@ +let obj=require("./use.js"); +console.log(obj.jian(2,3)); \ No newline at end of file diff --git "a/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/use.js" "b/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/use.js" new file mode 100644 index 0000000..27fc2c6 --- /dev/null +++ "b/\346\235\216\345\275\244/\346\250\241\345\235\227\344\275\234\344\270\232/use.js" @@ -0,0 +1,16 @@ +let obj = { + jia:function(num1,num2) { + return num1+num2; + }, + jian:function(num1,num2) { + return num1-num2; + }, + chen:function(num1,num2) { + return num1*num2; + }, + chu:function(num1,num2) { + return num1/num2; + } + +} +module.exports = obj; \ No newline at end of file -- Gitee From 333db48cbc266605f4cd7e5461b34c2be627afce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Sat, 18 Feb 2023 02:13:48 +0000 Subject: [PATCH 5/7] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20npm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\346\235\216\345\275\244/npm/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\346\235\216\345\275\244/npm/.keep" diff --git "a/\346\235\216\345\275\244/npm/.keep" "b/\346\235\216\345\275\244/npm/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 32f553d99ebf096b739ce2a397c0b23b56bd1dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Sat, 18 Feb 2023 02:29:20 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=20=E6=9D=8E?= =?UTF-8?q?=E5=BD=A4/npm=20=E4=B8=BA=20=E6=9D=8E=E5=BD=A4/node=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=BB=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node\346\226\207\344\273\266\350\257\273\345\206\231/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "\346\235\216\345\275\244/npm/.keep" => "\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/.keep" (100%) diff --git "a/\346\235\216\345\275\244/npm/.keep" "b/\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/.keep" similarity index 100% rename from "\346\235\216\345\275\244/npm/.keep" rename to "\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/.keep" -- Gitee From 0504d60194c6f7080a671dba265db4ad01175597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=A4?= <1587475681@qq.com> Date: Sat, 18 Feb 2023 02:32:29 +0000 Subject: [PATCH 7/7] =?UTF-8?q?node=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李彤 <1587475681@qq.com> --- .../file.js" | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 "\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/file.js" diff --git "a/\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/file.js" "b/\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/file.js" new file mode 100644 index 0000000..28381fe --- /dev/null +++ "b/\346\235\216\345\275\244/node\346\226\207\344\273\266\350\257\273\345\206\231/file.js" @@ -0,0 +1,23 @@ +let fs = require("fs"); +for (let i = 0; i < 100; i++) { + let filename = "./files/" + i + ".txt"; + fs.writeFileSync(filename, Math.floor(Math.random() * 1001) + "");//Math.random [0,1) +} + +let maxNum = null; +let maxName = ""; +for (let j = 0; j < 100; j++) { + let filename = "./files/" + j + ".txt"; + let content = fs.readFileSync(filename); + content = content.toString(); + //console.log(content); + if (j == 0) { + maxNum = Number(content); + maxName = filename; + } + if (maxNum < Number(content)) { + maxNum = Number(content); + maxName = filename; + } +} +console.log(maxNum, maxName); \ No newline at end of file -- Gitee