This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto Close Slack Tab on Redirect | |
// @namespace https://*.slack.com/archives/* | |
// @version 0.3 | |
// @description Auto close Slack's "We’ve redirected you to the desktop app." tabs. | |
// @author Tim Kersten | |
// @match https://klarna.slack.com/archives/* | |
// @grant none | |
// @homepageURL https://gist.github.com/io41/304b1af0f83f82dd4408612b31bb25b5 | |
// @updateURL https://gist.github.com/io41/304b1af0f83f82dd4408612b31bb25b5/raw/auto-close-slack-tab-on-redirect.user.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name No toolbars for slack lists (Toggleable), aka Fullscreen Lists | |
// @namespace http://tampermonkey.net/ | |
// @version 0.6 | |
// @description Hides toolbars for any given Slack List, toggleable with Command + . Useful when combined with Chrome's ability to turn any webpage into an App. | |
// @author Tim Kersten | |
// @match https://app.slack.com/client/*/lists | |
// @grant GM_addStyle | |
// @homepageURL https://gist.github.com/io41/7ff3dfa815dd7566237234f7b699a529 | |
// @downloadURL https://update.greasyfork.org/scripts/501755/No%20toolbars%20for%20slack%20lists%20%28Toggleable%29%2C%20aka%20Fullscreen%20Lists.user.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install ripgrep & moreutils (for the sponge tool) See https://www.putorius.net/moreutils.html | |
# On mac: brew install moreutils ripgrep | |
# Source this file in your zsh config by adding `source .rgr.zsh` to your .zshrc | |
function rgr() { | |
local context_lines=2 | |
local search="$1" | |
local replace="$2" | |
shift 2 |