Skip to content

Instantly share code, notes, and snippets.

@Yi-Z0
Yi-Z0 / Crack Sublime Text Windows and Linux.md
Created September 10, 2021 08:47 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

YouTube Channel https://www.youtube.com/c/jerrylokjianming


How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
@Yi-Z0
Yi-Z0 / fixBom.php
Last active May 27, 2020 03:06
PHP Remove UTF8 BOM
<?php
/**
php fixBom.php /path/your/www 1
*/
$basedir = $argv[1];
$auto = !empty($argv[2]);
checkdir($basedir);
function checkdir($basedir)
@Yi-Z0
Yi-Z0 / README.md
Last active November 18, 2022 12:42
《docker + clash 旁路由 透明代理 兲朝上网》

食用方法

  1. 开启混杂模式

    ip link set eth0 promisc on

  2. docker创建网络,注意将网段改为你自己的

    docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eth0 macnet

  3. 提前准备好正确的clash config , 必须打开redir在7892, 以及dns在53端口