php -f index.php -S localhost:8080
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
Se modifica el archivo en modo adminitrador: | |
~ sudo [nombre_editor] /etc/environment/ | |
y se agregan estas líneas | |
no_proxy="127.0.0.1,localhost" | |
NO_PROXY="127.0.0.1,localhost" | |
all_proxy=socks://172.21.0.83:3128/ | |
ALL_PROXY=socks://172.21.0.83:3128/ |
###creake the file gmail.sh with this content
#!/bin/bash
curl -u username --silent "https://mail.google.com/mail/feed/atom/all" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | sed -n "s/<title>\(.*\)<\/title.*name>\(.*\)<\/name>.*/ ⬓ \2 - \1/p"
####Type your username
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
# first | |
sudo apt-get install zsh | |
# | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
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
1. o minuscula = ubica el cursor a la sgte linea listo para escribir osea entra a modo inserción y enfoca al cursor a la linea sgte | |
1.1 O = crea una linea nueva sobre el cursor donde estoy y entra a modo insercion y enfoca el cursor a esa nueva linea. | |
2. :w [ruta_del_archivo] = para guardar un archivo en otra ruta | |
3. h j k l = izquiera, abajo, arriba, derecha | |
4. u: para deshacer |