Skip to content

Instantly share code, notes, and snippets.

@jinzaizhichi
jinzaizhichi / worker.js
Created August 28, 2025 14:24 — forked from wongsyrone/worker.js
MoonTV 配置合并worker代码
/**
* Welcome to Cloudflare Workers! This is your first worker.
*
* - Run "npm run dev" in your terminal to start a development server
* - Open a browser tab at http://localhost:8787/ to see your worker in action
* - Run "npm run deploy" to publish your worker
*
* Learn more at https://developers.cloudflare.com/workers/
*/
88iN8K6Cvs6qxdgZHpS1NWa9iGmC4g4o8ytp3uNW3wcL4d4gN4bSRUi3tw6NY97F281Zn5W2tyJu3oTRxRXbaBGBZ46k7ruFwYbH8kGCGvSSzT784haAwszX7A7EJv2d3x6sY56DnaMzhgL9f4Xo5vNMTBJdZwQvbwBPGSa5zFAPgFUwttmzhyRigdVZ3LgyoHdGurMiwCQiaNHGjJqZUqKN7NMe4CbQtpv2jdj6BYWCAEWkWsxutTUT1a8U8B4Dpr89xyboXTwWq27QhhDcqj4W1QY6seuW9jKGh7NNdBZfSCTkbjQwiiTnKAZLfYfRjmbTsSAxpDxCvXQ6PYafcFXdGwRAL1UmQLTr5uMPsNrJMotzfaXnGriMEu11jX5avpYVExMShho35uZoTyN2Mkf1btJ5qpMm81XhK1ug4qFXcPZeLiKhGeeSCZZzzLBYzvQdjBBaE6gNrNtSWada9G9m6XUEUFAVXdEQdkwFRE2VEXJyaFDig3kDgyTqhet2fzDxtnGR5J6bzCNPba3yVDTAhFdhS3Yx1NK9QN3sjcdPpWJmFJR9pJyXGwYURWWUKNsrdihuRj3musdD7BTnFLrVFbba5btJ9qsaryEpzY8rzrv4WwopPqykke5fQMPvEAeUFYjitavGfKaTHxLEW91KJ8CiwmyjX4CTxMTHQHzVBp3or3Ksya6S9QvXz8bnvpXJqpiEQjjQFrnWS6X5dms9rGo9emN5BcuSpsMqPTh2yB1cMKheWBeDdBmrg5Aw8FGFJ7htxaKHxwDJ5kWWkerwBHJpppDAffNH9JFpgw2JA74K99fDaocbPmgAgbK57oifd8Fty1gWWrXB22AamYTpnuX3DSAG8YXBRNxKvaePJ8wpJT23tjifxXMdHBBdSSvmdVuKhZbvPXrNLiLEZTr5uqXEZgT9W9KcXWQQh98AyPCbKFufMiuKENTd9Dq5hqrJsG6QMQ1ex8qqp5SqT1rgGGCGJmt8GLDKdMeZGdkvEE2Wrf4xoEQa5M6RQrtE
@jinzaizhichi
jinzaizhichi / configuration.nix
Created May 8, 2025 17:12 — forked from hemashushu/configuration.nix
NixOS configuration reference 2025-05
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, lib, ... }:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@jinzaizhichi
jinzaizhichi / Heirloom_MailX.sh
Created July 22, 2024 00:57 — forked from sumitdhameja/Heirloom_MailX.sh
Setting up Heirloom MailX to send emails from linux(Debian/ ubuntu) system:
mkdir MailX
cd MailX
#Download file
wget http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz
#Download patch
wget http://www.linuxfromscratch.org/patches/blfs/svn/heirloom-mailx-12.5-fixes-1.patch
#unZip
tar -xvzf heirloom-mailx_12.5.orig.tar.gz
@jinzaizhichi
jinzaizhichi / PostgreSQL-EXTENSIONs.md
Created May 11, 2024 18:37 — forked from joelonsql/PostgreSQL-EXTENSIONs.md
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@jinzaizhichi
jinzaizhichi / database.py
Created August 22, 2023 08:04 — forked from DougAF/database.py
FastAPI database file
import os
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
SQLALCHEMY_DATABASE_URL = os.getenv("DB_CONN")
engine = create_engine(SQLALCHEMY_DATABASE_URL)
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
@jinzaizhichi
jinzaizhichi / fuck-x.user.js
Created July 26, 2023 13:27 — forked from unixzii/fuck-x.user.js
Tampermonkey userscript to rescue your X (formerly Twitter) experience.
// ==UserScript==
// @name Fuck X
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Save your eyes while using X (formerly Twitter)
// @author Cyandev <unixzii@gmail.com>
// @match https://twitter.com/*
// @grant none
// ==/UserScript==

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@jinzaizhichi
jinzaizhichi / Fix_gpg_Mac_OS_error.md
Created June 20, 2023 02:04 — forked from Peredery/Fix_gpg_Mac_OS_error.md
FIX - gpg failed to sign the data fatal: failed to write commit object
@jinzaizhichi
jinzaizhichi / index.md
Created May 28, 2023 02:48 — forked from hrdtbs/index.md
Connect to Github with ED25519

Connect to github with ED25519

2017/08/09 MacOS

Check SSH key

$ ls -al ~/.ssh