Windows 下的 git 代理配置
经过不断的尝试,我找到找到了属于我的正确配置方法
Host github.com
User git
Port 443
Hostname ssh.github.com
IdentityFile "C:\Users\用户名\.ssh\id_rsa"
# ts转码成mp4 | |
from http.server import executable | |
import os | |
import ffmpy | |
for file in os.listdir('.'): | |
if file.endswith('ts'): | |
print(f'处理文件:{file}') | |
new_file = file[:-3] + '.mp4' |
# 代码来自 https://www.52pojie.cn/thread-870075-1-1.html | |
import re, os, struct | |
def exe2swf(path_list): | |
notexeflash = [] | |
exe2swf_done = [] | |
for path in path_list: | |
with open(path, 'rb') as f1: |
Windows 下的 git 代理配置
经过不断的尝试,我找到找到了属于我的正确配置方法
Host github.com
User git
Port 443
Hostname ssh.github.com
IdentityFile "C:\Users\用户名\.ssh\id_rsa"
import os | |
import shutil | |
current_path = os.path.abspath('.') | |
exclude_path = [ | |
os.path.join(current_path, '.idea'), | |
os.path.join(current_path, '.git'), | |
os.path.join(current_path, 'venv'), | |
] |
class Heading { | |
public int Id { get; set; } | |
public int Pid { get; set; } = -1; | |
public string? Text { get; set; } | |
public string? Slug { get; set; } | |
public int Level { get; set; } | |
} | |
public class TocNode { | |
public string? Text { get; set; } |
import enum | |
import os | |
import math | |
import textwrap | |
from PIL import Image, ImageFont, ImageDraw, ImageEnhance, ImageChops, ImageOps | |
class WatermarkerStyles(enum.Enum): | |
"""水印样式""" | |
# 斜向重复 |
void main() { | |
Global.init().then((value) { | |
runApp(MyApp()); | |
}); | |
if (Platform.isAndroid) { | |
// 以下两行 设置android状态栏为透明的沉浸。写在组件渲染之后,是为了在渲染后进行set赋值,覆盖状态栏,写在渲染之前MaterialApp组件会覆盖掉这个值。 | |
var systemUiOverlayStyle = SystemUiOverlayStyle(statusBarColor: Colors.transparent); | |
SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle); | |
} |