Skip to content

Instantly share code, notes, and snippets.

Behrouze behrouze

Block or report user

Report or block behrouze

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
behrouze / profiles.json
Last active Mar 28, 2020
Theme perso pour Microsoft WindowsTerminal profiles.json
View profiles.json
"$schema": "",
"globals": {
"alwaysShowTabs": true,
"defaultProfile": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
"command": "closeTab",
behrouze / blacklist.conf
Created Feb 29, 2020
raspberry pi /etc/modprobe.d/blacklist.conf
View blacklist.conf
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
behrouze /
Last active Sep 30, 2019
push RELEASE_HASH to sentry
// source:
// 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: [
behrouze / keybindings.json
Last active Nov 3, 2019
VSCode keyboard shortcuts
View keybindings.json
// top raccourci claviers favoris pour VSCode
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor"
"key": "ctrl+k ctrl+i",
"command": "editor.foldRecursively"
View Debug


installer l'extension Chrome pour VSCode

lancer Chrome en mode debug


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

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

View bash git PS1 prompt on 2 lines
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\] $ "
View .profile
# ~/.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
View .bash_aliases
alias l='ls -l'
alias ll='ls -l'
alias la='ls -la'
alias lt='ls -lta'
alias lr='ls -ltra'
alias lisa='echo ❤️'
alias grep='grep --color=auto'
alias grepv='grep -vi'
alias grepi='grep -i'
You can’t perform that action at this time.