Skip to content

Instantly share code, notes, and snippets.

View yellowgh0st's full-sized avatar
💭
📟⌨⌨🧬💾

Augustin Berisa yellowgh0st

💭
📟⌨⌨🧬💾
View GitHub Profile
# hybrid oh-my-zsh theme
# ylwghst
export VIRTUAL_ENV_DISABLE_PROMPT=1
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('%F{blue}`basename $VIRTUAL_ENV`%f') '
}
PR_GIT_UPDATE=1
@yellowgh0st
yellowgh0st / kubectl.sh
Last active January 28, 2021 00:49
Create secret containing pass and username for Chainlink node
kubectl create secret generic do-admin \
--from-literal=password=yourwalletpass \
--from-literal=api=$'youremail\nYourpass'
@yellowgh0st
yellowgh0st / gtk.css
Created November 14, 2020 11:05
Header bar ~/.config/gtk-3.0/gtk.css fixes for io.elementary.terminal use with default Gnome 3 Adwaita theme.
.terminal-window headerbar {
padding-top: 0;
padding-bottom: 0;
padding-right: 9px;
}
.terminal-window button {
margin-left: 1px
}

Keybase proof

I hereby claim:

  • I am yellowgh0st on github.
  • I am ylwghst (https://keybase.io/ylwghst) on keybase.
  • I have a public key ASCux4K_iBlAS4QHabSEHuuEeKZLGsEXQ6FrOysgETMeywo

To claim this, I am signing this object:

@yellowgh0st
yellowgh0st / base.c.patch
Last active July 10, 2018 13:14
nouveau driver regression Linux kernel patch
From 570e8a07c88c3a35ef4a93e8df7845776e1bbc7f Mon Sep 17 00:00:00 2001
From: Karol Herbst <kherbst@redhat.com>
Date: Thu, 5 Jul 2018 19:27:30 +0200
Subject: [PATCH] drm/nouveau/mmu/mcp89: fix regressions in stolen memory handling
---
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
#CLUTTER_PAINT=continuous-redraws:disable-culling
CLUTTER_PAINT=disable-culling
CLUTTER_DRIVER=gl3
CLUTTER_DEFAULT_FPS=125
CLUTTER_FUZZY_PICK=1
CLUTTER_VBLANK=false
__GL_SYNC_TO_VBLANK=1
__GL_YIELD=USLEEP
#!/bin/sh
cat <<EOF
insmod setpci
setpci -s "00:17.0" 3e.b=8
setpci -s "02:00.0" 04.b=7
if [ -f \${config_directory}/custom.cfg ]; then
source \${config_directory}/custom.cfg
elif [ -z "\${config_directory}" -a -f \$prefix/custom.cfg ]; then
source \$prefix/custom.cfg;
fi
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x10de
Device ID: 0x0d7d
Subsystem Vendor ID: 0x106b
Subsystem ID: 0xcb89
Revision ID: 0x00a1
BSD name: en0