Set Up GitHub Proxy with Cloudflare Worker

Lately, on hax woiden, running a script from raw.githubusercontent s .com (the one with the S) errors out with "command not found" The symptom is as follows: /dev/fd/63: line 1: $'\347\275\221\347\253\231\347\273\264\346\212\244\343\200\202': command not found /dev/fd/63: line 1: 网站维护。: command not found I looked into it: this service is not an official GitHub one, and it is currently suspended. Source of the information: https://github.com/7ednet/yard/discussions/11 So we need to set up our own GitHub proxy.

使用Cloudflare Worker自建GitHub Proxy代理 解决raw.githubusercontents.com command not found问题

最近在hax woiden上访问带S的raw.githubusercontent s .com脚本会报错command not found 现象如下: /dev/fd/63: line 1: $'\347\275\221\347\253\231\347\273\264\346\212\244\343\200\202': command not found /dev/fd/63: line 1: 网站维护。: command not found 查了一下,这个服务并不是GitHub官方的,目前暂停了。 消息源: https://github.com/7ednet/yard/discussions/11 所以我们需要搭一个自己的GitHub代理。

Build a URL Shortener with Cloudflare Workers & KV

Source code GitHub:  https://github.com/crazypeace/Url-Shorten-Worker Setup tutorial:  https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

白嫖worker 自建短链服务 Url-Shorten-Worker 增加按钮可以删除指定短链

源码 GitHub:  https://github.com/crazypeace/Url-Shorten-Worker 搭建教程:  https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

Fix Blogger Notable Template Layout Issues

The previous modification allowed the homepage to display popular posts (PopularPosts) However, under Blogger's Notable template, the homepage layout looks very strange. After analysis, it is caused by the floating layout of "More Posts". Edit the template file Before modification: .blog-pager{float:$endSide; margin-$endSide:468px; margin-top:48px } .blog-pager .blog-pager-older-link{ color:$(feed.button.color); float:right; font:$(feed.button.font); text-transform:uppercase } After modification: .blog-pager{ text-align: center; margin: 2em 0; } .blog-pager .blog-pager-older-link{ color:$(feed.button.color); font:$(feed.button.font); text-transform:uppercase } Result: =========== Recording other modifications together: Too much spacing before and after ads Before modification: .shown-ad { margin-bottom: 85px; margin-top: 85px; } After modification: .shown-ad { margin-bottom: 45px; margin-top: 45px; } Ad width between posts Before modification: .shown-ad .i...

Blogger/blogspot 模板 Notable 首页出现精选博文FeaturedPost 后排版问题 博文之间广告宽度

之前这个修改可以让 首页显示热门博文PopularPosts 但是在Blogger的 Notable 类模板下,首页的排版显得很奇怪。 经过分析,是"更多博文"的浮动排版造成的影响。 修改模板文件 修改前: .blog-pager{ float:$endSide; margin-$endSide:468px; margin-top:48px } .blog-pager .blog-pager-older-link{ color:$(feed.button.color); float:right; font:$(feed.button.font); text-transform:uppercase } 修改后: .blog-pager{ text-align: center; margin: 2em 0; } .blog-pager .blog-pager-older-link{ color:$(feed.button.color); font:$(feed.button.font); text-transform:uppercase } 效果: =========== 其它修改一并记录一下: 广告前后留空太多 修改前: .shown-ad {     margin-bottom: 85px;     margin-top: 85px; } 修改后: .shown-ad {     margin-bottom: 45px;     margin-top: 45px; } 博文之间广告宽度 修改前: .shown-ad .inline-ad{ display:block; max-width:$(feed.width - 604px) } 修改后: .shown-ad .inline-ad{ display:block; max-width:$(feed.width - 204px) }

URL Shorten Worker: Bootstrap UI & Code Optimization

Source code GitHub: https://github.com/crazypeace/Url-Shorten-Worker Setup tutorial: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html Effect:

白嫖worker 自建短链服务 Url-Shorten-Worker 小改进 | Bootstrap List group | 长链接文本框预搜索localStorage | 代码优化

源码 GitHub: https://github.com/crazypeace/Url-Shorten-Worker 搭建教程: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html 效果:

Securing Url-Shorten-Worker with Password Protection

Source: https://github.com/crazypeace/Url-Shorten-Worker How to set it up: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

白嫖worker 自建短链服务 Url-Shorten-Worker API不公开服务

源码: https://github.com/crazypeace/Url-Shorten-Worker 搭建方法: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

Url-Shorten-Worker: Add Custom Short Links Guide

Source code on GitHub:  https://github.com/crazypeace/Url-Shorten-Worker How to set it up: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

白嫖worker 自建短链服务 Url-Shorten-Worker 支持自定义短链

源码GitHub:  https://github.com/crazypeace/Url-Shorten-Worker 搭建方法: https://zelikk.blogspot.com/2022/07/url-shorten-worker-hide-tutorial.html

Hide Cloudflare Workers URL Shortener with Password

Based on the GitHub project https://github.com/xyTom/Url-Shorten-Worker The idea is to stand up a small web service on Cloudflare's Workers and use Cloudflare's KV as the "database". The free tier of Cloudflare's KV allows "100,000 key-value reads per day", and I did not want it exposed to people who would just scan it. So let us modify it a little.

白嫖worker 自建短链服务 Url-Shorten-Worker 修改为自用

基于GitHub项目https://github.com/xyTom/Url-Shorten-Worker 本质是使用Cloudflare的Workers搭一个网页服务,使用Cloudflare的KV当"数据库"用。 因为Cloudflare的KV免费档 "100,000 - 每日键值读取",不想公开给别人扫。所以修改一下。

How to Style Hyperlink Fonts Without Affecting Titles

One of the goals of my node setup guide is that even my grandparents can succeed — as long as they can recognize letters and work a keyboard and a mouse, they can do it. The use case I have in mind is this: enlarge the font in the guide, print it out, and let the reader work from the paper copy. So the readability of hyperlinks has to be guaranteed.

Blogger/blogspot修改模板文件 将非标题的超链接的字体 改为代码字体 方便打印 后识别

我的搭建节点的教程有个目标就是——爷爷奶奶也能成功,只要能认识字母,会操作键盘和鼠标,就能成功。 我设想的一个使用场景是——把教程的字体调大后打印出来, 读者照着纸质的教程操作. 那么超链接的可读性是需要得到保证的.

Display Popular Posts on Blogger Homepage

A blog's output is unpredictable, and when a post does become popular I would like it to stay up a while longer and be recommended to "passers-by". So I also wanted the popular posts to show up on the front page.

Blogger/blogspot模板 Essential 首页显示热门博文PopularPosts

写博客的产出不稳定的,如果出现了受欢迎的博文,希望能多持续一段时间,也想推荐给"过客"。所以我想在首页也显示热门博文。

Custom Blockquote CSS Styles on GitHub

font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Courier New", monospace

显示代码优先使用 Source Code Pro 字体

font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Courier New", monospace

Telegram Bot: Use Group Numeric ID Instead of Name

Change the group's name to the group's numeric ID.

Telegram bot 操作群组 A wait of 85685 seconds is required (caused by ResolveUsernameRequest)

将群组的名称更换为群组的数字ID。

Hide Featured Post in Blogger on Post Pages

Maybe you have a post you want to promote heavily, or you want to pin a notice to the top, so you set up a Featured Post in Blogger. You may think that showing the excerpt of the "pinned" post on the home page is enough, and that there is no need to show it again when the post itself is opened. But then…

Blogger/blogspot的精选博文FeaturedPost只在首页Homepage出现

也许你有希望重点宣传的博文,或者你想置顶一篇声明,于是你在Blogger里设置了 精选博文。也许你觉得在首页显示“置顶”博文的摘要就够了,不用在打开某篇博文还要显示这个。那么……

Auto-Add Spaces Between Chinese and English in Blog Posts

Add<script src='https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js'/> Add<script src='https://crazypeace.github.io/text-autospace.js/text-autospace.min.js'/>

Blogger/blogspot应用text-autospace.js给中英文之间 添加空格 用Github Pages解决MIME type mismatch问题 引入jquery解决$ is not a function问题

添加<script src='https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js'/> 添加<script src='https://crazypeace.github.io/text-autospace.js/text-autospace.min.js'/>