Skip to content

Instantly share code, notes, and snippets.

@heikomat
heikomat / DebianOnMBP.md
Last active January 28, 2017 15:50
Macbook Pro late 2015 (`MacBookPro11,5`) Debian stretch KDE setup
View DebianOnMBP.md

Basic pre-upgrade-settings

Set keyboard-layout

  • System-settings -> input-devices -> Keyboard -> Keyboard-Model: Apple macbook pro (intl) -> apply

switch ^/° with </> key

Taken from here

  • create the file ~/.Xmodmap` with the following content:
keycode 49 = less greater less greater bar brokenbar bar 
@heikomat
heikomat / working_environment_overview.md
Last active February 22, 2018 18:20
Working Environment Overview
View working_environment_overview.md

Sprachen

Wer macht was

Sprache Beschreibung Sprachtyp
HTML Beschreibt was für Elemente es gibt Markup-Sprache
CSS Beschreibt wie die Elemente aussehen Stylesheet-Sprache
JavaScript Beschreibt was passieren soll Programmier-Sprache

Erweiterungen

| Sprache | Erweitert | Beschreibung |

@heikomat
heikomat / settings.json
Last active March 11, 2018 17:06
vscode_settings
View settings.json
{
"workbench.statusBar.visible": true,
"files.insertFinalNewline": true,
"editor.scrollBeyondLastLine": false,
"editor.emptySelectionClipboard": false,
"editor.tabSize": 2,
"eslint.autoFixOnSave": true,
"tslint.autoFixOnSave": true,
"vsicons.projectDetection.autoReload": true,
"editor.rulers": [80, 120],
@heikomat
heikomat / .zshrc for windows
Created March 11, 2018 17:57
zshrc for linux subsystem on windows (incl. docker)
View .zshrc for windows
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/heiko/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
@heikomat
heikomat / .bashrc for windows
Created March 11, 2018 17:59
bashrc for linux subsystem on windows (incl. nvm)
View .bashrc for windows
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
View e200ha_linux.md

Install sudo:

su
apt install sudo
addgroup YOURUSERNAME sudo
reboot

Install Chrome

View gist:dbe5f23be2a6fc36b23709cf35e647c5
{
"workbench.statusBar.visible": true,
"files.insertFinalNewline": true,
"editor.scrollBeyondLastLine": false,
"editor.emptySelectionClipboard": false,
"editor.tabSize": 2,
"eslint.autoFixOnSave": true,
"tslint.autoFixOnSave": true,
"vsicons.projectDetection.autoReload": true,
"editor.rulers": [80, 120],
@heikomat
heikomat / .zshrc
Last active July 8, 2020 07:16
my zshrc for iterm2
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/heiko/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
@heikomat
heikomat / _settings.md
Last active November 16, 2020 09:36
make osx bearable (this is opinionated)
View _settings.md

Hidden system settings (click to expand the bulletpoints)

save screenshots to a folder on the desktop, instead of directly on the desktop
mkdir ~/Desktop/screenshots
defaults write com.apple.screencapture location ~/Desktop/screenshots