dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync
loadkeys <your-keymap>
LVM on LUKS Arch installation with systemd-boot
Sources:
sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
dpkg -i vagrant_1.6.5_x86_64.deb
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround
exit
window.parseHash = function() { | |
var parsed = {}; | |
var pairs = window.location.hash.replace('#', '').split('&'); | |
pairs.forEach(function(pair) { | |
parsed[pair.split('=')[0]] = (parseInt(pair.split('=')[1], 10) || pair.split('=')[1]); | |
}); | |
return parsed; | |
}; |
# Install | |
yum -y install doxygen | |
yum -y install graphviz | |
yum -y install texlive texlive-utils | |
# Make default config for doxygen | |
cd {c_source_dir} | |
doxygen -g my.doxy |
#!/usr/bin/env bash | |
# reflog: Pretty format `git reflog show` with optional flag options for refining reflog output | |
reflog () { | |
if [[ ! "$(git rev-parse --is-inside-work-tree)" ]] 2>/dev/null; then | |
echo "fatal: Not a git repository (or any of the parent directories): .git" | |
return 1 | |
fi | |
# decorated `git reflog show` graph format style |
apt update | |
apt upgrade | |
apt install build-essential | |
apt install pkg-config | |
apt install libnet-dev python-yaml libaio-dev | |
apt install libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev python-future | |
# criu install | |
curl -O -sSL http://download.openvz.org/criu/criu-3.10.tar.bz2 | |
tar xjf criu-3.10.tar.bz2 |
Create a template service file at /etc/systemd/system/[email protected]
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target