" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Accessing Linux share via Windows

Posted on November 24th, 2015 by Kaushik Sahoo

Accessing linux share via windows requires some additional settings. To acess shared folders in linux via windows we need to follow the following steps: Install Samba on your linux machine. (In Ubuntu you can go to Applications>ubuntu software center, and search for Samba) Open terminal and type replace username with your username, and set the […]

How to restart a Windows Service programmatically ?

Posted on November 23rd, 2015 by Richi Padhi

To restart a Windows Service we can use the ‘Recovery’ properties as provided by the SCM itself. Just follow the instructions : From Start Menu go to –> Control Panel –> Administrative Tools –> Services –> (Select your Service) Then right click on your service and go to its properties, there you can find the […]

Delete all “.svn” folders from project directory and its subdirectories in windows

Posted on November 23rd, 2015 by Runish Kumar

I am sure that at some point of time(may be before delivering the project to client) you must have encountered a situation where you need to delete all “.svn” folders from your project directory. And it is really frustrating to go to each and every folder and delete the “.svn” folder manually. I found a […]

PHP Class for unzipping ZIP file on Linux/Windows

Posted on November 23rd, 2015 by Subranil Dalal

In php unzipping a zip file is always different for  separate OS. Though most php sites are running on Linux there are a few on Windows too. Here I have written a class to programmatically unzip a zip according to the OS Linux/Windows . My  class is OS independent, it automatically detects the server’s OS and processes the unzipping […]

How do I run a PHP script using windows Task Scheduler?

Posted on November 23rd, 2015 by Smarjit Debata

Let’s check how we can run a php script through windows task scheduler. The options and path may vary as per the versions of windows. Here, I am referring to Windows 7 Professional. 1.Go to Start > All Programs > Accessories > System Tools > Task Scheduler. 2.Click on Task Scheduler Library. Now Create Task […]

Play flash video in windows desktop application from local folder

Posted on November 23rd, 2015 by Raju Mahato

Process to play video from a local folder with windows desktop application usingTitanium are follows : In titanium we have a html page where we can specify the UI of the application and we can also have javascript file where we can write our scripts. So lets in our html page we have defined a […]

How to efficiently allow decimal values in a Edit control in MFC

Posted on November 23rd, 2015 by Hem Dutt

Suppose we need to enter some float values in UI. If we set “Number” property of Edit control true then it will not allow to enter “.” and hence we can not enter a float value. On the other hand if we allow string then we need to check all possibilities of the characters in […]