Skip to content

Instantly share code, notes, and snippets.

Following I present the CSS code to disable:

  1. the news feed on the homepage of YouTube
  2. recommendation list on the side of the video

Motivation for creating this gist is the reason how distracting the Internet is becoming. Increase productivity and reduce addiction to internet technologies.

#feed, ytd-browse[page-subtype=home] {
 display: none;
@chourobin
chourobin / 0-bridging-react-native-cheatsheet.md
Last active May 4, 2024 14:06
React Native Bridging Cheatsheet
@jlong
jlong / uri.js
Created April 20, 2012 13:29
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@fabianoalmeida
fabianoalmeida / gist:1385366
Created November 22, 2011 10:21
Git log decorate as a pretty way!
git log --graph --pretty="format:%C(yellow)%h%C(cyan)%d%Creset %s => %C(green)%an%C(white), %C(red)%ar%Creset"