This file contains 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
{ | |
"editor.fontFamily": "'Fira Code', 'Hasklig', Consolas", | |
"editor.fontLigatures": true, | |
"editor.minimap.enabled": false, | |
"editor.rulers": [ | |
120 | |
], | |
"editor.cursorBlinking": "smooth", | |
"editor.cursorSmoothCaretAnimation": true, | |
"editor.renderIndentGuides": true, |
This file contains 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
# Add these lines to .bashrc in WSL to prevent slow shell startup because of NVM | |
export NVM_DIR="$HOME/.nvm" | |
# add --no-use so that nvm doesn't load node automatically | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# manually add desired node version to PATH | |
NODE_VERSION="v12.6.0" | |
export PATH="${PATH}:${NVM_DIR}/versions/node/${NODE_VERSION}/bin" |
This file contains 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
alias update='sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt clean' | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias h='cd ~' | |
alias c='clear' | |
alias art=artisan | |
alias codecept='vendor/bin/codecept' |
This file contains 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
#!/bin/bash | |
# Provisioning script for PHP & Node development environment on WSL | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run this script as root" | |
exit | |
fi | |
# create work dir |
This file contains 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 you update your system | |
sudo apt update && sudo apt-get dist-upgrade | |
# Uninstall unnecessary programs | |
sudo apt purge epiphany-browser epiphany-browser-data #browser | |
sudo apt purge pantheon-mail | |
# Bring back Software and Updates from Ubuntu | |
sudo apt-get install software-properties-gtk | |
# Properties Commons (to install elementary tweaks) |