When we click on TextField keyboard lifts up but if our text field is at bottom then we are not able to see it so with the help of NSNotificationCenter we can solve this issue.
Add one TextField in ViewController, give bottom constraint ...
Hello reader's in this blog we can discuss about comparison of strings. The strings in javascript are the important component of javascript. When you want to get a numeric values from the web page forms, the values are retrieved as string, wh...
If we are required to load products between two dates lest between previous month to current date.
lets see how we can load them in the function loadproduct()
public function loadproduct() {
$first = date('Y-m-01',...
Hello Readers,
In this blog i am going to show you "How to select, insert, add, update/edit and delete data in the Magento.
Lets Suppose, If you have database table named 'slider' with the following fields
id(int,primay key), titl...
Hi Readers,
In this blog, I am going to discuss relatives font size in CSS as per screen resolution.
Being a ui developer one should have proper knowledge about all the measurement units while making a responsive design using CSS.
First of...
Active records query interface provide us with some very nice features to perform calculations or mathematical operations to retrieve selected records on the basis of those mathematical calculations. Those methods are as follows:
Count
...
In magento if we are required to create a simple slider of products which are recently edited for say between from previous month to the current month.
Lets see how we can create it :
1. Create a module with namespace and module.
2. Then Cre...
A programming language is a set of rules and directive that commands a computer what task to perform and when.
provides a way of a computer what operations to perform.
Below are listed some of the differences between Wi...
Hi, I'm new in Python, so excuse me if the question may be too simple for someone.
I have the following code:
from itertools import product
for a,b in product(range(0,10), range(a,10)):
print (a,b)
but it does not work, a m...
Hi friends,
In my previous two blogs Rails Active Records Callbacks: Part 1 and Rails Active Records Callbacks: Part 2, I explained about available rails active records callbacks available. Now I will talk about some more callbacks method...
When a group of people is working on the same project then it's mandatory to have any version control system, so that everyone can work without having any conflict. Git is one of the popular distributed version control systems that we have.
...
Hello
This blog post gives a brief about the process that needs to be followed to import structured data in PIM.
Overview
Importing structured data includes a sequence of steps that should be followed in order to complete impor...
I have a situation where I want to run an endless loop and I have to get data from there. For this, I have to make a Http call and then put the http response in a database, In each iteration, I have to wait for some second.
To solve this...
Hello, readers Today in my blog I have tried to create something different as we all see clouds in the sky , while looking over the clouds an idea to create them came in my mind and therefore I have penned it out in the blog.
In my b...
A canonical URL quite sometimes used to describe the homepage of the sites. Mostly the URL which we want visitors to see.
The canonical URL make search engine identifies certain similar URLs that are actually same. Sometimes in a website ...
We use MailChimp for sending emails, specially when we have to send an email to a bunch of people at once. Using MailChimp we can add new users to our mailing list, we can send a welcome email to the new user and can send a notification to users ...
1. In admin panel click on Catalog->Manage Products.
2. Click on Add Product button.
3. Select Attribute Set and Product Type.(Default & Simple Product)
4. In General tab fill the mendatory details like Name, Description, Short De...
Hello Friends,
If you are new in WP and you would like to use short code, get the knowledge of this as below.
Short code is a simple piece of code use in POST or PAGE to invoke set of functionality. For example Contact Form 7 provide
[...
In this tutorial, we have defined a simple way for creating a dynamic broadcast receiver with a just single activity which has a dynamic broadcast receiver in it. This Activity has two buttons on one button click registered dynamic broadcast rece...
Hello Readers,
Today's post is about an integration of YouTube API with Cordova Android apps. To use YouTube API in our app we need API key. So, first of all, we need to register our app with some details.
The following steps explain ho...
NodeJS is an open source, completely free and javascript based platform built on Google Chrome's JavaScript V8 Engine. In other words, we can say that NodeJS is a cross platform which is used to develop server side web application.
In my p...
Hello Friends,
If you are working in a multilingual project and using qTranslate plugin for language translation in wordpress. You can see custom meta fail to save multi languages in the database. Please follow the below step to get solution o...
Accordian are used when we have to show/hide large amount of content, so it is expandable and collapsible. we can also add symbol to indicate whether collapsible content is open or closed
<!DOCTYPE html>
<html>
<head>
&l...
This blog is about reducing apk size with little tricks.
1. Use Proguard. :- Proguard main feature are Obfuscation and shrinking. Obfuscation is prevent from reverse engineering. Shrinking eliminates unused code and shrink code and r...
Hi Reader's,
In this blog we are going to discuss about the Normalization process with in the database.Database Normalization can be defined as a technique which is used to organize the data within the database. Databas...
Hello Readers, Here is a blog on making a rotating cube. For this we will make an HTML page and a CSS page. First, make an HTML page named index.html and write the below code.
<html>
<head>
<title>Rotating Cube</ti...
Today we are going to discuss two wordPress functions current_filter and doing_filter. You can learn other wordPress functions in previous blogs. If you check our previous blogs on wordpress hooks then you can get the clear idea of it. We will re...
Hi, iPhone developers today we will see how to fetch records lying between 2 dates in iOS i.e basically applying date filters on records of data. The first thing we have to take care is the "format" of records we have in our database.
...
Basically Jumbotron in Bootstrap specifies some special content written for a particular purpose in a big box which provides extra information.
Any valid HTML or other Bootstrap elements can be included inside a jumbotron.
<!DO...
Welcome to FindNerd.
Today we are going to discuss two wordPress functions current_filter and doing_filter. You can learn other wordPress functions in previous blogs. If you check our previous blogs based on WordPress hooks then you can get th...
This tag of html provides predefined options to users so that it becomes convenient for them to select data.
This tag is introduced in html5.
It is mandatory to include input element with 'list' attribute.
here is an exampl...
Hi there,
In this blog we will see how to add watermark images to our PDF files using Java. Watermarks have been used to discourage counterfeiting. To generate watermarked PDFs we need an additional itext.jar file to be in...
Hash Conditions in Active Records (Rails)
Active records allows us to to pass in array conditions to our query to fetch a single record or all the records matching
the key value pair. In these hash conditions we pass the key as the na...
Hi Reader’s,
In this blog we are going to discuss the concept of subclasses in Objective-C language. Subclasses are basically used to change the methods of an existing class or changes the behavior of properties we wi...
We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser.
Add gem to Gemfile
gem 'browsernizer'
Run
bundel install
rails generate browsernizer:install
...
Hello Friends,
This tutorial will help you to implement "drag & drop" and "swipe" functionality with Recyclerview items. There are many different ways to implement this features but we are using really a simple wa...
Sometimes Many of us have encountered an error mentioned below:
fatal: Failed to resolve HEAD as a valid ref.
This Situation might occur for various reasons (file corrupt, file override, etc).
Solution:
How, we resolve this ...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss use of json_encode() function in php.
json_encode() is used to convert the array given as it's argument into a JSON string. JSON full form is JavaScript Objec...
What Is Keyword Driven Testing ?
Keyword driven testing is a kind of software testing approach, which is normally used for the functional automation testing. Keyword driven testing is also called as the ‘table driven testing’....
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to unzip a file using PHP ?
Basically zip_open() function is used for opening the unzip file for reading. This is very simple method to unzip a zip file. So we can say th...
Apple developed Safari Web Browser in January 2003. It uses the WebKit and Nitro web engine for its great functionality. Safari Web Browser is not open source, but Commercial and proprietary software owned by Apple Corporation. Currently, ...
This article demonstrates about some PHP functions which can be used to divide an array into smaller arrays. The list and details of each function are given below :
1. array_chunk() :
array_chunk() splits an array into smaller chunks(arrays...
In September 2002, Mozilla Foundation developed a free, open-source and cross platform graphical interface Web Browser, known as Mozilla Firefox. Now, it’s the most popular open- sourced internet web browser around...
Hello Readers,
In this post we will learn how to download a file and stored it locally with Cordova Android/iOS apps.
First, we need to install cordova file transfer plugin via CLI :
$ cordova plugin add cordova-plugin-file-t...
Ever since the growth of the internet, the passwords to our social media accounts have acted like a key to our priceless data. In the present times with the emergence of new entertainment and work-based websites, almost ev...
Many times, you face a situation when you have to face interviews and try to find some interesting SEO questions to brush up your knowledge. I personally faced this situation many times before. When we already know so many thing...
Google Plus was launched on December 15, 2011. However, the Google social networking and sharing website had to face hard times initially. There was a buzz that it will replace Facebook, but it didn&rsq...
Sometimes it is required to show useful information to the user in android App and in that case,WebView is very useful.But to access WebView,we need to develop a two-way connection between application and WebView.
Here I will show you the best...