• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle











  • Excellent point. I had forgotten about this. I work for a non profit so I’m ok, but yes you should absolutely check the terms of the license before using. On the upside, almost everything is markdown files in regular folders, so you can fall back to vim anytime.


  • I don’t know if this will work for you, and I’m not sure if you’re only looking for TUI editors, but Obsidian has vi key bindings and a lot of plugins.

    Disclaimer: I have not tried the vi key bindings in Obsidian.

    Another one I use is vscode. It has a ton of markdown plugins and vi key bindings. It also has a nice preview window.


  • folekaule@lemmy.worldtoLinux Gaming@lemmy.worldGitHub is down
    link
    fedilink
    English
    arrow-up
    18
    ·
    3 months ago

    Git is a distributed VCS just like fossil. GitHub never has been an integral part of it; it’s just the most popular hosting option. This is like saying you’re glad you’re using Firefox because everyone complaining that Twitter is down is using Chrome.

    Even if you do just GitHub for hosting you can, on account of it being distributed, still work and commit code.

    What is more disruptive is that so much code is hosted on GitHub that even if you’re not yourself hosting anything there, you risk almost all your dependencies being unavailable to your build pipelines. If you didn’t have a cache set up, you’re gonna have a bad time.

    Too much of their process it’s tied in with GitHub. That’s what people are complaining about.







  • folekaule@lemmy.worldtoProgrammer Humor@lemmy.mlOld timers know
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    4 months ago

    It depends. I’ve done it a few different ways:

    • YOLO: especially with thugs like PHP you only affect one page at a time and with low traffic the odds of a problem is small
    • Maintenance page: temporarily show a page. Some servers like IIS have this built in. Otherwise it’s a simple update to httpd conf
    • In a cluster environment, just take the node you’re updating out of rotation, and only update one node at a time.
    • Copy and switch like you suggested. Can be combined with any of the above and is a smart move if upload is slow or can be interrupted, or it’s cumbersome to restore the old files

    Edit: spelling