最新发布第20页
How to force concurrent tests to run on a specific actor 如何强制并发测试在特定actor上运行-Stewed Noodles 资源

How to force concurrent tests to run on a specific actor 如何强制并发测试在特定actor上运行

Swift Testing and XCTest behave differently when it comes to running tests in parallel: unless you say otherwise, Swift Testing will run both synchronous and asynchronous tests on ...
StoreView 商店视图-Stewed Noodles 资源
环境搭建-Stewed Noodles 资源

环境搭建

硬件部分 硬件部分,我们可以直接申请免费云资源 阿里云 GPU 以及 CPU 资源 Kaggle GPU 以及 CPU 资源 Google GPU 以及 CPU 资源 阿里云GPU(相对麻烦) 点击以下链接,进入申请页面 https://fr...
NumPy 的使用-Stewed Noodles 资源

NumPy 的使用

NumPy 用于处理多维数组或矩阵。具体的使用步骤 引入NumPy库 矩阵基本运算 基本使用 import numpy as np # 创建一维数组 arr1 = np.array([1, 2, 3, 4, 5]) # 打印数组 print('一维数组:', arr1...
Plex 设置 HTTP 网络代理-Stewed Noodles 资源

Plex 设置 HTTP 网络代理

文件的位置 /var/packages/PlexMediaServer/scripts/start-stop-status。 start-stop-status 文件 代码内容如下 # Set proxy export HTTP_PROXY='http://192.168.50.1:3333' export HTTPS_PROXY...
jiulinxiri的头像-Stewed Noodles 资源烩之面大会员jiulinxiri6个月前
0190
Lambda 表达式-Stewed Noodles 资源

Lambda 表达式

将函数赋值给一个变量,它就变为一个函数字面量。Kotlin 提供了两种类型的函数字面量。 Lambda 表达式 匿名函数 基本介绍 语法 lambda 表达式通常与高阶函数一起使用,为这些函数提供自定义行为...
List-Stewed Noodles 资源

List

Scrolling Column Modifier.verticalScroll(scrollState) 将 Column 变为可滚动。 @Composable fun ScrollingColumn() { // 创建一个滚动状态 val scrollState = rememberScrollState() Column(...
jiulinxiri的头像-Stewed Noodles 资源烩之面大会员jiulinxiri2个月前
0190
Docker 部署 Ollama-Stewed Noodles 资源

Docker 部署 Ollama

安装 ollama这里采用 docker 进行 ollama 的部署。部署支持 CPU 也支持 GPU, 详情参考https://hub.docker.com/r/ollama/ollama。这里采用 CPU 的安装模式,安装命令如下docker run -d -v /opt/...
jiulinxiri的头像-Stewed Noodles 资源烩之面大会员jiulinxiri2年前
0180
matplotlib 中文显示-Stewed Noodles 资源

matplotlib 中文显示

在 PyChorm 中使用利用虚拟环境进行matplotlib绘制图像中显示中文。 下载字体 使用 SimHei字体,点击此处链接进行字体下载。 ttf文件存储位置 进入 Python 脚本,执行以下操作 >>> imp...
jiulinxiri的头像-Stewed Noodles 资源烩之面大会员jiulinxiri2年前
0180
Day 15 - 咖啡机-Stewed Noodles 资源

Day 15 – 咖啡机

MENU = { 'espresso': { 'ingredients': { 'water': 50, 'coffee': 18, }, 'cost': 1.5, }, 'latte': { 'ingredients': { 'water': 200, 'milk': 150, 'coffee': 24, }, 'cost': 2.5, }, 'cappu...
jiulinxiri的头像-Stewed Noodles 资源烩之面大会员jiulinxiri2年前
0180