Skip to content

Instantly share code, notes, and snippets.

View PrintNow's full-sized avatar

Shine PrintNow

View GitHub Profile
# syntax=docker/dockerfile:1.7
################################################################################
# Builder
################################################################################
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.25.3 AS builder
WORKDIR /src
# Go module
// ==UserScript==
// @name TrackingMore Admin Plus
// @namespace https://example.com/
// @version 1.0
// @description Inject custom grid CSS for .sp-table-body on admin.trackingmore.com
// @match https://admin.trackingmore.com/shipments/numbers*
// @run-at document-idle
// @grant GM_addStyle
// ==/UserScript==
@PrintNow
PrintNow / argocd-auto-login.user.js
Last active December 2, 2025 06:37
[Tampermonkey 插件] 自动登录 ArgoCD 系统
// ==UserScript==
// @name [Work] ArgoCD 自动登录 - 请你修改源代码,修改 @match 后面的 URL 为你的 ArgoCD 地址
// @namespace https://nowtime.cc
// @version 2025-12-02
// @description 自动化登录 ArgoCD
// @author Shine
// @match https://argocd.example.com/login?*
// @icon https://www.google.com/s2/favicons?sz=64&domain=example.com
// @grant GM.setValue
// @grant GM.getValue
@PrintNow
PrintNow / aws-console-auto-login.user.js
Last active December 5, 2025 01:57
AWS 自动登录脚本 (包括自动填充 OTOP)
// ==UserScript==
// @name AWS 自动登录脚本
// @namespace https://nowtime.cc
// @version 2025-12-03
// @description 自动登录 AWS 控制台
// @author Shine
// @match https://signin.aws.amazon.com/oauth?*
// @match https://*.signin.aws.amazon.com/oauth?*
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com
// @grant GM.setValue
@PrintNow
PrintNow / github-pr-dingtalk-share.user.js
Created October 16, 2025 10:16
一键发送 PR 链接到钉钉用户
// ==UserScript==
// @name GitHub PR DingTalk Share Configurable
// @namespace https://nowtime.cc
// @version 2025-10-16
// @description 一键发送 PR 链接到钉钉用户
// @author Shine
// @match https://github.com/*/pull/*
// @grant GM_setValue
// @grant GM_getValue
// ==/UserScript==
@PrintNow
PrintNow / gost+ssh-create-dynamic-port-forwarding.md
Created August 18, 2025 07:06
使用 Gost + SSH 创建动态端口转发(http/socks5 )

使用 SSH 私钥认证

services:
  - name: service-alibaba-cloud-proxy
    addr: ":38080"
    handler:
      type: auto
      chain: chain-alibaba-cloud-dev
    listener:
      type: tcp
@PrintNow
PrintNow / shopify-parthers-webhook_deliveries-dbclick-formate-time.user.js
Last active June 20, 2025 06:32
Shopify partners 双击将 webhook 日志时间调整为本地时区的时间
// ==UserScript==
// @name Shopify Partners Webhook Time Localizer
// @namespace https://nowtime.cc
// @version 2025-06-20
// @description Webhook 日志时间调整为本地时区的时间显示;优化相关样式
// @author Shine
// @match https://partners.shopify.com/*/apps/*/webhook_deliveries/details*
// @icon https://www.google.com/s2/favicons?sz=64&domain=shopify.com
// @grant none
// ==/UserScript==
@PrintNow
PrintNow / .ssh_config
Last active May 14, 2025 10:37
基于 Docker 的 SSH Forward 转发服务
Host forward.service
User root
ProxyCommand websocat --binary -k wss://websocket-over-https.example.com
PreferredAuthentications publickey
IdentitiesOnly yes
RequestTTY no
ServerAliveInterval 10
ServerAliveCountMax 3
TCPKeepAlive yes
LocalForward 127.0.0.1:60000 172.6.6.6:22
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>图片查看器插件</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
#此处主要屏蔽小米云扫描组件 -> https://github.com/LoopDns/Fuck-you-MIUI/blob/main/MIhosts#L1
0.0.0.0 log.avlyun.sec.intl.miui.com
0.0.0.0 update.avlyun.sec.miui.com
0.0.0.0 ixav-cse.avlyun.com
0.0.0.0 logupdate.avlyun.sec.miui.com
0.0.0.0 miui-fxcse.avlyun.com
0.0.0.0 sdkconf.avlyun.com
0.0.0.0 sdkconf.avlyun.com
0.0.0.0 miav-cse.avlyun.com
0.0.0.0 miav-cse.avlyun.com