摘要: 步骤:先使用appid&secret获取access_token->再使用access_token获取ticket->获取时间戳->创建随机字符串—>将前面的后3个以及传值过来的实时url根据字符的ASCII值进行排序,拼接 ->最后对拼接的字符串作sha1加密,字段名和字段值都采用原始值,不进行U 阅读全文
posted @ 2019-02-19 23:43 Moucong 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 1、安装screenyum install -y screen2、新建一个screenscreen -S xiedi这样会新开一个窗口,然后执行命令即可python manage.py runserver 0.0.0.0:90003、重开一个窗口,列出所有screen进程,如下 [root@dock 阅读全文
posted @ 2019-02-18 17:37 Moucong 阅读(3222) 评论(0) 推荐(0) 编辑
摘要: function getDouban(ISBN) { let url='https://api.douban.com/v2/book/isbn/'+ISBN jQuery(document).ready(function(){ $.ajax({ type : "GET", //jquey是不支持po 阅读全文
posted @ 2019-01-20 17:52 Moucong 阅读(398) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3# -*- coding: utf-8 -*-# @File : Spider# @Author : moucong# @Date : 2018/12/25 16:36# @Software: PyCharm from urllib import requestf 阅读全文
posted @ 2018-12-29 13:30 Moucong 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 版本对齐: 我使用的是 VMware-workstation-full-14.1.2-8497320 + unlocker209(用作识别mac系统) + Instal lOS X Yosemite 10.10.3(14D131).cdr(一定要用cdr格式,否则其他(包括iso,dmg镜像)无法识 阅读全文
posted @ 2018-08-17 10:58 Moucong 阅读(197) 评论(0) 推荐(0) 编辑
摘要: bug: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: ne 阅读全文
posted @ 2018-07-31 16:38 Moucong 阅读(1629) 评论(0) 推荐(0) 编辑
摘要: 很不错的一个网址https://blog.csdn.net/sinat_35626559/article/details/79734810 阅读全文
posted @ 2018-07-31 13:04 Moucong 阅读(228) 评论(0) 推荐(0) 编辑
摘要: #创建路径和用户mkdir -p /data/app/tomcat8 #解压tomcat包wget -p /data/download http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.32/bin/apache-tomc 阅读全文
posted @ 2018-07-30 09:34 Moucong 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3# -*- coding: utf-8 -*- import urllib.requestimport os from bs4 import BeautifulSoup # 网址url = # 更换部分Splicing = def get_web(get_url) 阅读全文
posted @ 2018-07-04 00:49 Moucong 阅读(4948) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3# -*- coding: utf-8 -*-# @File : delete_file# @Author : moucong# @Date : 2018/4/1 16:33# @Software: PyCharm#读取docx中的文本代码示例import doc 阅读全文
posted @ 2018-04-14 23:53 Moucong 阅读(15572) 评论(1) 推荐(0) 编辑