Skip to content

Instantly share code, notes, and snippets.

View washopilot's full-sized avatar

Fernando Chicaiza washopilot

View GitHub Profile
@washopilot
washopilot / steps_ohmyzsh_p10k.txt
Last active February 13, 2024 06:16
Oh My Zsh + PowerLevel10k
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
@washopilot
washopilot / git_config.txt
Last active April 6, 2024 22:51
Git global username/email configuration
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]"
@washopilot
washopilot / install php shorcuts
Last active April 22, 2023 04:17
php install
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
@washopilot
washopilot / windows dual boot
Last active July 1, 2022 11:41
Dual boot Linux - Windows10
bcdedit /enum firmware
bcdedit /delete {id}
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
bcdedit /set {bootmgr} path \EFI\fedora\grubx64.efi
---------------------------
diskpart
@washopilot
washopilot / settings.json
Last active May 25, 2024 15:20
My VSCode Custom Settings
{
"[blade]": {
"editor.defaultFormatter": "shufo.vscode-blade-formatter"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[dockercompose]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},