Skip to content

Instantly share code, notes, and snippets.

View tagma067001068's full-sized avatar

Lear tagma067001068

View GitHub Profile
@tagma067001068
tagma067001068 / auto-add-ssl-workers.js
Created October 25, 2025 15:10 — forked from eooce/auto-add-ssl-workers.js
auto-add-ssl-workers
export default {
async fetch(request, env, ctx) {
const url = new URL(request.url);
// 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...)
if (
(url.pathname === '/api/add-ssl' && request.method === 'POST') ||
(url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId'))
) {
return handleApiRequest(request, url.searchParams);
@tagma067001068
tagma067001068 / fix-google-translate-cn.bat
Created October 7, 2022 16:15 — forked from bookfere/fix-google-translate-cn.bat
Fix Google Translate CN for Windows
:: Copyright (c)2022 https://bookfere.com
:: This is a batch script for fixing Google Translate and making it available
:: in the Chinese mainland. If you experience any problem, visit the page below:
:: https://bookfere.com/post/1020.html
@echo off
setlocal enabledelayedexpansion
chcp 437 >NULL
set "source_domain=google.cn"