Skip to content

Useful-Code-Snippets is a collection of practical and reusable code snippets for various everyday programming tasks. It serves as a handy reference for automating, optimising, and simplifying common operations across different domains.

License

Notifications You must be signed in to change notification settings

AdityaSreevatsaK/Useful-Code-Snippets

Repository files navigation

title emoji colorFrom colorTo sdk app_file pinned
Utility-Shelf
📦
blue
green
streamlit
app.py
false

Useful Code Snippets

Useful-Code-Snippets is a collection of practical and reusable code snippets for various everyday programming tasks. It serves as a handy reference for automating, optimising, and simplifying common operations across different domains.

List of code snippets

Audio & Speech Processing

Pitch Analyzer
Text to Speech Conversion


Automation & Productivity

Logging Setup
Website Online Status


File Handling

Convert PDF to images
Convert PDF to Word Document
Convert Word Document to PDF
Disk Space Usage
Encrypt & Decrypt Files
File Compression and ZIP Expansion
Generate File Tree as Text
Get Max File Size in Directory
Merge Multiple PDFs into One
Recursively Unzip and Delete
Split PDF into Single Pages


Git Utilities

Check Git Repo Status
Get Names of All Repos on GitHub Profile
Useful Git Commands


Hugging Face Utilities

Delete Folders From HuggingFace Repo


Image Processing

Convert Image to Grayscale
Compress Images
Convert Image Format
Resize all images in a folder


Jupyter Notebook Utilities

Convert Jupyter Notebook to a Cleaned Python File
Embed a YouTube Video into Jupyter Notebook


Regex Cheatsheet

Convert Text to Lower Case
Convert Text to Sentence Case
Convert Text to Upper Case
Extract Dates
Extract Hashtags
Extract URLs
Find Phone Numbers
Remove Extra Spaces
Validate Email


About

Useful-Code-Snippets is a collection of practical and reusable code snippets for various everyday programming tasks. It serves as a handy reference for automating, optimising, and simplifying common operations across different domains.

Topics

Resources

License

Stars

Watchers

Forks

Languages