I play stuff, I draw stuff, I code stuff.

Your Hong Kong Splatoon 3 ☂️ Brella main and vector artist who also studies Computer Science. Occasionally play games other than Splatoon. Can probably help your math homework too.

  • 4 Posts
  • 36 Comments
Joined 3 years ago
cake
Cake day: June 11th, 2023

help-circle






  • Guess we’re sharing scripts now. I have a script that downloads playlists as MP3s and keep an archive.

    #!/usr/bin/env sh
    
    browser_cookies="firefox:1cvnyph7.YouTube TV"
    
    download() {
    	url="https://www.youtube.com/playlist?list=%241"
    	dir=$2
    	archive_name=$3
    
    	yt-dlp -x --audio-format mp3 --embed-thumbnail --embed-metadata --cookies-from-browser "$browser_cookies" --download-archive "archives/$archive_name.txt" -P "$dir" -o "%(title)s.%(ext)s" "$url"
    }
    
    download PLPzniwWWCSjVQteWPqVvyu8SQsrStVYwZ high-quality-rips/ rips
    download PLPzniwWWCSjWZj3-DAOh8ZKrsVReP_Ksm good-playlist/ picks
    






  • Some Android file managers support WebDAV. I’m using Amaze which unfortunately doesn’t, so instead I have DAVx5 and I can use it to browse files on the server.

    Alternatively, you can use rclone in Termux to download the server files to the device. I use this to sync music from my server.

    For your PDF use case, unfortunately you will need to first download the file before opening it.








  • All Gentoo users remember the pain of compiling QtWebEngine ;)

    I used to run Gentoo on my old computer. Installing it was quite the experience. That was where I learnt about most of how Linux works thanks to the wiki.

    I heard compiling your own packages with use flags can improve performance, but honestly it was not worth it for the compile time.

    When I switched to my new PC, the Nvidia GPU doesn’t work and I could not figure out why. I also don’t have the time at that moment so I installed Endeavour instead, which I’m still using.