Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Churchman Beskhue

View GitHub Profile
@Beskhue
Beskhue / youtube-minimalism.js
Created Nov 13, 2020
This userscript removes YouTube's homepage and suggested videos.
View youtube-minimalism.js
// ==UserScript==
// @name Youtube minimalism
// @namespace https://churchman.nl/
// @match https://*.youtube.com/*
// @grant none
// ==/UserScript==
function del(selectors) {
selectors.forEach((selector) => {
const ele = document.querySelector(selector);
if (ele) {
@Beskhue
Beskhue / tabularHeatMap.m
Last active Jul 22, 2016
Matlab function to plot a matrix as a tabular heat map. Also see http://churchman.nl/2015/10/14/plotting-a-heat-map-table-in-matlab/
View tabularHeatMap.m
function h = tabularHeatMap(data, varargin)
%% tabularHeatMap
% Author: Thomas Churchman
% Date: 2015/10/14
%
% Plot a matrix as a tabular heat map.
%
% INPUTS
% data (required) - The matrix to plot as a tabular heat map
% OPTIONS (Optional) - Optional arguments as key-value pairs
You can’t perform that action at this time.