ridzimeko / PHP+NGINX+MariaDB Docker Compose
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | |
| 2 | version: "3.9" |
| 3 | services: |
| 4 | nginx: |
| 5 | build: ./nginx/ |
| 6 | ports: |
| 7 | - 80:80 |
| 8 | |
| 9 | volumes: |
| 10 | - ./php_code/:/var/www/html/ |
ridzimeko / Wordpress + MySQL Docker Compose
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | services: |
| 2 | wordpress: |
| 3 | image: wordpress:php8.3 |
| 4 | restart: unless-stopped |
| 5 | mem_limit: 128M |
| 6 | mem_reservation: 128M |
| 7 | memswap_limit: 512M |
| 8 | cpus: "0.5" |
| 9 | ports: |
| 10 | - 2233:80 |
ridzimeko / Install Flutter Fedora
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | sudo dnf install bash curl file git unzip which xz zip mesa-libGLU clang cmake ninja-build pkg-config gtk3-devel |
ridzimeko / Firebase Studio IDX Config
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | {pkgs}: { |
| 2 | channel = "stable-24.05"; |
| 3 | packages = [ |
| 4 | pkgs.nodejs_22 |
| 5 | pkgs.volta |
| 6 | ]; |
| 7 | |
| 8 | services = { |
| 9 | postgres = { |
| 10 | enable = true; |
ridzimeko / My VPS Setup
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | # --- install caddy --- |
| 2 | |
| 3 | sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl |
| 4 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg |
| 5 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list |
| 6 | sudo apt update |
| 7 | sudo apt install caddy |
| 8 | |
| 9 | |
| 10 | # --- install docker --- |
ridzimeko / Traefik Boilerplate
0 喜歡
0 分支
1 檔案
最後活躍
| 1 | version: "3" |
| 2 | services: |
| 3 | reverse-proxy: |
| 4 | # The official v3 Traefik docker image |
| 5 | image: traefik:v3.1 |
| 6 | ports: |
| 7 | # The HTTP port |
| 8 | - "80:80" |
| 9 | # The Web UI (Don't use this in production!) |
| 10 | - "8080:8080" |
ridzimeko / Siakad Kuesioner Auto Answer
0 喜歡
0 分支
1 檔案
最後活躍
Manipulasi DOM untuk menjawab semua pertanyaan kuesioner secara otomatis
| 1 | // Mendapatkan semua elemen dengan class "question-list" |
| 2 | let questionList = document.querySelectorAll( |
| 3 | '[class*="not-filled-in question-"]' |
| 4 | ); |
| 5 | |
| 6 | // Melakukan perulangan untuk setiap pertanyaan |
| 7 | questionList.forEach((radioGroup, i) => { |
| 8 | // Mendapatkan semua input radio dalam satu grup |
| 9 | const radioOptions = radioGroup.querySelectorAll(".option-jawaban"); |
ridzimeko / rsync-cheatsheet
1 喜歡
0 分支
1 檔案
最後活躍
| 1 | # filter directory based on .gitignore file |
| 2 | --filter=":- .gitignore" |
| 3 | |
| 4 | # exclude .git folder |
| 5 | --exclude='/.git' |
| 6 | |
| 7 | # run rsync as sudo |
| 8 | --rsync-path="sudo rsync" |
| 9 | |
| 10 | # Run rsync as sudo with gitignore and exclude .git folder |
上一頁
下一頁