Skip to content

Instantly share code, notes, and snippets.

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
// ==UserScript==
// @name Screenshot Plex
// @namespace Violentmonkey Scripts
// @match *://192.168.86.250:32400/*/*
// @match *://app.plex.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
/* ==UserStyle==
@name Crunchyroll large/responsive video player - 1/25/2020, 4:32:28 PM
@namespace github.com/eramdam
@version 1.0.0
@description What the title says
@author Damien Erambert (Eramdam)
==/UserStyle== */
@-moz-document regexp("https://www.crunchyroll.com/[a-z-]+/episode-[a-z-0-9]+") {
#template_container {
@eramdam
eramdam / dark-theme.png
Last active April 1, 2019 09:45
Bottom tabs (Firefox Quantum)
dark-theme.png