Show php error log
sudo tail -f /var/log/apache2/error.log
Archives for My Lazy and Forgetful Mind
sudo tail -f /var/log/apache2/error.log
Step 1: Set Up Git Version Control in cPanel: Log in to your cPanel account. Navigate to the "Git Version Control" section (or similar) and create a new repository or choose an existing one. Note down the repository URL provided by cPanel. This URL is used to push changes. Step 2: Configure GitHub Webhook: In […]
Introduction Ensuring data security and business continuity requires a well-structured backup strategy. This article provides concise guidance on creating and maintaining backups for websites and applications. Backup Frequency Dynamic Sites: Daily or hourly backups for frequently updated websites. Static Sites: Weekly or bi-weekly backups for less dynamic sites. Database-Driven Sites: Daily or hourly backups for […]
This article is my notes for step by step to install and configure set top box Armbian into kiosk device. List of Bugs browser failed to launch immediately solution : add sleep 60 before launching the browser display need to restart or reattach the hdmi cable if system rebooted. solution: use xrandr to relaunch the […]
When you initialize an Expo React Native app, it follows a specific folder structure to help you organize your code and assets efficiently. Here’s the usual folder structure you’ll find in an Expo React Native project: your-project/ ├── App.tsx // Entry point of the app ├── app.json // Configuration file for Expo ├── assets/ // […]
In Linux, you can configure DNS settings using the resolv.conf file. Here’s a quick guide to get you started: Open a terminal. Edit the resolv.conf file using a text editor: sudo nano /etc/resolv.conf Add your preferred DNS servers: nameserver 8.8.8.8 nameserver 8.8.4.4 Save the changes and close the text editor. To prevent overwriting, create a […]
https://bizzybizzycreative.com/adding-a-subdomain-for-a-page-on-your-wordpress-website/ https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/#manual
Using dd Command with Windows 10 Using Cygwin The dd command is a powerful tool commonly used in Unix-like operating systems for disk-related operations. While Windows 10 does not have a built-in dd command, you can leverage the capabilities of Cygwin to use dd in a Windows environment. Cygwin provides a collection of GNU and […]
if you want to scan your network, you can use Nmap Nmap is a powerful network exploration and security auditing tool that can be used to discover hosts and services on a computer network. Here’s a tutorial on how to install and use Nmap on Linux: Installation: Open the terminal on your Linux system. # […]
tl;dr use syntax below git diff-tree -r –no-commit-id –name-only –diff-filter=ACMRT $commit_id | tar -czf file.tgz -T – $commit_id = commit sha id you want to archieve to know commit id git log To exit git log command press q key. Git Archieve only Changed File and folder on current commit To create an archive of […]