Skip to content

Instantly share code, notes, and snippets.

@eramdam
eramdam / tweaks-for-mastodon.css
Last active June 27, 2026 22:41 — forked from cassidyjames/tweaks-for-mastodon.css
CSS Tweaks for Mastodon
/*
Based on Cassidy’s CSS tweaks for mastodon.blaede.family (https://gist.github.com/cassidyjames/292c1e3062ad5248284999e4c7841a17)
Inspired in part by TangerineUI:
https://github.com/nileane/TangerineUI-for-Mastodon/
…but much smaller in scope.
Simplified-to-only-keep-color styles by @eramdam@erambert.me.
Provided as-is, works fine as far as I can tell as of 2026-07-25 on Mastodon 4.6.2.
*/
/* Basic Transparency */
:root {
@media not (prefers-reduced-transparency) {
appearance: -moz-sidebar !important;
}
--dmn-theme-main-background-light: transparent;
--dmn-theme-main-background-dark: rgba(0, 0, 0, 0.1);
--dmn-theme-main-background: var(--dmn-theme-main-background-light);
}
@media (min-width: 1280px) {
.columns-area {
justify-content: center;
}
.columns-area > .column:has(.getting-started) {
width: 400px;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// ==UserScript==
// @name Click header to scroll to the top
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author Damien Erambert (Eramdam)
// @match https://cohost.org/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=cohost.org
// @grant none
// ==/UserScript==
@eramdam
eramdam / obsidian-web-clipper.js
Created January 16, 2022 00:31 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
[
{
"min": 126,
"max": 132,
"value": 1
},
{
"min": 132,
"max": 138,
"value": 2
.stream-item, .tweet-detail-reply .stream-item, .compose-header {
border-bottom: 0 !important;
}
.in-tweet-divider::before {
background: rgba(0, 0, 0, 0.13);
}
// ==UserScript==
// @name Screenshot Twitch
// @match *://*.twitch.tv/*
// @grant none
// @version 1.0
// @author @Eramdam
// @description 5/3/2020, 1:03:26 PM
// @require https://unpkg.com/file-saver@2.0.2/dist/FileSaver.min.js
// ==/UserScript==
@eramdam
eramdam / .skhdrc
Created November 17, 2020 15:38
yabai/skhd config
#!/usr/bin/env sh
:: default : yabai -m config active_window_opacity 1; yabai -m config normal_window_opacity 1;
# Focus
shift + alt - home : yabai -m window --focus north
shift + alt - j : yabai -m window --focus north
shift + alt - end : yabai -m window --focus south
shift + alt - k : yabai -m window --focus south
shift + alt - delete : yabai -m window --focus west