Skip to content

Instantly share code, notes, and snippets.

View aswinkumar1999's full-sized avatar

Aswinkumar aswinkumar1999

View GitHub Profile
@aswinkumar1999
aswinkumar1999 / husarnet_setup_ros.sh
Last active March 12, 2025 00:55
One-script-setup-for-Husarnet-Ubuntu-RPI
#!/bin/bash
# husarnet-ros2-setup.sh
# Script to automate Husarnet installation, configuration, and cleanup
# Handles existing installations and allows peer updates
# Function to use sudo for a command if not already root
run_with_sudo() {
if [ "$EUID" -ne 0 ]; then
echo "Running with sudo: $1"
@aswinkumar1999
aswinkumar1999 / Flight_Tracking_Over_Insti.py
Created May 20, 2023 06:41
Track Flights on top of IIT Madras and sends a notification to mobile.
# Track flights over IIT Madras
# Using OpenSKY API and sends notification via IFTTT
# Import required libraries
from bs4 import BeautifulSoup # For HTML parsing
from selenium import webdriver # For web scraping
import requests # For making HTTP requests
from selenium.webdriver.common.keys import Keys # For keyboard actions in Selenium
from opensky_api import OpenSkyApi # For accessing the OpenSky Network API
import re # For regular expressions
@aswinkumar1999
aswinkumar1999 / oled.ino
Last active February 26, 2021 14:32
OLED_Test_Elec_Club
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
static const uint8_t image_data_Saraarray[1024] = {
@aswinkumar1999
aswinkumar1999 / getting_started_docker.md
Last active December 24, 2024 14:37
Docker Commands

Docker

Install Docker and NVIDIA Container Toolkit

Docker

#Docker Installation 

sudo apt-get update