Crazy Little Hacks

Some little hacks and random thoughts on what interests me at the moment in the area of computer science.

Random Tip: Diffing Like a Pro

Have you ever wanted to diff the HTML generated by your local server and the one you have on production? Probably not. But here’s how to do it.

diff -u <(curl http://example.com/xpto) <(curl localhost:3000/xpto)

Comments