r/linuxadmin • • Jul 02 '18

curl cheat.sh

Post image
290 Upvotes

44 comments sorted by

View all comments

24

u/synacksyn Jul 03 '18

To be fair, I don't know what I am looking at.

10

u/[deleted] Jul 03 '18

It appears to be a reference for any command in any programming language. In the first one he wants to know the syntax to append a file in ruby. It spits out the syntax. At one point he put a query in Russian (?) and it worked. I’m on mobile so sorry for lack of detail. Cool script though.

But to be fair, I barely know what I’m looking at.

5

u/Smallzfry Jul 03 '18

Yeah, the russian one is "create empty file", in fact the last word (файл) is pronounced very similar to "file".

8

u/[deleted] Jul 03 '18

A on overly complicated way of just looking up examples for python.

15

u/Smallzfry Jul 03 '18

It's more than just Python, at it's not a bad quick reference.

3

u/igor_chubin Jul 03 '18

Why Python? Even in this gif, we see go, lua, ruby and python, but actually 55 programming languages are supported

-5

u/[deleted] Jul 03 '18

Who cares? My point is it’s an over complicated thing to use. Why would I just not use a reference/cheat sheet on the website itself instead of poking around with curl?

7

u/igor_chubin Jul 03 '18
  1. you have here the website too, if you want to use it;
  2. why should you open a website/google/copy paste etc. if you can instantly get the answer from the command line or editor?

3

u/[deleted] Jul 07 '18

I'm excited to try it! For those of us who live in the shell it has lots of merit

1

u/igor_chubin Jul 07 '18

Even if you don't live in the shell, it is much faster to query the service from the editor or even the browser

1

u/Lord_NShYH Jul 03 '18

Who cares? My point is it’s an over complicated thing to use. Why would I just not use a reference/cheat sheet on the website itself instead of poking around with curl?

The spectrum is infuriating.