hw-1

exif commands

exif commands

1
2
3
4
5
6
#exif commands
#remove gps info of jpg
exiftool -gps:all= *.jpg
exiftool -geotag= foo.jpg
#remove exif info
exiftool -all= foo.jpg

raspberry enable sshd without screen or keyboard

raspberry enable sshd without screen or keyboard

If you want to enable SSH, all you need to do is to put a file called ssh in the /boot/ directory. The contents of the file don’t matter: it can contain any text you like, or even nothing at all. When the Pi boots, it looks for this file; if it finds it, it enables SSH and then deletes the file. SSH can still be turned on or off from the Raspberry Pi Configuration application or raspi-config; this is simply an additional way to turn it on if you can’t easily run either of those application

refrence:https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/

how to get myip?

how to get myip?

httpbin

1
curl http://httpbin.org/ip
1
2
3
{
"origin": "218.117.10.26"
}

icanhazip

1
curl http://icanhazip.com
1
"218.117.10.26"

curl6

1
curl https://wirelessbox.net/curl6/ip
1
{"origin":"218.17.107.26"}