This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext { | |
aspectjVersion = '1.9.5' | |
springVersion = '5.1.11.RELEASE' | |
} | |
} | |
apply plugin: 'java' | |
configurations { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version "git describe --tags --always --first-parent".execute().text.trim() | |
println("version: $version") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pluginManagement { | |
repositories { | |
mavenLocal() | |
repositories { | |
maven { url 'https://maven.aliyun.com/repository/google' } | |
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } | |
maven { url 'https://maven.aliyun.com/repository/public/' } | |
} | |
mavenCentral() | |
gradlePluginPortal() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"registry-mirrors": [ | |
"https://hub-mirror.c.163.com", | |
"https://mirror.baidubce.com" | |
], | |
"insecure-registries": [], | |
"debug": false, | |
"experimental": false, | |
"features": { | |
"buildkit": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
postgres: | |
container_name: postgres | |
image: "postgres:9.6.22" | |
environment: | |
POSTGRES_USER: "postgres" | |
POSTGRES_PASSWORD: "1123lovewm" | |
PGDATA: "/data/postgres" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.reorigin.tabby.hivemq.util | |
import org.slf4j.LoggerFactory | |
import java.math.BigInteger | |
import java.security.MessageDigest | |
import java.security.NoSuchAlgorithmException | |
/** | |
* md5工具类 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parsers: | |
- url: https://suo.yt/7O1trPp | |
yaml: | |
prepend-rules: | |
- DOMAIN-SUFFIX,wallhaven.cc,🔰 节点选择 | |
- DOMAIN-SUFFIX,helm.sh,🔰 节点选择 | |
- DOMAIN-SUFFIX,gradle.org,🔰 节点选择 | |
- DOMAIN-SUFFIX,j.srl,🔰 节点选择 | |
- DOMAIN-SUFFIX,github.com,🔰 节点选择 | |
- DOMAIN-KEYWORD,evernote,🔰 节点选择 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync yml repo | |
on: | |
schedule: | |
- cron: '*/30 * * * *' | |
workflow_dispatch: | |
jobs: | |
sync-JDMemberCloseAccount: | |
env: | |
PAT: ${{ secrets.PAT }} #此处PAT需要申请,教程详见:https://www.jianshu.com/p/bb82b3ad1d11,需要repo和workflow权限 | |
runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import logging | |
from logging import handlers | |
# 单例 | |
def singleton(cls): | |
_instance = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
from utils.config import get_file | |
from selenium import webdriver | |
from selenium.common.exceptions import WebDriverException | |
def get_browser(_config_, path_prefix=""): | |
""" |