Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MA
Posts
1
Comments
4
Joined
24 hr. ago
  • In Linux you only need dd to burn an iso to a usb stick, but, you can use something 'pretty', too.

    sudo mintstick -m iso

    I have an alias for it: alias burn='sudo mintstick -m iso'

    or

    sudo dd if=/path/to/filename.iso of=/dev/sdX bs=4M status=progress

  • Linux @programming.dev
    machiner @lemmy.org

    Every day Linux Functionality

    The goal was to be able to have a function to randomly pick a movie for me to watch.

    I made a text file with one movie title per line that included random flicks top-of-my-head, adding 10. Then, I went and exported some imdb lists, which was so handy because csv files. So, export one list, open it in calc; highlight, and then copy the title column. Simple. I pasted it into my movies list file.

    I did this maybe 7 times which gave me a good sized list of movies - then, I needed to remove duplicates, so, I saved the file and ran this on it:

    cat films.txt | sort | uniq > films2.txt

    I opened the new file and double entries were stacked so I could go through and delete redundant rows, of which, there weren't very many. Now, I have a file with 1892 lines, each line being a movie title. Handy.

    Of course, now, I need to randomly be able to choose a title (line) from the file because I can't be bothered to open the thing and read through it every time I need some inspiration, or, guidance