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.

  • 2 Posts
  • 74 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
    






  • Me and my high school friends have a WhatsApp group where we spam the phrase “141” and its variants at matching times. For example:

    • 141 at 1:41 am
    • 1141 at 11:41 am
    • 141 at 1:41 pm
    • 1411 at 2:11 pm
    • 1441 at 2:41 pm

    When I was form 2 (grade 8), my math teacher searched for porn on the classroom projector while we were having a test. The search term was “sex 141” or something. The news spread to the entire school within the day and he got fired.

    As a remembrance of this incident we post all the 141s we see.


  • 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.