博客文章

616 篇文章

DA
DealiAxy

Config-Software-mirrors-source-for-OpenSuSE-42-3

I just wrote a shell file to finish it. # Disable the system source sudo zypper mr -da # Add aliyun mirrors sudo zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/42.3/non-oss/ openSUS

Linux
AI
前端
+4
12-18
2022-06-17
9822
Linux
DA
DealiAxy

Chrome浏览器单独删除已保存的地址

步骤 在地址栏中输入地址,按方向键选择需要删除的地址, Windows/Linux Shift + Delete 删除。

杂七杂八
AI
前端
+4
12-18
2021-12-18
958
杂七杂八
DA
DealiAxy

ChatGLM-6B本地部署

下载项目代码 git clone https://github.com/THUDM/ChatGLM-6B.git 创建虚拟环境,建议使用 conda 管理 conda create -n chatglm python==3.8 安装依赖 conda activate chatglm pip install -r requirements.txt conda install cudatoolkit=

AI-炼丹
AI
前端
+4
04-23
2023-04-23
7604
AI-炼丹
DA
DealiAxy

CentOS6安装Nginx,Linux编译安装Nginx

前言 最近笔者把一个django项目部署到一个新的服务器上,而这个服务器给的是CentOS6版本的系统,官方源很旧,yum管理器被运维搞坏了,没办法加载epel源,所以想要用nginx就只能自己编译安装咯~ 下载nginx代码 首先到Nginx的官网下载安装文件。 链接:http://nginx.org/ 我用的版本是:nginx-1.12.1.tar.gz 安装编译所需环境 安装gcc 安装 n

Linux
AI
前端
+4
12-18
2022-06-17
2423
Linux
DA
DealiAxy

CSRF-verification-failed-Request-aborted

About the CSRF_Token (From Django Official Document) The CSRF middleware and template tag provides easy-to-use protection against Cross Site Request Forgeries. This type of attack occurs when a malici

0_Django开发常见问题
AI
前端
+4
12-18
2022-04-02
4839
0_Django开发常见问题
DA
DealiAxy

C#高性能数组拷贝实验

前言 昨天 wc(Wyu_Cnk) 提了个问题 C# 里多维数组拷贝有没有什么比较优雅的写法? 这不是问对人了吗?正好我最近在搞图像处理,要和内存打交道,我一下就想到了在C#里面直接像C/C++一样做内存拷贝。 优雅?no,要的就是装逼,而且性能还要强🕶 概念 首先澄清一下 C# 里的多维数组 (Multi-dimensional Array) 是这样的 byte[,] arr = new by

C#
AI
前端
+4
01-30
2023-01-30
7479
C#
90 页,共 103
每页: