Currently Browsing: Quick tips

Changing the default Look and Feel of NetBeans

Why change the default Look and Feel? Aesthetics apart, every developer should change the default Look and Feel of NetBeans. Why? because it has an annoying bug. Here’s what happens: you’re pumping code in the NetBeans code editor like crazy. You need to switch to another window for a quick copy / paste from your eternal library of super code. You press ALT + TAB, you go to your other window,...
read more

Capture the output of var_dump in a string

Introduction You are programming in PHP and you have an array variable that you’d like to explore at different execution paths. Of course, the best way is to use a PHP debugger like xdebug or Zend Debugger, but, what happens when you’re too lazy to install a debugger? What happens when you don’t want or can’t install a debugger and you just need to check the content of that...
read more

Hide Gmail’s spam count

Does the spam count in Gmail bother you? It certainly does. Are you too lazy to delete your spam messages every few minutes? Of course you are. Would you like to preserve your spam messages just in case they might contain a legitimate email? Of course you would love to. You hate using third party tools such as Greasemonkey scripts to accomplish this very simple task? Of course you do. Well, you’re...
read more