curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer --version
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
| FROM php:8.2-fpm | |
| # Set working directory | |
| WORKDIR /var/www/html | |
| USER root | |
| # Set timezone to Asia/Jakarta | |
| RUN apk update | |
| RUN ln -snf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime && echo Asia/Jakarta > /etc/timezone |
This error is relatively undetectable because when the page loads, it appears as if nothing is happening. However, when you open Developer Tools, you'll see that it actually returns a 500 Internal Server Error.
Usually caused by accessing documents in SSR code.
// NextJs SSR Code: for example
const { referrer } = document;
.....
const element = document.getElementById('my-element');
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 | |
| set -e | |
| function checkout_code() { | |
| echo "📥 [Checkout] Mengambil source code dari repository..." | |
| sleep 1 | |
| } | |
| function install_dependencies() { |
Choose versions https://github.com/jgm/pandoc/releases
Download binary package
wget https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-1-amd64.debInstall
# add repo
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
# Update & install
sudo apt updatenc command Unix
nc -vz 192.0.1.1 -Port 3306
Test-NetConnection command Windows
Test-NetConnection -ComputerName 192.0.1.1 -Port 3306
Install googleapis
npm i googleapisNewerOlder