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 Twitch Constant Quality | |
// @description Prevents automatic stream quality degradation when tab is hidden. | |
// @match *://*.twitch.tv/* | |
// @namespace https://gist.github.com/dmryabov/ | |
// @version 1.4 | |
// @grant none | |
// @run-at document-start | |
// @downloadUrl https://gist.githubusercontent.com/dmryabov/9342068195602bd71c2e387af4524556/raw/twitch-constant-quality.js | |
// ==/UserScript== |
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
# -*- shell-script -*- | |
_complete_elixir_iex() | |
{ | |
local cur prev opts name completion_file | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
prev="${COMP_WORDS[COMP_CWORD-1]}" | |
name=$1 | |
completion_file="/tmp/.elixir_completion/${name}" |