Skip to content

Instantly share code, notes, and snippets.

View behrouze's full-sized avatar

Behrouze behrouze

View GitHub Profile
@behrouze
behrouze / .bash_aliases
Last active February 13, 2024 15:06
my personnal .bash_aliases
# Env Variables
[ $? -eq 0 ] && export LATEST_ALIASES=https://gist.github.com`curl -s https://gist.github.com/behrouze/7474a7baa0b321e1382e6c8aafa94d1b>/dev/null|grep -i raw|cut -d "\"" -f 2|head -1`
export LOG="/var/log"
export NG="/etc/nginx"
export NGA="$NG/sites-available"
export NGE="$NG/sites-enabled"
export WWW="/var/www"
# Nginx
alias log='cd $LOG/nginx && lr'
@behrouze
behrouze / Debug VSCode.md
Last active July 24, 2019 14:35
Debug VSCode

pré-requis

installer l'extension Chrome pour VSCode

lancer Chrome en mode debug

Linux

/opt/google/chrome/google-chrome --remote-debugging-port=9222 --user-data-dir=XXX

linux ~/.config/google-chrome/Default osx

@behrouze
behrouze / keybindings.json
Last active November 3, 2019 10:21
VSCode keyboard shortcuts
// top raccourci claviers favoris pour VSCode
[
{
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+k ctrl+i",
"command": "editor.foldRecursively"
},