By Nitin on September 16, 2009
PayPal is used by a lot of online merchants to accept payments for the products they sell online. PayPal can also be used to accept donations for your technical open source projects or charity organization. Recently, I opened an account with PayPal to accept payments from my clients who reside outside India. Before I started, [...]
Posted in Nitin's Blog | Tagged Drupal, paypal
By Nitin on July 17, 2009
Often we need MINUS operator as defined by the SQL definitions i.e you have two sets P and Q and you want P-Q which gives all the elements in P that are not in Q. But unfortunately, MYSQL does not have any operator for such an operation (yeah, I had the same reaction when I [...]
Posted in Nitin's Blog | Tagged Intern, mysql
By Nitin on July 15, 2009
Until sometime back, I was unaware of how I could get the value of an auto-incremented field after an Insert Statement. But recently I needed it for two of my projects simultaneously, so I explored the possibilities. As one of my project is in Java and other is in PHP, we will go through both [...]
Posted in Nitin's Blog | Tagged Intern, java, mysql, php
By Nitin on July 5, 2009
Recently while working for my project, I came across this situation when I had a 2-D array and I needed to sort it twice on 2 of its columns. Consider the following 2D array: 1234String[][] testString = new String[][] { {"1", "2", "6"}, {"4", "5", "3"} }; Sorting the above [...]
Posted in Nitin's Blog | Tagged code, Intern, java
By Nitin on May 23, 2009
Election results are out, and as I expected Congress completely overruled BJP, grabbing more than 200 seats. Do not shout that my expectations turned in favor of Congress after the election results, for proof you can ask my friends (with whom I kept fighting why BJP should not come to power!!) or just visit FriendsOfBJP [...]
Posted in Nitin's Blog | Tagged BJP, elections
By Nitin on April 14, 2009
It takes me quite a lot of time to write a post here, mainly because I have very less going on in my life at the moment. But if you were following this blog closely (I know you weren’t ), you might have noticed that I kept playing with the SHARING and BOOKMARKING tools. I [...]
Posted in Nitin's Blog | Tagged php, Wordpress