janosgyerik / bashoneliners

A collection of practical or just pure awesome bash one-liners or shell script tips and tricks for GNU Linux, UNIX or BSD systems. Open, collaborative system, user friendly, with functions to contribute one-liners, request one-liners, search, rss feed, commenting, Open ID login. Open-source project, using Django, Python, jQuery, HTML5, Bootstrap from Twitter.
http://bashoneliners.com/
Other
210 stars 35 forks source link

Add a page that shows a random one-liner as "One-liner of the day" #7

Open pdgonzalez872 opened 4 years ago

pdgonzalez872 commented 4 years ago

Hi! I love the website. So much I wanted to get one bashoneliner at random.

Can we have a /random route? I think this would be fun!

Please let me know and I can send in a PR if you'd like.

Thanks!

janosgyerik commented 4 years ago

Glad you like the site!

How do imagine the /random route? Like the Active, Newest, etc tabs, or something else? If yes, then what do you expect to see? A single random oneliner, or what? Or do you have a different idea in your mind?

I'm interested to learn more about what you have in mind, please share!

pdgonzalez872 commented 4 years ago

A single random oneliner

Exactly!

Kind of like a "Quote of the of the day" mechanism.