Lynxbee topic

lynxbeedev

Create Custom Meta Descriptions in Osclass

Osclass already provides a site description and a `meta_description_filter` extension point. Use a plugin to choose concise page-specific text, leave escaping to one known output boundary, and verify the rendered canonical pages instead of editing core files.

Create Arrays in PHP

PHP provides simple function to create an array using “array()” API which creates an empty array. In … Read more

Show Subcategories on WordPress Category Archives

On a category archive, WordPress already knows which term is being viewed. Read that queried term, fetch its direct children with `get_terms()`, and render escaped term links—without hard-coding IDs into a fragile copied template.

Read Android API Level and Build Information Safely

Android’s `Build` and `Build.VERSION` APIs expose platform and firmware metadata, but those values serve different purposes. Use the numeric API level for compatibility checks, treat display strings as diagnostics, and avoid turning hardware fields into tracking identifiers.

Add a Google Map and Marker to a Contact Page

A useful contact map does more than draw a pin. This implementation uses Google Maps JavaScript API’s current advanced marker, restricts the browser key, keeps the address usable without JavaScript, and avoids the blank-map mistakes that waste an afternoon.

Fix Yocto “Installed but Not Shipped” QA Errors

This Yocto QA failure is a packaging mismatch: `do_install` placed an artifact under `${D}`, but no output package claimed it. Trace the reported path, package it intentionally or remove it, then inspect the generated package rather than hiding the warning.

Fix curl/curl.h Missing on Ubuntu C Builds

The `curl` command is not the libcurl development kit. Current Ubuntu builds normally need `libcurl4-openssl-dev`, which supplies headers and build metadata. Use pkg-config or CMake’s CURL target so transitive link flags and non-default installation paths remain correct.

Fix openssl/ssl.h Missing on Ubuntu Builds

The OpenSSL command and runtime library are not enough to compile C/C++ code. Ubuntu puts headers, unversioned linker files, and pkg-config metadata in `libssl-dev`. Install it for the correct architecture, then let pkg-config or CMake supply paths instead of hard-coding `/usr/include`.

C atexit(): Cleanup on Normal Termination, Not Every Exit

`atexit()` registers no-argument callbacks for normal program termination. They run in reverse registration order after `main` returns or `exit()` is called—but not after `_Exit()`, `_exit()`, `abort()`, an unhandled fatal signal, a crash, or a forced kill.

Engineering weekly

Useful technical knowledge, not inbox noise.

Receive verified fixes, references, labs, and tools. Confirm by email; unsubscribe any time.