-
JavaScript's reduce could be really helpful
posted in JavaScript on 2015-12-25 testcase true patterns state reduce current cases expected return array test -
I love using functions like
read moremap
,filter
orreduce
. They are an important part of my arsenal and I simply canβt stop using them. Today I had to solve an interesting problem and I ended up usingreduce
.
-
Win Free Copies of my new book β Node.js Blueprints
posted in Nodejs on 2014-08-12 node js book array top winners writing users tmp var array current array -
Readers would be pleased to know that I have teamed up with Packt Publishing to organize a Giveaway of a new book written by me - Node.js Blueprints. And three lucky winners stand a chance to win 3 e-copies of this book. Keep reading to find out how you can be one of the Lucky Winners.
read more
-
Auxilio Chrome extension or how I boost my productivity
posted in Must-see on 2013-09-04 auxilio function command callback browser current extension page github -
I'll be honest and I'll say that I'm a bit lazy sometimes. I'm one of those developers which don't like to repeat same actions again and again. There are dozen of things which I have to do while working on a project. Very often I'm covering the development of several applications and have to switch between them. It's really annoying process. I hate to have many opened tabs in my browser, many consoles or several code editors. I always try to improve my productivity by automating tasks. I think that even switching between opened applications takes too much time.
read more
-
Chrome Extension: run JavaScript in the context of the current page
posted in JavaScript on 2013-06-14 script code document content run current page tab id code executescript tab id tabs executescript tab -
I'm currently working on a Google Chrome extension and I need to run a JavaScript in the context of the current page. The obvious choice for such a logic is the content script. However it is not so easy, because the content script has an access only to the DOM of the current page. It can't run global functions or use global objects.
read more
-
Real time game with NodeJS and Socket.io
posted in Nodejs on 2013-05-13 user var function users socket io game data end clicks currentwidth -
NodeJS gives me the ability to write back-end code in one of my favorite languages - JavaScript. It's the perfect technology for real time applications. In this tutorial I'll show you how to build a web chat with Socket.io.
read more