one-liner
Here are 42 public repositories matching this topic...
An one-liner approach to a positive integer decimal to binary conversor
-
Updated
Dec 5, 2022 - Python
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 …
-
Updated
Oct 15, 2018 - Ruby
Demonstrating with random number driven experiments the surprising answer to the Mounty Hall problem.
-
Updated
Mar 8, 2021 - JavaScript
Solving Advent of Code 2022 with one-liners
-
Updated
Dec 16, 2022 - Jupyter Notebook
Converts a somewhat true-ish expression to the equivalent boolean value.
-
Updated
Nov 24, 2023 - JavaScript
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.
-
Updated
Nov 17, 2022 - Perl
Python one-liners that I created from scratch utilizing complex algorithms and math.
-
Updated
Jan 29, 2022 - Python
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)
-
Updated
Dec 19, 2023 - Python
Assertion groups made easy via a one-liner function call -- like using console.assert(but_drastically_improved, [ allowing, multiple, assertions, and, ()=> functions_too ] )"
-
Updated
Sep 4, 2023 - JavaScript
A one-liner to get a nested prop using dot-notation with a optional default value as fallback
-
Updated
Sep 10, 2018 - JavaScript
-
Updated
May 6, 2022 - Python
Brainfuck interpreter in a single line of AWK
-
Updated
May 27, 2021 - Awk
A simple notepad intended to be ran by copy and pasting a single line into the address bar.
-
Updated
Apr 11, 2023 - HTML
Improve this page
Add a description, image, and links to the one-liner topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the one-liner topic, visit your repo's landing page and select "manage topics."