Skip to content

Instantly share code, notes, and snippets.

View softyoda's full-sized avatar

softyoda softyoda

View GitHub Profile
@softyoda
softyoda / prompt.llm
Created February 25, 2025 16:34
Human in house in sphere in cube in cylinder in pyramid
Make a bpy blender python script that will draw :
maxima
* a human that is inside a house
* the house is inscribed in a sphere
* the sphere is inscribed in a cube
* the cube is inscribed in a cylinder
* the cylinder is inscribed in a pyramid
Before starting, think deeply about how you could draw those different elements using primitive shapes and how to follow each instruction to be truth.
@softyoda
softyoda / gist:a7f2ea15084f0401a2db43f2fc990b18
Created February 28, 2025 16:34
Prompt : how many days there are between February 19, 2020, and February 28, 2025
So I need to find out how many days there are between February 19, 2020, and February 28, 2025. Hmm, that seems straightforward, but I should be careful with the leap years since they affect the number of days in February.
First, I need to figure out how many years are between 2020 and 2025. That would be 2021, 2022, 2023, and 2024. Wait, actually, from 2020 to 2025 is 5 years, but since we're starting in February and ending in February, I need to see if we include the leap years properly.
Let me recall that a leap year is every 4 years, and 2020 was a leap year because it's divisible by 4. So, 2024 would also be a leap year, right? Yes, because 2024 divided by 4 is 606, with no remainder.
So, between 2020 and 2025, the leap years are 2020 and 2024. But wait, 2020 is included, and 2024 is before 2025, so yes, both are within the range.
Now, since we're starting on February 19, 2020, and 2020 is a leap year, that means February 2020 has 29 days. So, from February 19 to February 29, 2020, that's 10 days, I