Tag: Business Website
Eclipse | SVN still showing already ignored folders during commit
We had a maven project connected to svn repository. There were some folders or file types that we never want to commit such as target folder, bin folder or .class extension files. We had ignored target folder in Eclipse settings
How to insert file names in a text file from command prompt
For Windows user: 1. Open folder that contains files in console 2. type dir /b > D:test.txt (it will copy the result in test.txt file) For Linux user: 1. Open folder that contains files in console 2. type ls > /home/user/test.txt (it will copy
How to install Cordova/Phonegap
Steps to install cordova/phonegap To install cordova from command line, follow these steps Download and install Node.js Command : $ sudo apt-get install node.js Node.js is a runtime system for creating server-side applications. Download and install npm Command: $ sudo
Using Isset() function in php
The Isset () Function: The isset () function is used when we have to check whether a value in the variable is set or not. It returns false when variable contains null values. For Example, values are stored in a
English | Some confusing words
1. Accept vs Except vs Expect: Accept: To approve/to agree. Example: I accept the new business proposal. Except: Leaving someone or something. Example: The new software works on every operating system except Windows 98. Expect: To hope. Example: I expect
HTML | Padding in px versus %
In HTML, padding can be given to the text in following ways: Method 1: style=”padding-left:100px;” or style=”padding-right:100px;” Method 2: style=”padding-left:30%;” or style=”padding-right:30%;” It is more appropriate to use “%” than “px”. The reason for this is when px is used,
MySQL | How to automatically update timestamp field
Sometimes, we need to check when was the data last accessed. In MySQL, we had taken a field last_modified_time as timestamp datatype in a table, which was set to CURRENT_TIMESTAMP by DEFAULT. When a new record was inserted, it automatically
Java | Check if domain of an email address is valid or not
To Check if the domain of an email address is valid or not, pass the email address to the below method as an argument and execute it, it will return true or false by checking if the email id you
Issues of UTF-8 Encode Keyword
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <?php echo utf8_decode(“selecciona una categoría”);?> Above two lines are used to decode the special characters properly. We use the meta tag in section of the page to decode the whole page and second line of PHP