摘要: ![](https://img2020.cnblogs.com/blog/1462301/202106/1462301-20210613130209345-1888502435.png) ![](https://img2020.cnblogs.com/blog/1462301/202106/1462301-20210613130216472-1654509737.png) 阅读全文
posted @ 2021-06-13 13:02 姜文文 阅读(24) 评论(0) 推荐(0) 编辑
摘要: ```#!/usr/bin/env python# -*- coding: utf-8 -*-import pdfkitimport osimport reimport timeimport sysimport randomsys.path.append('../' )from mytools import mailimport loggingimport requestsfrom bs4 imp... 阅读全文
posted @ 2020-01-13 16:54 姜文文 阅读(419) 评论(2) 推荐(0) 编辑
摘要: ``` #!/usr/bin/env python # -*- coding: utf-8 -*- import json with open('C:/Users/jiangwenwen/Desktop/test.json', 'a', encoding='utf-8') as file: for i in range(100): data = {} data[i] = {"S" : "姜文文"} 阅读全文
posted @ 2019-11-12 22:11 姜文文 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ``` // 冒泡循环 public static void main(String [] args) { int [] ns = {1, 3, 2, 7 ,9}; // 控制循环次数 for (int i = 0; i ns[j+1]) { int tmp = ns[j]; ns[j] = ns[j+1]; ns [j+1] = tmp; } } } System.out.println(Arr 阅读全文
posted @ 2019-10-27 14:18 姜文文 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ``` // 安装编译器 sudo apt get install build essential // 下载所需依赖及apache2源码包 wget no check certificate https://www eu.apache.org/dist//apr/apr 1.7.0.tar.gz 阅读全文
posted @ 2019-10-06 14:53 姜文文 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 第一种: 第二种: 第三种: 第四种: 阅读全文
posted @ 2019-09-22 09:45 姜文文 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 搭建git服务器 安装git 添加用户并切换到新建用户 添加公钥到 中 初始化仓库 禁用shell登录 克隆远程仓库 新建仓库切记更改权限 阅读全文
posted @ 2019-09-12 00:37 姜文文 阅读(99) 评论(0) 推荐(0) 编辑
摘要: For each row merged by a MERGE statement. The reference to NEXTVAL can appear in the merge_insert_clause or the merge_update_clause or both. The NEXTV 阅读全文
posted @ 2019-07-16 23:52 姜文文 阅读(463) 评论(0) 推荐(0) 编辑
摘要: ``` RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ``` 阅读全文
posted @ 2019-06-26 11:57 姜文文 阅读(489) 评论(0) 推荐(0) 编辑
摘要: ``` #!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'jiangwenwen' from bs4 import BeautifulSoup html_doc = """""" soup = BeautifulSoup(html_doc, 'html.parser') for row in soup.findAll(... 阅读全文
posted @ 2019-05-27 00:03 姜文文 阅读(1170) 评论(0) 推荐(1) 编辑