Compare commits
4 Commits
48f9742466
...
227559b535
Author | SHA1 | Date | |
---|---|---|---|
|
227559b535 | ||
|
2c0843c372 | ||
|
3f32478b4f | ||
|
bf91d2e865 |
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user