#Docker Installation
sudo apt-get update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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] = { |