Skip to content

Instantly share code, notes, and snippets.

@Sh-ui
Sh-ui / !Selenium_Python_Windows_Setup_Guide.md
Created September 4, 2025 02:06
Selenium + Python setup guide for Windows with backup plans, locators cheat sheet, and demo scripts.

Getting Selenium Running on Windows (setup notes)

Setup notes for getting Selenium working with Python on Windows. Validate with a small smoke test and use the backups if something fails.


main setup

This is the “happy path” I use now for Selenium in Python on Windows. Do it in a fresh project folder.

@Sh-ui
Sh-ui / Pasta-Schuta.md
Last active August 18, 2025 03:37
A modern, no-sauce approach to pasta dishes that can be enjoyed at any temperature - inspired by traditional pastasciutta.

Pasta-Schuta

History & Origins

Pastasciutta, in its original form, was a rustic, portable meal for field workers. You would literally bring a towel with some cooked pasta into the field, then throw in cheese, pepper, and cured meat, shake it all up in that towel, and eat it. It was simple, practical nourishment that required no sauce or elaborate preparation.

This stands in stark contrast to modern pasta preparations that often focus on creating emulsified sauces, using pasta water, and achieving specific textures through various techniques. The original pastasciutta embraced simplicity and practicality over perfection and presentation.

The Pasta-Schuta Philosophy

@Sh-ui
Sh-ui / packweasel.py
Last active March 5, 2025 21:52
PackWeasel: Python Application CLU for Keeping Work Easily Assembled & Swiftly Exported Later
#!/usr/bin/env python3
"""
PackWeasel: Python Application CLU for Keeping Work Easily Assembled & Swiftly Exported Later
Usage:
packweasel.py package [options]
packweasel.py install [--global]
packweasel.py --help[=TOPIC]
packweasel.py --version
@Sh-ui
Sh-ui / have_conditionals.rb
Created April 9, 2019 16:48
testing custom syntax ideas for my own language that combines mostly stuff from ruby and python, with inspiration from coffeescript
'Joe', 'June', 'Harvey' have 'Joe' == TRUE
'Joe', 'June', 'Harvey' have 'J' == TRUE # without brackets it checks within items
'Joe', 'June', 'Harvey' have ['J'] == FALSE # with brackets to check for an item
'Joe', 'June', 'Harvey' have 1 'J' == FALSE
'Joe', 'June', 'Harvey' have 2 'J' == TRUE # these are
'Joe', 'June', 'Harvey' have 2 of 'J' == TRUE # equivalent
'Joe', 'June', 'Harvey' have 2 ('J') == TRUE # expressions
@Sh-ui
Sh-ui / PYCX.py
Last active March 31, 2019 17:13
small tool to compile python to an exec file
"""
(PYCX) PYthon to Cython to eXec, a unix command line util
Usage:
pycx FILES... [-o DIR --verbose --delete --run]
pycx --help
Options:
FILES one or more python files to compile
-o --output=DIR output directory
-v --verbose show output while exec compiles
@Sh-ui
Sh-ui / !HyperZshAntibodyTerm.md
Last active May 20, 2021 12:53
My terminal config with hyper terminal oh-my-zsh, and antibody with static loading

Customizing my Terminal

terminal_screenshot

I didn't know anything about shell scripts before I started working on this. I originally downloaded hyper.js and followed the setup guide for spaceship prompt without knowing why I use doing most of what I was doing.

Long story short I later revisted my setup hoping to customize it more and I went down the rabbit hole. I installed antigen, pure prompt, clean prompt; then I went back and switched back to spaceship prompt, and switched from antigen to antibody.

This is what I've settled on now, using zsh, oh-my-zsh, antibody, [spac

@Sh-ui
Sh-ui / !triangle_tool_collection
Last active March 25, 2019 16:31
a tool to solve and scale right triangles
3 versions of my triangle scalar tool
# some useful functions based on practice activities on codeacademy
@Sh-ui
Sh-ui / the-alchemist.md
Last active August 11, 2017 14:49
The Alchemist by Paul Coello. Translated by Alan R. Clarke. Published 1992. ISBN 0-7225-3293-8.