Hexo Butterfly Snippets Plus
Butterfly Snippets Plushttps://marketplace.visualstudio.com/items?itemName=iMacyh.hexo-butterfly-snippets-plus
The extension is still updating…
This is a Visual Studio Code extension that includes some snippets for the Butterfly theme of Hexo and additional tag plugins, it’s convenient to insert these snippets when writing articles with VS Code.
About the details of the snippets, you can see Butterfly official site and Akilar’s post.
The project is forked from KakaWanYifan/VSCode-Hexo-Butterf ...
Clash for Windows Advanced Tutorial
訂閱轉換
打開下面任意一個鏈接
https://sub.v1.mk/
https://acl4ssr-sub.github.io/
如果擔心訂閱洩露,建議自己搭建後端
填入你的信息
訂閱鏈接:(初始訂閱鏈接)
生成類型:Clash
後端地址:(默認)
短鏈選擇:(默認)
遠程配置:(建議選擇全分組多模式)
高級功能:
包含節點:(需要保留的節點,用 | 分隔,可用正則表達式)
排除節點:(需要排除的節點,用 | 分隔,可用正則表達式)
節點命名:
訂閱命名:
粘貼到 Clash 並下載配置文件
Enjoy
TUN 模式
Clash for Windows 從 v0.18.8 開始,TUN 模式建議使用 fake-ip 模式, redir-host 將無法遠端 DNS 解析
參考:https://www.dejavu.moe/posts/cfw-tun/
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 ...
Typora Cracker
Usage
Install Python and download the code
Open terminal in the code folder
Enter the following commands
You’d better turn on the proxy to install dependency
Replace {installRoot} with your installation directory
PowerShell12345pip install -r requirements.txtpython typora.py "{installRoot}\Typora\resources\app.asar" outfile/Copy-Item example/patch/License.js outfile/dec_apppython typora.py -u outfile/dec_app outfile/node example/keygen.js
Output info: XXXXXX-XXXXXX-X ...
Butterfly Beautified Notes (Still Updating)
Updating…
gulp 壓縮和 PWA 支持
Gulp & PWA
Gulp 安裝 Gulp 和 Workbox1npm install --global gulp-cli壓縮 HTML12npm install gulp-htmlclean --save-devnpm install --save gulp-html-minifier-terser壓縮 CSS1npm install gulp-clean-css --save-dev壓縮 JavaScript1npm install gulp-terser --save-devgulp-uglify + gulp-babel壓縮 pictures1npm install --save-dev [email protected]創建 gulpfile.js 文件創建 gulpfile.js 在 Hexo 根目錄1234567891011121314151617181920212223242526272829 ...
Celebrating Steve
Statement from the Jobs family
For a decade now, mourning and healing have gone together.
Our gratitude has become as great as our loss.
Each of us has found his or her own path to consolation,
but we have come together in a beautiful place of love
for Steve, and for what he taught us.
For all of Steve’s gifts, it was his power as a teacher that has endured.
He taught us to be open to the beauty of the world, to be curious around
new ideas, to see around the next corner, and most of all to ...
史上最全免费静态托管大合集
Static Website Hostinghttps://www.staticwebsitehosting.org/
补充:
https://replit.com/
https://render.com/
https://www.layer0.co/
https://bip.sh/
https://deno.com/
https://www.stormkit.io/
https://tiiny.host/free-static-website-hosting/
https://static.app/
Github Pages(.github.io/)(免费用户强制开源,学生用户除外)
Gitlab Pages(.gitlab.io/)(免费用户强制开源)
CloudFlare Pages(..pages.dev)
Gitee Pages(.gitee.io)(已暂停新申请)
Firebase Hosting(.web.app)
Vercel(.vercel.app)
Netlify(.netlify.app)
IBM Cloud Object Storage Static Hos ...
WordPress Optimization Guide
前言
感謝朋友的幫助
从几个方面入手:
Cloudflare CDN
缓存插件
GZIP 压缩
Redis 缓存
Nginx
PHP
页面静态化
Cloudflare CDN
Cloudflare
如果不是使用 Cloudflare 请略过智能 DNS 解析(境内和境外) 智能 DNS 解析(境内和境外) 详情请看原文:Setup Domains on Cloudflare via CNAMEhttps://www.istevec.com/posts/cfee.html Cloudflare 页面缓存(Page Rules)优化 WordPress 全站缓存配置规则 Cloudflare 页面缓存(Page Rules)优化 WordPress 全站缓存配置规则 在 Cloudflare Page Rules 里添加两条规则第一条*.example.com/*第 ...
域名分线路解析 | CNAME/IP 接入 Cloudflare
此文章已過時
移步:
Setup Domains on Cloudflare via CNAMEhttps://www.istevec.com/posts/cfee.html
前言
Cloudflare 的 CDN 在海外有着可观的响应速度,且支持免备案、SSL、IPv6
但是近年来被滥用过度,在国内速度一般
通过智能 DNS 解析,分境内和境外两个线路,优化网站速度(主要是国外,防攻击)
此方案为境外走 Cloudflare,境内直连
Cloudflare 官方面板只能以 NS 方式接入,但可以通过 Cloudflare Partner 计划实现 CNAME/IP 接入
接入 Cloudflare
登录 Cloudflare Partner 面板
目前可用面板:
挖站否
Quanyin
云筏
使用已有的 CloudFlare 账号登陆,如果没有的话,会自动生成账号
添加域名及记录
添加域名及记录
CDN 打开
CNAME
添加记录后,回到控制台
下面的 CNMAE 接入等一下会用到
接入 DNSPod
NS 接入
登录 DNSPod ,控制台—DNS 解析—我的域名
添加域 ...
自定义首页标题特效
此文章為 Typecho Handsome 主題使用
自定义字体
下载
使用 Fontmin 制作一个字体库,避免字体文件过大
导入自己的字体,输入文本,生成
将生成的目录上传
更改标题
编辑 handsome/index.php
查找 <?php $this->options->title(); ?>
将该行注释:
12<!--原首页标题--><!--<h1 class="m-n font-thin text-black l-h"><--?php $this->options->title(); ?></h1>-->
注释原首页标题,方便还原
在下面添加:
123456789101112131415<!--首页标题字体引入--><link href="https://cdn.jsdelivr.net/gh/iMacyhs/[email protected]/assets/fonts/Pristina/Pristina.css& ...
郎咸平:乔布斯的真正伟大之处在哪里?
第三代 iPad 即将上市,而一个公司的新产品上市能让全世界媒体作为头条新闻进行报道的,恐怕也只有苹果能够办到。说起苹果,就不得不提乔布斯。我在《财经郎眼07》中就说过,乔布斯的伟大不在于他创造了多么优雅的产品,而在于他对整个产业链的颠覆性整合。
华尔街的经营战略就是“零和游戏”,华尔街的财富积累是让99%的老百姓付出惨重的财富损失的代价。而乔布斯之所以伟大,不是因为他搞了一个 iPhone 这么简单,而是这个人用自己的智慧颠覆了整个数字化行业。而后让这整条产业链的上、中、下游都能从中获益。因此他的成功和华尔街的本质是完全不同的,它是一种全面的胜利,是整条产业链一起富裕的成功。这就是为什么乔布斯被美国人誉为可与爱迪生、福特比肩的历史人物。奥巴马总统说他是美国精神的楷模。
我举个例子,像百度透过 MP3 音乐搜索来增加自己的浏览量,是不是?可以说,整个中国的盗版行业摧毁了一个一年有一万亿产值的文化创意产业。我们根本不晓得知识产权有多重要,对这个也不感兴趣,我们只对基础建设之类的东西感兴趣。可是你晓不晓得,就是因为我们没有保护知识产权的制度,容许这种抄袭、仿冒的产业链的存在,才毁灭掉了一个 ...