Commit recent trivial changes.

* Ignore .netrwhist file from nvim.
* Add STM32CubeProgrammer launcher.
* Add script to set up vcan kernel module.
This commit is contained in:
Érico Rolim 2019-12-08 22:01:26 -03:00
parent 33646a1230
commit bb0d742274
4 changed files with 16 additions and 1 deletions

View File

@ -9,7 +9,9 @@ alias weather='curl wttr.in/'
alias rgmod='lsmod | rg -i'
alias rgps='ps aux | rg -i'
#alias info='info --vi-keys'
function randpw -a digits
openssl rand -base64 $digits | wl-copy
end
function pdfunlock
# command taken from https://mandrivausers.org/index.php?/topic/79354-saving-pdf-file-without-password-solved/

1
nvim/.config/nvim/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.netrwhist

4
script/.local/bin/progstm32 Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
~/.local/share/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer

8
script/.local/bin/vcan Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# taken from https://stackoverflow.com/questions/21022749/how-to-create-virtual-can-port-on-linux-c
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0