qchan图床的小改动:仅管理员上传,缩略图大小修改,混淆文件名
qchan这个床简单耐用,取图片不走PHP所以速度飞快。 改了一下,加了这3个功能。 https://github.com/cnbeining/qchan 有用自取。 这东西的一个妙用是丢Openshift上,前端上一个Cloudflare,用page rule强制大缓存,但是需要改一下HTTPS的设置以免HTTPS不能加载内容。
wp-search-with-algolia
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/cnbeining.com/html/wp-includes/functions.php on line 6121qchan这个床简单耐用,取图片不走PHP所以速度飞快。 改了一下,加了这3个功能。 https://github.com/cnbeining/qchan 有用自取。 这东西的一个妙用是丢Openshift上,前端上一个Cloudflare,用page rule强制大缓存,但是需要改一下HTTPS的设置以免HTTPS不能加载内容。
另一个黑科技。 https://github.com/cnbeining/Biligrab
要的抱走,没钱续费。。。
Since I struggled to find some infos for this, I wanted to sum up my findings here: 差不多: ffmpeg -y -threads 8 -i “test.m4v” -an -sn -vsync 0 -vf select=”not(mod(n\,14386))”… Read more »
支付宝为了所谓的安全,禁止直接跳转,方法是检测到有非支付宝referer就302到https://shenghuo.alipay.com/send/payment/fill.htm 。 我们可以用B站的HTTPS跳转法,但是如果懒得弄证书什么的,这里给出一个不是很漂亮的方法: <html> <head> <title>正在跳转……</title> <meta http-equiv=”Content-Language” content=”zh-CN”> <meta HTTP-EQUIV=”Content-Type” CONTENT=”text/html; charset=gb2312″> </head> <body> <script> URL = “https://shenghuo.alipay.com/send/payment/fill.htm?optEmail={邮箱}&payAmount={钱数}&title={附言}” function lose_in_webkit(url) { location = “data:text/html,\<script>location='” + url + ‘&_=’ +… Read more »
http://blog.sina.com.cn/s/blog_3df9d2330100zcy4.html 备份向,以免原文某天没了。作者zj262144。 好几年了,供参考。
几乎重写了一切可以重写的。 https://gfwsuckmydick.science/ https://github.com/cnbeining/DNSTester.js 代码下面。
Flvcd药丸。所以先留一手。 https://github.com/cnbeining/Biligrab 代码下面。
官方没有,我就自己封装一个。 https://github.com/cnbeining/Amazon-Cloud-Drive-Python-SDK 可以用来写客户端什么的。 验证简便。
百度前几天的龌龊事大家都知道了。 狂欢?带我一个。 https://github.com/cnbeining/DNSTester.js 打回去吧。 代码下面。