• 0 Posts
  • 27 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle



  • But… what actually is etc, opt, var, dev, bin, usr, local?

    especially coming from windows…

    there is no “Getting started” guide from the OS, you got to read a book or something to learn this…

    during my early day i thought:

    • etc = etcetra? I put random my own stuff here?
    • opt = options? Do i put my configuration here?
    • dev = develop? Is this where debugging symbol or devtool live?
    • local = this must be where my local profile is located?
    • usr = user? Or is this where my local profile is located?
    • var = huh?
    • lib = library? huh why?
    • media = my media folder where i put my images and video?

    lol











  • Prettier doesn’t make my markdown table prettier tho. This is what i did

    prompt

    Given the following markdown table

    | input | output l
    | -- | -- |
    | 2.6 | 3 |
    | 2.5 | 2 |
    | 2.4 | 2 |
    | 1.6 | 2 |
    | 1.5 | 2 |
    | 1.4 | 1 |
    

    Align the vertical bar. Align number to the left

    output

    Here’s the table with the vertical bars aligned and numbers left-aligned:

    | input | output l |
    |-------|----------|
    | 2.6   | 3        |
    | 2.5   | 2        |
    | 2.4   | 2        |
    | 1.6   | 2        |
    | 1.5   | 2        |
    | 1.4   | 1        |
    

    Each column has been padded so that the vertical bars line up consistently, and the numbers are aligned to the left as requested.



  • Oh wow, I have always thought the y stands for “yes to any questions” turns out it has a --noconfirm

    Should have read the man page…

    -y, --refresh
               Download a fresh copy of the master package databases (repo.db) from the server(s)
               defined in pacman.conf(5). This should typically be used each time you use
               --sysupgrade or -u. Passing two --refresh or -y flags will force a refresh of all
               package databases, even if they appear to be up-to-date.