Skip to content

Instantly share code, notes, and snippets.

View yin1999's full-sized avatar
:electron:
Feel free

A1lo yin1999

:electron:
Feel free
  • Netease
  • Hangzhou, China
View GitHub Profile
@yin1999
yin1999 / whitelist.txt
Last active January 8, 2025 09:04
proxy 白名单
acm.org,
adobe.com,
aspnetcdn.com,
azureedge.net,
beego.me,
caomeikeyan.com,
controlplane.tailscale.com,
debian.org,
elsevier.com,
epicgames.com,
package main
import (
"fmt"
"net"
"net/http"
"strings"
)
type mux struct {
package main
import (
"fmt"
"net"
"os"
"syscall"
"time"
"github.com/jsimonetti/rtnetlink"
import * as fs from "node:fs/promises";
import * as path from "node:path";
const locale = "pt-br";
const specHead =
/^#+ (?:Specifications?|Especifcações|Espeficicações|Expecificações|Especificaçōes)$/im;
const specTail = /^##/m; // next heading
const specName = /\{\{\s*Spec[^i]/i;
const Specifications = /\{\{\s*Specifications/i;
import * as fs from "node:fs/promises";
import * as path from "node:path";
const locale = "ru";
const specHead = /^## (?:Specifications|Specification|Характеристики|Спецификации|Спецификация)$/m;
const specTail = /^##/m; // next heading
const specName = /\{\{\s*SpecName/i;
const Specifications = /\{\{\s*Specifications/i;
package main
import (
"encoding/binary"
"fmt"
"log"
stdlog "log"
"math/rand"
"net"
"os"
"use strict";
import fs from "node:fs/promises";
import * as path from "node:path";
import { fdir } from "fdir";
import ora from "ora";
import { fromMarkdown } from "mdast-util-from-markdown";
import { visit } from "unist-util-visit";
const spinner = ora().start();
name: DockerBuilder
on:
release:
types: [published]
schedule:
- cron: "0 4 1 * *"
jobs:
publish_to_docker_hub:
name: Publish to Docker Hub