A Quick Guide to Key Commands, Syntax and Concepts for r
This quick reference contains the most important commands, syntax, and concepts that are often needed during development. Use it as a quick guide for daily work.
#Repository Initialization
git restore <file>
git reset HEAD <file>
git restore --staged <file>
FULL OUTER JOIN posts p ON u.id = p.user_id;
SELECT COUNT(*) FROM users;
SELECT SUM(price) FROM orders;
Frequently asked questions
What is a 302 Found: Temporary Redirect?
302 Found: This HTTP status code indicates that the resource has been temporarily moved. The server informs the client to retry the request later, as the location may have changed.
What does a 304 Not Modified: Resource Not Changed mean?
A 304 Not Modified response signifies that the requested resource hasn't been updated since it was last cached. The server sends only the headers, saving bandwidth and improving performance.
What is a 400 Bad Request: Invalid Request?
A 400 Bad Request error indicates that the server couldn't understand the request due to invalid syntax, malformed headers, or missing parameters. It’s a client-side issue requiring correction.
What is a 401 Unauthorized: Authentication Required?
A 401 Unauthorized response signifies that the client needs to authenticate itself before accessing the requested resource. This typically involves providing credentials like username and password.
▶ Try it live
Everything above runs in your browser — open Hash Function Avalanche Visualizer and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.