摘要:
# 删除远程 git rm -r --cached rbac/utils/config.py # 删除本地 rm -rf rbac/utils/config.py git commit -m "文件" 阅读全文
摘要:
https://www.icode9.com/content-4-223704.html 阅读全文
摘要:
python manage.py makemigrations <appname> python manage.py migrate <appname> 阅读全文
摘要:
def get_client_ip(request): x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') if x_forwarded_for: ip = x_forwarded_for.split(',')[0] # 所以这里是真 阅读全文
摘要:
import uuid def get_mac_address(): node = uuid.getnode() mac = uuid.UUID(int=node).hex[-12:] print(mac) return mac get_mac_address() 阅读全文
摘要:
安装 https://liqiang.io/post/install-snap-in-centos-cd98d073 启动 https://www.jianshu.com/p/42739a0182ff 安装本地包 https://blog.csdn.net/qq_25540095/article/d 阅读全文
摘要:
https://blog.csdn.net/nahancy/article/details/86316971 阅读全文
摘要:
git config credential.helper store 阅读全文
摘要:
实用例子 from sklearn import datasets import matplotlib.pyplot as plt # # 簇 # x, y = datasets.make_blobs(n_samples=1000, n_features=4, centers=4, cluster_ 阅读全文
摘要:
1、简易安装模块 conda install scikit-learn 失败看下面链接 https://sklearn.apachecn.org/docs/master/62.html 2、整体过程(与tensorflow相似) 1)、获取数据 2)、建模 3)、训练模型 4)、测试模型 3、简单案 阅读全文