怪奇物语

怪奇物语

首页 新随笔 联系 管理
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页

2022年11月19日 #

摘要: C:\my_script\2anki\cnblog2anki\cnblog2anki.py from base64 import encode import os import re import shutil import easygui from subprocess import run fr 阅读全文
posted @ 2022-11-19 22:18 超级无敌美少男战士 阅读(53) 评论(0) 推荐(0)

摘要: 单例模式 阅读全文
posted @ 2022-11-19 11:29 超级无敌美少男战士 阅读(32) 评论(0) 推荐(0)

2022年11月18日 #

摘要: threejs加载STL文件 效果: 加载 stl 格式的文件需要设置材质 material; stl、obj 都是静态模型,不可以包含动画, fbx 除了包含几何、材质信息,可以存储骨骼动画等数据。 代码: 加载STL文件 requestAnimationFrame() <!DOCTYPE htm 阅读全文
posted @ 2022-11-18 22:18 超级无敌美少男战士 阅读(438) 评论(0) 推荐(0)

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221118161612732-2109875722.png) ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221118162059624-1456780019.png) 阅读全文
posted @ 2022-11-18 16:21 超级无敌美少男战士 阅读(332) 评论(0) 推荐(0)

2022年11月17日 #

摘要: const isValid = function (s) { const stack = []; for (let i = 0; i < s.length; i++) { let c = s[i]; switch (c) { // 左括号入栈,即将与左括号匹配的右括号入栈 case "(": sta 阅读全文
posted @ 2022-11-17 19:59 超级无敌美少男战士 阅读(27) 评论(0) 推荐(0)

摘要: E:\song\code2md\main.py import os import re import shutil import easygui from easygui import * from pathlib import Path class User(EgStore): def __ini 阅读全文
posted @ 2022-11-17 19:26 超级无敌美少男战士 阅读(24) 评论(0) 推荐(0)

摘要: E:\song\cpc_log_v6_fastapi\app.py from fastapi import FastAPI, Depends from fastapi.middleware.cors import CORSMiddleware from fastapi.openapi.docs im 阅读全文
posted @ 2022-11-17 19:12 超级无敌美少男战士 阅读(117) 评论(0) 推荐(0)

摘要: // three.js import * as THREE from 'three'; import SpriteText from 'three-spritetext'; // 引入tween import * as TWEEN from '@tweenjs/tween.js'; import t 阅读全文
posted @ 2022-11-17 14:14 超级无敌美少男战士 阅读(604) 评论(0) 推荐(0)

摘要: https://vuejsexamples.com/ 阅读全文
posted @ 2022-11-17 13:30 超级无敌美少男战士 阅读(70) 评论(0) 推荐(0)

摘要: E:\song\threejs_learn\vite-project\index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" h 阅读全文
posted @ 2022-11-17 09:34 超级无敌美少男战士 阅读(37) 评论(0) 推荐(0)

摘要: // three.js import * as THREE from 'three'; import SpriteText from 'three-spritetext'; // 引入tween import * as TWEEN from '@tweenjs/tween.js'; import t 阅读全文
posted @ 2022-11-17 08:15 超级无敌美少男战士 阅读(89) 评论(0) 推荐(0)

2022年11月16日 #

摘要: C:\Users\Administrator\Desktop\手写\01_instanceOf.js function instance_of(target, origin) { let targetP = target.__proto__; let originP = origin.prototy 阅读全文
posted @ 2022-11-16 23:23 超级无敌美少男战士 阅读(34) 评论(0) 推荐(0)

摘要: D:\code_gitee\python_cnblog2anki_and_weibo2anki\main.py import os import re import shutil import easygui from bs4 import BeautifulSoup from easygui im 阅读全文
posted @ 2022-11-16 23:17 超级无敌美少男战士 阅读(116) 评论(0) 推荐(0)

摘要: 工厂模式 三个按钮控制一个header框,成功,警告,错误,分别对应三个颜色 创建了一个Base类,里面存放着Success,Warning,Error三个类的公共方法和属性 Factrory类,根据不同的status创建不同的对象, 然后想要扩展的东西就是再各自的类里面进行扩展, 再Base类,还 阅读全文
posted @ 2022-11-16 23:15 超级无敌美少男战士 阅读(31) 评论(0) 推荐(0)

摘要: D:\code_gitee\python_code2md_gitee\code2md\main.py import os import re import shutil import easygui from easygui import * from pathlib import Path cla 阅读全文
posted @ 2022-11-16 22:46 超级无敌美少男战士 阅读(146) 评论(0) 推荐(0)

摘要: 创建几何体的顶点数据可以手动定义,可以自定义一个函数创建,也可使用 three.js 提供的函数创建,本节课主要讲解一些 2D 或 3D 线条的构造函数及其方法属性, 如何通过这些构造函数获得一系列曲线上的顶点数据。 three.js中的曲线类型 线性曲线(直线) LineCurve LineCur 阅读全文
posted @ 2022-11-16 16:28 超级无敌美少男战士 阅读(1117) 评论(0) 推荐(0)

摘要: E:\song\agv_fastapi_socket2\fastapi-socketio-example-main\app.py import os import pathlib import secrets import time from typing import Optional impor 阅读全文
posted @ 2022-11-16 14:11 超级无敌美少男战士 阅读(339) 评论(0) 推荐(0)

2022年11月15日 #

摘要: import os import re import shutil import easygui from easygui import * class User(EgStore): def __init__(self, filename): self.path = '' EgStore.__ini 阅读全文
posted @ 2022-11-15 23:23 超级无敌美少男战士 阅读(24) 评论(0) 推荐(0)

摘要: 常见的导出方式 创建文件 foo.js //设置常量 const name = 'tom'; const age = 20; const hello = function(age){ console.log('张三今年'+age) } 方式一 export const name = 'tom'; e 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(52) 评论(0) 推荐(0)

摘要: 本文由 简悦 SimpRead 转码, 原文地址 blog.csdn.net 1、安装 socketio 服务端 # 官网介绍:https://python-socketio.readthedocs.io/en/latest/server.html pip install python-socket 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(341) 评论(0) 推荐(0)

摘要: JavaScript 模块导入方式 Node 中的导入导出方式 此类导入方式借助module对象通过module.exports赋予 js 文件中某数据类型能够被导入的权限,通过require(<filename>)导入数据类型,这种导入方式主要在 Node.js2 中使用。每个运行在 Node 上 阅读全文
posted @ 2022-11-15 17:30 超级无敌美少男战士 阅读(79) 评论(0) 推荐(0)

摘要: 本文由 简悦 SimpRead 转码, 原文地址 blog.csdn.net 参考:https://github.com/pyropy/fastapi-socketio 一、app 中启用 socketio 如下,一般 fastapi 项目会这样创建一个应用 from fastapi import 阅读全文
posted @ 2022-11-15 17:29 超级无敌美少男战士 阅读(267) 评论(0) 推荐(0)

摘要: Decorator to register an event handler. This is a simplified version of the ``on()`` method that takes the event name from the decorated function. Exa 阅读全文
posted @ 2022-11-15 15:56 超级无敌美少男战士 阅读(106) 评论(0) 推荐(0)

摘要: https://github.com/XiaoxingChen/roboshopAPI_py/blob/master/netprotocol/rbkNetProtoEnums.py import json import struct API_PORT_ROBOD = 19200 API_PORT_S 阅读全文
posted @ 2022-11-15 10:41 超级无敌美少男战士 阅读(48) 评论(0) 推荐(0)

摘要: import os import re import shutil import easygui from easygui import * class User(EgStore): def __init__(self, filename): self.path = '' EgStore.__ini 阅读全文
posted @ 2022-11-15 07:17 超级无敌美少男战士 阅读(27) 评论(0) 推荐(0)

2022年11月14日 #

摘要: https://todomvc.com/ 阅读全文
posted @ 2022-11-14 17:30 超级无敌美少男战士 阅读(36) 评论(0) 推荐(0)

摘要: https://www.jianshu.com/p/b64a1231af05 阅读全文
posted @ 2022-11-14 09:41 超级无敌美少男战士 阅读(57) 评论(0) 推荐(0)

摘要: https://blog.csdn.net/forward_huan/article/details/106733444 阅读全文
posted @ 2022-11-14 09:25 超级无敌美少男战士 阅读(35) 评论(0) 推荐(0)

2022年11月13日 #

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221113091933068-364665835.png) 阅读全文
posted @ 2022-11-13 09:19 超级无敌美少男战士 阅读(23) 评论(0) 推荐(0)

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221113091843005-1990133999.png) 阅读全文
posted @ 2022-11-13 09:19 超级无敌美少男战士 阅读(25) 评论(0) 推荐(0)

2022年11月12日 #

摘要: cnblog2anki from base64 import encode import os import re import shutil import easygui from subprocess import run from easygui import * from bs4 impor 阅读全文
posted @ 2022-11-12 21:50 超级无敌美少男战士 阅读(50) 评论(0) 推荐(0)

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221112190529489-2144474214.png) 阅读全文
posted @ 2022-11-12 19:06 超级无敌美少男战士 阅读(79) 评论(0) 推荐(0)

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221112190404978-868515014.png) 阅读全文
posted @ 2022-11-12 19:04 超级无敌美少男战士 阅读(72) 评论(0) 推荐(0)

2022年11月11日 #

摘要: import re def read_log(filePath): log = {} timeList = [] contentList = [] lastTime = None timeReg = r'((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[ 阅读全文
posted @ 2022-11-11 19:58 超级无敌美少男战士 阅读(57) 评论(0) 推荐(0)

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221111114618581-2035497202.png) 阅读全文
posted @ 2022-11-11 11:46 超级无敌美少男战士 阅读(19) 评论(0) 推荐(0)

摘要: Three.js 模型隐藏或显示 材质属性.visible 查看 Three.js 文档的基类Material,可以知道材质属性.visible的作用就是控制绑定该材质的模型对象是否可见,默认值是true,LineBasicMaterial、SpriteMaterial、MeshBasicMater 阅读全文
posted @ 2022-11-11 09:27 超级无敌美少男战士 阅读(542) 评论(0) 推荐(0)

摘要: { "header": { "mapType": "2D-Map", "mapName": "20221103161325514", "minPos": { "x": -43.899, "y": -12.276 }, "maxPos": { "x": 6.808, "y": 17.877 }, "r 阅读全文
posted @ 2022-11-11 08:45 超级无敌美少男战士 阅读(186) 评论(0) 推荐(0)

摘要: import socket import json import time import struct PACK_FMT_STR = '!BBHLH6s' IP = '10.13.32.11' Port = 19204 def packMasg(reqId, msgType, msg={}): ms 阅读全文
posted @ 2022-11-11 08:36 超级无敌美少男战士 阅读(144) 评论(0) 推荐(0)

2022年11月10日 #

摘要: ![image](https://img2022.cnblogs.com/blog/1222814/202211/1222814-20221110225517861-1317201042.png) 阅读全文
posted @ 2022-11-10 22:55 超级无敌美少男战士 阅读(36) 评论(0) 推荐(0)

摘要: 这种方式,也可以消除raycast的影响 物件简单,还好有,一旦复杂起来,就不好用了 阅读全文
posted @ 2022-11-10 22:54 超级无敌美少男战士 阅读(89) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页