From 175566a5ac95e1094bdd6cdda702cef696a9cb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Mon, 13 Feb 2023 10:30:49 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\351\231\210\351\233\205\346\245\240/cyn.txt" | 0 "\351\231\210\351\233\205\346\245\240/idemo.html" | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 "\351\231\210\351\233\205\346\245\240/cyn.txt" create mode 100644 "\351\231\210\351\233\205\346\245\240/idemo.html" diff --git "a/\351\231\210\351\233\205\346\245\240/cyn.txt" "b/\351\231\210\351\233\205\346\245\240/cyn.txt" new file mode 100644 index 0000000..e69de29 diff --git "a/\351\231\210\351\233\205\346\245\240/idemo.html" "b/\351\231\210\351\233\205\346\245\240/idemo.html" new file mode 100644 index 0000000..56efbdb --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/idemo.html" @@ -0,0 +1,12 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From 576aa41b799834b9413814ba1bc96dadd4d8c729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Mon, 13 Feb 2023 11:05:37 +0800 Subject: [PATCH 02/11] '1' --- "\351\231\210\351\233\205\346\245\240/cyn.txt" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/\351\231\210\351\233\205\346\245\240/cyn.txt" "b/\351\231\210\351\233\205\346\245\240/cyn.txt" index e69de29..c7169d6 100644 --- "a/\351\231\210\351\233\205\346\245\240/cyn.txt" +++ "b/\351\231\210\351\233\205\346\245\240/cyn.txt" @@ -0,0 +1,2 @@ +hello,word +hi -- Gitee From 82764dd209bd7f71f7eaefc95b68ca5269e94d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Mon, 13 Feb 2023 11:09:52 +0800 Subject: [PATCH 03/11] '1' --- chenyanan/cync.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 chenyanan/cync.txt diff --git a/chenyanan/cync.txt b/chenyanan/cync.txt new file mode 100644 index 0000000..b48ad2d --- /dev/null +++ b/chenyanan/cync.txt @@ -0,0 +1 @@ +我就试试 -- Gitee From 76a3a5bd8b4f5f33f0fb7b3e906bc82b6ea53499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 08:10:45 +0000 Subject: [PATCH 04/11] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20ch?= =?UTF-8?q?enyanan/cync.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chenyanan/cync.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 chenyanan/cync.txt diff --git a/chenyanan/cync.txt b/chenyanan/cync.txt deleted file mode 100644 index b48ad2d..0000000 --- a/chenyanan/cync.txt +++ /dev/null @@ -1 +0,0 @@ -我就试试 -- Gitee From 1b10abc358ad73f5fe047d7f5de93be0e9a74b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 08:51:52 +0000 Subject: [PATCH 05/11] 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈雅楠 <510873001@qq.com> --- .../\344\275\234\344\270\232/jjcc.js" | 26 +++++++++++++++++++ .../\344\275\234\344\270\232/use.js" | 11 ++++++++ 2 files changed, 37 insertions(+) create mode 100644 "\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/jjcc.js" create mode 100644 "\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/use.js" diff --git "a/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/jjcc.js" "b/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/jjcc.js" new file mode 100644 index 0000000..5af162a --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/jjcc.js" @@ -0,0 +1,26 @@ + + +function jia(a,b) { + console.log(a+b); + return a+b; +} + +module.exports.jia = jia; + +function jian(c,d){ + console.log(c-d); + return c-d; +} +module.exports.jian =jian; + +function cheng(e,f){ + console.log(e*f); + return e*f; +} +module.exports.cheng =cheng; + +function chu(g,h){ + console.log(g/h); + return g/h; +} +module.exports.chu =chu; diff --git "a/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/use.js" "b/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/use.js" new file mode 100644 index 0000000..e85b949 --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/\344\275\234\344\270\232/use.js" @@ -0,0 +1,11 @@ +let obj = require('./jjcc.js') + +console.log(obj) +let num=obj.jia(7,8); +let num1=obj.jian(10,4); +let num2=obj.cheng(1,3); +let num3=obj.chu(10,2); +// console.log(num); +// console.log(num1); +// console.log(num2); +// console.log(num3); -- Gitee From c9c34687c33d6e10b3fba5d5f818642f125bee45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 08:53:12 +0000 Subject: [PATCH 06/11] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0/cyn.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\351\231\210\351\233\205\346\245\240/cyn.txt" | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 "\351\231\210\351\233\205\346\245\240/cyn.txt" diff --git "a/\351\231\210\351\233\205\346\245\240/cyn.txt" "b/\351\231\210\351\233\205\346\245\240/cyn.txt" deleted file mode 100644 index c7169d6..0000000 --- "a/\351\231\210\351\233\205\346\245\240/cyn.txt" +++ /dev/null @@ -1,2 +0,0 @@ -hello,word -hi -- Gitee From 55fbbefad7a2322e1aec29a1e250037218c65294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 09:00:38 +0000 Subject: [PATCH 07/11] =?UTF-8?q?add=20=E4=BD=9C=E4=B8=9A.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈雅楠 <510873001@qq.com> --- "\344\275\234\344\270\232" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\344\275\234\344\270\232" diff --git "a/\344\275\234\344\270\232" "b/\344\275\234\344\270\232" new file mode 100644 index 0000000..e69de29 -- Gitee From 0135a119ce1a047f2fafb75095790cac7ec3d6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 09:01:06 +0000 Subject: [PATCH 08/11] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\344\275\234\344\270\232" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\344\275\234\344\270\232" diff --git "a/\344\275\234\344\270\232" "b/\344\275\234\344\270\232" deleted file mode 100644 index e69de29..0000000 -- Gitee From 230768183d312715cfff5cee614125d9d944339e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 09:01:26 +0000 Subject: [PATCH 09/11] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E9=99=88=E9=9B=85?= =?UTF-8?q?=E6=A5=A0=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" diff --git "a/\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" "b/\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From b23ecfac1dc2ec0bf7b47347d67d9f1050c90687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Tue, 14 Feb 2023 09:02:19 +0000 Subject: [PATCH 10/11] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" diff --git "a/\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" "b/\351\231\210\351\233\205\346\245\240\344\275\234\344\270\232/.keep" deleted file mode 100644 index e69de29..0000000 -- Gitee From 70e9f7b851cc04b38e108404cf4bea9cab50ebe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E6=A5=A0?= <510873001@qq.com> Date: Thu, 16 Feb 2023 08:46:24 +0000 Subject: [PATCH 11/11] 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈雅楠 <510873001@qq.com> --- "\351\231\210\351\233\205\346\245\240/1.txt" | 1 + "\351\231\210\351\233\205\346\245\240/2.txt" | 1 + .../files.js" | 23 +++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 "\351\231\210\351\233\205\346\245\240/1.txt" create mode 100644 "\351\231\210\351\233\205\346\245\240/2.txt" create mode 100644 "\351\231\210\351\233\205\346\245\240/files.js" diff --git "a/\351\231\210\351\233\205\346\245\240/1.txt" "b/\351\231\210\351\233\205\346\245\240/1.txt" new file mode 100644 index 0000000..8ea0a3e --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/1.txt" @@ -0,0 +1 @@ +971 \ No newline at end of file diff --git "a/\351\231\210\351\233\205\346\245\240/2.txt" "b/\351\231\210\351\233\205\346\245\240/2.txt" new file mode 100644 index 0000000..9f72858 --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/2.txt" @@ -0,0 +1 @@ +88 \ No newline at end of file diff --git "a/\351\231\210\351\233\205\346\245\240/files.js" "b/\351\231\210\351\233\205\346\245\240/files.js" new file mode 100644 index 0000000..d6fd2ca --- /dev/null +++ "b/\351\231\210\351\233\205\346\245\240/files.js" @@ -0,0 +1,23 @@ +'use strict'; +var fs=require('fs'); + +var max = 0; +var maxfile = ''; + +for (let index = 1; index <=2 ; index++) { + //随机 Math.random()*(最大值-最小值+1)+最小值 + + var a=Math.floor(Math.random()*(1000-1+1)+1) + + //创建文件 + var b =""+a+""; + fs.writeFileSync("./"+index+".txt",b); + + if (Number(b) > max) { + max = Number(b); + maxfile = "./"+index+".txt"; + } +} +// console.log(max); +console.log(maxfile); + -- Gitee