{"id":15017900,"url":"https://github.com/cyclenerd/toolbox","last_synced_at":"2025-04-09T19:43:25.613Z","repository":{"id":72096539,"uuid":"85419999","full_name":"Cyclenerd/toolbox","owner":"Cyclenerd","description":"🔧 Toolbox - Script Collection","archived":false,"fork":false,"pushed_at":"2024-04-23T08:40:04.000Z","size":7847,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T20:02:44.715Z","etag":null,"topics":["perl","perl-script","perl-scripts","perl5","script","scripts","scripts-collection"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyclenerd.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-18T17:36:51.000Z","updated_at":"2024-05-04T18:31:50.889Z","dependencies_parsed_at":"2024-03-19T10:46:10.309Z","dependency_job_id":"c55322df-fcfd-4e63-87b1-f7da75c85fbc","html_url":"https://github.com/Cyclenerd/toolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Ftoolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Ftoolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Ftoolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Ftoolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyclenerd","download_url":"https://codeload.github.com/Cyclenerd/toolbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248101491,"owners_count":21047980,"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":["perl","perl-script","perl-scripts","perl5","script","scripts","scripts-collection"],"created_at":"2024-09-24T19:51:09.389Z","updated_at":"2025-04-09T19:43:25.590Z","avatar_url":"https://github.com/Cyclenerd.png","language":"Jupyter Notebook","readme":"# 🔧 Toolbox\n\nMy collected scripts for which no extra repository is worth it.\nMostly in Perl.\nMaybe they'll help you.\nUse at your own risk ☺️.\nThey were often quickly hacked and poorly tested.\n\n🚨🚨🚨 No warranty or support! 🚨🚨🚨\n\n## MySQL\n\n* [`check_replication_status.sh`](./check_replication_status.sh) - Check MySQL 8.0 replication status and send email on error\n* [`check_replication_status_hc.sh`](./check_replication_status_hc.sh) - Check MySQL 8.0 replication status and ping [healthchecks.io](https://healthchecks.io/)\n\nUsed in Ansible Playbook:\n```yml\n# Check MySQL 8.0 replication and ping to healthchecks.io\n- name: Script - Check status and ping healthchecks.io\n  ansible.builtin.get_url:\n    url: https://raw.githubusercontent.com/Cyclenerd/toolbox/master/check_replication_status_hc.sh\n    dest: /root/check_replication_status_hc.sh\n    mode: '0755'\n    owner: root\n    group: root\n- name: Script - Change healthchecks.io UUID\n  ansible.builtin.lineinfile:\n    path: /root/check_replication_status_hc.sh\n    regexp: '^MY_HC_ID'\n    line: \"MY_HC_ID='{{ healthchecks_uuid }}'\"\n```\n\nDownload \u0026 Update:\n```shell\ncurl -O \"https://raw.githubusercontent.com/Cyclenerd/toolbox/master/check_replication_status_hc.sh\"\n```\n\n## XtraBackup\n\n* [`xtradir.sh`](./xtradir.sh) - Run `xtrabackup` and save either in folder `[NUMBER]A` or `[NUMBER]B`.\n* [`xtracloud.sh`](./xtracloud.sh) - Backup to S3 Bucket with `xtrabackup` and `xbcloud`.\n\nUsed in Ansible Playbook:\n```yml\n- name: XtraBackup - Download script\n  ansible.builtin.get_url:\n    url: https://raw.githubusercontent.com/Cyclenerd/toolbox/master/xtradir.sh\n    dest: /root/xtradir.sh\n    mode: '0755'\n    owner: root\n    group: root\n\n- name: XtraBackup - Change MY_DIR in script\n  ansible.builtin.lineinfile:\n    path: /root/xtradir.sh\n    regexp: '^MY_DIR'\n    line: \"MY_DIR={{ mysql_backup_dir }}\"\n```\n\n## MyDumper\n\n* [`mydumper.sh`](./mydumper.sh) - Run `mydumper` and save either in folder `[NUMBER]A` or `[NUMBER]B`.\n\nUsed in Ansible Playbook:\n```yml\n- name: MyDumper - Download script\n  ansible.builtin.get_url:\n    url: https://raw.githubusercontent.com/Cyclenerd/toolbox/master/mydumper.sh\n    dest: /root/mydumper.sh\n    mode: '0755'\n    owner: root\n    group: root\n\n- name: MyDumper - Change MY_DIR in script\n  ansible.builtin.lineinfile:\n    path: /root/mydumper.sh\n    regexp: '^MY_DIR'\n    line: \"MY_DIR={{ mysql_backup_dir }}\"\n```\n\n## License\n\nGNU Public License version 3.\nPlease feel free to fork and modify this on GitHub (https://github.com/Cyclenerd/toolbox).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Ftoolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyclenerd%2Ftoolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Ftoolbox/lists"}