Tips & Tricks

Display application’s path of running process in Windows

Normally you use Task Manager to see which processes are running, but from that you don’t know which application they belong to. Luckily, with these simple commandlines, you can easily see the full path of the process’s application 1. Start –> Run –> CMD 2. Enter the command line: WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid OR […]

Display application’s path of running process in Windows Read More »

Search comma-separated list attribute using jQuery

I have an attribute that is comma-separated list, and I want to search for a particular value in that list example: <img id=”img1” src=”somepic.jpg” tags=”nature,flower,color”> SOLUTION Using jQuery, it’s simple to do, for example, I will search for the tag “nature” in the image var exists = $.inArray(“nature”, $(“#img1”).attr(“tags”).split(‘,’)) != -1;

Search comma-separated list attribute using jQuery Read More »

Get radio group value with Jquery

Assume you have one radio group name default_lang and you want to know which one is selected <input name=”default_lang” value=”en” type=”radio” /> <input name=”default_lang” value=”fr” type=”radio” /> <input name=”default_lang” value=”de” type=”radio” /> Well, it’s easy with jQuery var default_lang = $(‘input:radio[name=default_lang]:checked’).val();

Get radio group value with Jquery Read More »

Installing Apple Remote Desktop in OS X Lion or Mountain Lion

The Apple Remote Desktop 3.3 installer may report that it requires Mac OS X v10.6 when used with OS X Lion. In Mountain Lion, the Apple Remote Desktop 3.3 installer may report that “”RemoteDesktop.mpkg” can’t be opened because it is from a an unidentified developer.” Show how to solve this? Resolution Copy the Apple Remote

Installing Apple Remote Desktop in OS X Lion or Mountain Lion Read More »