Skip to content

Instantly share code, notes, and snippets.

View johanneshiry's full-sized avatar
:bowtie:
Currently infrequently active

Johannes Hiry johanneshiry

:bowtie:
Currently infrequently active
View GitHub Profile
@johanneshiry
johanneshiry / macOs_brew_deps.sh
Last active May 1, 2022 08:04
Installation script to install many of my daily used applications using homebrew
#!/bin/bash
# install brew if not available
if ! command -v brew &> /dev/null
then
printf "Installing Homebrew ...\n"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# install free casks
@johanneshiry
johanneshiry / fixLaTeXIndentMacOS.sh
Last active June 20, 2021 11:48
Install SublimeText with LaTeX support + required fixes for additional packages
#!/bin/bash
# requires xcode installed + working incl. command line tools
# update perl version
brew install perl
# set xcode
sudo xcode-select --switch /Library/Developer/CommandLineTools
@johanneshiry
johanneshiry / generate-ssh-key.sh
Last active November 23, 2020 08:14 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa