Channel Avatar

Coding solutions @UCRtux0BT0CBgEwY3CXAkE0w@youtube.com

677 subscribers - no pronouns :c

Simple coding solutions to popular tasks with clear explanat


00:28
Get Command Line Input Mid-Runtime
00:16
Get free space on disk
00:28
Format number with leading zeros
00:16
Foreach all alphabet letters
00:20
Get first element of an array
00:25
Get file extension
00:21
Enable errors display
00:11
Hide errors display
00:17
Find error log location
00:21
Convert standard numbers to Persian numbers
00:33
Drop all Mysql tables in a specific database
00:22
screen
00:21
Remove a directory that is not empty
00:16
Delete an element from an array
00:27
Delete an element from array by value
00:21
Find difference between two dates in days
00:14
Get current year
00:26
Get current URL
00:16
Get current month
00:12
Get current day of month
00:32
Upload file using curl
00:19
Send PUT curl request
00:35
Make a POST request with curl
00:28
Request a URL with curl
00:21
Send DELETE curl request
00:32
Send custom headers using Curl
00:27
Create directory recursively
00:21
Convert variable to int
00:21
Convert variable to float
00:27
Convert date to different format
00:21
Convert array to object
00:13
Get client IP address
00:16
Find php.ini loaded by CLI
00:30
Check if string contains specific substring
00:31
How to change color of CLI text
00:21
Call static method by variable name
00:27
Get first element of an associative array
00:22
Convert array to CSV line
00:15
Get last element of array
00:36
Append line to a file
00:21
CORS rule to allow all origins to access page
00:30
Format string width with leading spaces
00:16
Make 302 (Moved Temporarily) redirect
00:13
Make 301 (Moved Permanently) redirect
00:39
Have exactly 2 decimal places for the number
00:21
Optimize PNG image
00:21
Batch optimize multiple PNG image
00:23
How to set environment variable
00:31
How to set content type in HTTP server
00:34
How to send message to client from websocket server
00:16
How to run Node.js script
00:15
How to run Node.js script in background
00:16
How to write file
00:42
How to read stream to string
00:16
How to read stream to Buffer
00:15
How to read file
00:15
How to pretty print JSON stringify
00:16
How to make GET request
00:42
How to POST JSON data
00:14
How to pipeline streams