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
javascript:(_ => { document.querySelectorAll('.show-outdated-button').forEach(button => button.click()) })() |
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
javascript:(_ => { | |
document.querySelectorAll('.CodeMirror-linewidget') | |
.forEach(comment => comment.style.display = comment.style.display === 'none' ? '' : 'none') | |
})() |
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
find -not \( -path ./DIRECTORY -prune \) | |
find -not \( \( -name DIRECTORY0 -o -name DIRECTORY1 \) -prune \) | |
# see also: https://stackoverflow.com/q/10747039/970346 |
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
git rebase -x 'npm -s t' origin/master |
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
read -p '<enter> to continue, <ctrl-c> to abort: ' answer |
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
empty := | |
space := $(empty) $(empty) | |
.RECIPEPREFIX := $(space) | |
all: | |
@echo 'hello world!' | |
#^ these are spaces not tabs. |
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
find -not \( \( -name node_modules -o -name .git \) -prune \) -type f| | |
xargs -rd\\n sed -ri 's%\t% %g' |
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
eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .ts,.tsx --fix . |
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
javascript:(_ => { const url = new URL(window.location.href); url.searchParams.set('debug', url.searchParams.get('debug') !== 'true'); window.location.href = url.toString() })() |
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
javascript:(_ => new mw.Api().saveOption('eventlogging-display-web', mw.user.options.get('eventlogging-display-web') !== '1' ? '1' : '0'))() |