摘要: 基本操作 安装vagrant 安装vmware-utility 配置环境变量 下载vmware-desktop插件 vagrant plugin install vagrant-vmware-desktop 下载centos7-box https://mirrors.ustc.edu.cn/cent 阅读全文
posted @ 2022-10-27 20:43 七つ一旋桜 阅读(775) 评论(0) 推荐(0)
摘要: 准备 这个库需要nightly版本的rust,因此需要切换到nightly rustup toolchain install nightly # 下载nightly版本 rustup override set nightly # 临时切换 rustup default nightly # 将默认版本 阅读全文
posted @ 2022-10-17 13:36 七つ一旋桜 阅读(130) 评论(0) 推荐(0)
摘要: # 依赖 ```go import ( sq "github.com/Masterminds/squirrel" _ "github.com/go-sql-driver/mysql" "github.com/jmoiron/sqlx" ) ``` 定义数据实体 ```go type User str 阅读全文
posted @ 2022-10-12 12:25 七つ一旋桜 阅读(583) 评论(0) 推荐(0)
摘要: 默认的toolchain是stable-x86_64-pc-windows-msvc 也可以使用stable-x86_64-pc-windows-gnu gnu结尾的需要mingw32 默认的需要vs c++ build tool rustup install <toolchain> # toolc 阅读全文
posted @ 2022-10-10 23:09 七つ一旋桜 阅读(221) 评论(0) 推荐(0)
摘要: ```shell git clone https://github.com/ultralytics/yolov5 cd yolov5 pip install -r requirements.txt ``` 然后是去roboflow下载数据集 里面一般解压完会有一个data.yaml,要在里面修改两个 阅读全文
posted @ 2022-10-06 13:59 七つ一旋桜 阅读(80) 评论(0) 推荐(0)
摘要: 安裝wasm-pack cargo install wasm-pack 新建rust lib 項目 cargo new --lib <project name> 配置Cargo.toml [package] name = "rust_wasm" version = "0.1.0" edition = 阅读全文
posted @ 2022-09-30 19:16 七つ一旋桜 阅读(358) 评论(0) 推荐(0)
摘要: java 添加依赖 <repositories> <repository> <id>nexus-tencentyun</id> <name>Nexus tencentyun</name> <url>http://mirrors.cloud.tencent.com/nexus/repository/m 阅读全文
posted @ 2022-09-07 22:34 七つ一旋桜 阅读(839) 评论(1) 推荐(0)
摘要: 核心代码为 foldl (\x y -> x `xor` y) 0 $ filter (\x -> bits !! x /= 0) [0..length bits - 1] import Data.Bits solve bits = foldl (\x y -> x `xor` y) 0 $ fil 阅读全文
posted @ 2022-08-25 23:06 七つ一旋桜 阅读(54) 评论(0) 推荐(0)
摘要: ![image](https://img2022.cnblogs.com/blog/2267877/202208/2267877-20220823160111991-687621180.jpg) 阅读全文
posted @ 2022-08-23 16:02 七つ一旋桜 阅读(55) 评论(0) 推荐(0)
摘要: 使用ghcup安装haskell 详细参考如下 GHCup 源使用帮助 — USTC Mirror Help 文档 windows: # Windows 用户:以非管理员身份在 PowerShell 中运行如下命令 $env:BOOTSTRAP_HASKELL_YAML = 'https://mir 阅读全文
posted @ 2022-08-06 10:50 七つ一旋桜 阅读(968) 评论(0) 推荐(1)