Skip to content

Instantly share code, notes, and snippets.

View PascalKu's full-sized avatar
👋
Hey whazzup?

Pascal Kutscha PascalKu

👋
Hey whazzup?
  • Aachen, Germany
View GitHub Profile
@gustavorv86
gustavorv86 / debian-11-bullseye-sources.list
Last active November 8, 2023 07:06
Debian Bullseye/Oldstable official repositories
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
@iddm
iddm / ssd-write-bench.sh
Last active March 27, 2022 06:28
Universal Linux SSD Write speed test
#!/bin/sh
# This will read 4GB+ data from /dev/zero and write to a test file in current directory.
# If you need to test the speed of your SSD drive, go to any partition with it with a filesystem
# with write support, make sure you have rights to do this and then run the command below (or just this script).
# As a sort of customisation, the block size ideally should be identical to the block size of your device:
# https://unix.stackexchange.com/questions/52215/determine-the-size-of-a-block-device
# However, the `64k` value worked absolutely fine for my setup.
dd if=/dev/zero of=test_$$ bs=64k count=64k conv=fdatasync && rm -f test_$$