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
PS1="\`if [ \$? = 0 ]; | |
then echo '\[\033[38;5;79m\]\w > \[\033[38;5;99m\]['\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)']\[\033[00m\] | |
\[\033[30;48;5;6m\]( ._.)φ__\[\033[00m\] ' | |
else echo '\[\033[38;5;79m\]\w > \[\033[38;5;99m\]['\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)']\[\033[00m\] | |
\[\033[31m\]( o_o)φ__\[\033[00m\] '; fi | |
\`" |
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/bash | |
echo cleaning /tmp | |
cd /tmp | |
find ! -name 'SBo' ! -name . ! -name .. -type d -exec rm -rf {} + | |
find ! -name . ! -name .. -type f -exec rm -f {} + | |
echo turn off | |
shutdown -h now |
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
//static ip configuration on Slackware | |
//turn down interface | |
# ip link set eth0 down | |
//flush old ip | |
# ip addr flush dev eth0 up | |
//add static ip | |
# ip addr add {ip}/{mask} dev eth0 broadcast + |
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
#us intl with AltGr key, Slackware | |
#/etc/X11/xorg.conf.d/90-keyboard-layout.conf | |
Section "InputClass" | |
Identifier "keyboard-all" | |
MatchIsKeyboard "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "evdev" | |
Option "XkbLayout" "us" | |
Option "XkbVariant" "altgr-intl" | |
# Option "XkbOptions" "terminate:ctrl_alt_bksp" |
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
#/etc/X11/xorg.conf.d/00-keyboard.conf | |
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us" | |
Option "XkbVariant" "altgr-intl" | |
EndSection |
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/bash | |
dhclient -v -4 -pf /root/dhclient.pid $@ |
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/bash | |
/usr/bin/cp $1 ~/recycle/$1 | |
/usr/bin/mv $1 $2 |
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/bash | |
/usr/bin/mv $@ ~/recycle/ |
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/bash | |
xbacklight -set $@ |
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 | |
exec tail -n +3 $0 | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
#Arch | |
menuentry "Arch Linux is 4 cr8zy people" { | |
echo "Wake up Neo" | |
set root=(hd0,gpt6) | |
linux /boot/vmlinuz-linux root=/dev/sda6 |