f = function(l) { for(var i = 0; i < l.length; i++) { var c = l[i]; c.parentNode.removeChild(c); } }; f($('.sectionedit'));
Friday, April 20, 2012
Remove "edit" link from wiki site.
Paste below code to JavaScript console.
Wednesday, April 18, 2012
What every software engineer have to know
Being innovative and creative is a big advantage in a software world. Being ignorant is a curse. The basic principle is "you will never implement something what is already implemented unless...".
- Current implementation isn't enough and can't be easily adjusted to your needs.
- Current implementation is totally crap and you need implement it from scratch.
- You have a lot of time or money and can do it better (don't even dream about time).
- You can really make it better.
Anyway, to identify any of those there is one big prerequirement: you have to know about existing solutions: designs, architectures and libraries!
Sunday, April 15, 2012
Singleton in JavaScript with Google Closure library and compiler
I'm writing a small WebApp. I want to a create singleton. Probably there is a dozen different way to implement it in JavaScript. As I became a fan of Google technologies I will show two solutions how it can be easily implemented using Google Closure.
Subscribe to:
Posts (Atom)