摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2022-12-07 11:01 carol2014 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: <?php try { $dsn = "mysql:host=127.0.0.1;port=3306;dbname=test;charset=utf8"; $user = "root"; $password = ""; #持久连接 $pdo = new PDO($dsn, $user, $passw 阅读全文
posted @ 2022-12-06 16:00 carol2014 阅读(100) 评论(0) 推荐(0) 编辑
摘要: import re # match print(re.match(r'www', 'www.runoob.com').span()) # (0,3) print(re.match('com', 'www.runoob.com')) # None line = "Cats are smarter th 阅读全文
posted @ 2022-12-04 12:29 carol2014 阅读(68) 评论(0) 推荐(0) 编辑
摘要: SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 原始代码 for x in os.listdir('C:\Users\Administrator\Desktop\files'): pr 阅读全文
posted @ 2022-12-04 11:58 carol2014 阅读(26) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style> div { margin-top: 0.25rem; margin-bottom: 0.25rem; } /* 使用margin属性居中 */ .margin-center 阅读全文
posted @ 2022-12-02 17:10 carol2014 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 部分配置项 <link href="./plugins/fullcalendar-5.11.2/lib/main.css" rel="stylesheet" /> <script type="text/javascript" language="javascript" src="./plugins/ 阅读全文
posted @ 2022-12-02 16:54 carol2014 阅读(2331) 评论(0) 推荐(0) 编辑
摘要: <link href="./plugins/fullcalendar-5.11.2/fullcalendar-scheduler/main.min.css" rel="stylesheet" /> <script type="text/javascript" language="javascript 阅读全文
posted @ 2022-12-02 16:37 carol2014 阅读(857) 评论(0) 推荐(0) 编辑
摘要: <script> const range = [ { st: "2022-11-29 10:00", et: "2022-11-29 11:00", }, { st: "2022-11-29 15:00", et: "2022-11-29 19:00", }, ]; const startTime 阅读全文
posted @ 2022-12-02 16:29 carol2014 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: PHP Intelephense :php代码格式化,代码提示等功能 PHP Server:打开一个php文件,右键即可开启一个server,并在默认浏览器中运行当前文件 Laravel Blade formatter:laravel框架blade文件格式化 python、Black Formatt 阅读全文
posted @ 2022-12-02 16:27 carol2014 阅读(681) 评论(0) 推荐(0) 编辑
摘要: import csv import seaborn as sns import matplotlib.pyplot as plt # 解决中文不显示和负号不显示问题 rc = { 'font.family': 'Microsoft YaHei', 'axes.unicode_minus': Fals 阅读全文
posted @ 2022-12-02 16:12 carol2014 阅读(55) 评论(0) 推荐(0) 编辑