Category: General

  • TikTok

    Sharing the following incomplete history for posterity. I will also try to add to this as time progresses.

    Jan 17, 2025
    9:03 AM CT

    Supreme Court upholds TikTok ban

    Read more The Hill

    Jan 19, 2025
    12:27 AM CT

    TikTok goes offline

    Jan 19, 2025
    11:44 PM CT

    TikTok ‘Restoring Service’ After Donald Trump Shares New PlanFullscreen

    Jan 19, 2025

    Screenshot

    TikTok statement

    Jan 19, 2025
    12:52 PM CT

    Screenshot

    TikTok Services Restored

  • Happy New Year!

    A belated Merry Christmas and a Happy New Year!

    Happy New Year!
  • WordPress 6.7 Now Available

    WordPress 6.7 debuts the modern Twenty Twenty-Five theme, offering ultimate design flexibility for any blog at any scale. Control your site typography like never before with new font management features. The new Zoom Out feature lets you design your site with a macro view, stepping back from the details to bring the big picture to life.

    Read more: https://wordpress.org/news/2024/11/rollins/

    WordPress 6.7 Now Available
  • CSS for YouTube iFrame

    iframe[src*="youtube.com"] {
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    The provided content is a CSS rule for styling <iframe> elements that contain YouTube videos. It sets the maximum width to 100%, makes the height adaptable (auto), and maintains an aspect ratio of 16:9.

    CSS for YouTube iFrame
  • In JavaScript, when is the target property used in a forEach() loop?

    In JavaScript, the target property is not directly associated with a forEach() loop itself. However, when you’re using forEach() to iterate over a collection of DOM elements (like those obtained from document.querySelectorAll()), you might encounter the target property if you’re working with event listeners inside the loop.

    Here’s an example:

    document.querySelectorAll('.my-button').forEach(button => {
        button.addEventListener('click', (event) => {
            console.log(event.target);  // This will log the button that was clicked
        });
    });

    In this case, event.target refers to the element that triggered the event (e.g., the button that was clicked). So, while target isn’t specific to the forEach() loop, you may use it inside the loop when handling events on elements.

    In JavaScript, when is the target property used in a forEach() loop?
  • Who is Larry Kenobi?

    Screenshot

    Steve Obi-Wan Larry Kenobi is a Jedi junky responsible for the destruction of Saint Jabba’s Hospital For the Survivors of the Singularity Engine.

    Who is Larry Kenobi?
  • Joker: Folie a Deux

    Reading the reviews and oof… was it really that bad?

    Joker: Folie a Deux