What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-19 17:15:05
gitlab stale branches api script
for branch in `git branch -r | grep -v HEAD`; do \ echo -e `git show --format="%cr %an" $branch | head -n 1` \\t$branch; \ done | \ grep -e '.. months' -e '[8-9] months' | grep 'origin/' | \ sed 's/.*origin\///' | \ xargs -n 1 echo g... Add solution -
Shell/Bash 2021-09-01 03:16:02
mac find large folders
du -sh * | grep -E "\dG" Add solution -
Other 2021-08-31 11:59:02
wiki/BackendPolling
zgrep -aE \ '(<https?://schema.org/([^ >]+/)?(addressCountry|name|salaryCurrency|currency)> "(Australia|AU|AUS|AUD)")|( <https?://[^ >/]+\.au/[^ >]*> \.$)' \ *.gz | \ grep -Eo '<https?://[^ >]+> .$' | uniq | \ s... Add solution -
Shell/Bash 2021-08-29 08:09:03
self-documenting makefile
.PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' # All rules with double-hash comments will be automatically displayed in th... Add solution -
Shell/Bash 2021-08-27 18:08:01
sync show progress
watch -d grep -e Dirty: -e Writeback: /proc/meminfo Add solution
Best helpers
Ranking is empty