See below two examples of using Python Selenium:
Chrome version: https://github.com/64board/Python/blob/main/fixing_price_es_chrome.py
Firefox version: https://github.com/64board/Python/blob/main/fixing_price_es_gecko.py
My digital hodgepodge
See below two examples of using Python Selenium:
Chrome version: https://github.com/64board/Python/blob/main/fixing_price_es_chrome.py
Firefox version: https://github.com/64board/Python/blob/main/fixing_price_es_gecko.py
py7zr is a Python module that provides tools to read, write and list 7z file. The 7z file format is a popular archive and compression format in recent days.
See documentation: https://py7zr.readthedocs.io/en/latest/index.html
I wrote some code demonstrating the API's use: https://github.com/64board/Python/blob/main/py7zr_test.py
I just uploaded a program that shows the handling of numerical fractions representation using BigFloat and GNU Multiple Precision Library or the Pary library on the parse_number_fraction procedure.
Github: https://github.com/64board/Perl/blob/main/sto-open-positions-25.pl
The code in the the following link illustrates a Perl REGEX written in multiple lines using modifier '/x.'
The `/x` modifier in Perl regular expressions allows you to write more readable patterns by ignoring white space and allowing comments within the regex. This means you can format your regex with spaces and add comments for clarity without affecting its functionality.
Github: https://github.com/64board/Perl/blob/main/get-report-date.pl
List all years between birthday's year and current one when day of the week matches birthday's day of the week, also lists next year after the last on the list that matches.
* Uses DATE(1) bash command to do date calculations.
* No other external command required.
Source code: https://github.com/64board/Bash/blob/main/bdates.sh
mbf_date: A small command-line tool that prints dates based on simple rules.
It can output:
• the current date
• the previous date
• the next date
Optionally, it can treat Saturday and Sunday as non-business days, so:
• previous business date skips weekends backward
• next business date skips weekends forward
You can also specify the output format using Python strftime patterns.
Source code: https://github.com/64board/Python/blob/main/mbf_date.py
This was my first use of ChatGPT earlier this year: https://chatgpt.com/share/694eca69-8d50-800c-b507-4544ecbd6541
Replacing the seal in a Fluidmaster toilet fill valve is a simple and cost-effective fix if your toilet is running or filling slowly. Here's a step-by-step guide:
Replacement Fluidmaster seal (usually part #242)
Towel or small container (to catch water)
Adjustable wrench (optional)
Locate the shut-off valve (usually behind or below the toilet).
Turn it clockwise to stop water flow.
Flush to empty the tank.
Hold the handle down to get as much water out as possible.
Use a towel or sponge to soak up any remaining water at the bottom of the tank if needed.
The Fluidmaster fill valve cap is usually secured with a twist-lock mechanism.
Hold the shaft of the fill valve with one hand.
With the other hand, twist the top cap counterclockwise about 1/8 of a turn and lift it off.
Some models require gently squeezing side tabs before twisting.
Inside the cap, you’ll see a small rubber seal (usually red or black).
Remove the old seal (you can use a small flathead screwdriver or your fingers).
Insert the new seal in the same position, making sure it sits flat and centered.
Line up the cap on top of the valve body.
Twist it clockwise to lock it back into place.
Slowly open the shut-off valve.
Let the tank fill and check for leaks.
Flush the toilet to ensure proper operation.
The Fluidmaster 400A is the most common model. Make sure you’re using the right seal for your valve.
If replacing the seal doesn’t solve the issue, the whole fill valve may need to be replaced (also inexpensive and easy).