0
votes
0
comments
3,203
views

node.js itself or nginx frontend for serving static files?

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
Is there any benchmark or comparison which is faster: place nginx in front of node and let it serve static files directly or use just node and serve static files using it? nginx solution seems to be more manageable for me, any thoughts? artvolk I’ll have to disagree with the answers here. While Node will […]
0
votes
0
comments
2,368
views

Oneliners: Removing blank lines from a unix file

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
Many of times I receive comma delimited files an they have blank lines after each record. I would like to use sed or awk. I need to remove all the blank lines from an input file and write into an output file.
0
votes
0
comments
5,231
views

Parsing jQuery JSON array with .each function

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
Trying to parse this JSON array, if I alert before the .each() statement it alerts just fine, but if I alert inside the .each() statement I get nothing and the variables never get built. Problem is I am getting an error on the jQuery.js file itself. The error is saying G is undefined. I am […]