原创 Python FASTAPI 返回 XML Response

fastapi 目前對 XML 的支持還不是太好 工作需要返回XML的格式的數據,就研究了一下。 原來處理XML的時候 基本就用 ElementTree,所以就打包一個簡單的 ElementTree的 FastAPI 的數據服務。 bai

原创 MongoDB Basic Usage 應用

Official Site https://www.mongodb.org.cn/https://www.mongodb.com Simple Study https://www.runoob.com/python3/python-mon

原创 Visual Studio 使用 Markdown 繪製流程圖等

Plugin Markdown Preview Mermaid Support 裝完以後重啓 使用 Mermaid mermaid offical website Flow Chart Reference VScode畫流程圖

原创 SOAP Test in JAVA

package test; import org.w3c.dom.Document; import java.io.ByteArrayInputStream; import java.io.IOException; import

原创 Python - Flask 無腦學習實踐 (三)Flask Blueprint 使用和運行的簡單說明

這裏有兩種可以使用 BluePrint 的方法 Folder as working URI 使用文件夾作爲一個對應的 URI 的訪問路徑。http://test.com/api 中 api 對應項目中的一個文件夾 File as

原创 ARIS 一些網站

ARIS Community ARIS-Express 點贊 收藏 分享 文章舉報 Wuerselen 發佈了48 篇原創文章 · 獲贊 6 · 訪問量 7萬+ 私信

原创 Python Install packages

@[TOC]Python Install Packages 新的筆記本裝機,大家都在用 VS Code,試試 安裝VS Code ,看看能支持的最新的Python 版本; 安裝 python 3.7.3 (so far); VS

原创 MySql 8.0 WIN portable setup With My.ini

事先備份數據庫 https://www.cnblogs.com/RayWang/p/9347874.html   # For advice on how to change settings please see # http://dev

原创 Mysql Load Data Infile

LOAD DATA INFILE 'D:/Temp/fileToImport.csv' INTO TABLE db.mytable FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' L

原创 MySql Create Table 不支持 CONCAT 拼接字符串 作爲表名

MySql Create Table 不支持 CONCAT 拼接字符串 作爲表名,需要Create 有拼接字符串的表明注意一下。 MYSQL不支持直接使用變量做表名 創建存儲過程 begin DECLARE tblname VARCHA

原创 VS .NetSDK 找到 xsd.exe 用來生成XML class

搜索了很久找到了xsd.exe,在文件夾裏面 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\xsd.exe https://docs.

原创 VS Code IDE Output 輸出亂碼

File -> References -> Settings -> Commonly Used 加入這句話:"code-runner.runInTerminal": true

原创 How to change language in Visual Studio 2019 (after installation)

From: https://agirlamonggeeks.com/2019/03/10/how-to-change-language-in-visual-studio-2019-after-installation/ From: htt

原创 Drop Tables in Mysql 刪除多個表

1. 使用 如下sql 得到要 刪除表 的 命令 SELECT concat('DROP TABLE IF EXISTS `', table_name, '`;') FROM information_schema.tables WHER

原创 Redis 新手小白上路

一、安裝Redis Redis官網下載地址:http://redis.io/download,下載相應版本的Redis,在運行中輸入cmd,然後把目錄指向解壓的Redis目錄。  我是Windows 10 + C# 開發,所以找一個 W