Skip to content

Instantly share code, notes, and snippets.

@Amb0s
Amb0s / configuring-and-maintaining-an-arch-linux-installation.md
Last active October 15, 2025 15:55
Configuring and maintaining an Arch Linux installation

Configuring and maintaining an Arch Linux installation

Configuration

Enable IPv6 Privacy Extensions (optional)

Add the following sysctl parameters into /etc/sysctl.d/40-ipv6.conf:

net.ipv6.conf.all.use_tempaddr = 2
@Amb0s
Amb0s / static-yellow-crosshair.patch
Last active November 21, 2024 16:41
Static yellow crosshair for FreeCS
diff --git a/src/client/crosshair.qc b/src/client/crosshair.qc
index f06f0d1..104dc89 100644
--- a/src/client/crosshair.qc
+++ b/src/client/crosshair.qc
@@ -14,11 +14,11 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-var bool autocvar_cl_dynamiccrosshair = true;
-var float autocvar_cl_crosshair_distance = 4;
@Amb0s
Amb0s / bash-one-liners.md
Last active October 15, 2025 15:44
Bash one-liners

Bash one-liners

Ed25519 SSH key generation

$ ssh-keygen -t ed25519 -a 100 -C ""

Sort and delete duplicate lines from a file

$ sort -u input.txt > output.txt