• Prevent empty new-line with Starship prompt

    From this GitHub issue: https://github.com/starship/starship/issues/560 Enter this to modify Starship’s configuration: starship config Put this near the very top: # Tuck “new line” inside the ($all) variable format = “””($all )$character””” # No new line between shell prompts add_newline = false # No line-break between shell prompts [line_break] disabled = true This works because anything […]

    Tags:

    Posted in:

    ,

    | Comments

  • My Steamdeck Arrived!

    I ordered a Valve Steamdeck last year when Keri and I were camping at Governor Dodge. It took a few days for the order to complete because our cellular internet access was not great at the campsite. I went with the 512GB model for the exclusive etched glass screen and the no-hassle approach to having […]

    Tags:

    Posted in:

    ,

    | Comments

  • Fix HomeBrew Permissions

    When running brew cleanup I was seeing this error: Error: Could not cleanup old kegs! Fix your permissions on: /opt/homebrew/Cellar/php/8.1.6 Quickest fix I could muster was: sudo chown -R $(whoami) $(brew –prefix)/*

    Tags:

    Posted in:

    | Comments

  • Natches, MS

    Tags:

    Posted in:

    | Comments

  • Low framerate in Safari on M1 Mac

    I recently noticed that animations in Safari were stuttering pretty badly on my M1 powered 2020 MacBook Air, and dove in to figure out why. I’m a web developer, so I went to work writing a small bit of vanilla JavaScript to monitor requestAnimationFrame which is the API that the window object uses to “paint” […]

    Tags:

    Posted in:

    | Comments

  • 17 Rules

    Build modular programs Write readable programs Use composition Separate mechanisms from policy Write simple programs Write small programs Write transparent programs Write robust programs Make data complicated when required, not the program Build on potential users’ expected knowledge Avoid unnecessary output Write programs which fail in a way that is easy to diagnose Value developer time over […]

    Posted in:

    | Comments

  • 19 Lessons

    Every good work of software starts by scratching a developer’s personal itch. Good programmers know what to write. Great ones know what to rewrite (and reuse). Plan to throw one [version] away; you will, anyhow (copied from Frederick Brooks’s The Mythical Man-Month). If you have the right attitude, interesting problems will find you. When you lose […]

    Posted in:

    | Comments

  • WordPress 5.7

    Tags:

    Posted in:

    | Comments

  • PHP is not recommended

    The latest version of macOS makes it pretty clear how Apple feels about open web technologies that aren’t JavaScript:

    Tags:

    Posted in:

    , ,

    | Comments

  • Raspberry Pi 4, Ubuntu 20.04, PoE Hat Fan Control

    I recently acquired an 8Gb Raspberry Pi 4 and promptly installed Ubuntu 20.04 on it to see how it worked. Right away, I was excited that the PoE Hat worked and that it booted without any problems, except that the fan on the Hat was no longer controllable the way that it used to be. […]

    Posted in:

    | Comments

Categories

WordPress Default is proudly powered by WordPress

Entries (RSS) and Comments (RSS).