mirror of https://github.com/ericonr/dotfiles.git
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:
parent
33646a1230
commit
bb0d742274
|
@ -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/
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.netrwhist
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
~/.local/share/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer
|
||||
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue