Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# create self-signed server certificate:
read -p "Enter your domain [www.example.com]: " DOMAIN
echo "Create server key..."
openssl genrsa -des3 -out $DOMAIN.key 2048
{
}
@w311ang
w311ang / scalepage.js
Last active March 23, 2024 07:38
via浏览器页面缩放
// ==UserScript==
// @name 网页比例缩放
// @namespace https://viayoo.com/
// @version 0.1
// @description 按比例缩放网页,而不是只改变字体大小
// @author w311ang
// @run-at document-start
// @match *
// @grant none
// @downloadURL https://gist.githubusercontent.com/w311ang/65693528245dcfaac371df5e3977ca42/raw/scalepage.js
{
"dns": {
"servers": [
{
"tag": "cloudflare",
"address": "tcp://1.1.1.1",
"strategy": "ipv4_only"
},
{
"tag": "cloudflare_审计",