Avoid DNS Leak of UDP Request for Mihomo Core

UDP DNS Leak Theoretically, when enabled fake-ip mode in DNS settings when using mihomo core, the request with domain name matching the proxy rule will NOT trigger DNS request in local machine. So we may want to set our DNS config to use system for nameserver and expect only requests that not hit any proxyContinue reading “Avoid DNS Leak of UDP Request for Mihomo Core”

Create New Branch Only Contains Last N Commits

Sometimes we don’t need commit history from long time ago, and only want to keep last n commits. For example: Let’s say we want to perform this operation on our main branch, and backup the previous status as another branch main_old, then force push new main branch to the remote. The PowerShell script above willContinue reading “Create New Branch Only Contains Last N Commits”

Anime Upscaling Workflow Research

Incentive My incentive to do this is that one of my commonly used 4K super-resolution subtitle group stop their activity, and I still want to be able to watch latest 4K anime, so I need to find a way to perform super resolution on existing 1080P anime video resources. Real-time Shader There are things likeContinue reading “Anime Upscaling Workflow Research”

Shallow Git Repository

Create Shallow Repository Just run shallow fetch command: Unshallow Checkout official doc for more info. Remove Unused Remote Branch Update Fetch Config We can edit the git config file to determine which branches should be fetched automatically. As you see, we could change the fetch config in the remote section to tell Git which branchContinue reading “Shallow Git Repository”

Use Clash TUN and Fiddler Everywhere to Capture All Traffic

If you are not familiar with Clash Meta and Fiddler Everywhere, follow the link to learn about them before reading this post. Basic Thought Then we have the following thought: Rule Settings First create an HTTP proxy node pointing to Fiddler Everywhere HTTP proxy: Based on previous settings, the actual config should be: Note thatContinue reading “Use Clash TUN and Fiddler Everywhere to Capture All Traffic”

[Anime] Medalist

Review 这部分就用中文写吧。 制作水平 关于作画和音乐,我个人感觉都在良好以上水平,不会成为整部番剧的短板,但也无法独立的成为整部番的亮点。而实际上,本番作画和音乐水平从整体看来已经完全足够了。 本番的视觉重点主要落在花滑运动的场景,而花样滑冰的表演动作本身已经极具张力,动画采用动捕技术好好的把花滑的魅力展现出来,就已经具有不错的视觉体验了。且动画里的镜头视角和运动相比于现实生活中有了非常大的提升,可以使用现实生活中不敢想象的角度和现实生活中无法做到的视角运动轨迹对花滑运动进行展示,这又进一步提高了相关场景的张力。 Resources Manga Jump Types Introduce different types of jumps in FS, with video demonstration and key points for distinguishing between them. Table Jump Chinese Name Take-off Type Take-off Edge Skating Leg Take-off Direction Toeloop (T) 后外点冰 Toe-pick jump Outside edge Right Backward Salchow (S) 后内结环 Edge jump Inside edge LeftContinue reading “[Anime] Medalist”

VS Code Python Project PowerShell Integration

This article introduces an approach to enable VS Code PowerShell integration in Python projects, including some basic python environment management. Define Helper Function Note in some cases, code.cmd could be mandatory instead of code, otherwise there could be error. You could use Get-Command to check details about it: VS Code Workspace Config Below are someContinue reading “VS Code Python Project PowerShell Integration”