Skip to content

Instantly share code, notes, and snippets.

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fyz}[2025/09/20 v1.2 pink kawaii theme]
\RequirePackage[utf8]{inputenc}
\RequirePackage{tikz}
\RequirePackage{enumitem}
\RequirePackage{titlesec}
\RequirePackage{amsmath, amssymb, amsthm}
\RequirePackage[most]{tcolorbox}
\RequirePackage{xcolor}
@fearsum-fyz
fearsum-fyz / python-google-search.py
Last active July 30, 2022 12:53
Make google searches programmatically in Python for free without the API
import sys
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from chromedriver_autoinstaller import install
has_chrome = input("Do you have the LATEST VERSION of chrome? (Y/N)\n")
@fearsum-fyz
fearsum-fyz / business-url-scraper.py
Created July 26, 2022 18:57
Given the name of a U.S. based business, use SerpAPI to obtain its URL.
# Insert your SerpAPI API Key in lines 13 and 42
from serpapi import GoogleSearch
from difflib import SequenceMatcher
business_name = input("What is the name of the business?\n")
try:
params = {
"engine": "google_maps",