tiny tiny update
authorpatrick nsukami <ndkpatt@gmail.com>
Thu, 26 Nov 2015 22:09:03 +0000 (22:09 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Thu, 26 Nov 2015 22:09:03 +0000 (22:09 +0000)
.bash_aliases
.bash_function

index 53a69b5..d7e1ba7 100644 (file)
@@ -1,6 +1,9 @@
 #!/bin/sh
 
-alias fuck="sudo $(history -p \!\!)"
+#alias fuck="sudo $(history -p \!\!)"
+
+alias unmount="sudo umount"
+
 alias my_pg_st="sudo systemctl status postgresql"
 alias my_pg_rst="sudo systemctl restart postgresql"
 alias my_ng_st="sudo systemctl status nginx"
@@ -39,16 +42,6 @@ alias my_installed_packages2="apt search ~i | grep -v '^i A' | cut -d ' ' -f 4"
 
 # the grep I use the most
 alias my_grep="grep -Hrnisl"
-
-# my weird aliases
-alias djo_runserver="python manage.py runserver"
-alias djo_shell="python manage.py shell"
-alias djo_shellp="python manage.py shell_plus"
-alias djo_make="python manage.py makemigrations"
-alias djo_mig="python manage.py migrate"
-alias djo_csu="python manage.py createsuperuser"
-alias djo_smtpd="python -m smtpd -n -c DebuggingServer localhost:1025"
-
 alias nimcr="nim c -r"
 
 alias my_current_shell="echo $0"
index 1012212..1ab9804 100644 (file)
@@ -53,6 +53,11 @@ scp() {
 #     command git "$@"
 # }
 
+my_reboot_br0(){
+    sudo ifdown br0
+    my_up
+}
+
 my_up(){
     ifup br0 &&
     echo "nameserver 80.67.169.12" | sudo tee /etc/resolv.conf