Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Copying file content to other file

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

Difference between call by value and call by reference in java

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() method in jQuery

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

How to visible and invisible fields of the basis of selection fields in OpenERP(Odoo-8)?

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

How to set automatic email reminder using Cron Job?

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: Time ago in Words and its Customization

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

Check file-size using jQuery without uploading file

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

Custom Rotate Loading

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"

substr() method in JavaScript String

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

Compression in Apache and improving page speed

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

1 368 481
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: