Skip to content

Instantly share code, notes, and snippets.

View simcard0000's full-sized avatar
🌐
on the internet

Simran Thind simcard0000

🌐
on the internet
View GitHub Profile
@simcard0000
simcard0000 / automateSitrepDownload.py
Created April 22, 2020 21:37
🐍 Quick script to download Covid-19 data every morning
import requests
import os
import shutil
import datetime
while 1:
#check what time it is
curr_date = str(datetime.datetime.today())
curr_hour = curr_date[11:13]
@simcard0000
simcard0000 / wpa_supplicant.conf
Created November 13, 2019 00:56
💻 Connect Raspberry Pi (or Linux system) to eduroam (WPA2 Enterprise Network)
#These instructions are based on this tutorial from Adafruit:
#https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/setting-up-wifi-with-occidentalis
#Tried and tested with the eduroam network at UWaterloo! If you're an undergraduate student,
#make sure for the identity field you include .edu in your email address.
#In short, boot up your Pi and edit your wpa_supplicant.conf file to contain the following lines of code,
#or conversely just use this file! You can start editing your .conf file by heading to the terminal
#and typing sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev