Hexmode's Weblog

  • About

Knowledge Sharing

Illustration of a bird flying.
  • The proper way to add a keyring to authenticate a repository in 2023

    The proper way to add a keyring to authenticate a repository in 2023

    Since I have not yet automated this process (because I don’t do it that often) and since there are so many pages out there that talk about using the deprecated apt-key command, I’m writing this up. The year is especially apropos since apt-key(8) will last be available in Debian 11 and Ubuntu 22.04. https://manpages.debian.org/bullseye/apt/apt-key.8.en.html I…

    March 3, 2023
  • Chaining dnsmasq instances together

    Chaining dnsmasq instances together

    Laravel’s valet allows you to set up PHP-based sites so that they have their own domain name ending in.test so that you can easily deploy multiple projects in your local development environment. To do this, it uses dnsmasq listening on 127.0.0.1 (lo). Other development tools like libvirt use dnsmasq in a similar way, but coordinating…

    February 24, 2023
  • WikiApiary is finally more responsive

    WikiApiary is finally more responsive

    Since writing about WikiApiary last, I didn’t have much time to work on it. In the meantime, denizens of the MediaWiki Stakeholders chat room (join us!) have mentioned more than once that it wasn’t very responsive. In the past few days, I finally took the chance to look at in terms of server resources rather…

    January 11, 2023
  • WikiApiary status update

    WikiApiary status update

    The latest work on WikiApiary, including a bit of history and how *you* can get involved if you aren’t already at the end.

    September 23, 2022
  • More WikiApiary progress

    More WikiApiary progress

    While WikiApiary was offline, its stewards–the MediaWiki Stakeholders user group–got a number of complaints. For a brief time, I tried to allay the worry by putting up a reassuring bee, but then I was spending time that I didn’t think I had, so I figured it would be better to use that time to actually…

    September 20, 2022
  • First pass at WikiApiary DB tuning

    First pass at WikiApiary DB tuning

    Today, after asking for help with DB tuning on WikiApiary, Bernhard Krabina gave me some settings that had been used on a wiki with what looked like a ton of memory. I didn’t realize this at first, of course. No, I just put the settings into mysqld.cnf. That worked for a few minutes, but then…

    September 15, 2022
  • How to get URLs in JavaScript for uploaded files in MediaWiki

    How to get URLs in JavaScript for uploaded files in MediaWiki

    Today, I was trying to remove hard-coded paths from some JS code. In my particular case, I started with a stem that looked like this: /img_auth.php/c/c9/Logo.png But MediaWiki provides different ways to configure it to serve images. The hard-coded url wouldn’t work in a wiki that had $wgHashedUploadDirectory set to false. And it wouldn’t work…

    September 15, 2022

Hexmode's Weblog

Blog at WordPress.com.

  • Follow Following
    • Hexmode's Weblog
    • Already have a WordPress.com account? Log in now.
    • Hexmode's Weblog
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar