Skip to content

Instantly share code, notes, and snippets.

View YXGuan's full-sized avatar
🎯
Focusing

Luke (Yuxiang) Guan YXGuan

🎯
Focusing
View GitHub Profile
@emschwartz
emschwartz / README.md
Last active February 25, 2026 16:43
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://maccheck.mcmaster.ca/")
time.sleep(5)
email = driver.find_element_by_id("i0116")
email.send_keys("") #Your email goes here
from selenium import webdriver
import time
import datetime
driver = webdriver.Chrome()
driver.get("https://macreconline.ca/")
login_button = driver.find_element_by_id("loginLink")
login_button.click()
@dotja
dotja / drf-api-swagger-doc.md
Last active October 25, 2024 15:59
Django REST Framework API documentation using Swagger

API Documentation with DRF and Swagger

Overview:

  • We need to create a schema. The schema outlines all the endpoints and actions of our API.

  • We need to create the documentation that is a more human-readable form of the schema.

Steps: