one-liner Questions
25
Solved
C# has a syntax feature where you can concatenate many data types together on 1 line.
string s = new String();
s += "Hello world, " + myInt + niceToSeeYouString;
s += someChar1 + interestingDecima...
Episcopalian asked 19/3, 2009 at 16:23
11
Solved
I have a file with a list
id1 str1 str2 .. strn
id2 str1 str2 .. strm
(the number of str can vary) and I want a oneliner that transforms it into
str1 str2 .. strn [id]
str1 str2 .. strm [id]
Ther...
3
Are there any concise one-liners for quick serving of pages or directories if no index.html? Something like this:
python3 -m http.server
Couldn't find a Raku one-liner.
Compare Perl ones, taken fr...
3
I have been lately using unicode more often and wondered if there is a command line tool to convert unicode between its forms.
Would be nice to be able to say:
uni_convert "☃" --string
A...
1
I want to commit all of the changes in my repository with one command.
I know I can do it with two—using git add -A and then git commit -a—but, as a wise man once said... why waste time say l...
Fink asked 16/10, 2020 at 19:58
1
© 2022 - 2024 — McMap. All rights reserved.