Skip to content

Instantly share code, notes, and snippets.

View simonherbert's full-sized avatar

Simon Herbert simonherbert

  • skillbyte GmbH
  • Cologne, Germany
View GitHub Profile
curl -L -o ~/ && bash ~/
simonherbert / gist:ee11c2b6f04d90db471620c52bbc5f09
Created July 25, 2023 18:44
conda config --set changeps1 False
simonherbert / gist:8f54cb0692bfccbe3d3fd3b81143a137
Created September 22, 2022 06:25
best macos key repeat settings
defaults write -g InitialKeyRepeat -int 15
defaults write -g KeyRepeat -int 1
simonherbert /
Created December 6, 2019 21:59
curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] \
$(lsb_release -cs) \
curl -s | sudo apt-key add -
cat << EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
deb kubernetes-xenial main
sudo apt-get update
simonherbert / 1_install_bind9_ubuntu
Last active January 23, 2018 18:20
Example file for bind9 with domain
apt update
apt install bind9 -y
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2017-07-26 21:51:58" build="161206">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::cmd}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
simonherbert /
Created April 9, 2017 20:35
Small bash script for my post installation of arch linux. Not yet tested;try on your own risk.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
echo LANG=de_DE.UTF-8 > /etc/locale.conf
echo LC_COLLATE=C >> /etc/locale.conf
echo LANGUAGE=de_DE >> /etc/locale.conf
echo KEYMAP=de-latin1 > /etc/vconsole.conf
echo FONT=lat9w-16 >> /etc/vconsole.conf
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime