cgi脚本 By duncan21Posted on 2022 年 11 月 28 日2022 年 11 月 28 日Posted in PythonTagged cgiNo Comments on cgi脚本 脚本: [root@ilovelluvia cgi-bin]# cat index.sh #!/bin/bash echo -e "Content-type: text/html;charse[......]阅读全文 Read More
中国辛德勒 By duncan21Posted on 2022 年 11 月 26 日2023 年 4 月 5 日Posted in historyNo Comments on 中国辛德勒 前言 在人类漫长的历史中,曾经历过多次非常黑暗的时刻,其中二战时期发生的,纳粹德国针对犹太人的种族灭绝式的大屠杀尤为突出,大约有600w的犹太人被屠杀,即使在这样的至暗的时刻,仍然有一些有人不顾个人[……] 阅读全文 Read More
Python抽取文件 By duncan21Posted on 2022 年 11 月 17 日2022 年 11 月 17 日Posted in PythonTagged 文件No Comments on Python抽取文件 需求:要从服务器上的某个目录中抽取(复制整个目录结构)需要的文件(目录),到其他的目录下 实现:以下是源目录结构 [root@ilovelluvia ~]# tree /teddylu /t[......]阅读全文 Read More
惊世骇俗の史书 By duncan21Posted on 2022 年 11 月 4 日2022 年 11 月 4 日Posted in historyTagged 史记, 竹书纪年No Comments on 惊世骇俗の史书 提到史书,最大名鼎鼎的当属《史记》了。可在1700年前的一个偶然盗墓事件,让人们发现,原来我们的历史早就已经被人悄悄篡改过了。那今天我就来跟大家聊聊这本曾经被认为是异端邪说,至今仍在考古界饱受争议的《[……] 阅读全文 Read More
正则匹配ip By duncan21Posted on 2022 年 11 月 3 日Posted in LinuxTagged ipNo Comments on 正则匹配ip 基本思路就是要每个点之间的元素为整数,最多为3位整数[0-9]\{1,3\},然后用 . 拼接起来,加上^和$更精确的限制匹配对象 [root@ilovelluvia re]# cat ip.t[……] 阅读全文 Read More
文本文件转化为HTML文件 By duncan21Posted on 2022 年 11 月 3 日2024 年 7 月 16 日Posted in LinuxTagged html, txtNo Comments on 文本文件转化为HTML文件 目标:将teacher.db转换成html格式文档 [root@ilovelluvia re]# cat teacher.db J Luo:Southeast University:Nan[……] 阅读全文 Read More