7 रिपॉजिटरी
Structuring small tools as single executable modules with a main entry point.
Distinguishing note: No candidate covers structuring a single-file Python script with a main guard and reusable functions.
Explore 7 awesome GitHub repositories matching programming languages & runtimes · Single-File Script Patterns. Refine with filters or upvote what's useful.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches structuring single-file Python scripts with a main entry point and reusable functions.
git-ftp is a tool that synchronizes files to an FTP server by comparing Git commit histories. It tracks the last deployed Git commit on the server and uses git diff to determine which files have changed, uploading only those files incrementally. The entire tool is implemented as a single-file Bash script, making it portable and dependency-free across Unix systems. The tool supports deploying any Git branch, tag, or commit to an FTP server, enabling rollbacks to previous versions and switching between different environments such as staging and production. It uses raw socket connections and s
Implements the entire tool as a single portable Bash script with no external dependencies.
Shellharden is a shell script hardening tool and linter designed to improve the security and reliability of Bash scripts. It functions as an automated utility that rewrites scripts to follow industry standards for quoting and security practices. The project provides an optimizer and standardizer that replaces unsafe patterns and aliases with safer functional equivalents. It includes a syntax highlighter that uses visual markers and colorization to indicate vulnerabilities and areas where quoting corrections are required. The tool covers a broad range of capabilities including automated safet
Automates the correction of quoting errors and syntax pitfalls to improve the security and reliability of scripts.
acme-tiny is a minimal ACME client implemented as a single-file Python script that automates obtaining and renewing SSL/TLS certificates from a Certificate Authority using the Automated Certificate Management Environment (ACME) protocol. It relies on OpenSSL command-line tools for key generation and certificate signing request creation, and uses file-based HTTP validation to verify domain ownership by placing a token file on the web server. Designed for fully automated certificate lifecycle management, acme-tiny is intended to be executed periodically by a system scheduler like cron, checking
Deployed as a single Python script with no dependencies beyond the standard library.
Infect is a single-file shell script designed for Android device exploitation, enabling the generation of malicious links that, when opened on a target device, trigger the deletion of internal storage. The tool operates within the Termux Android terminal emulator and relies on manual distribution of the generated link by the attacker. Beyond its attack capability, Infect includes a built-in repair mechanism that functions as an antivirus recovery tool. This repair script can be run on a compromised device to restore default file permissions and recreate deleted directories, effectively revers
Packs the entire attack and repair logic into a single executable shell script for easy distribution.
यह प्रोजेक्ट सिस्टम प्रशासन, ऑटोमेशन और कमांड-लाइन उपयोगिता विकास के लिए डिज़ाइन की गई पुन: प्रयोज्य Bash स्क्रिप्ट का एक संग्रह है। यह टूल की एक मॉड्यूलर लाइब्रेरी प्रदान करती है जो अतिरिक्त भाषा रनटाइम्स की आवश्यकता के बिना Unix-जैसे वातावरण के भीतर सीधे कार्य करने के लिए POSIX-अनुपालन शेल निष्पादन और मानक स्ट्रीम प्रोसेसिंग का लाभ उठाती है। संग्रह इंटरैक्टिव और ऑटोमेटेड क्षमताओं की एक विस्तृत श्रृंखला की पेशकश करके खुद को अलग करता है, जिसमें गाइडेड कमांड-लाइन मेनू, टाइम-ट्रैकिंग टाइमर और रिमोट फ़ाइल सिंक्रनाइज़ेशन शामिल है। ये स्क्रिप्ट वातावरण-जागरूक हैं, जो विविध सर्वर सेटअप में संगतता सुनिश्चित करने के लिए हार्डवेयर और ऑपरेटिंग सिस्टम कॉन्फ़िगरेशन का पता लगाने में सक्षम हैं। टूलकिट एक विस्तृत कार्यात्मक सतह को कवर करती है, जिसमें स्थानीय फ़ाइल और निर्देशिका प्रबंधन, नेटवर्क डायग्नोस्टिक्स और सिस्टम स्वास्थ्य मॉनिटरिंग शामिल है। यह डेटा प्रोसेसिंग के लिए उपयोगिताएं भी प्रदान करती है, जैसे कि टेक्स्ट ट्रांसफ़ॉर्मेशन, इमेज थंबनेल जनरेशन और पासवर्ड-आधारित फ़ाइल एन्क्रिप्शन। इसके अतिरिक्त, स्क्रिप्ट सॉफ़्टवेयर ऑडिटिंग, हार्डवेयर इन्वेंट्री ट्रैकिंग और गणितीय गणना जैसे नियमित रखरखाव कार्यों की सुविधा प्रदान करती है।
Provides a library of reusable Bash scripts for system administration, file management, and routine automation.
This project is a shell-based automation utility designed to synchronize domain name system records with a changing public internet address. It functions as a dynamic DNS updater, ensuring that a custom domain consistently points to the current network address of a home or office environment. The tool automates the process of detecting local network address changes by polling public web services and subsequently updating the corresponding records via the Cloudflare API. By utilizing environment variables for credential management and scheduling updates through system-level task runners, it ma
Provides a lightweight, single-file shell script utility for network automation.