Skip to content

Instantly share code, notes, and snippets.

View malcolmocean's full-sized avatar

Malcolm Ocean malcolmocean

View GitHub Profile
@malcolmocean
malcolmocean / _ambient_quotes.md
Last active July 6, 2017 19:07
Malcolm's kindle highlights
@malcolmocean
malcolmocean / WorkflowyCompliceFormat
Created February 16, 2018 16:05
WorkflowyCompliceFormat userscript
// ==UserScript==
// @name WorkflowyCompliceFormat
// @description Stylizes complice-format tasks in workflowy with their appropriate Complice goal color.
// @author Malcolm Ocean
// adapted from WorkflowyStylableTags by Nigel Thorne and LukeMT
// @include http*://*workflowy.com/*
// @version 0.1
// ==/UserScript==
(function () {
@malcolmocean
malcolmocean / quotetweet-notif-hack.js
Created July 29, 2019 17:23
Convert Twitter Notification "All" tab to a "QTs" tab
/** WHO: @Malcolm_Ocean
WHEN: 2019-07-29 @ 13:06
WHAT: See who's quoting you on Twitter by converting your All notification tab to show only QTs
This is mostly a proof of concept, because:
A) it's a little script, not a full-on userscript or browser extension
B) the ratio of other shit to QTs is so high that since it can only filter,
it must load & hide hundreds of other likes etc ...which makes it very slow
(so, in my experience, it's hard to get further back than a few hundred notifications)
(in fact I thiiiiiink at that point it actually restarts.)
@malcolmocean
malcolmocean / twitter-no-bother.user.js
Last active February 6, 2024 22:52
Twitter Userscript - no unread bothers in title & favicon
// ==UserScript==
// @name Twitter - no unread bothers in title & favicon
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Wanting to leave a tweet open for reference but the (1)
// in the title or the red dot in the favicon make you check
// notifications? This script removes both!
// @author @Malcolm_Ocean
// @match https://twitter.com/*
// @grant none
@malcolmocean
malcolmocean / Roam Custom DB Styles.css
Last active September 13, 2021 10:06
Malcolm's custom roam styles
/* If you copy this, keep the malcolmocean one and the metaroam one, as these are both public roams */
/* but change the other ones for your personal roam(s) */
@-moz-document url-prefix("https://roamresearch.com/#/app/metaroam") {
.roam-sidebar-content > .flex-h-box:first-child:after {
color: white;
padding-left: 10px;
}
.roam-topbar .flex-h-box > div:nth-child(2) {
padding-left: 30px;
}
@malcolmocean
malcolmocean / gellmann-amnesia-blocker.css
Created March 10, 2020 16:12
Gell-Mann Amnesia Blocker - remember which sites you don't trust
@-moz-document domain("dailymail.co.uk"), domain("nytimes.com") {
/* Source for "How do I know this site BSes"
Daily Mail - widely known to be a tabloid
NYT: https://twitter.com/paulg/status/1236975851255857152
*/
body:before {
position: fixed;
@malcolmocean
malcolmocean / twitter-add-onbeforeunload.user.js
Created April 18, 2020 23:05
Twitter UserScript - prevent accidentally closing tweetstorm drafts
// ==UserScript==
// @name Twitter - onbeforeunload for compose
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Have you ever lost a tweetstorm because you accidentally hit a hotkey to close a tab/window?
// This script adds the familiar "Leave site? Changes that you've made may not be saved." pop-up
// The text of that dialog is controlled by the browser, so it may vary, but the important part is a chance to confirm what you're doing.
// @author @Malcolm_Ocean
// @match https://twitter.com/*
// @grant none
@malcolmocean
malcolmocean / meaningness-collapsible-toc.user.js
Created May 10, 2020 15:13
UserScript - Make Meaningness a little more like WorkFlowy
// ==UserScript==
// @name Collapsible Meaningness Table of Contents
// @namespace https://malcolmocean.com
// @version 0.1
// @description Make Meaningness a little more like WorkFlowy - MIT license, you do you
// @author @Malcolm_Ocean
// @match https://meaningness.com/
// @grant none
// ==/UserScript==
@malcolmocean
malcolmocean / stylus-2020-07-12-twitter.json
Created July 12, 2020 22:42
Malcolm Ocean distraction-reducing twitter styles
[
{
"name": "TweetOnly",
"enabled": true,
"sections": [
{
"code": "/*\ndiv[tabindex=\"0\"] {\n background: black;\n opacity: 1;\n}\n*/\n\ndiv[aria-modal=\"true\"] {\n outline: 1000px solid black;\n}",
"urls": [
"https://twitter.com/compose/tweet"
]
@malcolmocean
malcolmocean / fix_google_app_icons.user.js
Created October 27, 2020 22:54
Fix Godawful New Google app icons
// ==UserScript==
// @name Google - restore old favicons
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Google fucked up its icons. This unfucks them. See this tweet:
// https://twitter.com/Malcolm_Ocean/status/1316828432483979272
// @author @Malcolm_Ocean
// @match https://mail.google.com/*
// @match https://drive.google.com/*
// @match https://calendar.google.com/*