摘要:```#!/usr/bin/env python# -*- coding: utf-8 -*-import pdfkitimport osimport reimport timeimport sysimport randomsys.path.append('../' )from mytools import mailimport loggingimport requestsfrom bs4 imp... 阅读全文
摘要:``` #!/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" : "姜文文"} 阅读全文
摘要:``` // 冒泡循环 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 阅读全文
摘要:``` // 安装编译器 sudo apt get install build essential // 下载所需依赖及apache2源码包 wget no check certificate https://www eu.apache.org/dist//apr/apr 1.7.0.tar.gz 阅读全文
摘要:第一种: 第二种: 第三种: 第四种: 阅读全文
摘要:搭建git服务器 安装git 添加用户并切换到新建用户 添加公钥到 中 初始化仓库 禁用shell登录 克隆远程仓库 新建仓库切记更改权限 阅读全文
摘要: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 阅读全文
摘要:```
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
``` 阅读全文
摘要:```
#!/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(... 阅读全文
摘要:观察上方是否出现两个同样的项目,删除不需要的那个,我觉得是因为两个项目同时引用一个根目录文件导致的。 阅读全文