Profile by artisticside(website:www.artisticsideoflife.com, Instagram:@artisticsideoflife_)

Banner by Elena_Medvedeva(Email:lenkovskai@yandex.ru, Website:https://creativemarket.com/elenamedvedeva)

  • 12 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: November 25th, 2023

help-circle

  • second part you’re not matching at all.

    That because the program/ add-on i am using, only requires certain keywords to blacklist videos

    so if it find What "X" Says About in a Video Title , it doesn’t need the rest of the sentence to blacklist the video.

    The other problem with regex is that every implementation does things differently

    Th developer links to Firefox’s developers Regex Documentation.

    Regex
    
    You can use Regex to match very specific patterns of text.
    
    /aaa+/i: will block content that include aaaAAAAAaaaaAAAaaa or aaaaaaaa
    /top \d+/: will block content that include top 10 movies, top 5 upcoming movies
    
    Supports negative too, by adding ! (exclamation mark) before the regex.
    Example: !/^a/i will block content that does not start with a 
    
    

    This is a snip-it of the the add-on Guide. I cant like to it cuz for some reason its only inside the extension but here is the add-on’s page


  • I think this is The solutions that makes the most sense to me

    But i don’t understand what sed does here

    replace the trailing comma with a newline again

    Why do we replace the commas again with new lines?


    Also, I figure a better way to group related terms

    Stars Wars;Clone Wars;Jedi
    

    Using semicolons “;”
    I figure i can replace them with commas using tr command

    tr ';' ',' 
    

    But do i just pipe

    tr '\n' ','
    

    Into

    tr ';' ',' 
    

    Or is there a way to combine them. I don’t see an option to do more than operation in tr manual


    Lastly, i have been trying to use regex to match

    What "X" Says About
    

    To

    What The MCU Says About The Comics Industry 
    

    I just need to match The “X” There, the program takes care of the rest

    I tried

    What \w+\s+ Says About
    

    On this website to match

    What The MCU Says About The Comics Industry

    But using the debugger, it only recgnize “The” and then stops


  • Something like this?

    - Franchise(Title): 
    
      - Harry potter
    
      - Perfect Blue
    
      - Jurassic world
      - Jurassic Park
    
      - Jedi
      - Star wars
      - The clone wars
    
      - MCU
    
      - Cartoons(Sub-Title):
    
        - Gumball 
    
        - Flapjack
    
        - Steven Universe
    
        - Stars vs. the forces of Evil
    
        - Wordgril
    
        - Flapjack
    
    

    Turned into

    Harry potter,Perfect Blue,Jurassic world,Flapjack,Jedi,Star wars,The clone wars,MCU,Gumball,Flapjack,Steven Universe,Stars vs. the forces of Evil
    

    Both “Franchis” and “Cartoons” where removed/ not included with the other words.


  • Why do the prefix numbers change between examples?

    My bad, i fixed it

    I want to show that the two terms are related e,g Star and Jedi by grouping them together

    Franchises

    Stars wars
    Jedi

    Transformers


    Also i am not able to add line breaks between bullet points in markdown. so instead i get this

    Franchises

    • Stars wars

    • Jedi

    • Transformers

    So i cant show the grouping thing in lemmy here. I would have also liked The list i make to be markdown compatible but i guess that separate issue.


  • Basically i collect keywords( e.g: transformers, A Deep dive, Harry Potter The worst, Xbox, stars worst, Jedi) from videos on my YouTube home page and organize them into a lists

    • YouTuber terms:

      • A Deep Dive
      • The Worst

    • Franchises:
      • Star wars
      • Jedi
      • Harry Potter
      • Transformers

    • Companies:

      • Xbox

    And Turn it into:

    A Deep Dive,The Worst, Star wars, Jedi, Harry Potter, Transformers,Xbox  
    
    

    Removing the titles and subtitles.

    How do you tell text and title/subtitle apart

    I was thinking of putting a symbol like “#” for example, in front of the Title

    # - YouTuber terms:  
    

    so the script knows to ignore that whole line, like in general programming














  • I keep getting “No such file or directory” and " Permission denied" on directories “/pro” and “/run”. I am assuming those are the partitions of the HDD, either way, i got 193 GB but its not down broken down into sections. i am also wondering if it counted the HDD storage space in the total storage used.

    Linux mint does have Disk Usage Analyzer where i got the storage spaced breakdown from. the size of / directory is 117 GB, 48 of which is Timeshift snapshots, so 67 GB of used space out of 240 GB SSD.