{"id":13824721,"url":"https://github.com/JayRizzo/Random_Scripts","last_synced_at":"2025-07-08T19:32:48.462Z","repository":{"id":112663432,"uuid":"71017917","full_name":"JayRizzo/Random_Scripts","owner":"JayRizzo","description":"My Own Creations \u0026 Stack Overflow Answers To Questions","archived":false,"fork":false,"pushed_at":"2022-09-27T07:05:02.000Z","size":73,"stargazers_count":22,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-20T02:36:29.143Z","etag":null,"topics":["example-code","examples","gmail-api","php","python","shell","shell-scripts","shopify","shopify-api","sql","stackoverflow","stackoverflow-answer"],"latest_commit_sha":null,"homepage":"https://JayRizzo.us","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JayRizzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-15T22:52:41.000Z","updated_at":"2024-03-26T17:49:30.000Z","dependencies_parsed_at":"2023-06-10T20:30:19.878Z","dependency_job_id":null,"html_url":"https://github.com/JayRizzo/Random_Scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JayRizzo/Random_Scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayRizzo%2FRandom_Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayRizzo%2FRandom_Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayRizzo%2FRandom_Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayRizzo%2FRandom_Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayRizzo","download_url":"https://codeload.github.com/JayRizzo/Random_Scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayRizzo%2FRandom_Scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264334162,"owners_count":23592371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example-code","examples","gmail-api","php","python","shell","shell-scripts","shopify","shopify-api","sql","stackoverflow","stackoverflow-answer"],"created_at":"2024-08-04T09:01:08.029Z","updated_at":"2025-07-08T19:32:48.187Z","avatar_url":"https://github.com/JayRizzo.png","language":"PHP","readme":"## :godmode: Welcome To My Random Scripts :godmode:\n\nThese are some of my works, either answers to Stack Overflow or my own personal creations. :suspect:\n\n\n### SQL\n##### [postgres_master_everything_reset_script.sql](https://github.com/JayRizzo/Random_Scripts/blob/master/postgres_master_everything_reset_script.sql)\n\n- This Script SETS / RESETS:\n- [x] PERMISSIONS\n- [x] CONSTRAINTS\n- [x] PRIMARY KEYS\n- [x] INDEXES OR INDICES\n- [x] ADDED REINDEX ON THE DATABASE\n- [x] REORDERED THE QUERIES USING THE ORDER BY REPLACE THIS IS MANDITORY\n\nSQL Reset Script that is Dynamic \u0026 Static that builds queries that are designed to Standardize Permissions \u0026 Improve Performance.  This is highly customizable and effective in making sure your database permissions do not get in the way when dealing with mulitiple users \u0026 or Groups with multi standardized structures.\n\n### PHP\n##### [shopify_to_csv.php](https://github.com/JayRizzo/Random_Scripts/blob/master/shopify_to_csv.php)\nThis Module was Built to Clean your data upon import Converting all Symbols (ASCII) to HTML References to help prevent issues when trying to create a clean \"Encapsulated\",\"CSV\",\"FILE\"\n\n1. This module uses the following\n  1. Mandatory\n    1. shopify_key\n    1. shopify_password\n    1. shopify_store \n  1. Optional\n    1. shopify_collection_id\n\nScript Ability:\n\n- [x] Download your Shopify Store Product Data in a \"Clean\",\"Data Set\"\n- [x] Download your Shopify Store Product Variant Data in a \"Clean\",\"Data Set\"\n- [x] Clean the imported data from data that may crash the `bash`, `PHP` or importing your data into `sql`. as the symbols have been converted to HTML References __\u0026trade;__ turns into `\u0026trade;`\n- [x] Can be used for `CRONJOBS`\n- [x] Has custom restrictions with proper notificiations\n- [x] Can be used to notify you for failures \u0026/ Sucesses if desired \u0026 customized\n\nScript Note:\n\n- [x] This is a Personal Creation of this Monstrosity\n\n##### [html_ascii_to_html.php](https://github.com/JayRizzo/Random_Scripts/blob/master/html_ascii_to_html.php)\nThis Module is a subset of the __shopify_to_csv.php__\n\n\n### Python\n#####  [char_to_html.py](https://github.com/JayRizzo/Random_Scripts/blob/master/char_to_html.py)\nIs a version of replacing non-ASCII characters with printable ASCII \u0026 Using HTML entities when possible.\n\n#####  [custom_header.py](https://github.com/JayRizzo/Random_Scripts/blob/master/custom_header.py)\nThis Module was Built to showcase Examples Of Custom Headers, printing upon execution of your script.\n* Answer to Stack Overflow Question: [Python: What is a header?](https://stackoverflow.com/a/51914806/1896134)\n\n#####  [FizzBuzz.py](https://github.com/JayRizzo/Random_Scripts/blob/master/FizzBuzz.py)\nIs my Python Version of fizzbuzz I wrote myself for fun.\n\n#####  [organize_files.py](https://github.com/JayRizzo/Random_Scripts/blob/master/organize_files.py)\nThe Module Has Been Build for keeping your files organized by specific file types.\n* Answer to Stack Overflow Question: [Moving specific file types with Python](https://stackoverflow.com/a/50344578/1896134)\n\n#####  [pyodbc_mssqldbtest.py](https://github.com/JayRizzo/Random_Scripts/blob/master/pyodbc_mssqldbtest.py)\nThe Module Has Been Build for Interaction with MSSQL DBs To Test the console for `pyodbc`.\n* Answer to Stack Overflow Question: [Connect Python with SQL Server Database](https://stackoverflow.com/a/51627907/1896134)\n\n#####  [regex_match.py](https://github.com/JayRizzo/Random_Scripts/blob/master/regex_match.py)\nThe Module Has Been Build for trying to find variations of emails in batches of text.\n\n#####  [relativedelta.py](https://github.com/JayRizzo/Random_Scripts/blob/master/relativedelta.py)\nThe Module Has Been Build for trying to decipyer measurements between dates. The Stack Overflow User was dealing with arbitrary dates, so my answer was not acceptible.\n* Was an __attempt__ to Answer a Stack Overflow Question: [Calculating number of years between two dates, but rounded in the standard way](https://stackoverflow.com/q/52290952/1896134)\n\n#####  [sendgmail.py](https://github.com/JayRizzo/Random_Scripts/blob/master/sendgmail.py)\nThe Python Module Has Been Build for Sending Emails from your Gmail Account, bypassing the 2FA.\n* Answer to Stack Overflow Question: [How to send an email with Gmail as provider using Python?](https://stackoverflow.com/a/51664129/1896134)\n\n#####  [testy_class_init.py](https://github.com/JayRizzo/Random_Scripts/blob/master/testy_class_init.py)\nThe Module Has Been Build to help a user fix their code.\n* Answer to Stack Overflow Question: [AttributeError: 'str' object has no attribute 'name' while defining a class \u0026 calling it](https://stackoverflow.com/a/52360707/1896134)\n\n##### [uuid_testing.py](https://github.com/JayRizzo/Random_Scripts/blob/master/uuid_testing.py)\nA fix\n\u003e \"for attempting to read in CSV data and map it to the following XML structure\".\n* Answer to Stack Overflow Question: [Python string formatting and UUID](https://stackoverflow.com/a/52290812/1896134)\n\n##### [xattr_example.py](https://github.com/JayRizzo/Random_Scripts/blob/master/xattr_example.py)\nA Module Built to help a showcase example usage, since no code examples for python's `xattr` could be found. at least for me.\n\u003e \"Showcasing a 'How-to' example.\"\n* Answer to Stack Overflow Question: [Python Module xattr has no attribute list](https://stackoverflow.com/q/52403922/1896134)\n\n### Shell\n##### [clean_mac.sh](https://github.com/JayRizzo/Random_Scripts/blob/master/clean_mac.sh)\nThis Module was Built to Clean your ~/Documents Folder from any \"Truly\" empty folders that may only contain some hidden/ZERO byte files.\n* Answer to Stack Overflow Question: [How can I delete empty folders in Mac OS X?](https://superuser.com/a/1322425/247728)\n\n:godmode: Thank You For Visiting! :godmode:\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJayRizzo%2FRandom_Scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJayRizzo%2FRandom_Scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJayRizzo%2FRandom_Scripts/lists"}