Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
{ | |
"[blade]": { | |
"editor.defaultFormatter": "shufo.vscode-blade-formatter" | |
}, | |
"[css]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[dockercompose]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, |
bcdedit /enum firmware | |
bcdedit /delete {id} | |
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi | |
bcdedit /set {bootmgr} path \EFI\fedora\grubx64.efi | |
--------------------------- | |
diskpart |
UBUNTU | |
sudo apt install php8.1 php8.1-curl php8.1-gd php8.1-intl php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-sqlite3 php8.1-xml php8.1-zip | |
sudo apt install php7.4 php7.4-curl php7.4-gd php7.4-intl php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-sqlite3 php7.4-xml php7.4-zip | |
FEDORA | |
sudo dnf -y update | |
sudo dnf -y install https://rpms.remirepo.net/fedora/remi-release-36.rpm | |
sudo dnf config-manager --set-enabled remi | |
sudo dnf module reset php | |
sudo dnf module install php:remi-7.4 |
To set your global username/email configuration: | |
Open the command line. | |
Set your username: | |
git config --global user.name "Fernando Chicaiza" | |
Set your email address: | |
git config --global user.email "[email protected]" |
https://dev.to/abdfnx/oh-my-zsh-powerlevel10k-cool-terminal-1no0 | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k | |
Then you need to enable it, change the value of ZSH_THEME to following in ~/.zshrc file: | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
p10k configure |
PARA GENERAR KEY | |
ssh-keygen -t rsa | |
PARA CONECTARSE MEDIANTE SSH CON NAMECHEAP | |
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa user@myhost -p 22 |
chown emporiol.emporiol emporiolojano.com -Rf | |
chmod 775 emporiolojano.com -Rf | |
There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.
First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com
, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/
)
# the different stages of this Dockerfile are meant to be built into separate images | |
# https://docs.docker.com/develop/develop-images/multistage-build/#stop-at-a-specific-build-stage | |
# https://docs.docker.com/compose/compose-file/#target | |
# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact | |
ARG PHP_VERSION=7.4 | |
ARG OPENRESTY_VERSION=1.17.8.2 | |
# "php" stage |