-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimportant_codes
More file actions
31 lines (22 loc) · 810 Bytes
/
important_codes
File metadata and controls
31 lines (22 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Don't request ssh password
ssh-keygen # inside dev
ssh-copy-id user@ip # in host
# Instalar dependencias de paquetes de ROS desde el ws
rosdep install --from-paths src -y --ignore-src
# Cuando se cierra un disco mal y ya no te deja volver a entrar
sudo ntfsfix /dev/sdb1 # reemplazar sdb1 por el disco que esta mal
# Docker borrar todo
docker rm -vf $(docker ps -aq)
docker rmi -f $(docker images -aq)
# Git submodule init and update recursively
git submodule update --init --recursive
# Ubuntu read available space
df -h
# Reset git commit
git reset --soft HEAD~1
# Activate wifi from terminal
sudo nmcli r wifi on
# Activate x11vnc for remote server
x11vnc -auth guess -display :1 -passwd mix -forever
# onnx2engine
/usr/src/tensorrt/bin/trtexec --onnx=modelo.onnx --saveEngine=modelo.engine