Skip to content

Instantly share code, notes, and snippets.

View umerjamil16's full-sized avatar
🎯
Focusing

Umer Jamil umerjamil16

🎯
Focusing
View GitHub Profile
https://answers.ros.org/question/56045/world-frame-in-stage-simulation/
$ rosrun tf static_transform_publisher 0 0 0 0 0 0 /map /robot_0/odom 1000
rosrun rqt_tf_tree rqt_tf_tree
http://library.isr.ist.utl.pt/docs/roswiki/tf(2f)Tutorials(2f)Introduction(20)to(20)tf.html
https://www.ldv.ei.tum.de/fileadmin/w00bfa/www/Vorlesungen/cpp/leistungskurs/ws1617/2015-11-17__ROS_STAGE_TF_.pdf
@umerjamil16
umerjamil16 / unsplash.sh
Created August 16, 2019 14:27
Get random wallpapers from Unsplash and save them in a directory
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
@umerjamil16
umerjamil16 / unsplash.sh
Created August 16, 2019 14:27
Get random wallpapers from Unsplash and save them in a directory
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
@umerjamil16
umerjamil16 / unsplash.sh
Last active August 16, 2019 14:32
Get random wallpapers from Unsplash and save them in a directory
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
wget -O /home/umer/Pictures/wallpapers/$NEW_UUID.jpg https://unsplash.it/2560/1440/?random
gsettings set org.gnome.desktop.background picture-uri file:///home/umer/Pictures/wallpapers/$NEW_UUID.jpg