怪奇物语

怪奇物语

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

2023年2月11日 #

摘要: tortoise-orm在fastapi中的使用 """ Tortoise ORM """ from tortoise.contrib.fastapi import register_tortoise from tortoise.contrib.pydantic import pydantic_mo 阅读全文
posted @ 2023-02-11 06:35 超级无敌美少男战士 阅读(356) 评论(0) 推荐(0)

2023年2月10日 #

摘要: fastapi_sqlalchemy """ SQLAlchemy """ # SQlAlchemy from sqlalchemy import Column, Integer, String, DateTime, func, select from sqlalchemy.orm import d 阅读全文
posted @ 2023-02-10 23:41 超级无敌美少男战士 阅读(145) 评论(0) 推荐(0)

摘要: /Users/song/Code/sqlalchemy_learn_20230210/le00.py from sqlalchemy import Column, String, create_engine,Integer from sqlalchemy.orm import sessionmake 阅读全文
posted @ 2023-02-10 23:07 超级无敌美少男战士 阅读(259) 评论(0) 推荐(0)

2023年2月9日 #

摘要: /Users/song/Code/threejs_learn_vanilla_class_singleton/threejs_learn_vanilla_ts_class_singleton/src/main.ts import "./style.css"; import Base from "./ 阅读全文
posted @ 2023-02-09 22:28 超级无敌美少男战士 阅读(60) 评论(0) 推荐(0)

摘要: /Users/song/Code/threejs_learn_vanilla_class_singleton/threejs_learn_vanilla_ts_class_singleton/src/threejs_全局事件管理/Base.ts import { Light, Object3D, S 阅读全文
posted @ 2023-02-09 22:14 超级无敌美少男战士 阅读(533) 评论(0) 推荐(0)

2023年2月4日 #

摘要: 改键图 大小写切换键,基本用不到,所以改成ctrl键,这个和hhkb的设计正好 原来的control键,可改可不改,其实保留更好,这样在mac中使用快捷键比较方便,如果有经常使用大写字母的场景,可以改成大小写切换键 然后就是option键和command键互换,在windows的键盘上就是alt键和 阅读全文
posted @ 2023-02-04 15:59 超级无敌美少男战士 阅读(594) 评论(0) 推荐(0)

2023年2月3日 #

摘要: ![image](https://img2023.cnblogs.com/blog/1222814/202302/1222814-20230203171638776-1794739995.png) ![image](https://img2023.cnblogs.com/blog/1222814/202302/1222814-20230203172003923-1082094913.png) ![ 阅读全文
posted @ 2023-02-03 17:17 超级无敌美少男战士 阅读(17) 评论(0) 推荐(0)

2023年2月1日 #

摘要: setting.json { // // yapf // "python.formatting.provider": "yapf", "python.formatting.yapfArgs": ["--style", "{column_limit: 150}"], // autopep8 "pyth 阅读全文
posted @ 2023-02-01 22:24 超级无敌美少男战士 阅读(66) 评论(0) 推荐(0)

摘要: socketio http 测试 vite vanilla创建项目 import { io } from "socket.io-client"; import axios from "axios"; const axiosInstance = axios.create({ baseURL: "htt 阅读全文
posted @ 2023-02-01 17:20 超级无敌美少男战士 阅读(143) 评论(0) 推荐(0)

2023年1月31日 #

摘要: D:\code3\socketio_express_mongodb\ExpressJS-SocketIO-Boilerplate\config.js /** * Web server port */ const SERVER_PORT = 3005; /** * Session settings * 阅读全文
posted @ 2023-01-31 23:30 超级无敌美少男战士 阅读(24) 评论(0) 推荐(0)

2023年1月30日 #

摘要: E:\song2\fastapi_socketio_chatroom\app.py # socketio import socketio # fastapi from fastapi import FastAPI, WebSocket, Request, WebSocketDisconnect fr 阅读全文
posted @ 2023-01-30 09:04 超级无敌美少男战士 阅读(142) 评论(0) 推荐(0)

2023年1月29日 #

摘要: socketio的小练习 服务端 # socketio import socketio # fastapi from fastapi import FastAPI, WebSocket, Request, WebSocketDisconnect from fastapi.responses impo 阅读全文
posted @ 2023-01-29 17:07 超级无敌美少男战士 阅读(252) 评论(0) 推荐(0)

摘要: 代码 import socketio from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import RedirectResponse # app 阅读全文
posted @ 2023-01-29 10:55 超级无敌美少男战士 阅读(224) 评论(0) 推荐(0)

2023年1月28日 #

摘要: D:\code_gitee\fastapi-socketio-example-main\fastapi-socketio-example-main\app.py import os import pathlib import secrets import time from typing impor 阅读全文
posted @ 2023-01-28 19:41 超级无敌美少男战士 阅读(257) 评论(0) 推荐(0)

2023年1月15日 #

摘要: D:\code_gitee\flask_socketio_online-ping-demo-master\online-ping-demo-master\python3\app.py #!/usr/bin/python3 # -*- coding: utf-8 -*- from flask impo 阅读全文
posted @ 2023-01-15 20:34 超级无敌美少男战士 阅读(73) 评论(0) 推荐(0)

摘要: D:\code_gitee\html_crostest\htmo_crostest\index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg 阅读全文
posted @ 2023-01-15 20:32 超级无敌美少男战士 阅读(32) 评论(0) 推荐(0)

2023年1月14日 #

摘要: D:\code_gitee\python_get_msedge_history\新建文件夹\cnblog2anki.py from base64 import encode import os import re import shutil import easygui import request 阅读全文
posted @ 2023-01-14 23:01 超级无敌美少男战士 阅读(48) 评论(0) 推荐(0)

2023年1月12日 #

摘要: 代码逻辑图 E:\song\下载的文件\fastapi-socketio-example-master\backend\asgi.py import uvicorn from api import config, app if __name__ == '__main__': uvicorn.run( 阅读全文
posted @ 2023-01-12 19:23 超级无敌美少男战士 阅读(285) 评论(0) 推荐(0)

2023年1月10日 #

摘要: absl-py==1.2.0 altgraph==0.17.3 anyio==3.6.2 APScheduler==3.9.1.post1 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 asgiref==3.5.2 asttokens==2.0.8 阅读全文
posted @ 2023-01-10 17:06 超级无敌美少男战士 阅读(52) 评论(0) 推荐(0)

2023年1月9日 #

摘要: D:\code_gitee\python_socket\agvServer.ts import { createServer } from "net"; const server = createServer(); server.listen(19204, "localhost"); server. 阅读全文
posted @ 2023-01-09 22:47 超级无敌美少男战士 阅读(34) 评论(0) 推荐(0)

摘要: 解压文件和创建两个文件夹 配置一个文件 将上面的两个文件夹路径添加到文件中 同时添加npm的淘宝镜像源 cache=D:\node-v16.17.0-win-x64\node_cache prefix=D:\node-v16.17.0-win-x64\node_global registry=htt 阅读全文
posted @ 2023-01-09 17:20 超级无敌美少男战士 阅读(113) 评论(0) 推荐(0)

2023年1月6日 #

摘要: ![image](https://img2023.cnblogs.com/blog/1222814/202301/1222814-20230106225233178-1224567576.png) 阅读全文
posted @ 2023-01-06 22:52 超级无敌美少男战士 阅读(17) 评论(0) 推荐(0)

2023年1月5日 #

摘要: https://tieba.baidu.com/p/8001363205?fr=ala0&pstaala=2&tpl=5&fid=18710361 阅读全文
posted @ 2023-01-05 19:40 超级无敌美少男战士 阅读(487) 评论(0) 推荐(0)

摘要: https://code.visualstudio.com/docs/editor/portable 阅读全文
posted @ 2023-01-05 19:39 超级无敌美少男战士 阅读(101) 评论(0) 推荐(0)

2023年1月3日 #

摘要: ![image](https://img2023.cnblogs.com/blog/1222814/202301/1222814-20230103153858116-1954892502.png) 阅读全文
posted @ 2023-01-03 15:39 超级无敌美少男战士 阅读(48) 评论(0) 推荐(0)

摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文
posted @ 2023-01-03 13:47 超级无敌美少男战士 阅读(65) 评论(0) 推荐(0)

摘要: ![image](https://img2023.cnblogs.com/blog/1222814/202301/1222814-20230103085655672-1452781008.png) ![image](https://img2023.cnblogs.com/blog/1222814/202301/1222814-20230103095650596-2058731149.png) ![ 阅读全文
posted @ 2023-01-03 08:57 超级无敌美少男战士 阅读(31) 评论(0) 推荐(0)

2022年12月30日 #

摘要: /** * @param {number} n * @return {string[][]} */ let solveNQueens = function (n) { let res = [] // 已摆放皇后的的列下标 let columns = [] // 已摆放皇后的对角线1下标 左下 -> 阅读全文
posted @ 2022-12-30 19:35 超级无敌美少男战士 阅读(42) 评论(0) 推荐(0)

摘要: const arr = [1, 2] console.log(!arr[0]) // false console.log(!arr[1]) // false console.log(!arr[2]) // true 阅读全文
posted @ 2022-12-30 19:29 超级无敌美少男战士 阅读(124) 评论(0) 推荐(0)

摘要: // contact和push的区别 // contact会返回一个新的数组 const arr = [1, 2, 3] const arr2 = arr.concat(4) console.log(arr) console.log(arr2) console.log(arr2 arr) // fa 阅读全文
posted @ 2022-12-30 19:27 超级无敌美少男战士 阅读(54) 评论(0) 推荐(0)

摘要: GroupAdd auo_gruop, ahk_exe msedge.exe GroupAdd auo_gruop, ahk_exe chrome.exe GroupAdd auo_gruop, ahk_exe snipaste.exe GroupAdd auo_gruop, ahk_exe msp 阅读全文
posted @ 2022-12-30 07:02 超级无敌美少男战士 阅读(175) 评论(0) 推荐(0)

2022年12月29日 #

摘要: // 连接两个数组 const a1 = [1, 2, 3]; const a2 = [4, 5, 6]; const a3 = a1.concat(a2); console.log(a3); console.log( " " ); const b1 = ["red", "orange", "yel 阅读全文
posted @ 2022-12-29 19:56 超级无敌美少男战士 阅读(30) 评论(0) 推荐(0)

2022年12月28日 #

摘要: <template> <div class="absolute top-1/3 left-1/3 select-none"> <div class="flex justify-center w-full"> <kbd class="kbd w-16 h-12" @mousedown="goUpDow 阅读全文
posted @ 2022-12-28 16:44 超级无敌美少男战士 阅读(62) 评论(0) 推荐(0)

2022年12月27日 #

摘要: D:\code_gitee\threejs_learn_vanilla_class_singleton\threejs_learn_vanilla_ts_class_singleton\index.html <!DOCTYPE html> <html lang="en"> <head> <meta 阅读全文
posted @ 2022-12-27 09:25 超级无敌美少男战士 阅读(58) 评论(0) 推荐(0)

2022年12月26日 #

摘要: ECharts 的 series 配置项主要有以下几种: name:图表的名称。 type:图表类型。 data:数据。 markPoint:标记点。 markLine:标记线。 markArea:标记区域。 smooth:平滑曲线。 itemStyle:单个数据项的样式。 label:标签配置。 阅读全文
posted @ 2022-12-26 21:36 超级无敌美少男战士 阅读(1441) 评论(0) 推荐(0)

2022年12月21日 #

摘要: E:\song\agv_fastapi_socket_v4_mock\app.py import time from fastapi import FastAPI, WebSocket, Request, WebSocketDisconnect from fastapi.responses impo 阅读全文
posted @ 2022-12-21 14:56 超级无敌美少男战士 阅读(89) 评论(0) 推荐(0)

2022年12月18日 #

摘要: D:\code_gitee\abigail-bloom-portolio-bokoko33\index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image 阅读全文
posted @ 2022-12-18 11:34 超级无敌美少男战士 阅读(100) 评论(0) 推荐(0)

摘要: D:\code_gitee\threejs_learn_vanilla_class_singleton\threejs_learn_vanilla_ts_class_singleton\index.html <!DOCTYPE html> <html lang="en"> <head> <meta 阅读全文
posted @ 2022-12-18 11:26 超级无敌美少男战士 阅读(70) 评论(0) 推荐(0)

2022年12月14日 #

摘要: 输出效果 代码 import { PlaneGeometry, Scene, PerspectiveCamera, WebGLRenderer, Object3D, Clock, AnimationMixer, Color, AmbientLight, DirectionalLight, GridH 阅读全文
posted @ 2022-12-14 22:32 超级无敌美少男战士 阅读(813) 评论(0) 推荐(0)

摘要: ![image](https://img2023.cnblogs.com/blog/1222814/202212/1222814-20221214205604125-1335726927.png) 阅读全文
posted @ 2022-12-14 20:57 超级无敌美少男战士 阅读(66) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页