Skip to content

Instantly share code, notes, and snippets.

View doevelopper's full-sized avatar

Adrien H doevelopper

  • Versailles
View GitHub Profile

Here are three detailed prompts tailored for AI image generators (like Midjourney, DALL-E 3, or Stable Diffusion). They are designed to perfectly capture the dark, cinematic lighting, the underground cavern setting, and the symmetrical composition of your original screenshot, while changing the subjects as you requested.

Tip: If you are using Midjourney, add --ar 16:9 --style raw at the end of these prompts to get the exact widescreen, realistic movie-still look of the original image.

1. Only Men

Prompt: Cinematic wide shot, dark fantasy movie still. Deep underground ancient stone cavern, domed ceiling with a circular oculus at the top. A single dramatic, bright god-ray beam of light shines straight down from the oculus into the pitch black darkness. Surrounding the light beam in a circle are several hyper-muscular, bald, pale-skinned mythological men. They are looking down, their massive bodies forming a symmetrical arch framing the light. Chiaroscuro lighting, deep shadows, epic, gritty, p

@doevelopper
doevelopper / 0000.md
Created September 13, 2026 13:31
AI prompt for yocto lectures. Learn by doing
  • 0001-yocto-lectures.md
  • 0002-yocto-lectures-K3.md [1] reviewed
  • 0003-yocto-lectures-Qw.md [1] reviewed
@doevelopper
doevelopper / 0000.md
Created August 28, 2026 08:56
Private lab OTA repository and internal certificate service

A Raspberry Pi 3 can work well as a private lab OTA repository and internal certificate service, but the first architectural decision is crucial: do not treat the online Raspberry Pi as your root CA or primary firmware-signing authority. Separate certificate issuance, firmware signing, artifact storage, and deployment management from the beginning.

  1. First decide what you mean by “CA server”

You potentially need three different trust functions:

TLS certificates

Translating a massive standard like IEC 62443 into actionable product specifications can feel overwhelming. The secret is to realize that as a product developer building an embedded device, you do not need to implement the entire standard.

You only need to focus on the parts that dictate technical product requirements. For your embedded Linux energy meter, the "holy grail" is IEC 62443-4-2 (Technical security requirements for IACS components) and IEC 62443-3-3 (System security requirements).

Here is a step-by-step guide on how to translate IEC 62443 into concrete specifications for your QMS.


Step 1: Determine your Target Security Level (SL)

IEC 62443 defines four Security Levels (SL 1 to SL 4). The higher the level, the more rigorous the requirements.

11.4 Repository Folder Structure

All project documentation should be organized in a standardized folder structure to ensure consistency and ease of navigation:

.
├── .copilot
│   ├── agents
│   │   ├── product-owner-agent.agent.md
│   │   └── backlog-refinement-agent.agent.md
@doevelopper
doevelopper / 0000.md
Last active June 12, 2026 15:28
Common AI skills ans agents

Short answer: Yes. With a SIM7600G‑H 4G HAT you can run a PPP data session for Internet access and, at the same time, read GNSS (GPS/BeiDou/GLONASS/Galileo) position—because the module exposes multiple USB serial interfaces: one used by PPP for the data call, one (or more) for AT commands, and one that can stream NMEA from the GNSS. [files.waveshare.com], [altronics.cl]


How it works on SIM7600G‑H

  • Multiple USB ports: When connected over USB, the SIM7600 typically enumerates several /dev/ttyUSBx interfaces—commonly:
    • a modem/data port that PPP uses (often /dev/ttyUSB3),
    • an AT command port (often /dev/ttyUSB2),
  • an NMEA/GNSS port for continuous GPS sentences (often /dev/ttyUSB1).

pip install --user pipx

reuse-annotate:

> pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" 
    --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" 
    --recursive --exclude-year --copyright-style=\"spdx\""