Compare commits

...

4 Commits

Author SHA1 Message Date
Robin-Charles GUIHENEUF
227559b535 navi: Add helpers (compare & bluetooth) 2021-04-17 18:39:45 +02:00
Robin-Charles GUIHENEUF
2c0843c372 aliases: Add NAS project 2021-04-17 18:39:09 +02:00
Robin-Charles GUIHENEUF
3f32478b4f codium: Add lower case keybinding 2021-04-17 18:38:39 +02:00
Robin-Charles GUIHENEUF
bf91d2e865 config: Add font installation in GUI 2021-04-17 18:38:17 +02:00
4 changed files with 16 additions and 2 deletions

View File

@ -241,6 +241,7 @@ alias nmr='cd $HOME/Netatmo/embedded/nmr'
alias py='cd $HOME/Netatmo/core/python-emb-tools' alias py='cd $HOME/Netatmo/core/python-emb-tools'
alias mag='cd $HOME/Netatmo/embedded/magellan' alias mag='cd $HOME/Netatmo/embedded/magellan'
alias nsp='cd $HOME/Netatmo/embedded/nsp' alias nsp='cd $HOME/Netatmo/embedded/nsp'
alias nas='cd $HOME/Netatmo/embedded/nas'
alias mulot='cd $HOME/mulot/firmware' alias mulot='cd $HOME/mulot/firmware'
# In editor # In editor
@ -250,6 +251,7 @@ alias c_nmr='c $HOME/Netatmo/nmr.code-workspace'
alias c_py='c $HOME/Netatmo/python-emb-tools.code-workspace' alias c_py='c $HOME/Netatmo/python-emb-tools.code-workspace'
alias c_mag='c $HOME/Netatmo/magellan.code-workspace' alias c_mag='c $HOME/Netatmo/magellan.code-workspace'
alias c_nsp='c $HOME/Netatmo/nsp.code-workspace' alias c_nsp='c $HOME/Netatmo/nsp.code-workspace'
alias c_nas='c $HOME/Netatmo/nas.code-workspace'
alias c_mulot='c $HOME/mulot/mulot.code-workspace' alias c_mulot='c $HOME/mulot/mulot.code-workspace'
# SSH keygen # SSH keygen

View File

@ -14,7 +14,7 @@ then
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list echo 'deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
fi fi
sudo apt install terminator codium sudo apt install terminator codium fonts-firacode
mkdir -p $HOME/.config/VSCodium/User/ mkdir -p $HOME/.config/VSCodium/User/
ln -sf $HOME/.dotfiles/codium/keybindings.json $HOME/.config/VSCodium/User/keybindings.json ln -sf $HOME/.dotfiles/codium/keybindings.json $HOME/.config/VSCodium/User/keybindings.json

View File

@ -8,6 +8,10 @@
"key": "ctrl+alt+u", "key": "ctrl+alt+u",
"command": "editor.action.transformToUppercase" "command": "editor.action.transformToUppercase"
}, },
{
"key": "ctrl+alt+l",
"command": "editor.action.transformToLowercase"
},
{ {
"key": "ctrl+[BracketRight]", "key": "ctrl+[BracketRight]",
"command": "workbench.action.navigateForward" "command": "workbench.action.navigateForward"

View File

@ -42,10 +42,18 @@ ip addr show dev <interface> | grep "inet " | sed "s/ *inet \([^ ]*\) .*/\1/" |
# Get devices on interface # Get devices on interface
nmap -sP <ip> nmap -sP <ip>
# Compare 2 files # Compare 2 files (meld)
meld <(hexdump -C <file_1>) <(hexdump -C <file_2>) meld <(hexdump -C <file_1>) <(hexdump -C <file_2>)
# Compare 2 files (bcompare)
bcompare <file_1> <file_2>
# Disable Bluetooth ERTM
sudo bash -c "echo Y > /sys/module/bluetooth/parameters/disable_ertm"
$ user: cat /etc/passwd | awk -F: '{ print $1}' $ user: cat /etc/passwd | awk -F: '{ print $1}'
$ group: cat /etc/group | awk -F: '{ print $1}' $ group: cat /etc/group | awk -F: '{ print $1}'
$ interface: ip link | grep "^[0-9]*:" | sed "s/[0-9]*: \(.*\):.*/\1/" | awk -F: '{ print $1}' $ interface: ip link | grep "^[0-9]*:" | sed "s/[0-9]*: \(.*\):.*/\1/" | awk -F: '{ print $1}'
$ ip: ip addr show dev <interface> | grep "inet " | sed "s/ *inet \([^ ]*\) .*/\1/" | awk -F: '{ print $1}' $ ip: ip addr show dev <interface> | grep "inet " | sed "s/ *inet \([^ ]*\) .*/\1/" | awk -F: '{ print $1}'
$ file_1: ls | awk -F: '{ print $1}'
$ file_2: ls | awk -F: '{ print $1}'