You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elixir and javascript have the capability of making good looking one liners, but what about Ruby? We can definitely make an awful looking one by adding a ';'. If you want to start defining some better looking one-liners then add the 'nicefn' gem to your project. Since the implementation files are small and this project has no required deps. You …
Super-powerful "one-liner" general purpose utility for re-purposing data from standard input. Supply a RegExp string w/group patterns, supply printf format string, supply group match positional numbers in any order. See the re-formatted output lines. A flexible tool either used as a one-liner or in shell scripts.
A tiny version of tic-tac-toe that's designed to use a minimal amount of lines while not importing any libraries, staying decently understandable, and being able to handle wrong inputs without just crashing (and also none of that semicolon stuff) (there's an even smaller one line version that doesn't follow these rules if you're interested)
Assertion groups made easy via a one-liner function call -- like using console.assert(but_drastically_improved, [ allowing, multiple, assertions, and, ()=> functions_too ] )"