delete ptpb.pw since that it's down

This commit is contained in:
Eduard Tolosa 2019-03-09 13:04:46 -05:00
parent 09bc0e9edb
commit e0067697af
2 changed files with 11 additions and 2 deletions

View file

@ -6,7 +6,12 @@
# Autor: Eduard Toloza
# Define variables
services='Put here the service names that you want to restart if internet connection is not available, the services must be sepparated by spaces. Example: systemd-resolved systemd-networkd openvpn'
services='systemd-networkd wpa_supplicant@wlp3s0 systemd-resolved randomvpn'
if [ "$1" == "f" ]; then
sudo systemctl restart $services
exit
fi
#Check if ping command is available
if command -v ping > /dev/null; then

View file

@ -110,7 +110,7 @@ fi
### OWN ALIAS ###
#Pastes
alias pb='curl -F c=@- https://ptpb.pw/?u=1'
alias pb="curl -F 'sprunge=<-' http://sprunge.us"
alias ix="curl -F 'f:1=<-' ix.io"
#Temperature
@ -180,6 +180,10 @@ alias longfiles="find ./ -printf '%s %p\n'| sort -nr | head -20"
# Alias to update ArchLinux
alias uparch='sudo pacman -Syu --noconfirm'
# Alias for pkgfile
alias pkgfile='pkgfile -v'
alias upkgfile='sudo pkgfile -u'
# Avoid pip installing packages as root/sudo, execute the following line in your terminal or just delete the # at the begin
#install -Dm644 /dev/stdin ~/.config/pip/pip.conf <<< $'[install]\nuser = yes\n'