Skip to content

Instantly share code, notes, and snippets.

@heikomat
heikomat / js_basics.md
Last active August 15, 2024 07:14
Introduction to ioc, di, functions, scopes, callbacks, promises and async/await

Inversion of Control via Dependency Injection

Without dependency injection

engine.ts

export class Engine {}

car.ts

@heikomat
heikomat / working_environment_overview.md
Last active February 22, 2018 18:20
Working Environment Overview

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
{
"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 March 5, 2025 08:21
my zshrc for iterm2
# enable colors and prompt substitution (so the git_prompt_info function can be used)
autoload -U colors && colors
setopt PROMPT_SUBST
# enable bash-style completions
autoload -Uz compinit
compinit
autoload -U +X bashcompinit && bashcompinit
# define some aliases
@heikomat
heikomat / DebianOnMBP.md
Last active January 28, 2017 15:50
Macbook Pro late 2015 (`MacBookPro11,5`) Debian stretch KDE setup

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