自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 github pages 搭建个人博客

github pages 搭建个人博客登录github创建个人仓库将远程仓库clone到本地设置远程仓库新建测试主页在本地仓库文件夹下新建 index.html<!DOCTYPE html><html> <head></head> <body> <p>hello, git page!...

2020-04-10 09:49:10 288

原创 GenericViewSet配合扩展类的使用

GenericViewSet配合扩展类的使用urls.pyfrom django.conf.urls import url, includefrom rest_framework_extensions.routers import ExtendedSimpleRouterfrom .views import CompetitionViewSetrouter = ExtendedSi...

2020-02-29 22:13:10 544

原创 XAdmin

XAdmin下载git clone git@github.com:sshwsfc/xadmin.git基本使用项目名称为 kobe将xadmin文件夹复制到django项目中├── kobe│   ├── __init__.py│   ├── error_handler.py│   ├── middleware.p...

2020-02-29 21:54:39 334

原创 爬虫 cookies 操作

爬虫 cookies 操作requestsimport requestsfrom requests.cookies import RequestsCookieJarsession = requests.session()driver_cookies = [{'domain': 'web.immomo.com', 'httpOnly': False, 'name': '111', 'pat...

2019-11-05 21:25:09 219

转载 Hadoop之Unable to load native-hadoop library问题解决

Hadoop之Unable to load native-hadoop library问题解决https://www.jianshu.com/p/f25a0caafcc6

2019-07-23 18:09:11 374

原创 centos安装jdk后,没有/lib/ld-linux.so.2

centos安装jdk后,没有/lib/ld-linux.so.2环境:centos 7jdk1.8.0_211问题:[外链图片转存失败(img-m69i0PJM-1562143228650)(file:///C:\Users\ASUS\AppData\Roaming\Tencent\Users\875698429\TIM\WinTemp\RichOle\M6IQQ{TQNG}_8K...

2019-07-03 16:41:58 191

原创 uwsgi error while loading shared libraries libpcre

uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory环境:Ubuntu / 14.04.1 64位python 3.6错误:uwsgi: error while loading shared librari...

2019-05-29 11:05:05 775

原创 CondaHTTPError HTTP 404 NOT FOUND for url httpsmirrors

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch/repodata.json环境:Ubuntu / 14.04.1conda 4.5.12错误:今天用conda创建虚拟环境报这个错误:Solving environment...

2019-05-29 09:58:37 6427

原创 djangopython manage

django:python manage.py runserver报错环境:​ python 3.6​ django 2.2错误信息:Watching for file changes with StatReloaderException in thread Thread-1:Traceback (most recent call last): File "/Users/soft...

2019-05-23 15:14:13 546

原创 Navicat 连接mysql报错: caching_sha2_password’ cannot be loaded

Navicat 连接mysql报错:caching_sha2_password’ cannot be loaded环境:macPromysql 8.0.15解决:ALTER USER "root"@"localhost" IDENTIFIED WITH mysql_native_password by "root密码";FLUSH PRIVILEGES;...

2019-04-25 11:01:48 699

原创 爬虫 定时任务

爬虫 定时任务环境python3.6爬虫文件问题1: 输出汉字会报错# 首行加这段代码sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())问题2: 读取json文件with open("/root/work/vivo/static/all", "rb") as f: b = json.loads(...

2019-04-16 16:00:03 770

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除