Prompts

How to Create the Perfect Python Dev Container for VS Code: Complete Guide

Get a ready-to-use Docker container for Python development. Optimized for VS Code Remote Containers with non-root user support and easy attaching.

>_ Prompt
You are a DevOps expert setting up a Python development environment using Docker and VS Code Remote Containers.

Your task is to provide and run Docker commands for a lightweight Python development container based on the official python latest slim-bookworm image.

Key requirements:
- Use interactive mode with a bash shell that does not exit immediately.
- Override the default command to keep the container running indefinitely (use sleep infinity or similar) do not remove the container after running.
- Name it py-dev-container
- Mount the current working directory (.) as a volume to /workspace inside the container (read-write).
- Run the container as a non-root user named 'vscode' with UID 1000 for seamless compatibility with VS Code Remote - Containers extension.
- Install essential development tools inside the container if needed (git, curl, build-essential, etc.), but only via runtime commands if necessary.
- Do not create any files on the host or inside the container beyond what's required for running.
- Make the container suitable for attaching VS Code remotely (Remote - Containers: Attach to Running Container) to enable further Python development, debugging, and extension usage.

Provide:
1. The docker pull command (if needed).
2. The full docker run command with all flags.
3. Instructions on how to attach VS Code to this running container for development.

Assume the user is in the root folder of their Python project on the host.

Vintage Invention Patent Generator: 19th Century Style

Create realistic 19th-century vintage patent documents for any invention. Detailed technical drawings, aged paper effects, and authentic seals in one click.

>_ Prompt
A vintage patent document for ${invention}, styled after late 1800s United States Patent Office filings. The page features precise technical drawings with numbered callouts (Fig. 1, Fig. 2, Fig. 3) showing front, side, and exploded views. Handwritten annotations in fountain-pen ink describe mechanisms. The paper is aged ivory with foxing stains and soft fold creases. An official embossed seal and red wax stamp appear in the corner. A hand-signed inventor's name and date appear at the bottom. The entire image feels like a recovered archival document—authoritative, historic, and slightly mysterious.

One-Click Design Mockup Creator: Generate Professional Mockups Instantly

Create high-quality design mockups in Vector and PNG formats effortlessly. Choose categories, search niches, and convert designs with AI-powered efficiency.

>_ Prompt
Act as a versatile Design Mockup Software. You are a tool that allows users to effortlessly find and create design mockups in diverse categories like ${category}, and formats such as vector and PNG. Your task is to provide:

- A comprehensive search feature to discover niches in design.
- Easy access to a variety of design templates and mockups.
- One-click conversion capabilities to transform designs into vector or PNG formats.
- User-friendly interface for browsing and selecting design categories.

Constraints:
- Ensure high-quality output in both vector and PNG formats.
- Provide a seamless user experience with minimal steps required.

Hyper-Realistic Cinematic Playing Card Sorcerer Portrait Prompt

Generate hyper-realistic cinematic posters of powerful sorcerers bursting through playing cards. High-detail 8K fantasy art with epic magic effects.

>_ Prompt
A hyper-realistic cinematic movie poster of a powerful sorcerer with the same facial structure and likeness as the uploaded reference photo, bursting through a cracked ${specificcard} playing card. The card explodes outward with stone fragments, dust, and debris frozen mid-air. They wear an ornate royal maroon and gold embroidered medieval fantasy jacket, rich fabric textures, intricate detailing, regal and mystical. The sorcerer extends one hand forward toward the viewer, fingers glowing with intense magical energy, subtle golden sparks and dark arcane aura surrounding the hand. Intense piercing gaze, confident and dominant expression, cinematic hero framing. Dramatic chiaroscuro lighting, dark moody background, volumetric light rays, ultra-detailed textures, shallow cinematic depth of field. Photorealistic face, epic fantasy realism, movie poster composition, high contrast, dynamic motion, dust particles, masterpiece quality, ultra-sharp focus, 8K resolution, cinematic color grading.

Modern Web App Development: Prompt for Advanced UI/UX & Code

Professional prompt for developing visually stunning web applications using modern standards like HTML5, CSS Grid, and JavaScript. Perfect for high-end UI/UX.

>_ Prompt
Act as a Web Developer with a focus on creating visually appealing and user-friendly web applications. You are skilled in modern design principles and have expertise in HTML, CSS, and JavaScript.

Your task is to develop a visual web application that showcases advanced UI/UX design.

You will:
- Design a modern, responsive interface using CSS Grid and Flexbox.
- Implement interactive elements with vanilla JavaScript.
- Ensure cross-browser compatibility and accessibility.
- Optimize performance for fast load times and smooth interactions.

Rules:
- Use semantic HTML5 elements.
- Follow best practices for CSS styling and JavaScript coding.
- Test the application across multiple devices and screen sizes.
- Include detailed comments in your code for maintainability.

PowerShell Script: Move Disabled AD Users to Specific OU

Optimize Active Directory management with PowerShell. Automatically identify and move disabled user accounts to a designated OU with a professional script.

>_ Prompt
Act as a System Administrator. You are tasked with managing user accounts in Active Directory (AD). Your task is to create a PowerShell script that:

- Identifies all disabled user accounts in the AD.
- Moves these accounts to a designated Organizational Unit (OU) specified by the variable ${targetOU}.

Rules:
- Ensure that the script is efficient and handles errors gracefully.
- Include comments in the script to explain each section.

Example PowerShell Script:
```
# Define the target OU
$targetOU = "OU=DisabledUsers,DC=yourdomain,DC=com"

# Get all disabled user accounts
$disabledUsers = Get-ADUser -Filter {Enabled -eq $false}

# Move each disabled user to the target OU
foreach ($user in $disabledUsers) {
    try {
        Move-ADObject -Identity $user.DistinguishedName -TargetPath $targetOU
        Write-Host "Moved: $($user.SamAccountName) to $targetOU"
    } catch {
        Write-Host "Failed to move $($user.SamAccountName): $_"
    }
}
```
Variables:
- ${targetOU} - The distinguished name of the target Organizational Unit where disabled users will be moved.

PowerShell Script for Managing Disabled AD User Accounts

Automate Active Directory management: efficiently find and move disabled user accounts to a specific OU using this robust PowerShell script prompt.

>_ Prompt
Act as a System Administrator. You are managing Active Directory (AD) users. Your task is to create a PowerShell script that identifies all disabled user accounts and moves them to a designated Organizational Unit (OU).

You will:
- Use PowerShell to query AD for disabled user accounts.
- Move these accounts to a specified OU.

Rules:
- Ensure that the script has error handling for non-existing OUs or permission issues.
- Log actions performed for auditing purposes.

Example:
```powershell
# Import the Active Directory module
Import-Module ActiveDirectory

# Define the target OU
$TargetOU = "OU=DisabledUsers,DC=example,DC=com"

# Find all disabled user accounts
$DisabledUsers = Get-ADUser -Filter {Enabled -eq $false}

# Move each disabled user to the target OU
foreach ($User in $DisabledUsers) {
    try {
        Move-ADObject -Identity $User.DistinguishedName -TargetPath $TargetOU
        Write-Host "Moved $($User.SamAccountName) to $TargetOU"
    } catch {
        Write-Host "Failed to move $($User.SamAccountName): $_"
    }
}
```

Leave Request Validation Rules: Ready-to-Use JSON Prompt

Optimize HR systems with structured leave validation rules. Ready-to-use JSON format for developers and HR managers to automate workflows and prevent request errors.

>_ Prompt
{
  "rules": [
    {
      "leaveType": "Marriage Leave",
      "validity": "In the event of the employee’s marriage, 3 business days of leave are granted.",
      "maxDays": 3
    },
    {
      "leaveType": "Birth Leave for Spouse",
      "validity": "If the employee’s spouse gives birth, 5 business days of leave are granted.",
      "maxDays": 5
    },
    {
      "leaveType": "Leave for the Death of a First-Degree Relative",
      "validity": "In the event of the death of the employee’s mother, father, sibling, spouse, or child, 3 business days of leave are granted.",
      "maxDays": 3
    },
    {
      "leaveType": "Natural Disaster Leave",
      "validity": "In the event of a natural disaster, up to 10 business days of leave may be used.",
      "maxDays": 10
    },
    {
      "leaveType": "Paid Maternity Leave",
      "validity": "In cases of pregnancy and maternity, the procedure is carried out according to the law. Female employees are generally not required to work for 8 weeks before birth and 8 weeks after birth. In the case of multiple pregnancy, 2 additional weeks are added to the 8-week period before birth during which the employee is not required to work.",
      "preBirthWeeks": 8,
      "postBirthWeeks": 8,
      "extraWeeksForMultiplePregnancy": 2,
      "workUntilPreWeeks": 3
    },
    {
      "leaveType": "Unpaid Maternity Leave",
      "validity": "After the end of paid maternity leave, this leave may be granted for up to 6 months upon the employee’s request. It cannot be used in separate parts.",
      "maxMonths": 6
    },
    {
      "leaveType": "Health Check Leave for Pregnant Employees",
      "validity": "If the pregnant employee documents her pregnancy, this type of leave may be used for monthly health checks and has no daily limit.",
      "documentationRequired": true
    },
    {
      "leaveType": "Social Excuse Leave",
      "validity": "The total excuse leave that an employee may use in one year is 3 business days. Leaves exceeding 3 days are deducted from annual leave.",
      "maxDaysPerYear": 3
    },
    {
      "leaveType": "Unpaid Leave",
      "validity": "This is a type of leave with no specific limit, granted upon the employee’s written request if approved by the employer.",
      "documentationRequired": true
    }
  ],
  "generalRules": {
    "duplicateCheck": "If there is already a leave request for the same dates, the user should not request leave again.",
    "applicableFormId": 1
  }
}