Skip to content

Instantly share code, notes, and snippets.

@rpavlik
rpavlik / rules.txt
Created Jan 5, 2018
Stop CNet Auto-Play Videos
View rules.txt
! Block annoying CNet auto-play videos.
! Tried to make it targeted so that if you actually wanted to watch a video, you could...
! Tested/works with uBlock Origin
! Block the playlist
www.cnet.com/videos/manifest/*.m3u8?device=ott*
! Block the script that loads the playlists
*.cbsistatic.com/fly/js/pages/desktop/article_video_test*.js
! Element hiding: hide the now-useless placeholder
www.cnet.com##.entered.dock.inviewElement
@jbelke
jbelke / Mac OSX Setup - Brew
Last active Jul 7, 2021
Mac OSX Setup - Brew and Cask
View Mac OSX Setup - Brew
# Get Sudo.
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
fi
# Install Xcode first - https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12
# Install Xcode command line tools.
xcode-select --install