Skip to content

Instantly share code, notes, and snippets.

View umerjamil16's full-sized avatar
🎯
Focusing

Umer Jamil umerjamil16

🎯
Focusing
View GitHub Profile
@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
@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
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 / adcom_predict.py
Created May 26, 2019 20:04
Predicting Student Admissions with Neural Networks - Udacity PyTorch Coursework
#!/usr/bin/env python
# coding: utf-8
# # Predicting Student Admissions with Neural Networks
# In this notebook, we predict student admissions to graduate school at UCLA based on three pieces of data:
# - GRE Scores (Test)
# - GPA Scores (Grades)
# - Class rank (1-4)
#
# The dataset originally came from here: http://www.ats.ucla.edu/
@umerjamil16
umerjamil16 / IK_server.py
Created April 10, 2019 14:15
RoboND project code
#!/usr/bin/env python
# Copyright (C) 2017 Udacity Inc.
#
# This file is part of Robotic Arm: Pick and Place project for Udacity
# Robotics nano-degree program
#
# All Rights Reserved.
# Author: Harsh Pandya
% Robotics: Estimation and Learning
% WEEK 3
%
close all
imagepath = './train';
Samples = [];
for k=1:11
% Load image
I = imread(sprintf('%s/%03d.png',imagepath,k));
@umerjamil16
umerjamil16 / angular2.md
Created November 20, 2016 08:38
Angular 2 CLI Commands

Angular-CLI

Join the chat at https://gitter.im/angular/angular-cli

[![Build Status][travis-badge]][travis-badge-url] [![Dependency Status][david-badge]][david-badge-url] [![devDependency Status][david-dev-badge]][david-dev-badge-url] [![npm][npm-badge]][npm-badge-url]

Prototype of a CLI for Angular 2 applications based on the ember-cli project.

@umerjamil16
umerjamil16 / config
Last active December 8, 2016 05:30
Config. Angular 2 on Cloud9 IDE
source <(curl -s https://angularbootcamp.com/c9a2cli)
ng server --port 8080 --live-reload-port 8082 --host 0.0.0.0
@umerjamil16
umerjamil16 / #1 Introduction
Created November 15, 2016 07:52
Principles of Machine Learning - edX course - Notes
#1 Introduction
- 6 week duration course
- 1 Module per week
- 3 hours per week
- 35 minutes daily