Skip to content

Instantly share code, notes, and snippets.

@rosmur
rosmur / requirementstxt_to_uv_pyprojecttoml.py
Created March 3, 2025 05:20
requirements.txt to uv pyproject.toml dependencies convertor
#!/usr/bin/env python3
"""
Script to convert requirements.txt to dependencies list for pyproject.toml for uv project
Usage:
Execute the script with:
python3 requirementstxt_to_uv_pyprojecttoml.py path/to/requirements.txt
@rosmur
rosmur / state_of_the_internet.md
Created January 4, 2025 04:50
Save the internet..
@rosmur
rosmur / poetry_to_uv_v1.sh
Last active November 30, 2024 14:09
Transform Poetry pyproject.toml to uv format
#!/bin/bash
# Function to display usage
usage() {
echo "Usage: $0 [input_file]"
echo "If input_file is not provided, the script will look for pyproject.toml in the current directory."
exit 1
}
# Set input file
@rosmur
rosmur / index.html
Created March 11, 2023 10:27
Magical Hover Effect (w/ Tutorial)
<div id="cards">
<div class="card">
<div class="card-content">
<div class="card-image">
<i class="fa-duotone fa-apartment"></i>
</div>
<div class="card-info-wrapper">
<div class="card-info">
<i class="fa-duotone fa-apartment"></i>
<div class="card-info-title">