Your cart is currently empty!
Category: Uncategorized
Dockerfile: ARG
FROM instructions support variables that are declared by any ARG instructions that occur before the first FROM. An ARG declared before a FROM is outside of a build stage, so it can’t be used in any instruction after a FROM. FROM instructions is the only instructions that support variable declared by ARG before the first…
PowerShell: Create Files and Folders
To create a file: To create a folder: To create a file with parent folders:
Windows 11: Right Click Menu More Options
/f Force overwriting the existing registry entry without prompt. /ve (Optional) adds an empty value name (Default) for the key. References:
PowerShell: Process List
To get process list: To get process list and sort by CPU (ascending): To get process list sorted by CPU (ascending) and get last 10 results: To get process list and sort by CPU (descending): To get process list sorted by CPU (desceding) and get first 10 results: To get usage (CPU, Memory, Network, Disk):…
PHP: HTTP Request Body
php://input is a read-only stream that allows you to read raw data from the request body. php://input is not available in POST requests with enctype=”multipart/form-data” if enable_post_data_reading option is enabled. References:
Windows: Delete EFI Boot Entry
As Administrator run: To delete the entry: Or you can run the GUI version:
Laravel: Queue
Laravel is using Jobs to encapsulate the message. To send a message to the queue first you need to create Job class: INFO Job [app/Jobs/TestJob.php] created successfully. You will get a class with _construct() and handle() method. To send a message you only need to focus on the _construct() method. If you want to send…