This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT="%{$fg_bold[magenta]%}%m%{$reset_color%} " | |
PROMPT+="%(?:%{$fg_bold[green]%}∆ :%{$fg_bold[red]%}∆ )" | |
PROMPT+='%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | |
PROMPT+="%{$fg_bold[white]%}$%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" disable vi compatibility | |
set nocompatible | |
" enable mouse support | |
set mouse=a | |
" use utf-8 encoding | |
set encoding=utf-8 | |
" highlight search matches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# boot option override is F11 (on my system) | |
# disable windows fast startup to save a headache | |
# set keyboard layout | |
loadkeys de-latin1 | |
# verify UEFI boot mode | |
cat /sys/firmware/efi/fw_platform_size | |
# verify connectivity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ISDs" : [1], | |
"ASes" : [ | |
{ | |
"asn" : 101, | |
"isd" : 1, | |
"label" : "101", | |
"is_core_as" : true, | |
"kubos": 1, | |
"bwserver": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# copied together from initramfs-tools | |
set -eu | |
# Read bytes out of a file, checking that they are valid hex digits | |
readhex() | |
{ | |
dd < "$1" bs=1 skip="$2" count="$3" 2> /dev/null | \ |
OlderNewer