Notes: Sumit Patel

Open firewall with Iptables

  1. In some vps default firewall is applied via iptables.
sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT

Get fingerprint of ssh

  1. Get SHA256 format
~ $ ssh-keygen -lf ~/.ssh/id_rsa.pub
3072 SHA256:bFCkCwupaL8oOCpWpIkfUsRmB3cioVVNGni9mtSJ7IQ u0_a258@localhost (RSA)
Read more…

pdf to image

pdftocairo file.pdf
# or 
pdftocairo -png file.pdf

Create streaming server for your camera to access it wirelessly

Just use this:

ffmpeg -f v4l2 -i /dev/video0 -q:v 5 -f mjpeg -listen 1 http://0.0.0.0:8090

then access your cam using any software like obs, any virtual cam.

http://<ip>:8090

Fix Error: Event handlers cannot be passed to Client Component props.

Note:

The Challenge: Read more…