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
| v=8 # set to 4, 5, 6, ... as needed | |
| curl -sL https://deb.nodesource.com/setup_$v.x | sudo -E bash - | |
| Then install the Node.js package. | |
| sudo apt-get install -y nodejs |
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
| #!/usr/bash | |
| wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
| sudo tar -xzf postman.tar.gz -C /opt | |
| sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
| #Create a Desktop Entry | |
| cat > ~/.local/share/applications/postman.desktop <<EOL | |
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Name=Postman |
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
| UPDATE mysql.user SET authentication_string = PASSWORD('123') WHERE User = 'root' AND Host = 'localhost'; |
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
| edit ~/.bash_profile | |
| add laravel via composer example | |
| export PATH="$PATH:~/.composer/vendor/bin" |
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
| Solución: | |
| export PATH="~/.composer/vendor/bin:$PATH" |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <rotate | |
| android:duration="70" | |
| android:fromDegrees="-5" | |
| android:pivotX="50%" | |
| android:pivotY="50%" | |
| android:repeatCount="5" | |
| android:repeatMode="reverse" |
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
| Dirigirse a /etc/postfix/ | |
| y editar: | |
| vi /etc/postfix/main.cf | |
| buscar esta linea | |
| mydestination = tudominio.com, localhost, localhost.localdomain | |
| y borrar tudominio.com, |
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
| php -i | grep "Loaded Configuration File" |
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
| Cambiar contraseña VPS OVH | |
| 1.- Entrar en modo rescate (reniciando vps) | |
| 2.- Buscar los accesos temporales en el correo, por si no te deja entrar al vps:: ssh-keygen -R ip-vps | |
| 3.- Comprobar el disco donde esta montado el vps : | |
| # fdisk -l | |
| El dispositivo seguido del * es el disco booteable (la partición del vps principal) | |
| (http://docs.ovh.ca/en/guides-ovh-rescue.html#mounting-disk-s ) |
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
| sudo dseditgroup -o edit -a 'soyunusuario' -t user soyungrupoexistente |