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
| export default { | |
| async fetch(request, env, ctx) { | |
| return handleRequest(request); | |
| } | |
| }; | |
| async function handleRequest(request) { | |
| const url = new URL(request.url); | |
| const pathname = url.pathname; |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "formTitle": "Subtitle Translation", | |
| "formFields": { | |
| "values": [ | |
| { | |
| "fieldLabel": "subtitle", | |
| "fieldType": "file", |
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
| apt install -y ubuntu-drivers-common | |
| ubuntu-drivers install | |
| curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ | |
| && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \ | |
| sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \ | |
| sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list | |
| sed -i -e '/experimental/ s/^#//g' /etc/apt/sources.list.d/nvidia-container-toolkit.list | |
| apt-get update | |
| export NVIDIA_CONTAINER_TOOLKIT_VERSION=1.17.8-1 | |
| curl https://get.docker.com | sh |
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
| git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch *.hprof" HEAD | |
| git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch *.apk" HEAD |
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
| docker network create -d macvlan --subnet=172.16.0.0/21 --gateway=172.16.0.1 --ip-range=172.16.1.1/24 -o parent=eth0 pub_net | |
| docker run --rm --network=pub_net --ip 172.16.1.3 dockerhub.ir/busybox ping google.com |
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
| api.instagram.com | |
| black.ish.instagram.com | |
| i.instagram.com | |
| instagram-shv-01-ams2.fbcdn.net | |
| instagram-shv-01-ams3.fbcdn.net | |
| instagram-shv-01-ash5.fbcdn.net | |
| instagram-shv-01-atl1.fbcdn.net | |
| instagram-shv-01-bru2.fbcdn.net | |
| instagram-shv-01-cai1.fbcdn.net | |
| instagram-shv-01-cdg2.fbcdn.net |