- 需要准备两个仓库,我这里使用
github
和gitlab
- 下面分别是两个仓库的不同的账号信息
- github
user.name=xxx
[email protected]
/** | |
* 域名提取选项 | |
*/ | |
interface DomainOptions { | |
/** | |
* 是否移除域名中的 'www.' 前缀 | |
* @默认值 true | |
*/ | |
stripWWW?: boolean; | |
} |
package utils | |
// go 版本号:1.22.0 | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"encoding/base64" | |
"fmt" |
github
和gitlab
user.name=xxx
[email protected]
interface Column { | |
name: string; | |
kind: string; | |
// 约束 | |
constraints: string[]; | |
comment: string; | |
} | |
interface Table { | |
name: string; |
mv /etc/apt/sources.list /etc/apt/sources.list.bak | |
echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib">>/etc/apt/sources.list | |
echo "deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib">>/etc/apt/sources.list | |
echo "deb http://mirrors.aliyun.com/debian-security buster/updates main">>/etc/apt/sources.list | |
echo "deb-src http://mirrors.aliyun.com/debian-security buster/updates main">>/etc/apt/sources.list | |
echo "deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib">>/etc/apt/sources.list | |
echo "deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib">>/etc/apt/sources.list | |
echo "deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">>/etc/apt/sources.list | |
echo "deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">>/etc/apt/sources.list | |
apt-get update |
import re | |
# 待匹配的字符串 | |
s = '[AB=1231][AC=23] [AC=3,as=12]' | |
# 匹配的规则 | |
rule = r'(\[AC\=\d+(,[a-z]+\=\S+)*\])' | |
# 结果: [('[AC=23]', ''), ('[AC=3,as=12]', ',as=12')] | |
print(re.findall(rule, s)) |
<template> | |
<div ref="editor"></div> | |
</template> | |
<script setup lang="ts"> | |
import { onMounted, ref} from "vue"; | |
import { EditorState } from "@codemirror/state" | |
import { EditorView, highlightActiveLine, keymap } from "@codemirror/view" | |
import { defaultKeymap, indentWithTab } from "@codemirror/commands" | |
import { indentUnit } from "@codemirror/language"; |
package main
import (
"net/http"
_ "net/http/pprof"
)
package main | |
import ( | |
"image" | |
) | |
func main() { | |
// 需要被马赛克的图片 | |
var img image.Image | |
// 宽 |
// 横坐标 | |
var x_axis = ['', '', '', '', '', '', '', '']; | |
// 纵坐标 | |
var y_axis = [ | |
'8.华夏兴华H', | |
'7.华夏兴华A', | |
'6.华夏稳盛', | |
'5.华夏翔阳LOF', | |
'4.华夏成长', | |
'3.华夏回报2号', |