Skip to content

Instantly share code, notes, and snippets.

View ignaciocastro's full-sized avatar

Ignacio Castro ignaciocastro

View GitHub Profile
! Title: Stop showing me random shit
! Description: |
! I don't care about small youtubers
! stop showing me random shit
! Expires: 7 days
www.youtube.com##ytd-rich-item-renderer:matches-path(/^/$/):has-text(/^1 views$/)
www.youtube.com##ytd-rich-item-renderer:matches-path(/^/$/):has-text(/^2 views$/)
www.youtube.com##ytd-rich-item-renderer:matches-path(/^/$/):has-text(/^3 views$/)
www.youtube.com##ytd-rich-item-renderer:matches-path(/^/$/):has-text(/^4 views$/)

Keybase proof

I hereby claim:

  • I am ignaciocastro on github.
  • I am castro (https://keybase.io/castro) on keybase.
  • I have a public key ASCp30DYnapg7LWDMVKP4_4TDPddCJwVEJK-kqzSz14jzAo

To claim this, I am signing this object:

@ignaciocastro
ignaciocastro / ublock-youtube-commenters
Created March 31, 2022 23:40
uBlock filters for Youtube spam commenters / spam artists / channels no one cares about
##Add this to uBlock Origin > My filters
#Blocks comments from known artists / youtubers who spam comments to get relevant
www.youtube.com##ytd-comment-thread-renderer.ytd-item-section-renderer.style-scope:has(#header-author:has-text(/^Blue|Blexzy|Zico Tops|Slimm Goodie|Young Orange|prize|Candy Lyrics|RedFalcon|imok|ᴷⁱⁿᵈˡʸ ᴴᵉˡᵖ ᴹᵉ|UPlayNetwork|chill street|Ghost|SK 17|Xavier|Chuga Comedy|Taco Stacks|MAX OAZO|Kindly Help Me|Naomi Kyle|DMG- Good Times|Martillo|Vito ASMR|nub|IDK|Tropical House Radio|Henrys HowTos|ARTV/))
#Blocks common spam comments on music videos
www.youtube.com##ytd-comment-thread-renderer.ytd-item-section-renderer.style-scope:has-text(/never gets old|is legendary|never get old|you're a legend|I never get bored|this song still hits different|years later|is really legendary|future generations|song will remain|still watching|still listening|timeless masterpiece|are listening|this masterpiece|Me hiciste escuchar|you're watching|get old/i)
@ignaciocastro
ignaciocastro / ublock-youtube-annoyances
Created November 13, 2021 23:17
uBlock filters for Youtube search / homepage annoyances
##Add this to uBlock Origin > My filters
#Blocks unrelated results from search
www.youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from)\s*$/))
#Blocks list of recent uploads from a channel from search
www.youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/)
#Blocks Mix results from search
www.youtube.com##ytd-radio-renderer
#Blocks unrelated searches from search
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
@ignaciocastro
ignaciocastro / instarss.php
Last active October 16, 2018 16:36 — forked from mxwright/instarss.php
Make a RSS feed from an Instagram user's username. Same fork but with enclosure rss tag added (image also shows as media file)
<?php
if (!isset($_GET['user'])) {
if (!isset($_GET['hashtag'])) {
exit('Not a valid RSS feed. You didn\'nt provide an Instagram user or hashtag. Send one via a GET variable. Example .../instarss.php?user=snoopdogg');
}
}
if (isset($_GET['user']) && isset($_GET['hashtag'])) {
exit('Don\'t request both user and hashtag. Request one or the other.');