摘要: <DataGrid.ContextMenu> <ContextMenu> <MenuItem Header="Export Selected" Command="{Binding ExportSelectedCommand}" CommandParameter="{Binding RelativeS 阅读全文
posted @ 2026-02-08 10:55 FredGrit 阅读(0) 评论(0) 推荐(0)
摘要: import uuid from datetime import datetime import time import pandas as pd import pymysql import asyncio class Book: def __init__(self,id,name,isbn,aut 阅读全文
posted @ 2026-02-08 09:04 FredGrit 阅读(2) 评论(0) 推荐(0)
摘要: mysqldump -u root -p async_mysql_test > async_mysql_test_backup.sql create database if not exists async_mysql_test_backup; mysql -u root -p async_mysq 阅读全文
posted @ 2026-02-04 20:59 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: python -m pip install aiomysql -i https://pypi.tuna.tsinghua.edu.cn/simple create database if not exists async_mysql_test; use async_mysql_test; creat 阅读全文
posted @ 2026-02-04 20:48 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: python -m pip install pymysql -i https://pypi.tuna.tsinghua.edu.cn/simple import uuid import time import threading from datetime import datetime impor 阅读全文
posted @ 2026-02-03 22:35 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: Install-Package OpenCVSharp4 Install-Package OpenCVSharp4.runtime.win using System.IO; using System.Text; using System.Windows; using System.Windows.C 阅读全文
posted @ 2026-01-20 21:38 FredGrit 阅读(9) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader,random_split from torchvision import datasets,t 阅读全文
posted @ 2026-01-14 22:49 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: Install-Package ZXing.Net Install-Package Newtonsoft.Json public static class QrCodeGenerator { public static BitmapImage GeneratorBookQrCode(Book bk, 阅读全文
posted @ 2026-01-12 23:02 FredGrit 阅读(10) 评论(0) 推荐(0)
摘要: Get-Project -All|Install-Package livecharts.wpf Get-Project -All|Install-Package Prism.DryIoc -version 8.1.97 Get-Project -All|Install-Package Prism.W 阅读全文
posted @ 2026-01-11 18:49 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: //MainWindow.xaml <Window x:Class="WpfApp49.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2026-01-09 22:39 FredGrit 阅读(8) 评论(0) 推荐(0)