<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>DevCheats — Developer Cheat Sheets &amp; Code Snippets</title><description>Instant, verified, zero-fluff developer recipes for Docker, Python, Git, JavaScript, and Linux.</description><link>https://devcheats.xyz/</link><language>en-us</language><item><title>Docker Restart All Containers Command</title><link>https://devcheats.xyz/docker/restart-all-containers/</link><guid isPermaLink="true">https://devcheats.xyz/docker/restart-all-containers/</guid><description>Restart all active, stopped, or exited Docker containers in seconds using quiet ID output piping.</description><pubDate>Mon, 02 Nov 2026 00:00:00 GMT</pubDate><category>docker</category><category>docker</category><category>containers</category><category>restart</category><category>devops</category><category>cli</category></item><item><title>Docker Prune All Unused Resources (Clean Disk Space)</title><link>https://devcheats.xyz/docker/remove-unused-containers-images-volumes/</link><guid isPermaLink="true">https://devcheats.xyz/docker/remove-unused-containers-images-volumes/</guid><description>Clean up gigabytes of reclaimed disk space by wiping dangling images, containers, networks, and unused cache.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>docker</category><category>docker</category><category>prune</category><category>cleanup</category><category>disk space</category></item><item><title>Docker Compose Rebuild and Restart a Single Service</title><link>https://devcheats.xyz/docker/compose-rebuild-single-service/</link><guid isPermaLink="true">https://devcheats.xyz/docker/compose-rebuild-single-service/</guid><description>Rebuild a specific microservice container without restarting the entire compose stack.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>docker</category><category>docker</category><category>compose</category><category>rebuild</category><category>devops</category></item><item><title>How to Copy Files Between Docker Container and Host Machine</title><link>https://devcheats.xyz/docker/copy-file-between-host-container/</link><guid isPermaLink="true">https://devcheats.xyz/docker/copy-file-between-host-container/</guid><description>Copy config files, database dumps, or logs back and forth between your local filesystem and a running container.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>docker</category><category>docker</category><category>copy</category><category>files</category><category>devops</category></item><item><title>Docker Logs Follow and Tail Last Lines in Real-Time</title><link>https://devcheats.xyz/docker/view-container-logs-tail-follow/</link><guid isPermaLink="true">https://devcheats.xyz/docker/view-container-logs-tail-follow/</guid><description>Stream live container stdout/stderr logs with timestamp flags without loading massive gigabyte log files.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>docker</category><category>docker</category><category>logs</category><category>debugging</category><category>devops</category></item><item><title>How to Restart Pods in Kubernetes (Rolling Restart Deployment)</title><link>https://devcheats.xyz/kubernetes/kubectl-restart-deployment-pods/</link><guid isPermaLink="true">https://devcheats.xyz/kubernetes/kubectl-restart-deployment-pods/</guid><description>Trigger a zero-downtime rolling restart of all pods in a Kubernetes deployment using rollout restart.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>kubernetes</category><category>kubernetes</category><category>k8s</category><category>kubectl</category><category>restart</category><category>devops</category></item><item><title>Kubernetes View Logs of Crashed or Terminated Pod (CrashLoopBackOff)</title><link>https://devcheats.xyz/kubernetes/kubectl-view-pod-logs-previous-crash/</link><guid isPermaLink="true">https://devcheats.xyz/kubernetes/kubectl-view-pod-logs-previous-crash/</guid><description>Diagnose CrashLoopBackOff errors by inspecting the previous container instance logs before it died.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>kubernetes</category><category>kubernetes</category><category>k8s</category><category>logs</category><category>crashloopbackoff</category><category>debugging</category></item><item><title>How to Decode Kubernetes Secret Values (Base64 One-Liner)</title><link>https://devcheats.xyz/kubernetes/kubectl-decode-secret-base64/</link><guid isPermaLink="true">https://devcheats.xyz/kubernetes/kubectl-decode-secret-base64/</guid><description>View the plaintext decrypted values stored inside a Kubernetes Secret directly from terminal.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>kubernetes</category><category>kubernetes</category><category>k8s</category><category>secret</category><category>base64</category><category>security</category></item><item><title>How to Reverse a List in Python (Interactive Benchmark)</title><link>https://devcheats.xyz/python/reverse-a-list/</link><guid isPermaLink="true">https://devcheats.xyz/python/reverse-a-list/</guid><description>The fastest and most Pythonic ways to reverse a list, with slice notation and memory-safe in-place mutation.</description><pubDate>Mon, 02 Nov 2026 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>lists</category><category>slicing</category><category>reverse</category><category>algorithms</category></item><item><title>How to Merge Two Dictionaries in Python</title><link>https://devcheats.xyz/python/merge-two-dictionaries/</link><guid isPermaLink="true">https://devcheats.xyz/python/merge-two-dictionaries/</guid><description>The clean, modern Python 3.9+ dictionary union operator (|) and backwards compatible methods.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>dict</category><category>dictionary</category><category>merge</category></item><item><title>How to Drop a Column in Pandas DataFrame</title><link>https://devcheats.xyz/python/pandas-drop-column/</link><guid isPermaLink="true">https://devcheats.xyz/python/pandas-drop-column/</guid><description>Drop single or multiple columns by name or index cleanly without KeyError warnings.</description><pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>pandas</category><category>dataframe</category><category>data science</category></item><item><title>How to Check if a Key Exists in a Python Dictionary</title><link>https://devcheats.xyz/python/check-key-exists-in-dict/</link><guid isPermaLink="true">https://devcheats.xyz/python/check-key-exists-in-dict/</guid><description>The fastest O(1) hash table lookup methods to verify dictionary keys without KeyError exceptions.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>dict</category><category>dictionary</category><category>lookup</category></item><item><title>How to Flatten a List of Lists in Python</title><link>https://devcheats.xyz/python/flatten-nested-list/</link><guid isPermaLink="true">https://devcheats.xyz/python/flatten-nested-list/</guid><description>The fastest ways to flatten a 2D matrix into a 1D flat array using list comprehensions and itertools.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>python</category><category>python</category><category>lists</category><category>flatten</category><category>algorithms</category></item><item><title>How to Find and Delete Duplicate Rows in SQL (ROW_NUMBER CTE)</title><link>https://devcheats.xyz/sql/find-and-delete-duplicate-rows-sql/</link><guid isPermaLink="true">https://devcheats.xyz/sql/find-and-delete-duplicate-rows-sql/</guid><description>Identify and safely remove duplicate records from SQL tables while keeping the original row intact.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>sql</category><category>sql</category><category>duplicates</category><category>cte</category><category>database</category><category>postgres</category></item><item><title>How to UPDATE From Another Table Using JOIN in SQL</title><link>https://devcheats.xyz/sql/sql-update-with-join-syntax/</link><guid isPermaLink="true">https://devcheats.xyz/sql/sql-update-with-join-syntax/</guid><description>Update records in one table based on matching values and conditions from a joined secondary table.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>sql</category><category>sql</category><category>update</category><category>join</category><category>database</category></item><item><title>SQL GROUP BY With HAVING Clause (Find Duplicates &amp; Thresholds)</title><link>https://devcheats.xyz/sql/sql-select-count-group-by-having/</link><guid isPermaLink="true">https://devcheats.xyz/sql/sql-select-count-group-by-having/</guid><description>Filter aggregated query groups based on count or sum conditions using the HAVING clause.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>sql</category><category>sql</category><category>group-by</category><category>having</category><category>aggregate</category></item><item><title>Git Undo Last Commit (Keep Changes Staged)</title><link>https://devcheats.xyz/git/undo-last-commit-keep-changes/</link><guid isPermaLink="true">https://devcheats.xyz/git/undo-last-commit-keep-changes/</guid><description>Safely undo the previous commit without losing any written code or modifications.</description><pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate><category>git</category><category>git</category><category>commit</category><category>reset</category><category>undo</category><category>vcs</category></item><item><title>Git Stash All Files Including Untracked and New Files</title><link>https://devcheats.xyz/git/stash-include-untracked/</link><guid isPermaLink="true">https://devcheats.xyz/git/stash-include-untracked/</guid><description>Save modified and newly created untracked files into the stash stack to restore a 100% clean working directory.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>git</category><category>git</category><category>stash</category><category>untracked</category><category>vcs</category></item><item><title>How to Rename a Local and Remote Git Branch</title><link>https://devcheats.xyz/git/rename-local-and-remote-branch/</link><guid isPermaLink="true">https://devcheats.xyz/git/rename-local-and-remote-branch/</guid><description>Step-by-step commands to rename a branch locally, push the new branch, and reset the upstream tracking.</description><pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate><category>git</category><category>git</category><category>branch</category><category>rename</category><category>remote</category></item><item><title>Git Discard All Local Changes and Reset Working Directory</title><link>https://devcheats.xyz/git/discard-all-local-uncommitted-changes/</link><guid isPermaLink="true">https://devcheats.xyz/git/discard-all-local-uncommitted-changes/</guid><description>Wipe all uncommitted code edits, staged modifications, and new untracked files back to clean HEAD state.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>git</category><category>git</category><category>discard</category><category>clean</category><category>restore</category><category>vcs</category></item><item><title>How to Cherry-Pick a Specific Commit to Another Branch in Git</title><link>https://devcheats.xyz/git/cherry-pick-commit-to-branch/</link><guid isPermaLink="true">https://devcheats.xyz/git/cherry-pick-commit-to-branch/</guid><description>Port a single bugfix or feature commit from one branch onto your current branch without merging.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>git</category><category>git</category><category>cherry-pick</category><category>merge</category><category>vcs</category></item><item><title>How to Deep Clone an Object in JavaScript (Native structuredClone)</title><link>https://devcheats.xyz/javascript/deep-clone-object/</link><guid isPermaLink="true">https://devcheats.xyz/javascript/deep-clone-object/</guid><description>Create a true recursive deep clone of complex JavaScript objects without JSON serialization quirks.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>javascript</category><category>javascript</category><category>clone</category><category>object</category><category>deep-clone</category></item><item><title>Regex for Email Validation in JavaScript (Interactive Tester)</title><link>https://devcheats.xyz/javascript/regex-email-validation/</link><guid isPermaLink="true">https://devcheats.xyz/javascript/regex-email-validation/</guid><description>Production-ready, battle-tested regular expression pattern to validate RFC 5322 email formats in JavaScript/TypeScript.</description><pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate><category>javascript</category><category>javascript</category><category>regex</category><category>email</category><category>validation</category><category>web dev</category></item><item><title>How to Remove Duplicates from an Array in JavaScript</title><link>https://devcheats.xyz/javascript/remove-duplicates-from-array/</link><guid isPermaLink="true">https://devcheats.xyz/javascript/remove-duplicates-from-array/</guid><description>The fastest, modern ES6 O(N) technique to de-duplicate primitive arrays using Set.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>javascript</category><category>javascript</category><category>array</category><category>duplicates</category><category>set</category></item><item><title>How to Check if an Object is Empty in JavaScript</title><link>https://devcheats.xyz/javascript/check-if-object-is-empty/</link><guid isPermaLink="true">https://devcheats.xyz/javascript/check-if-object-is-empty/</guid><description>Verify if an object has zero enumerable properties without triggering prototype chain bugs.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>javascript</category><category>javascript</category><category>object</category><category>empty</category><category>validation</category></item><item><title>How to Extract .tar.gz File in Linux (CLI Guide)</title><link>https://devcheats.xyz/linux/tar-extract-tar-gz-command/</link><guid isPermaLink="true">https://devcheats.xyz/linux/tar-extract-tar-gz-command/</guid><description>The standard tar flags to decompress and extract .tar.gz or .tgz archive files quickly.</description><pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate><category>linux</category><category>linux</category><category>tar</category><category>extract</category><category>zip</category><category>sysadmin</category></item><item><title>Find and Kill Process Running on Specific Port in Linux</title><link>https://devcheats.xyz/linux/find-and-kill-process-on-port/</link><guid isPermaLink="true">https://devcheats.xyz/linux/find-and-kill-process-on-port/</guid><description>Free up occupied ports (e.g., port 3000 or 8080) blocked by zombie node/python processes.</description><pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate><category>linux</category><category>linux</category><category>port</category><category>kill</category><category>networking</category><category>sysadmin</category></item><item><title>How to Find the Largest Files and Folders in Linux (Disk Space)</title><link>https://devcheats.xyz/linux/disk-usage-largest-files-folders/</link><guid isPermaLink="true">https://devcheats.xyz/linux/disk-usage-largest-files-folders/</guid><description>Scan disk partitions and list the top 10 largest space-consuming directories in human-readable format.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><category>linux</category><category>linux</category><category>disk</category><category>storage</category><category>sysadmin</category></item></channel></rss>