Last active
July 26, 2025 05:05
-
-
Save diyism/42fde1bbb2bd552cdc97c5e7e2da567a to your computer and use it in GitHub Desktop.
Revisions
-
diyism revised this gist
Jul 26, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ sudo docker run --platform linux/amd64 --volume /run/dbus:/run/dbus --security-o sudo docker attach <container id> apt install python3-pip apt install python3-venv #python3 -m venv v1 pip3 install playwright playwright install chromium -
diyism revised this gist
Jul 26, 2025 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,8 @@ sudo docker run --platform linux/amd64 --volume /run/dbus:/run/dbus --security-o sudo docker attach <container id> apt install python3-pip apt install python3.11-venv #python3 -m venv v1 pip3 install playwright playwright install chromium playwright install-deps -
diyism renamed this gist
Jul 16, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,7 @@ sudo docker attach <container id> apt install python3-pip pip3 install playwright playwright install chromium playwright install-deps wget https://github.com/diyism/big_files_share/releases/download/v1.0.0/tight chmod 777 tight apt install libjpeg62 -
diyism revised this gist
Jul 1, 2025 . No changes.There are no files selected for viewing
-
diyism revised this gist
Jul 1, 2025 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -20,3 +20,8 @@ export DISPLAY=:10 service dbus start python3 my_playwright.py failed: 1.D-Bus Connection Failure: Logs show errors like [145:172:0701/132304.784844:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Could not parse server address: Unknown address type, indicating D-Bus configuration issues, possibly due to the container environment not fully supporting system services. 2.ptrace Unimplemented: Errors like [0701/132312.401705:ERROR:third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach.cc:27] ptrace: Function not implemented (38) suggest that ptrace, required for Chromium’s crash reporting, is unavailable, likely due to QEMU or kernel restrictions. 3.QEMU TCG Assertion Failure: The error ERROR:../../accel/tcg/cpu-exec.c:928:cpu_exec: assertion failed: (cpu == current_cpu) indicates a failure in QEMU’s translation cache generator (TCG), common when emulating x86_64 on ARM64, as seen in the logs with "Bail out!" messages. -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ login and click "Manage instances", create ubuntu 22.04(CPU 2 core, RAM 4GB, dis ssh linux1@<ip addr> sudo apt install docker-ce sudo apt install -y qemu-user-static binfmt-support sudo docker run --platform linux/amd64 --volume /run/dbus:/run/dbus --security-opt apparmor=unconfined --cap-add=SYS_PTRACE -it ubuntu:latest /bin/bash sudo docker attach <container id> apt install python3-pip -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ login and click "Manage instances", create ubuntu 22.04(CPU 2 core, RAM 4GB, dis ssh linux1@<ip addr> sudo apt install docker-ce sudo apt install -y qemu-user-static binfmt-support sudo docker run --platform linux/amd64 --volume /run/dbus:/run/dbus --cap-add=SYS_PTRACE -it ubuntu:latest /bin/bash sudo docker attach <container id> apt install python3-pip -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ login and click "Manage instances", create ubuntu 22.04(CPU 2 core, RAM 4GB, dis ssh linux1@<ip addr> sudo apt install docker-ce sudo apt install -y qemu-user-static binfmt-support sudo docker run --platform linux/amd64 --cap-add=SYS_PTRACE -it ubuntu:latest /bin/bash sudo docker attach <container id> apt install python3-pip -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,5 +17,6 @@ apt install libjpeg62 apt install xfonts-base ./tight :10 & export DISPLAY=:10 service dbus start python3 my_playwright.py -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ sudo docker attach <container id> apt install python3-pip pip3 install playwright playwright install chromium wget https://github.com/diyism/big_files_share/releases/download/v1.0.0/tight chmod 777 tight apt install libjpeg62 -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,4 @@ apt install xfonts-base ./tight :10 & export DISPLAY=:10 python3 my_playwright.py -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,8 +12,10 @@ apt install python3-pip pip3 install playwright playwright install chrome wget https://github.com/diyism/big_files_share/releases/download/v1.0.0/tight chmod 777 tight apt install libjpeg62 apt install xfonts-base ./tight :10 & export DISPLAY=:10 python my_playwright.py -
diyism revised this gist
Jul 1, 2025 . 1 changed file with 13 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,19 @@ apply linuxone trial(60 days) with a github project: https://linuxone.cloud.marist.edu/ activate account from receipt email login and click "Manage instances", create ubuntu 22.04(CPU 2 core, RAM 4GB, disk 50GB), import pub key ssh linux1@<ip addr> sudo apt install docker-ce sudo apt install -y qemu-user-static binfmt-support sudo docker run --platform linux/amd64 -it ubuntu:latest /bin/bash sudo docker attach <container id> apt install python3-pip pip3 install playwright playwright install chrome wget https://github.com/diyism/big_files_share/releases/download/v1.0.0/tight apt install libjpeg62 apt install xfonts-base ./tight :10 & export DISPLAY=:10 -
diyism created this gist
Jul 1, 2025 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ apply linuxone trial(60 days) with a github project: https://linuxone.cloud.marist.edu/ activate account from receipt email login and click "Manage instances", create ubuntu 22.04(CPU 2 core, RAM 4GB, disk 50GB), import pub key ssh linux1@<ip addr>