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
// This file was initially generated by Windows Terminal 0.11.1121.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
blacklist bcm2835_codec | |
blacklist bcm2835_mmal_vchiq | |
blacklist bcm2835_v4l2 | |
blacklist media | |
blacklist snd | |
blacklist snd_bcm2835 | |
blacklist snd_pcm | |
blacklist snd_timer | |
blacklist v4l2_common | |
blacklist v4l2_mem2mem |
// source: https://github.com/getsentry/sentry-webpack-plugin/issues/48 | |
// usefull for hidden sourcemaps | |
const childProcess = require('child_process') | |
const RELEASE_HASH = childProcess.execSync('git rev-parse HEAD').toString().trim() | |
module.exports = { | |
devtool: 'hidden-source-map', | |
plugins: [ | |
... |
// top raccourci claviers favoris pour VSCode | |
[ | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "editor.foldRecursively" | |
}, |
installer l'extension Chrome pour VSCode
/opt/google/chrome/google-chrome --remote-debugging-port=9222 --user-data-dir=XXX
linux ~/.config/google-chrome/Default osx
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="==> \[\033[01;32m\]\w\[\033[01;34m\]\n\$(parse_git_branch)\[\033[00m\] $ " |
# Env Variables | |
ping -q -c1 -W1 google.fr 1>/dev/null | |
[ $? -eq 0 ] && export LATEST_ALIASES=https://gist.github.com`curl -s https://gist.github.com/behrouze/7474a7baa0b321e1382e6c8aafa94d1b|grep 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 |
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |