Skip to content

Instantly share code, notes, and snippets.

View Aniq55's full-sized avatar

Aniq Ur Rahman Aniq55

  • University of Oxford
  • United Kingdom
View GitHub Profile
@Aniq55
Aniq55 / drone_search.py
Created July 15, 2023 10:40
Drone Search
# Create your search Drone
## Create a class for a drone which can move in a 2D space within fixed boundaries
## The drones perform random walk
## There are 2 targets on the ground that we want to track
## Deploy 2 drones and stop if both targets are found
# create a 2D grid space of size L x L, L = 50 (create this in your mind)
L = 50
# Create two tuples for each target, specifying the x and y coordinates,
# 0 < x < L, 0 < y < L
@Aniq55
Aniq55 / clothes.py
Last active July 11, 2023 07:41
SRSI Day 3
currencies = {'USD': 1, 'SAR': 3.75, 'GBP': 0.78, 'AED': 3.67}
size_standard = {'SML': ['S', 'M', 'L', 'XL'],
'US': ['2-4', '6-8', '10-12', '14'],
'UK': ['6-8', '10-12', '14-16', '18'],
'IT': ['38-40', '42-44', '46-48', '50']}
clothing_types = ['shirt', 'trousers', 'accessory', 'skirt', 'blouse', 'jacket']
class Clothing:
@Aniq55
Aniq55 / Simulations.MD
Created March 4, 2020 05:22
OpenAirInterface 5G

Clone the OAI-5G repository twice, and name each gNB and UE respectively.

Setup

Common steps:

  • git clone https://gitlab.eurecom.fr/oai/openairinterface5g
  • mv openairinterface5g/ gNB/ or mv openairinterface5g/ UE/
  • cd gNB/ or cd UE/
  • git checkout 915f11323ccd0f23a33865ae3f2d29192f7b137d
  • source oaienv
@Aniq55
Aniq55 / blogpost.md
Last active December 28, 2017 06:20
Blogpost format for KWoC

Project Name (AirHockey / SecureSnaps)

Mentor: Aniq Ur Rahman (@Aniq55)

Issue1

  • Description
  • !Screenshots

Commits

  • commit1 link
  • commit2 link
@Aniq55
Aniq55 / specificworker.py
Created May 16, 2017 12:12
Script file version
#
# Copyright (C) 2017 by Aniq Ur Rahman
#
# This file is part of RoboComp
#
# RoboComp is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@Aniq55
Aniq55 / specificworker.py
Created May 16, 2017 11:50
Real-time terminal version
#
# Copyright (C) 2017 by Aniq Ur Rahman
#
# This file is part of RoboComp
#
# RoboComp is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#