Skip to content

Instantly share code, notes, and snippets.

View danieldaeschle's full-sized avatar
:octocat:
In flow

Daniel Däschle danieldaeschle

:octocat:
In flow
  • eschbach GmbH
  • Germany, Baden-Württemberg
View GitHub Profile
@abel0b
abel0b / install-linux-perf-on-wsl2.sh
Last active November 5, 2024 21:05
Install perf on WSL 2
apt install flex bison
git clone https://github.com/microsoft/WSL2-Linux-Kernel --depth 1
cd WSL2-Linux-Kernel/tools/perf
make -j8
sudo cp perf /usr/local/bin
@SteelPangolin
SteelPangolin / robbyrussell-hostname.zsh-theme
Created October 20, 2015 21:58
Tweak robbyrussell ZSH theme to prepend hostname
local hostname="%{$fg_bold[black]%}%m"
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='${hostname} ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
@simonista
simonista / .vimrc
Last active October 26, 2024 01:55
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on