Rails is a language particularly known for its rapid development and shortcut commands that make development of applications and its modules fast and easy. Today I am going to tell you about few most basic commands of rails:
1. rails new:
...
Your supporters are the motor that stays with your's email database going - it is its substance and structure and the reason your email promoting effort work. Consequently, it ought to shock no one that it is for the most part considered a sm...
In C#, many times we need to convert a byte array to string format. In this blog, we are going to illustrate how to convert the byte array to its corresponding string format by using BitConverter.ToString() method.
Syntax:
public ...
Hello,
This blog is to help you to understand Sieve of Eratosthenes algorithm for prime number generation in easiest way. This algorithm is to calculate the prime number up to a limit with lesser time complexity, but it takes O(n) extra s...
Hello reader's , Today we will discuss one of the new element of HTML5 used in creating graphic content on the web page.
Introduction :-
The term SVG basically implies as Scalable Vector Graphics. It belongs to the family of an XML base...
In OpenERP first, create a custom module and then inherits the account.payment object in your own module like module name test.
Follow these steps given below
Step1- First create the __init__.py file in your test module and use this code g...
Popups are amazing way to notify/alert user, popups provide us necessary additional info about the app and can be used for assisting user when anything went wrong. After using traditional popups now it’s time for Dropdown popups.
Clic...
Subscribe Now to FindNerd YouTube Channel for Latest Tech Updates
As we all are living in a digital world which is so fast and changing at lightning speed each and everyday, so we need to get ourselves updated with the late...
In Django framework first, create a project and then setup all file in Django server. Follow these steps given below
Step1- First, create a project in Django using the link given below and setup database in setting.py file.
http://findnerd....
In the below example code I have created and example, to add item in Spinner By using SQLite Database. here In activity_main.xml layout I have added EditText, Button and Spinner. Now See programming area, here I have Created a DataBaseHelper Clas...
ASP.Net : Abstract class with real time example in C#
1) A class is called an abstract class if it is marked with an abstract keyword.
2)The reason for which abstract class came into existence is that it provides a...
In many sites we have seen that when we click on some button it will make some div faded, this will happen with the help of fadeOut() method in jquery.
If we want some faded div or hidden div to get show, we can do that by using fadeIn()...
Hello, reader's In this blog I have created a popup window using CSS3 but without Javascript.
In this example , I have created a box div having button which when clicked, a popup window will appear. Next I have created a popup div with a c...
Hi friends,
You might have seen several icons of social networks in many of the sites. If you want to add this in your rails site, there is already a beautiful gem called social-share-button. I am explaining here how you can integrate it s...
Hello
Today's blog post highlights the use of Data Manager in MDM. It also gives an overview of the various tasks that can be carried out using the same in Informatica MDM hub.
Data Manager Overview
Data Manager is a ...
In today's world, over 65% of businesses have gone online. Future is even more favorable for an online market. There is a dire need of online traffic for any website. You must agree that traffic is the backbone of any online firm.
&n...
Stack View is a class that allows you to layout views either a vertical or horizontal manner. It saves us from use of constraints in auto layout. We simply embed our views to StackView to make it work. Stack View manages the layout of its su...
Hii,
While designing a web page our main motto is to design the web page beautiful and attractive with the help of CSS.
Here is one more option i.e to add a video in the background of a webpage to make it more attractive and beautiful.
Addin...
There are different method to find which .NET Framework versions are installed on machine.These are:
1. Using Command Prompt
Open command prompt window and type the following command:
dir %WINDIR%\Microsof...
If you want to set some part of the UITextview to BOLD then you can implement the following code :-
NSString *str = @"I belong to Dehradun"; // default string
NSMutableAttributedString *attString=[[NSMutableAttributedStrin...
Comparator:- Comparator interface found in java.util package and it contains equals() and compare() method. It use the multiple sorting technique to write our own comparison logic and is used to sort the e...
Hello reader's, In this blog I have created an image caption over the image using CSS3 transition properties over the image when hover.
As CSS3 we all know helps in creating an effective animated website using various transition properties...
In Magento lets see if we are required to generate invoices of the orders and their pdf consecutively from admin panel.
how we can do it:
1. Create a file config.xml in an etc folder in our module.
2. Then Create a controller folder in ...
Hello Readers , this is a small blog on how to make two columns of equal height regardless of content inside the columns. First, we will write the HTML to make two columns lying side by side having same width. The following code is written to mak...
1. filter_var():- filter_var() function is used to check if the given variable is a valid IPv6 Address
<?php
$ip = "2001:cdba:0000:0000:0000:0000:3257:9652";
if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) === false)
{
...
Array_merge
Array_merge merges the elements of two or more array in one array such that the value of second array is appended to the value of first array. If two or more array elements have same key, then the later value will overrides t...
Hello
Today's blog post provides a short description of the tasks that need to carried out for Web Search Configuration.
How to add an entity like Variant
Remove the previous entity.parent configuration like:
...
We can use attributed string with textView by following steps -
1. Make a IBOutlet of your textView
for eg -
@property (weak, nonatomic) IBOutlet UITextView *textView;
2. Now go to storyboard and select your textVi...
When you want to connect SharePoint Online remote site using CSOM, ClientContext object to be initialized with the Web URL.
The new SharePointOnlineCredentials class has been introduced by CSOM for SharePoint 2013 which provides this functiona...
Hello Readers,
Side menus widely uses in mobile application and it provides a user friendly interface. Ionic framework provides an excellent directive which is easy to implement. In this post we will learn implementation of side menus in our a...
Liferay uses AlloyUI taglibs for front-end development and it provides inbuilt input field validation rules.
Following are inbuild validation rules of alloy liferay :
Here’s a list of form validation rules available for AlloyUI’...
There are few steps to convert XML to .Net classes. These are:
1. Copy your XML content from any file.
2. In Visual studio, open the file where you have to create classes in .Net
3. Place the cursor in that position, Go to menu bar->...
Readers,
.Net Framework 4.5 came up with lots of great features. The new features of the core framework .Net 4.5 are difficult to read and run through because it does not fit depending on what are you working currently on. Many developers skip...
Image cropper is the UI part of the web application to crop the image as requirement using mouse drag-drop.
Image cropper is inbuilt functionality in the Liferay.
Follow below steps to better understand :
Load the below Js and CSS file...
Core Data framework is used to store data in the form of entities and maintained by Apple in a very well defined manner. Here is an example usage of Core Data to insert,delete,update and fetch data from entities with in the same. To use Core Data...
Hello Guys
Liferay provides inbuilt datepicker of alloy script. Liferay use alloy and AUI script instead javascript or jQuery.
Below example help you for better understanding :
<input class="form-control" type=&qu...
There are many myths about testing. Some common myths are as follows:
1. Testing is a very easy task and can be performed by anyone: People other than the tester always think that testing is a very easy task and it can be easily performed by a...
Hello Guys,
Liferay provides inbuilt auto complete or auto-suggestion. Autocomplete is an inbuilt function of alloy script which is allowed to customize the auto-complete list (i.e UI and action)
Liferay AUI has had javas...
The life cycle of the Information system showcases a number of stages through which the development of project and use of information systems passes. Traditionally, the life cycle of Information system revolves around system study, project defini...
Hii,
File Validator is a function used when we want to restrict the type of file uploaded.
Using File validator we can easily get file Info for each file uploaded.
If uploaded file is not as per the required format a validator func...
If you want to apply 2D transition on your buttons and anchor tag on hover effect, then code below might be helpful for you
HTML:
<div class="container">
<div class="2d_transition">
<h2>Types of 2D Transition</h2...
In this post, you will learn about ngMessages directive in angularJs and how it can help to show error messages in your application. ngMessages provides custom form validation facility to display error messages in angularJs.
Let’s start ...
In magento lets see, if we are required to generate invoices of the orders from admin panel.
how we can do it:
1. Create a file config.xml in etc folder in our module.
2. Then Create a controller folder in which add Adminhtml folder wh...
Authentication
Authentication is the process to verify user identity by using user credentials. It is a process that checks whether the user is valid or not also this process permits authenticated user to access the resource. A resource can be a...
Hi Friends,
Assembly versioning is something which doesn’t require superfine logic but it does require a great care. Versioning enables us to identify assemblies deployed and helps in troubleshooting in that exact version.
When looked...
I am facing issue with my android app.
If a user installs my app through apk file. After installation a window appears with two buttons open and done which is part of android os.
When user taps on open, it opens my launcher activ...
QueryTimeout Expired is the Error in the asp.net. Users usually get an exception in their application
“The timeout period elapsed prior to completion of the operation or the server is not responding”
When we work with the databa...
Hello Readers,
When the system/web application is not used just in a single location, the developer will have to deal with many times zones in the system/application. There are few rules that every developer should keep in mind while dealing w...
In OpenERP first, install the account module and then create the own module and relate it to the fields payment term in account module.
Follow these steps given below:
Step1- First create add_penalty.py file in your own module and pass this...