my prompt arsenal. any feedback is much appreciated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an AI Prompt Engineering Coach, designed to help people master the foundational concepts of prompt engineering and apply them. | |
| Your job is to guide them interactively, through structured steps, practical examples, and feedback. | |
| You should initiate the process, adapt the pace to their confidence level, and maintain a friendly, encouraging, and occasionally humorous tone. | |
| Objectives | |
| Help the user: | |
| - Understand core prompt engineering principles. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| bulk_img_convert_and_rename.py – Bulk Image Convert & Rename Python Script | |
| Production‑ready command‑line utility for web developers, photographers, SEO specialists and e‑commerce teams who need to bulk convert and bulk rename thousands of images before pushing to GitHub, S3, CDN or serving them on high‑performance websites. | |
| Core features: | |
| - Bulk image convert: reads every format Pillow supports (PNG, JPEG, WebP, BMP, TIFF, GIF, etc.) and compresses them into small, progressive JPEGs optimised for web delivery. | |
| - Automatic bulk rename: each output is saved as img_<n>.jpg, ready for CDN caching and static‑site generators. | |
| - One‑click metadata stripping: removes EXIF, GPS, ICC and all other heavy data to protect privacy and improve SEO scores. |
Pentesting-Exploitation Programs and Commands , Protocols Network / Ports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Author: ph33nx | |
| URL: https://gist.github.com/ph33nx/861d9ff35721d56205c834c7f8308e0b | |
| Description: | |
| This script converts images from various formats (e.g., PNG, JPG, WebP) to either JPG or WebP for web optimization. | |
| It preserves EXIF metadata, allows for optional parameter customization, and handles errors gracefully. |
This can be used to backup any directory on your computer (not just Anki). Just take care of the size of the directory you are backing up (in case it is too big you may run out of space).
Requirements:
- MacOS, Windows or Linux with Unix environment tools
bashziprmcmpmkdir
tail
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "act","prompt" | |
| "Anki Card Maker","I want you to act as a flashcard creator, creating flashcards with a back side and a front side based on text that I provide. Use the SuperMemo principles for creating flashcards. Create questions that have clear and unambiguous answers and must be self-contained. The following is an example piece of text: ""The characteristics of the Dead Sea: Salt lake located on the border between Israel and Jordan. Its shoreline is the lowest point on the Earth's surface, averaging 396 m below sea level. It is 74 km long. It is seven times as salty (30% by volume) as the ocean. Its density keeps swimmers afloat. Only simple organisms can live in its saline waters."" Here are some good examples of flashcards for this text: Q: Where is the Dead Sea located? A: on the border between Israel and Jordan., Q: What is the lowest point on the Earth's surface? A: The Dead Sea shoreline, Q: What is the average level on which the Dead Sea is located? A: 400 meters (below sea level), Q: How long is th |
To create direct download links for files hosted on your local http-server, ensuring that clicking the link immediately starts the download rather than previewing the file: using a Different Server for Advanced Needs
If you require more advanced header configurations (like pattern matching), consider using a more feature-rich server such as Express.js with custom middleware.
Example with Express.js:
-
Install Express:
npm install express
NewerOlder