Live data from Hacker News

Command line tools every web dev needs to know

coderholic.com

11–20 of 71 posts

Re: Command line tools every web dev needs to know

#12
post #7

We are interviewing for experienced developers at the moment and the lack of general unix knowledge is really surprising. A little bit of shell scripting goes a long way in automating away dev work.

Also, typing. I am frequently amazed to see professional software developers with years of experience in the field, who only type using their two index fingers. You probably do not need to type 120 WPM to be an amazing programmer, but typing without looking at the keyboard is absolutely essential.

Why? What projects have slipped due to programmer's inability to type in all the necessary code on time?

Re: Command line tools every web dev needs to know

#15
quite relevant: http://www.commandlinefu.com a great collection of cli uses and abuses

one of my favorites is querying dns to get wiki excerpts

    dig +short txt bmw.wp.dg.cx
    "(BMW), is an independent German automobile manufacturing company founded in 1916. It also produces motorcycles, is the owner of the MINI brand and is the parent company of Rolls-Royce Motor Cars. http://en.wikipedia.org/wiki/BMW"
http://www.commandlinefu.com/commands/view/2829/query-wikipe...

Re: Command line tools every web dev needs to know

#16
post #7

Earlier quoted context omitted.

Also, typing. I am frequently amazed to see professional software developers with years of experience in the field, who only type using their two index fingers. You probably do not need to type 120 WPM to be an amazing programmer, but typing without looking at the keyboard is absolutely essential.

Why? What projects have slipped due to programmer's inability to type in all the necessary code on time?

I don't know, but typing that slowly means that there is a barrier between the thought and the deed. It like if you wrote a poem, then started speaking the letters one by one in Morse code --- and you refuse to learn Morse code so you have to look up each letter's code as you go.

Re: Command line tools every web dev needs to know

#17
post #4

Another useful one; Fire up a instant web-server from local folder on http://localhost:8080 : > python -m SimpleHTTPServer

Note that it has changed in python3

  > python3 -m http.server
  Serving HTTP on 0.0.0.0 port 8000 ...

  > python3 -m http.server 8080
  Serving HTTP on 0.0.0.0 port 8080 ...

Re: Command line tools every web dev needs to know

#18
> With the following command we test google with 20 concurrent connections for 30 seconds

Even though this is Google and they probably don't have a problem with this, I don't think you should benchmark servers that don't belong to you. It's not nice and could be mistaken for a DOS attack.

Re: Command line tools every web dev needs to know

#20
post #11

Also check out HTTPie: https://github.com/jkbr/httpie/ I much prefer it over curl. $ http GET http://yourmom.ca/

see also burl: https://github.com/visionmedia/burl been good for testing requests against json apis

see also Curlish: http://packages.python.org/curlish/
Post reply on HN