
Search In
Hi,
I have two files file1 an file2. I want to take each line from two files and compare with a keyword if the keyword matches in both the files. The complete line which matches from file1 should be written to file2 at the position below the matchin
1) Call by value:
When you are passing values of primitive data types as arguments to the function , then a copy of the values is created and the changes which are done are reflected in the duplicate values and hence, the original values remains u
jQuery.param()
Syntax:
$.param(object,traditional)
object: object parameter in param method is an array, a plain object, or a jQuery object which needs to be serialized.
traditional: This parameter is a boolean indicating whether a tr
In OpenERP first, create custom module and then create object in your own module and put your own module in your OpenERP server.
Follow these step given below
Step1- First create module like as a test and then create file like as a test.py
Hello friends, today I am going to tell you how to set an email reminder or email notification. This can be done via Cron Jobs. Cron Jobs is helpful for reminder purposes or if you don't want to send same email every week or every single day then
Rails: Customizing Time Ago in Words
Hi friends,
Whenever something is published to a site, we see in their posted time, it is written like about 2 minutes ago or about an hour ago. These kind of sentences displays how much time before the content wa
A simple code snippet for checking the file-size of a file before uploading it. It will not only help to save time but also network resource as we can implement the file check at the initial point only.
The current code allows the user to select a
Here I am sharing a custom progress bar to show loading.
First of all, we need to define it in gradle file
compile 'com.victor:lib:1.0.2'
Then in xml file:
<com.victor.loading.rotate.RotateLoading
android:id="@+id/loading"
JavaScript String substr() method : The substr() method is used to extract the sub-string from a string. It counts the index from 0. It returns the number of characters starts from the first parameter upto second parameter if passed. It doesn't modif
Apache provides mod_deflate module to compress the response prior to sending it to client by attaching the DEFLATE output filter in filter chain.
Following is a simple sample configuration for compressing selected text-based content types :
AddOutp
