Linux xargs:Turn Lists into Command Arguments
Hands-on xargs recipes for everyday work — feed find and grep into commands, batch safely, and place arguments where they belong.
Read MoreBrowse the full archive. Use topics in the sidebar to explore by tag.
Hands-on xargs recipes for everyday work — feed find and grep into commands, batch safely, and place arguments where they belong.
Read MoreUse HashSet for uniqueness and LinkedHashSet when uniqueness still needs insertion order — both are HashMap wrappers, and neither is a sorted set.
Read MoreA binary heap is a complete tree in an array that keeps the next-best element at the root. Min vs max, PriorityQueue in the JDK, and why you will hear Fibonacci heap without implementing one.
Read MoreUse ArrayList as the default List — amortized append, O(1) get, ensureCapacity, and the fail-fast iterator — and know when growth copies the whole array.
Read MoreA B-tree packs many keys per node so one disk page is one hop. Why databases and filesystems use this shape, and how B+ trees keep values in the leaves.
Read MoreHands-on journalctl recipes for everyday work — filter by unit, severity, time range, and boot, then read the results with confidence.
Read MoreUse Map as mappings, not a Collection — get/put, compute and merge, and the keySet/values/entrySet views that write through to the same storage.
Read MoreA red-black tree is a BST painted with color rules that keep height logarithmic without AVL’s strict balance. Why TreeMap and TreeSet use this shape.
Read MoreUse Queue and Deque when the job is the ends — offer/poll versus add/remove, exception versus special value, and why indexes are the wrong primitive.
Read MoreAn AVL tree is a BST that rebalances on insert and delete so height stays O(log n). Balance factors, rotations, and when the extra strictness is worth it versus red-black.
Read More