ffmpeg add custom header

By @sskaje

ffmpeg add custom header by @sskaje:
工具、命令 笔记

JPEG 自动旋转

By @sskaje


使用 jhead

jhead -autorot xxx.jpg

JPEG 自动旋转 by @sskaje:
Linux Network VPN 杂七杂八 路由、设备

WireGuard as a “Switch”

By @sskaje

Not really a switch, but similar. If you want to exchange data from two network using a host on Internet, this post helps.

In this case, Router 1 want to use Router 2 as gateway for some destinations. All 3 Nodes here have Internet public IP address.

I set-up a network,, using WireGuard. Our work are all on the Server in the middle.

If I put such config to /etc/wireguard/wg0.conf and run wg-quick up wg0, then I may lost connection to the server, because of the default route.

Now, add a route table to your system and change wg0.conf, let’s name it wgswitch and table id 201.

Then modify wg0.conf.

Now when you establish connections, you’ll be able to ping from router1 to router2 using network.

But if you want to try a custom network, that’s not enough, you need extra route and ip rule for your network

WireGuard as a “Switch” by @sskaje:

List of macOS Installer Download Links

By @sskaje

10.15 Catalina

AppStore only, you need a macOS < 10.15 to download this installer

10.14 Mojave

AppStore only, you need a macOS < 10.14 to download this installer

10.13 High Sierra

AppStore only, you need a macOS < 10.13 to download this installer

10.12 Sierra

10.11 El Captain

10.10 Yosemite

10.9 Mavericks or earlier


List of macOS Installer Download Links by @sskaje:
Windows 杂七杂八

Docker Desktop for Windows on Server 2019 Essentials

By @sskaje

Docker Desktop for Windows reports incompatible with Windows Server 2019 Essentials.

Logs indicates that hyper-v is required.

Here is a bat enabling all hyper-v related feature on Windows.

Also, Container

But I tried Docker EE on Windows Server 2019 Essentials, still not working.

Docker Desktop for Windows on Server 2019 Essentials by @sskaje: