摘要: codes in Design Patterns in javascript_ES_Pattern.7z 阅读全文
posted @ 2022-10-18 14:55 CrazyJC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <html> <head> </head> <body> <h1>Design Patterns in JavaScript: Module, Revealing Module</h1> <div id="root"> </div> <script type="text/javascript"> " 阅读全文
posted @ 2022-10-17 15:47 CrazyJC 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <html> <body> <h1>Design Patterns in JavaScript Constructor, Factory, & Abstract Factory Creational Patterns</h1> <script type="text/javascript"> "use 阅读全文
posted @ 2022-10-14 18:19 CrazyJC 阅读(12) 评论(0) 推荐(0) 编辑
摘要: <html> <body> <button onclick="fetchImage()">Fetch</button> <button onclick="ajaxRequest()">Ajax</button> <button onclick="ajaxRequest2()">Ajax2</butt 阅读全文
posted @ 2022-10-14 11:04 CrazyJC 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> "use strick"; let regularFunction=()=>{ return "Hello"; } let timeoutFunction=msg=>{ var returnMsg; setTimeout(()=>{ c 阅读全文
posted @ 2022-10-14 11:03 CrazyJC 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 一、下载https://www.enterprisedb.com/download-postgresql-binaries进入网址,选择适合自己系统的版本 二、下载好的zip包解压,并创建一个data文件用来存放数据 三、初始化数据库命令行进入bin目录,执行以下代码: initdb.exe -D 阅读全文
posted @ 2022-09-15 15:30 CrazyJC 阅读(861) 评论(0) 推荐(0) 编辑
摘要: 格式规范的完整形式:{index [,width][:formatstring]} index是此格式程序引用的格式字符串之后的参数,从零开始计数;width(可选) 是要设置格式的字段的宽度,width取正数a56爆大奖在线娱乐结果右对齐,取负数a56爆大奖在线娱乐结果左对齐;formatstring(可选),包含有关设置类型格 阅读全文
posted @ 2022-08-09 11:29 CrazyJC 阅读(1027) 评论(0) 推荐(0) 编辑
摘要: 注意:对于需要传入的data 数据,需要进行urlencode编码。postdata=urllib.parse.urlencode(data).encode('utf-8') 1 #post 请求 2 import urllib.request 3 import urllib.parse 4 bas 阅读全文
posted @ 2022-07-25 16:29 CrazyJC 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 解决ModuleNotFoundError: No module named ‘pip‘问题 1. python -m ensurepippython -m pip install --upgrade pip2. 使用压缩包解压的方式安装python 完整配置了python的相关环境变量 运行pyt 阅读全文
posted @ 2022-07-11 10:24 CrazyJC 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 翻译 原文地址:http://www.devx.com/dotnet/Article/36184/0/page/1 原文作者:Thiru Thangarathinam (好强大的名字)翻译: flanker 简介 日志程序块提供了灵活的可扩展的日志机制,你可以在任何类型的.NET程序中使用它——包括 阅读全文
posted @ 2022-07-08 14:31 CrazyJC 阅读(340) 评论(0) 推荐(0) 编辑