Skip to content

Instantly share code, notes, and snippets.

View zyryc's full-sized avatar
🏠
Working from home

Dan zyryc

🏠
Working from home
View GitHub Profile
@zyryc
zyryc / downloadwallpapers.py
Created August 20, 2023 13:31
Fetch wallpapers from the internet and download it
import requests
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
import time
import os
Visited_pages = set()
# ============================================
# PowerShell Profile - Colorful & Informative
# ============================================
# --- INSTALL THESE ONCE (if not already) ---
# Install-Module -Name Terminal-Icons -Repository PSGallery -Force
# Install-Module -Name PSReadLine -Force -SkipPublisherCheck
# winget install JanDeDobbeleer.OhMyPosh -s winget
# =============================
@zyryc
zyryc / md_to_docx.py
Last active April 27, 2026 16:37
Markdown to DOCX Converter A Python script that converts Markdown files to Microsoft Word documents using Times New Roman 12pt as the base font. Supports headings, bold and italic text, inline code, code blocks with syntax highlighting, unordered and ordered lists, blockquotes, tables, and horizontal rules. Code blocks appear in Courier New with…
#!/usr/bin/env python3
"""
📄 Markdown to DOCX Converter — FAST Optimized Version
Times New Roman, 12pt — Handles large files in seconds.
"""
import re
from pathlib import Path
import argparse