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

Autostart service after device reboot in android

Sometime you need to register your own android application or service to start automatically when the device has been Rebooted to perform particular task. Here we will learn the simplest way to start an Android service or an application at dev...

How to get HTML structure using document.getElementById

Hello Readers! In almost every web application their will be a need of javascript function "document.getElementById" , lets understand this how it work. Say suppose We have this HTML structure <div id="scores" style="display:none;">...

Create a Custom Post Type in WordPress manually

Creating a Custom Post Type Manually You can create any custom post type in wordpress any name which you want like- If you are creating a movie review site then you can create a custom post type with the name 'movie'. Wordpress have some d...

How to upload data/file to a website uisng command prompt

You need to connect your Site FTP first. Open the DOS Command Prompt then type: ftp It will shown like this C:>ftp www.yourshite.com 220 yoursite.abc.net FTP server ready. User (yoursite.abc.net:(none)): username 331 Password...

Solution of EditText font in password mode

When an EditText is in password mode, It looks that its font is different. When we change typeface in xml , It dosent work. There is a solution : We should change it from java like this <EditText android:id...

How to configure database in Codeigniter

Hello Readers, In order to create any web application using Codeigniter framework or any other PHP framework we need to configure database . We have the database file inside application folder of a Codeigniter framework , inside application...

How to implement C.R.U.D operations using Ajax and Simple PHP

This tutorial will help user to learn, how to implement create, retrieve, update, and delete operations without refreshing the web page using Ajax and simple php. This is the html file named view.php Ajax | CRUD ...

CSS3 Display Table Property

In this blog you come to know about making of HTML table by div tag. It shows how display: table-cell and display: table in CSS3 works. The styling is used to make elements, such as tags behave like and tags. so tags should be reserved for d...

HML5 Canvas Curves

HML5 Canvas Curves 1. Canvas Arc Creating Arc HTML5 Canvas, by using arc() method. HTML <canvas id="myCanvas1" width="578" height="250"></canvas> Script <script> var canvas = document.getElementByI...

WooCommerce- How to change Add to cart Text in WordPress

Hello readers! Changing Add to Cart Text is not a big issue, below I am providing the method to change this text to your cart. So, to change add to cart text you can use single_add_to_cart_text filter, after adding the filter connect it to your...

How to Install CodeIgniter in ubuntu

CodeIgniter can be installed in four easy steps on your ubuntu system: 1- Download CodeIgniter package and Unzip. Download link http://www.codeigniter.com/download 2-Upload the CodeIgniter folders and files to your server. Normally the inde...

How to install Express.js in Ubuntu

Express.js is a framework that is use in the Node.js. It is having the Jade file which is similar to HTML file. To install Express first we have to include the express version in Package.json file. Inside Package.js { "name": "pong", ...

How to establish connection using Socket and Node.js

Hello Readers, The most important thing to use Node and Socket is to make connection. For this we should have two files one is Client.js(i.e. Client Side Javascript file) and other is Server.js(Server side javascript file). Under Client.js ...

Introduction to Master Data Management

Overview This tutorial will guide you about Master Data Management Hub, Informatica. It is intended to provide Project Stakeholders, Business Users, Business Analyst and Technical Teams with the technical design and configuration of the ...

How to install Node, NPM and others Node Module in Ubuntu

Node.js is a Javascript platform for server-side programming that allows users to build network applications quickly. In order to get this version, we just have to use the apt package manager. sudo apt-get install nodejs We need to ins...

Javascript form validation

Simple Javascript Form Validation Why we need javascript validation : 1: To validate user input on client side. 2: Force user to enter required data. 3: Remove dependency on server side language to validate data for primary valida...

Package.json file in Node.js

Hello Readers, To run the applications based on Node.js we need a "Package.json" file in the root directory. Package.json file tells the dependencies requires in the project. Without this file you cannot run the project. { "name" : "pong"...

How to create a server in Node.js

Hello Readers. Node.js is very popular in market in creating of real time applications.Here's the example of how we can create the server in our local system to run the Node.js applications. var http = require('http') , static = re...

Create a file Using Php

Create a file Using Php In PHP,we can use the fopen() function to create a file. If we use fopen() on a file, it will create file(if that file does not exist) by given named. Syntax: fopen("testfile.txt", "Mode"); Both arguments are ...

Liferay - Using the search container to present your data

The Liferay Search container can provide us the many features using that we can simply show the data in grid format and apply pagination on that. We can configure other multiple tags inside the search container. Syntax:- <liferay-ui:sea...

How to setup first time launch of an iOS App

Hello reader's ! If you want to setup first time launch of an iOS app. Using this code the terms and conditions will appears or shown only the first time of app launch. here is the code below. I have two UIViewControllers (FirstViewContro...

PHP Sorting Array

Sorting Arrays PHP offers a host of functions for sorting arrays. An initial a means the function sorts by value but maintains the key/value pairs association. An initial k means the function sorts by key but maintains the key/value pa...

Java 8- Method and Constructor References

Method Referencing Method reference is feature related to lambda expressions. Method references are more readable form of Lambda expressions for already written methods. :: operator is used to define method reference. It provides a way to a ...

Liferay Validating user-submitted forms

In Liferay we can Validating the user submitted form or Validating AUI input fields. You have to add aui:validator tag and specify the appropriate attributes which we define with name property for ex: required,minLength etc . The Below Example c...

Sample Forms with Alloy UI Tag Libs

In Liferay 6.2 we can use the forms with Alloy UI tags . The Alloy UI Tags can provide the way to do activity with Simple Alloy UI forms same as HTML forms tags. By the below Example we can show how to use Forms with Alloy UI. Example: <...

How to pic contacts name from device's contacts list in android

This is very important tutorial to READ EXISTING CONTACTS from device contacts list .There are some following steps to do this process. Step-1 - Add a permission to open and read contacts from contacts list to your manifest xml file. <u...

Styling the AlertDialog like Material Theme

By the help of Supporting library we can show the AlertDialog like we have in Lollipop on below version. For this you need to import AlertDialog from import android.support.v7.app.AlertDialog; And then show a AlertDialog like we do norma...

Securing Authentication

What is an Authentication Authentication define as the process of verifying a person or any entity. The authentication is a process which compared the file in database to authorized the user information from their local OS. Only then User Pass...

Set custom shipping method in Magento

In magento you can add custom shipping in your website by writing some custom code , lets first go through how shipping work in magento , When magento looks for available shipping methods, Magento first collects all available shipping methods...

Security Testing- Approaches, Tools and Techniques

Security Testing Security testing is basically a type of software testing thats done to ensure that system and application is secured. It reveals flaw in the security mechanism of an information system that protect data and maintain functionalit...

Custom Dialogs in android using DialogFragment

Custom Dialogs in android using DialogFragment: DialogFragment is the fragment that shows dialog window on top of your activity. We have to override DialogFragment class and implement onCreateView(LayoutInflater, ViewGroup, Bundle) to use ...

Hacking Prevention- How to Prevent Brute-force attack

Brute-force attack: It is a password-guessing attack that does not aim to decrypt any information or data,the aim of a brute force attack is to gain access to user accounts by repeatedly trying a list of different combinations of passwords, U...

How to identify the network usage of your particular application in android?

If you wanted to monitor the data usage of your particular application than you need to know the pakage name of that application which you want to monitor. So just add the method getDataUsage given below in your utility class and pass the conte...

how to use new guide layout in photoshop ?

Use guides in Photoshop cc to position images or elements with accuracy

Pass Structure as a function Argument in C

To Pass the Structure as a function Argument we just need to Create the Object of the Structure and pass it as a argument to the funtion . #include<stdio.h> #include<conio.h> struct anp//Name of the structure ...

Working with Base 64

In this tutorial I will tell you about recognizing, decoding and encoding with 64 base format. Base 64 Identification:- It allows binary data to be transmitted in plain text format without risk of the data. It is commonly used for encodin...

SmsManager to Send SMS

SmsManager use for SMS operations like sending information to the any given mobile device. We create this object by the below method. SmsManager.getDefault() SmsManager sManager = SmsManager.getDefault(); Then we can send any data by u...

How to Manipulating video, audio or image file using ImageMagick & FFmpeg

We can customize our video, audio or image file with help of tools like FFmpeg , ImageMagick FFmpeg is very useful command-line tool that converts audio or video formats. ImageMagick is a tool which can be used to edit, create, compose, o...

Creating model form field in joomla

For creating custom form fields please use the following steps: Step 1:Add all the custom fields to the following XML file components/com_library/views/book/default.xml <fields name="request" addfieldpath="administrator/components/com_...

Http Status Codes and Explain all codes

HTTP, Hypertext Transfer Protocol, is the medium through which clients and servers can communicate. Basically, it works as a request-response protocol between a client and server. When user clicks at any link, types in a URL or submits the form, ...

iOS kV difference between self.variable and _variable

Variable names starting with _ are instance variables of that class. self.variable is calling a getter/setter method on your object. The class must be key-value coding compliant for the property, as specified in Ensuring KVC Compliance.

Prevent Misuse of 'Password Change' Functionality

Password Change Functionality:- Applications should have the password change functionality, to allow the users to change their passwords if they want & to allow periodic password expiration (if required). User should change their password qu...

How to identify the current opened application name in android devices?

If you need to monitor your android device activities and you want to identify the current opened application name in that case you can simply create the method given below in your utility class. And call it whenever you want to get the current ...

how to identify the network type in android?

There are various network type available in android, for example- 2G,3G GPRS etc. If you need to find-out the current network type of your android device, than you just need to implement the method given below in your utility class :- pu...

Using magento api to add all products to root category

To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api. Following code will be use to set products to root category $soap = new SoapClient('http://m...

Create EditText on button click in Android

This blog will help to create a custom edit text on button click.This tutorial includes a xml file which hold a button after click on button create a layout parmas for edit text. Each edit text has different id and every times when you click, a b...

What is CSS Prefix?

-moz and -webkit along with -o and -ms all are called vendor-prefix These are the vendor-prefixed properties offered by the relevant rendering engines. (-webkit for Chrome and Safari, -moz for Firefox, -o for Opera, -ms for Internet Explorer)....

Magento- Retrieve the attribute label using config.xml file

To show the custom attribute label and value in a magento cart we do the following suppose attribute_code is myvar it's ID/VALUE is 7 and LABEL = Myvar create config.xml of module with the following code <global> <sale...

Load html file from assets folder in a WebView

By doing following steps you can load the HTML file from the assets folder inside your application:- 1) Copy that HTML file inside your assets folder. 2) Define a WebView in your layout, like this <WebView android:id="@+id/webvi...

Attach invoice PDF with invoice email in magento

Sometime we need to send a invoice pdf in a invoice mail in magento, so here I am explaining how to add invoice pdf in invoice mail. 1) Override the app/code/core/Mage/Core/Model/Email/Template/Mailer.php file in your module 2) Add one prot...
1 236 269
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: