Skip to content

Instantly share code, notes, and snippets.

@Penacillin
Penacillin / intel_software_optimization_manual.md
Created May 14, 2025 12:42
Intel Software Optimization Reference Manual

Intel® 64 and IA-32 Architectures

Optimization Reference Manual: Volume 1

Document Number: 248966-050US

April 2024

Notices & Disclaimers

@Penacillin
Penacillin / intel_sdm_3a.md
Last active May 14, 2025 12:15
Intel SDM 3A

Intel® 64 and IA-32 Architectures

Software Developer’s Manual

Volume 3A: System Programming Guide, Part 1

NOTE: The Intel® 64 and IA-32 Architectures Software Developer's Manual consists of ten volumes:

  • Basic Architecture, Order Number 253665;
  • Instruction Set Reference, A-L, Order Number 253666;
FROM almalinux
ARG TARGETARCH
RUN echo "targetarch=${TARGETARCH}"
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.78.0 \
PROTOC_VERSION=27.0 \
#!/bin/bash
set -euo pipefail
# Directory setup
APP_DIR="${HOME}/Applications"
ICON_DIR="${HOME}/.local/share/icons"
DESKTOP_DIR="${HOME}/.local/share/applications"
BIN_DIR="${HOME}/.local/bin"
@Penacillin
Penacillin / ssh-cipher-benchmark.sh
Created June 8, 2021 16:44
Test speed of ssh ciphers against localhost (default) or a remote
#!/bin/bash
# ssh-cipher-benchmark.sh - Assesses speed of SSH encryption between specific hosts.
# Usage:
# ssh-cipher-benchmark.sh <remotehost> [ciphers]
# Default ciphers: all we can find...
#
# Note: In some cases, the first cipher tested runs faster than the others, regardless of order.
# Cause of this is not known, but changing the order of testing shows it to be true. Run the
# first one twice if you suspect this. Perhaps it is due to buffering?
@Penacillin
Penacillin / get_links.py
Last active December 23, 2023 21:28
Gets links from http autoindex page