Skip to content

Instantly share code, notes, and snippets.

View jemadux's full-sized avatar
🤲
I may be slow to respond.

Klearchos-Angelos Gkountras jemadux

🤲
I may be slow to respond.
View GitHub Profile
@jemadux
jemadux / devuan.zsh-theme
Created September 24, 2023 20:38
devuan robbyrussel based theme
PROMPT="%(?:%{$fg_bold[green]%}:%{$fg_bold[red]%}) %{$fg[cyan]%}%c%{$reset_color%}"
PROMPT+=' $(git_prompt_info)'
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]%})"
-----BEGIN PGP PRIVATE KEY BLOCK-----
lQdGBFameVMBEADI8y/9k/qUQlntcvGyuaoPsxxSh+TYQ689FeRnwvejAJfaxBPF
cyackwXNj7cObdcJ3bUnXRIH6WKYUEXXCyw0ORss6JPIt3W2jjEyLDHge0r+PazB
j4IGx0PooHWZ1WrQP8nJ7eO7F6e/hUrF2MutjAsHqDEfJ8x31SaWXQ8rVSelum2J
1RvHDiwBGhnrGX3D9e/xrKDM4sYqbJ34Pdq2TS6xxuW6usp+iCcd/VI9IAWu5BIV
fVvHrvn9h0UpVkLcrjlNLjJ3GGcPShHuVjqf6Up++l3vbzCPieZT4315Kk2yQ5rN
dSmRJANQZIPPTb7hE2SamSw+Ixhs5VKg/wzIm8kPhCc0OpwCY5wMLt63c2cDSwKc
XY7mf14bsKdiaxr70AvIfT5uyGOsxiLa5CyC/YWMoAB6k/FPicq8jKC1W//tBP6O
7P0CaLpgQtQgrY87/VE6MBxhjNb4vf1Y2/pnrHdo8s6Va6PSSEmAnCOBs22eWS43
Download the sources from https://www.gnu.org/software/emacs/download.html
Unpack somewhere, make sure you have the dependencies necessary to build the
software. Then configure:
./configure --with-mailutils --without-gsettings --without-libsystemd \
--with-imagemagick --with-x --with-x-toolkit=lucid \
--with-json --with-native-compilation --no-create \
--no-recursion
Then make and make install:
@jemadux
jemadux / gist:4019ade6580d062794111e7988d261e0
Created January 25, 2022 22:05
dracula theme powerlevel p10k
sed -i 's/POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=255/POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=244/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_OS_ICON_FOREGROUND=232/POWERLEVEL9K_OS_ICON_FOREGROUND=255/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_OS_ICON_BACKGROUND=7/POWERLEVEL9K_OS_ICON_BACKGROUND=67/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=76/POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=84/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=250/POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=0/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=255/POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=0/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_STATUS_OK_BACKGROUND=0/POWERLEVEL9K_STATUS_OK_BACKGROUND=235/g' ~/.p10k.zsh
sed -i 's/POWERLEVEL9K_STATUS_OK_PIPE_BACKGROUND=0/POWERLEVEL9K_STATUS_OK_PIPE_BACKGROUND=235/g' ~/.p10k.zsh
runtime error: slice bounds out of range [::5332879054] with length 2147483647
goroutine 27 [running]:
runtime/debug.Stack(0x13f0ce0, 0xc009c74a20, 0xc0090d5230)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9f
maunium.net/go/gomuks/debug.PrettyPanic(0xef7a40, 0xc009bece88)
/builds/tulir/gomuks/debug/debug.go:133 +0x245
maunium.net/go/gomuks/debug.Recover()
/builds/tulir/gomuks/debug/debug.go:107 +0x65
panic(0xef7a40, 0xc009bece88)
/usr/local/go/src/runtime/panic.go:965 +0x1b9
For IPv4: 1.1.1.1 and 1.0.0.1
For IPv6: 2606:4700:4700::1111 and 2606:4700:4700::1001

Keybase proof

I hereby claim:

  • I am jemadux on github.
  • I am jemadux (https://keybase.io/jemadux) on keybase.
  • I have a public key ASBCXIQZR1QudAUzqkmvh1hysjtML8xmmCWKCYSsz_-4ygo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am jemadux on github.
* I am jemadux (https://keybase.io/jemadux) on keybase.
* I have a public key ASAq3O3DHMmYTlOdh8a2CQx-q2DUaBI9vnb6TG9oS18vvgo
To claim this, I am signing this object: