What are invalid characters in XML

The only illegal characters are &, < and > (as well as ” or ‘ in attributes, depending on which character is used to delimit the attribute value: attr=”must use &quot; here, ‘ is allowed” and attr=’must use &apos; here, ” is allowed’). They’re escaped using XML entities, in this case you want &amp; for … Read more

How to randomize Excel rows

Perhaps the whole column full of random numbers is not the best way to do it, but it seems like probably the most practical as @mariusnn mentioned. On that note, this stomped me for a while with Office 2010, and while generally answers like the one in lifehacker work,I just wanted to share an extra step required … Read more

Scope Chain in Javascript

To understand the scope chain you must know how closures work. A closure is formed when you nest functions, inner functions can refer to the variables present in their outer enclosing functions even after their parent functions have already executed. JavaScript resolves identifiers within a particular context by traversing up the scope chain, moving from … Read more

Android dismiss keyboard

You want to disable or dismiss a virtual Keyboard? If you want to just dismiss it you can use the following lines of code in your button’s on click Event

How do I add all new files to SVN

you can just do an svn add path/to/dir/* you’ll get warning about anything already in version control but it will add everything that isn’t.