Skip to content

Instantly share code, notes, and snippets.

@levihb
levihb / README.md
Last active Jun 26, 2021
Download all links from reddit search url
View README.md

jq is required

Simply pass in a reddit link and the script will output all links from that search, e.g.:

./search2list 'https://www.reddit.com/r/speedrun/search/?q=site%3Ayoutu&include_over_18=on&restrict_sr=on&t=month&sort=relevance~'

And of course if you would like to output it to a file:

View README.MD

Bash fzf directory history

render1587053748605

UPDATE: removed duplicates, now requires python

This little script allows you to access your directory history using fzf. Directory history is included for that session and for all previous sessions.

All methods of changing directories should be supported, as the script does not change cd, but just checks for a change in directory after each new command.