Skip to content

Instantly share code, notes, and snippets.

View Casxt's full-sized avatar
💭
I may be slow to respond.

Forer Casxt

💭
I may be slow to respond.
View GitHub Profile
# set
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
# unset
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
darknet detect cfg/yolov3.cfg yolov3.weights -i 0 -thresh 0.25 1.jpg
eg.com:443 {
proxy /hk http://localhost:1081 {
header_upstream Connection {>Connection}
header_upstream Upgrade {>Upgrade}
}
filebrowser / /mnt/filedisk {
database /etc/filebrowser/filebrowser.db
auth_method json
}
@Casxt
Casxt / multipart_post.py
Created June 22, 2020 06:03
python3 request multipart post example
import requests
import io
import json
from pprint import pprint
buffer = b'123123123'
params = [
# 文本类型数据
# RecoderId 是表单字段名
# BreakIn 是字段内容