Skip to content

Instantly share code, notes, and snippets.

View yu-hant's full-sized avatar
🎯
Focusing on nothing

Sean Chang yu-hant

🎯
Focusing on nothing
  • Taiwan
View GitHub Profile
@yu-hant
yu-hant / README.md
Last active April 25, 2025 10:01
Easily Restart ZeroTier Service

Easily Restart ZeroTier Service

Warning

You need to run this script with administrator permission, otherwise this script won't work.

Tip

Creating shortcut make your life easier. (Shortcut can set to auto run with administrator permission

C:\Windows\System32\cmd.exe /c C:\Windows\System32\sc.exe stop zerotieroneservice || sc.exe start zerotieroneservice || pause
@yu-hant
yu-hant / README.md
Created February 3, 2025 03:19
Code Server Help
code-server 4.96.2 with Code 1.96.2

Usage: code-server [options] [path]
    - Opening a directory: code-server ./path/to/your/project
    - Opening a saved workspace: code-server ./path/to/your/project.code-workspace

Options
      --auth                             The type of authentication to use. [password, none]
      --password                         The password for password authentication (can only be passed in via $PASSWORD or the config file).
@yu-hant
yu-hant / README.md
Created January 31, 2025 03:24
Hypixel Bedwars Command

所有 Hypixel 床戰 的 /play commands

您可以在遊戲中複製貼上 /play 指令,快速進入任何床戰模式的下一個遊戲。

請注意,您無法自行選擇要玩的地圖,地圖是隨機的。

一般床戰指令

單人模式

@yu-hant
yu-hant / README.md
Created January 28, 2025 08:05
Run desktop environment in Google Cloud
docker run -p 8080:80 dorowu/ubuntu-desktop-lxde-vnc --rm
@yu-hant
yu-hant / README.md
Created August 20, 2024 10:22
How To uninstall unwanted preinstalled android app
  1. Make sure you connect to your device
adb devices
  1. print app
adb shell pm list packages 
  1. Uninstall
@yu-hant
yu-hant / README.md
Last active July 14, 2024 08:09
Install Windows via command line

Install Windows via command line

diskpart
    convert gpt
    sel disk 0
    create part efi size=500
    format fs=fat32 quick
    assign letter w
    create part primary
 format quick
@yu-hant
yu-hant / README.md
Last active January 4, 2024 02:03
Python VSCode Launch Config

Python launch config

vscode launch.json

{
   // Use IntelliSense to find out which attributes exist for C# debugging
   // Use hover for the description of the existing attributes
   // For further information visit https://github.com/OmniSharp/omnishar...
   "version": "0.2.0",
 "configurations": [