In one of the software we are developing, we faced a strange problem in Safari browser on Mac machine. A link on webpage was provided to download a file in .CSV format (server side code written in CakePHP). In Safari, downloaded file was being given the extension Read more…
Suppose I have a folder hierarchy as below:
f1 > f2
f2 > f3
f2 > f4
f4 > f5
I want to find all files in f1 or any of its descendant folder that contain text “I am a match” and copy them into f1 Read more…
What you cannot do in which type of Zoho CRM license
Zoho CRM is available in many editions and each edition has different set of features. In this article we are trying to cover each edition and list corresponding key limitations. At the end we Read more…
On Windows XP do following :
Go to Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment
Search “Log on as batch job”, double click it, click Add User or Group and add the userid you are trying Read more…
How to solve the problem when Wifi device is not showing in ubuntu OS and keeps on disconnecting frequently?
Solution: Follow below steps:-
Step.1 Run below command to update the OS resource list
sudo apt-get update
Step.2 Run below command to install default Read more…
Free Online Courses With Personalized Certificate
I started writing this tutorial targeting MCA students in Himachal Pradesh University, Shimla, India (from where I did MCA back in 99). This is an attempt to help students learn Java by practice. I am posting this tutorial(work in progress) on my blog Read more…
PHP script scheduling without cron job
Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of backend tasks can be handled with the Read more…
Preparing a dual boot system is quite easy when we install ubuntu after windows OS, but it became challenging when installing windows after Ubuntu OS.
For this below are some steps you need to follow:
1. Boot your machine with ubuntu live CD or USB.
2. Open gparted application from Read more…
What is Visual Studio Code? What are the advantages of Visual Studio Code.
Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It is a super fast and lightweight Source Code Editor which can be used to view, edit Read more…
How to Install node.js on Windows:
You can install node.js for windows from Node.js website as they had provided the installer there. You need to run the .msi installer that is downloaded.
Then Restart your computer as you won’t be able to Read more…
Popular Open source tools for stress testing of a web application
What is Stress Test?
Stress test is kind of real-time diagnostics performance test of a web application in order to determine the stability of your web application under heavy load(stress).
In the older versions of XAMPP (below 5.5), there are a couple of security vulnerabilities. If you are running XAMPP in your production environment and don’t want to upgrade/install the higher version, then make sure you do few changes in your existing XAMPP security using following steps Read more…
CRM Plus Edition
Commands to empty logfile :
1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file.
2. cat /dev/null > logfile – This is equivalent to above command.
Command to truncate logfile to specific size :
Sometimes Read more…
How to alter permissions of all files or files with a specific extension via s3 command line client tool (Linux)?
S3 command line tool (S3 cmd) allows us to alter permissions of files and files with specific extensions inside S3 bucket recursively. Below are the steps Read more…
Problem: Mysql access denied error for user root@localhost when using in XAMPP server (windows) even when credentials are correct.
Solution: Actually the problem is not in code, the issue is that by-default mysql in xampp allowed passwordless authentication in mysql, so we have to Read more…
These are the steps to upgrade to PHP 5.6:
Add the PPA containing version 5.6 of php for Ubuntu 12.04:
sudo apt-add-repository ppa:ondrej/php5-5.6
sudo apt-add-repository ppa:ondrej/php5
Run these command in terminal to upgrade php :
sudo apt-get Read more…
C# : Triggering the Local Outlook for forward, reply and reply all actions from existing .msg file
For the desktop based applications when user is dealing with the store outlook files in msg format we can open local outlook when required.
In outlook when we open a email message Read more…
Every developer/designer should be aware of some developer tools and extensions available in the chrome browser.
Accessing the DevTools :
Select the Read more…
In Linux bash you may face an error while using wildcard * to search files. For e.g. trying to search all jar files with the following command:
find. -name *.jar
will give following error:
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path…] [expression]
Reason is that * is Read more…