Anduin

let today = new Beginning();

All Posts


Make and prepare your own Windows image and deploy with the OOBE experience

Summary The commands syspres and dism can make a system image and prepare what the system will see when it is first powered on. Through some customization, users can see a friendly page, configure his account and services, and then directly get a system that has been updated to the latest with the driver and software installed with a click of the mouse. file This is useful for: giving away PCs,  …


Why do low-code development is a pseudo requirement?

Why do I think low-code development is a pseudo-requirement? Recently, I have seen many people promoting low-code development. People who have not studied professional programming can quickly create a cross-platform app and put it into production just by drafting or dragging a few controls. It looks like a very beautiful thing. However, I've always had my doubts about this. I tried to use  …

Software Development Low Code PowerApps WYSIWYG

Play with Windows Subsystem for Android with Google Play

What will this article talk about? A lot of my friends are trying to run Android apps on Windows 11. Looks like Microsoft's demo is pretty cool. But soon we found out that Microsoft only promised to run apps from the Amazon app store. And the apps in the Amazon app store are very scarce. We are very much looking forward to being able to run custom Apks. Or even go a step further, install apps  …

bash Windows 11 Android Windows Subsystem For Android WSA Magisk MagiskOnWSA Google Google Play adb

脑洞 - 人体的标准输入输出流

其实我以前构想过一个东西,就是人体应该有一个标准的接口,每个人一出生就做一个手术,植入这个接口。然后这个接口可以用来快速注射药物,或是提取一些血液。从而实现用药、输血、献血,检测都跟方便。 我最开始把这个想法跟身边人聊,他们说,这不就是滞留针么? 我想不是滞留针这种临时的方案,而是需要移植的永久方案。仿佛和人体整合到一起的原生的感觉,需要有非常强大的自修复、防水、防漏能力。 如果有这个东西的话,那些糖尿病人就可以不留伤口的监测血糖。甚至血糖一高,按一个按钮,就释放胰岛素。 而假如我思考更进一步,它被标准化成了接口,HSB(Human standard Bus),到时候市场上就可以出现支持HSB的设备,比如自动血糖稳定仪,基于HSB1.0接口的。这种血糖仪能够直接插上人体的HSB接口,监控血糖,并自动释放胰岛素和胰高血糖素,来实现让糖尿病人继续过普通人的生活。 或者更进一步,既然都有标准化的 …


Use you local server to replace the cloud with FRP.

Why am I doing this? I've been complaining: the public cloud is too expensive. A typical server costs about 150USD a month. And because I use a lot of Azure PaaS services, my current business needs to cause me to spend more than 500USD per month. In addition, the database and App Service are both costly. This practice proves: that using Azure is very expensive. So I've been thinking: I have a lot  …

IP bash Linux Windows Server Cloud FRP Network Port Firewall

Setup Minecraft perfect game experience

Brief This article introduces about how I configure my local Minecraft client. This post is for Java edition. Not Bedrock(mobile) edition! Step 1 - Install Java Run the following command with admin: winget install Microsoft.OpenJDK.17 Step 2 - Install Minecraft You can buy Minecraft launcher (Java) at Xbox Store: https://www.xbox.com/en-us/games/store/minecraft-launcher/9pgw18npbzv5#activetab=  …

Configuration Minecraft Game Java

Best practice after installing Windows Server | Why you should NEVER use 'Administrator' user?

This article helps you change the following items if your cloud provider didn't do that for you. Rename server, (optional) join AD domain. Create your own account instead of Administrator. Disable Administrator login. Change remote desktop default port. Disable IIS dangerous protocol. Install some very infrastructure tools. After you buying a Windows Server from some cloud provider, or just  …

Security Windows Server Cloud Configuration

Install WinGet on Windows Server

Before starting, you need to make sure that you are NOT running under Administrator account! Administrator account can NOT start store apps. After starting new Windows Server, start a new PowerShell session with Administrator privilege. Run the following commands: function Install-Package { param ( [string]$PackageFamilyName ) Write-Host "Querying latest $PackageFamilyName  …

PowerShell Windows Server Install Winget Automation

精准防控面临的问题来自于健康码的设计需要革新

问题:层层加“码”真的提高了防疫的标准了吗? 最近苏州疫情严重。之前出入公司只检查苏康码是绿码就可以同行了。后来防疫标准提高了,要求同时还需要出示行程码不带星才可以进入。再后来为了限制外地人员,又搞出来了一个出入码。导致每次进一次园区都需要工卡、苏康码、行程码、出入证一堆证件。。。把一队汽车堵住了,而更让人疑惑就是:额外增加一个码,真的更加安全了吗?是否其中某些码的功能已经覆盖了呢? 例如:行程码中带有上海,往往意味着比较危险。但是病毒并不是按行政区划传播的。上海也有安全的地方,苏州也有危险的地方。例如上海的滴水湖就几乎没有病例。假如我去一趟滴水湖导致行程码带了星就不能进入园区,似乎也不合理。 额外增加一些码产生的问题相当的多:例如很多人有两部手机,或可以偷偷借来一部手机,来骗到绿码、通行证混进社区。这又不得不花费法律成本和道德来纠正这些问题。 或许对于基层来说,为  …

China Health Code Shanghai COVID-19

Install Windows 11 on Vultr cloud machine

In this blog, I gonna draft a solution for you to install any Windows OS on the Vultr cloud server.   Before starting Before starting, there are several points about why I choose Vultr and why you need to build a Windows 11 image on Vultr. Vultr is cheap Compared with other cloud service providers, Vultr is cheap. A 4GB RAM, 80GB SSD machine, costs about 24USD per month. While other platforms  …

PowerShell Windows Server Cloud Windows Windows 11 DISM Bcdedit Vultr Cloud PC

Lint markdown with customized rule by JavaScript

Recently, I have a repository with a lot of markdown files. Anduin2017/HowToCook: 程序员在家做饭方法指南。Programmer's guide about how to cook at home (Chinese only). (github.com) I installed some markdown lint plugins. However, there are some customized need for me to lint files. I think it might be a good idea to lint it with node JS, since it configures easily in GitHub pipeline and works with some  …

GitHub node JavaScript GitHub Actions Continuous Integration

Raise up Visual Studio Code correctly in your C# client-side program

When I search this topic from Google, I always get results with 'How to write C# program in VS Code'. But what I was working on is an editor, which allows the user to open VS Code to edit a folder. My UI is like this: So what should I do to open the folder in VSCode? Code is below: Process.Start(new ProcessStartInfo { UseShellExecute = true, // IMPORTANT: …

C# VSCode WPF