This file contains hidden or 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
# | |
# ~/.bashrc | |
# | |
[[ $- != *i* ]] && return | |
parse_git_branch() { | |
/usr/bin/git branch 2> /dev/null | /usr/bin/sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} |
This file contains hidden or 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
# Sexy Bash Prompt, inspired by "Extravagant Zsh Prompt" | |
# Screenshot: http://cloud.gf3.ca/M5rG | |
# A big thanks to \amethyst on Freenode | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM=gnome-256color | |
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM=xterm-256color | |
fi |
This file contains hidden or 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
# Sexy Bash Prompt, inspired by "Extravagant Zsh Prompt" | |
# Screenshot: http://cloud.gf3.ca/M5rG | |
# A big thanks to \amethyst on Freenode | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color | |
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color | |
fi | |
if tput setaf 1 &> /dev/null; then | |
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then |
This file contains hidden or 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
## XDG | |
### User Directories | |
export XDG_CONFIG_HOME=$HOME/.config | |
export XDG_CACHE_HOME=$HOME/.cache | |
export XDG_DATA_HOME=$HOME/.local/share | |
### System Directories | |
export XDG_DATA_DIRS="$HOME/.local/share:/usr/local/share:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share" | |
export XDG_CONFIG_DIRS=/etc/xdg |
This file contains hidden or 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
" ---------------------- USABILITY CONFIGURATION ---------------------- | |
" Basic and pretty much needed settings to provide a solid base for | |
" source code editting | |
" don't make vim compatible with vi | |
set nocompatible | |
" turn on syntax highlighting | |
syntax on | |
" and show line numbers |
This file contains hidden or 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
# Sexy Bash Prompt, inspired by "Extravagant Zsh Prompt" | |
# Screenshot: http://cloud.gf3.ca/M5rG | |
# A big thanks to \amethyst on Freenode | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM=gnome-256color | |
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM=xterm-256color | |
fi |
This file contains hidden or 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
http://www.youtube.com/watch?v=0j7mEsakUHQ&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=18 | |
http://www.youtube.com/watch?v=zZnHD88e3HQ&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=19 | |
http://www.youtube.com/watch?v=CF-c1K3WWg4&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=1 | |
http://www.youtube.com/watch?v=ZB2KmOAK_E0&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=3 | |
http://www.youtube.com/watch?v=xOz2cvHDDJc&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=4 | |
http://www.youtube.com/watch?v=yUioIn8rPPM&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=9 | |
http://www.youtube.com/watch?v=U-JRJPwDRNY&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=10 | |
http://www.youtube.com/watch?v=I82PFHKgY2c&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=11 | |
http://www.youtube.com/watch?v=0_USvdbYS1g&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=12 | |
http://www.youtube.com/watch?v=dZjgk2J2vFw&list=PLGYGe2PKknX2kydiv28aq8dBXBWeJfxgg&index=13 |
This file contains hidden or 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
/****** | |
* name: ghacks user.js | |
* date: 26 June 2019 | |
* version 68-alpha: Knock on Pants | |
* "It's like thunder, lightning... the way you wear me is frightening" | |
* authors: v52+ github | v51- www.ghacks.net | |
* url: https://github.com/ghacksuserjs/ghacks-user.js | |
* license: MIT: https://github.com/ghacksuserjs/ghacks-user.js/blob/master/LICENSE.txt | |
* releases: These are end-of-stable-life-cycle legacy archives. |
This file contains hidden or 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
[Unit] | |
Description=ProtonVPN | |
After=syslog.target network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/sudo /home/daniel/bin/protonvpn-cli -f | |
ExecStop=/usr/bin/sudo /home/daniel/bin/protonvpn-cli -d | |
ExecReload=/usr/bin/sudo /home/daniel/bin/protonvpn-cli -f |