• 0 Posts
  • 51 Comments
Joined 8 months ago
cake
Cake day: October 13th, 2024

help-circle



  • What have you been playing?!

    I’m playing through Celeste again. I only finished the main story when I played it before. I intend to finish chapter 8 and go through as much of the B/C sides as I can this time.

    I’ve also been playing Stardew Valley and another game called vivid/stasis. I really like the story in vivid/stasis so far because it’s Sci-Fi, one of my favorite genres. There are some things that I don’t enjoy about the game, like the puzzles and the boss songs having health bars (the songs are just too difficult for the current me to beat with a health bar). Thankfully I can just skip the puzzles with a guide and the boss songs using the autoplay accessibility option.







  • My bash prompt is just me copying the prompt I have set on fish.

    # Prompt
    green=$'\e[38;5;2m'
    bright_red=$'\e[38;5;9m'
    bright_green=$'\e[38;5;10m'
    reset=$'\e[0m'
    
    prompt_command()
    {
        local exit_status=$?
    
        if [[ $exit_status != 0 ]]; then
            exit_color=$bright_red
            exit_prompt=" [$exit_status]"
        else
            exit_color=$bright_green
            exit_prompt=""
        fi
    }
    
    PROMPT_COMMAND=prompt_command
    PS1='\[$green\]\w\[$exit_color\]$exit_prompt\n❯ \[$reset\]'
    

    I have a small issue with this prompt though. Sometimes the ❯ ends up turning white for some reason.










  • Do you actually need to move the admin ui off of port 80/443 if you are just forwarding ports? I don’t think you need to. That said I actually don’t know much about port forwarding since I use Tailscale because of CGNAT.

    My understanding of port forwarding is that you are forwarding connections to your WAN IP/port to a LAN IP/port. Since the router admin ui is available only on LAN by default, you don’t need to change it’s port from 80/443.