start new:
tmux
start new with session name:
tmux new -s myname
| # -------------------------------------------------- | |
| function (build_external_project target file_name) | |
| set(CMAKELIST_CONTENT " | |
| cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) | |
| project(build_external_project) | |
| file(MD5 \"${file_name}\" FILE_HASH) |
| git clone -b sid --single-branch https://salsa.debian.org/kernel-team/linux.git | |
| wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.9.tar.xz | |
| cd linux/ | |
| edit file linux/debian/config/defines and change debug-info to false | |
| edit file linux/debian/config/amd64/defines and change debug-info to false | |
| debian/bin/genorig.py ../linux-5.2.9.tar.xz # create original source tar package) | |
| debian/rules orig # unpack original source | |
| debian/rules debian/control # create control file | |
| fakeroot debian/rules source | |
| fakeroot make -j24 -f debian/rules.gen binary-arch_amd64_none_amd64 |
| #!/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? |