Skip to content

Instantly share code, notes, and snippets.

View bryanisimo's full-sized avatar

Bryan González Alcíbar bryanisimo

View GitHub Profile
sudo apt-get update
sudo apt install gnupg2 wget ca-certificates -y
sudo apt install wget software-properties-common apt-transport-https -y
# PHP 7.4 + Composer
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.4 php7.4-fpm php7.4-cli php7.4-common php7.4-mysql php7.4-zip php7.4-gd php7.4-mbstring php7.4-curl php7.4-xml php7.4-bcmath php7.4-bz2 php7.4-imagick php7.4-mcrypt php7.4-opcache php7.4-sqlite3 php7.4-ssh2 php7.4-uploadprogress php7.4-uuid -y
sudo apt-get update && sudo apt-get install mysql-server -y
sudo mysql_secure_installation
# Switching authentication method from auth_socket to mysql_native_password
sudo mysql
MYSQL> SELECT user,authentication_string,plugin,host FROM mysql.user;
MYSQL> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
MYSQL> FLUSH PRIVILEGES;
MYSQL> SELECT user,authentication_string,plugin,host FROM mysql.user;
MYSQL> exit
<li>
<a style="background-image: url('/blog/wp-content/uploads/2019/04/NY.png');" target="_blank"
href="http://www.skyscanner.com.mx/transporte/vuelos/mex/nyca/vuelos-baratos-de-ciudad-de-mexico-a-nueva-york.html?adults=1&amp;children=0&amp;infants=0&amp;cabinclass=economy&amp;rtn=1&amp;preferdirects=false&amp;outboundaltsenabled=false&amp;inboundaltsenabled=false&amp;selectedoday=01&amp;oym=1608&amp;iym=1609&amp;selectediday=01">
<strong>Ciudad de México a NEW YORK</strong>
</a>
</li>
<li>
<a style="background-image: url('/blog/wp-content/uploads/2019/04/NY.png');" target="_blank"
href="http://www.skyscanner.com.mx/transporte/vuelos/mex/nyca/vuelos-baratos-de-ciudad-de-mexico-a-nueva-york.html?adults=1&amp;children=0&amp;infants=0&amp;cabinclass=economy&amp;rtn=1&amp;preferdirects=false&amp;outboundaltsenabled=false&amp;inboundaltsenabled=false&amp;selectedoday=01&amp;oym=1608&amp;iym=1609&amp;selectediday=01">
<strong>Ciudad de México a NEW YORK</strong>
@bryanisimo
bryanisimo / enhance-vim.sh
Last active August 19, 2020 02:51
Enhancing VIM in one line
# VIM with esteroids in one line (https://github.com/amix/vimrc)
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && sh ~/.vim_runtime/install_awesome_vimrc.sh