-
Tasty JavaScript Curry
1–2 minutesJavaScript Curry: A useful technique to partially evaluate functions. Coming Soon… function myFunc(a, b) { if (arguments.length < 1) { return myFunc; } else if (arguments.length < 2) { return function(c) { return a + c } } else { return a + b; } } console.log(myFunc(2,2)); var add4 = myFunc(4); console.log(add4); console.log(add4(5)); var add Read more
-
A thank you note!
3–4 minutesI was going through my twitter feeds and came across WWCode’s tweet which asked to submit a story about how WWCode has impacted our careers. I was getting ready to go to office, but I stopped to write this story. I have been looking for a way to thank WWCode Bangalore and couldn’t find this Read more
-
CORS
4–6 minutesCORS – Cross Origin Resource Sharing This is a sequel to my post on cURL. “Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts, JavaScript, etc.) on a web page to be requested from another domain outside the domain from which the resource originated” from wiki. The above explanation is self Read more
-
Node.js on port 80 on Windows
1–2 minutesThis is a sequel to my last post. I tried running Node.js server on port 80 on Windows. In my first attempt, I had WAMP Server running on port 80. So i got EADDRINUSE error. I stopped WAMP Server. Node.js app worked on port 80 on Windows. Read more
-
Node.js EACCESS
1–2 minutesYesterday, I tried running a Node.js server on port 80 on Ubuntu. I normally run Node.js server on ports > 3000. First time when I tried running the server, I was expecting an error, because Apache2 was running on Ubuntu on port 80(default port for Apache2). I stopped Apache2 sudo service apache2 stop. I tried Read more
-
cURL
1–2 minutesWe were trying to test our new Node.js app. I was building a REST API and it worked fine with JSON input. I used POSTMAN (which I heard just a week ago from my colleague Shiv). I must tell you, it is really great. POSTMAN could have been a new topic under #LearningItMyWay. But anyways, Read more
Blog
1–2 minutes




