{"id":18705673,"url":"https://github.com/kuangcp/script","last_synced_at":"2025-04-12T10:15:11.105Z","repository":{"id":40336189,"uuid":"97490862","full_name":"Kuangcp/Script","owner":"Kuangcp","description":":hammer_and_wrench: 实用性的脚本: Python Shell Bat","archived":false,"fork":false,"pushed_at":"2025-03-12T02:30:57.000Z","size":559,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T10:15:01.186Z","etag":null,"topics":["bat","python","script","shell","useful-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kuangcp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-17T15:19:05.000Z","updated_at":"2025-03-12T02:31:01.000Z","dependencies_parsed_at":"2024-06-03T15:07:05.497Z","dependency_job_id":"583d587d-95fe-4005-88c9-e7ebf52feab2","html_url":"https://github.com/Kuangcp/Script","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/Kuangcp%2FScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuangcp%2FScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuangcp%2FScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuangcp%2FScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kuangcp","download_url":"https://codeload.github.com/Kuangcp/Script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550619,"owners_count":21122934,"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":["bat","python","script","shell","useful-scripts"],"created_at":"2024-11-07T12:11:37.544Z","updated_at":"2025-04-12T10:15:11.078Z","avatar_url":"https://github.com/Kuangcp.png","language":"Shell","readme":"---\ntitle: README\ndate: 2024-10-02 21:37:51\ntags: \ncategories: \n---\n\n💠\n\n- 1. [实用性脚本](#实用性脚本)\n- 2. [数据库](#数据库)\n    - 2.1. [助手脚本](#助手脚本)\n        - 2.1.1. [Python](#python)\n        - 2.1.2. [C](#c)\n    - 2.2. [Git仓库有关](#git仓库有关)\n        - 2.2.1. [Github和Gitbook](#github和gitbook)\n    - 2.3. [文件处理](#文件处理)\n    - 2.4. [按组切换 host](#按组切换-host)\n    - 2.5. [创建Github任意提交时间](#创建github任意提交时间)\n    - 2.6. [记录并统计键盘按键数据](#记录并统计键盘按键数据)\n    - 2.7. [刷CSDN浏览量](#刷csdn浏览量)\n    - 2.8. [通过 m3u8 URL 下载ts文件 并转换成mp4](#通过-m3u8-url-下载ts文件-并转换成mp4)\n- 3. [相关的脚本库](#相关的脚本库)\n\n💠 2024-10-02 21:37:59\n****************************************\n# 实用性脚本\n\u003e 给自己Linux使用的脚本\n\n- 定一下自己的目录结构规范:\n  1. 所有的本地化配置文件放在 `$HOME/.config/app-conf/$APP` 目录下\n  1. 仓库中模板配置文件 采用 ini 后缀\n\n# 数据库\n\u003e 记录 PostgreSQL Clickhouse 复杂不容易记忆的统计分析，DDL类SQL [入口](/database/)\n\n*********************************\n\n## 助手脚本\n### Python\n1. 自动提示 python unittest 可执行的类以及方法 | [zsh plugin](/shell/assistant/py-unittest.plugin.zsh)\n\n### C\n1. 编译并运行 *.c *.cpp 源文件 | [sh](/shell/assistant/c_run.sh)\n\n***********************\n\n## Git仓库有关\n- [快速查看改动的git仓库](/python/nouse/check_repos.py) \n  - [Shell 实现](/shell/check_by_aliases.sh)\n\n### Github和Gitbook\n\u003e [Python 实现](/python/create_tree.py) 实现了将一个md的仓库, 生成一个GitBook所特有的目录文件 SUMMARY.md\n\n然后就能方便的在线阅读了, 而且几乎没有修改自己笔记的仓库\n\n\u003e [示例](https://github.com/Kuangcp/Memo)\n\n## 文件处理\n- [Python 实现](/python/rename_image.py)`批量重命名文件`\n\n## 按组切换 host\n\u003e [Python 实现](/python/tool/switch-host-group/app.py)\n\n功能参考自 [SwitchHosts](https://github.com/oldj/SwitchHosts) 出于个人原因, 不太喜欢该软件, 重且bug多 但是操作方便  \n写Python脚本就简单直接 但是操作复杂了点, 如果host组内容不是频繁改动 还是很适合的  \n\n\u003e **改进版本** [hosts-group](https://github.com/Kuangcp/GoBase/tree/master/toolbox/hosts-group) Go+HTML 交互简单 语法高亮\n\n## 创建Github任意提交时间\n\u003e [Python 实现](/python/nouse/create_commit.py) `参考自github上的greenhat`  \n\u003e [Shell 实现](/shell/create_commit.sh)\n\n## 记录并统计键盘按键数据\n\u003e 仅支持Linux\n\n\u003e [Python 实现](/python/tool/key)  \n\u003e [Go 实现](https://github.com/Kuangcp/GoBase/tree/master/toolbox/keylogger)`实现Echarts报表，kpm实时计算，悬浮窗实时展示统计数据和时间`  \n\n## 刷CSDN浏览量\n\u003e CSDN浏览量应该和IP有关系, 所以一天也就刷一次, 权当玩玩   \n\n\u003e [Python 实现](/python/increase_readed.py)\n\n## 通过 m3u8 URL 下载ts文件 并转换成mp4\n\u003e [Shell 实现](/shell/media/mergets.sh)\n\n*********\n\n# 相关的脚本库\n- [useful-script](https://github.com/oldratlee/useful-scripts)\n- [iScript](https://github.com/PeterDing/iScript)`影音有关的脚本`\n- [across](https://github.com/teddysun/across) `bench等有用的脚本`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuangcp%2Fscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuangcp%2Fscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuangcp%2Fscript/lists"}