Loading

上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 前言: 在使用Django框架开发web项目时,很多时候需要设置定时任务或让用户手动在页面上设置定时任务 在Django中实现定时任务功能大概有以下三种方法: Celery 分布式任务队列。侧重实时操作,可用于生产系统处理数以百万计的任务,都用于大型项目,配置和使用较为复杂。由于它本身不支持消息存储 阅读全文
posted @ 2023-12-07 11:38 ThankCAT 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: 一、下载MySQL安装包 下载地址:https://downloads.mysql.com/archives/community/ 二、备份 mkdir /home/mysqlback mysqldump -u root -p --all-databases > /home/mysqlback/my 阅读全文
posted @ 2023-11-16 11:53 ThankCAT 阅读(527) 评论(0) 推荐(0) 编辑
摘要: Nginx+uwsgi+ssl配置https 使用原始django,太过于笨重和杂多nginx是一个轻量级的web服务器,在处理静态资源和高并发有优势uwsgi是一个基于python的高效率的协议,处理后端和动态网页有优势所以这里采用静态网页交给nginx解析,动态网页交给uwsgi解析,并且ngi 阅读全文
posted @ 2023-10-25 10:47 ThankCAT 阅读(72) 评论(0) 推荐(0) 编辑
摘要: Centos7部署django+uwsgi+nginx Django + uwsgi + nginx on Centos7 wsgi 介绍 本小节来自 廖雪峰 wsgi 一文 一个Web应用的本质就是: 浏览器发送一个HTTP请求; 服务器收到请求,生成一个HTML文档; 服务器把HTML文档作为H 阅读全文
posted @ 2023-10-25 09:26 ThankCAT 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Nginx 安装环境 安装 gcc 安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要安装: yum install gcc-c++ 安装 PCRE pcre-devel PCRE(Perl Compatible Regular Expressi 阅读全文
posted @ 2023-10-25 09:20 ThankCAT 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # Jadx安装与配置 1. 安装jadx ~~~shell brew install jadx ~~~ 2. 配置环境变量 1. 先找到java安装位置 ~~~shell (base) # chen at Little-M1-Wrok in /usr/bin [16:14:19] C:1 $ /u 阅读全文
posted @ 2023-08-14 16:47 ThankCAT 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 探索核函数的优势和缺陷 from sklearn.datasets import load_breast_cancer from sklearn.model_selection import train_test_split from sklearn.svm import SVC import ma 阅读全文
posted @ 2023-04-25 16:38 ThankCAT 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 探索核函数在不同数据集上的表现 导入模块 import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from sklearn import svm from skle 阅读全文
posted @ 2023-04-24 21:22 ThankCAT 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 线性 SVM 决策过程的可视化 导入模块 from sklearn.datasets import make_blobs from sklearn.svm import SVC import matplotlib.pyplot as plt import numpy as np 实例化数据集,可视化 阅读全文
posted @ 2023-04-23 22:40 ThankCAT 阅读(307) 评论(0) 推荐(0) 编辑
摘要: from sklearn.datasets import make_blobs import matplotlib.pyplot as plt x, y = make_blobs(n_samples=500, n_features=2, centers=4, random_state=1) colo 阅读全文
posted @ 2023-04-21 00:45 ThankCAT 阅读(25) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页