Displaying a DOM while dragging

First check out the demo below. See the Pen EKeVXZ by Nirupam (@applegrew) on CodePen. There are no drop targets so you won’t be able to drop it anywhere. Code for this directive can be seen on https://github.com/applegrew/drag-dom The basic trick applied by agDragDom, is setting a one pixel transparent gif as the drag image. […]

Important Javascript Fundamentals for OOP Developers

In this guide I have tried to put together all important nuts and bolts of Javascript. I had a really hard time learning JS, since all these parts were scattered over the net. I gradually found them over the years. I hope I have covered all of them. Please let me know in the comments […]

Tracing $scope events in AngularJS

Scope events in AngularJs is very powerful and useful in connecting disparate modules and directives. However, in a complex application things could become complicated and it would become hard to trace which event is triggered when and who act on those events. I wrote a simple event tracer which displays a floating div with logs […]

Lessons learned from PhoneGap (Cordova) and jQueryMobile on Android

I recently created my first Android app – JustTodo. This is a simple app but took considerable time to finish due many unexpected problems. Google wasn’t too helpful either. Here is a list of issues I faced and their solutions I discovered. General tips Zooming and Scaling I presume that you have already encountered suggestions […]

Hack sbicapsec.com to run on Firefox

www.sbicapsec.com is State Bank of India’s online share trading portal. This is a good portal but their site’s code quality is amazingly of low quality, dare I say, crappy. SBI being a public sector government institute, we can rest assured that the code quality or bugs in it would not get fixed soon, if ever. […]

CInk version 2 finally released!

Finally CInk version 2 has been released. Some key new things New website with complete API documentation and guides on how you can use CInk JS code. Finally released the full source code of CInk renderer and compiler. License – GPL v3. CInk finally supports all the features of original CFDG, including Paths. CInk has […]