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

Control View State and Controls that do not Depend View State

What is View State?      View State is a client side state management mechanism. It can store the page value at the time of post back (i.e Sending and Receiving information from Server) of the page.    &n...

Virtual Hosting - Host Multiple Sites on Single Server

Virtual Hosting is a process in which we can host multiple sites on a single server. or we can also say single Apache to have multiple sites. Types of Virtual Hosting Virtual hosting is of two types- 1. Name Based 2. IP Based Na...

Social Network for Developers - FindNerd Introduction

In this Video Tutorial, we are describing a brief Introduction about FindNerd. Here is a short description, for more please watch full Video. FindNerd.com a social network for developers which came into market in early 2015 with the ambition ...

Basic Caching in Rails

What exactly is caching and how do rails try to achieve it. Well basically rails provide us with an automatic caching feature which help us in increasing the speed of our site by reducing the amount of time consumed by making frequent call to eit...

How to store data in external files in android ?

In android data can be stored in external storage, where apps can save files. And these files can be accessed by other applications or user can extract them by connecting the device to a computer via USB. By using getExternalStorageState() w...

Save Session in databse in CakePHP

In CakePHP you can store the Sessions in the database , So lets try to implement this : Because you are storing the session in databse so first you need to create a table in DB so that you can store the session CREATE TABLE IF NOT EXISTS `c...

Introduction of Unity 3D

Basic information about Unity3D

Changing Admin Password Through Database

How to Change Admin Password Through Database? Hello reader's ! In this tutorial I will guide you about "how you can Change Admin Password through database". SO read the complete tutorial and follow the steps and implement it same in your Wo...

A* PathFinding Algorithm

A* PathFinding algorithm is best algorithm to find the path between the player and target. Easy and powerful to use.

How to Restore Work When Unity3d gets Crashed?

Unity can crash due to a lot of reasons. This problem is faced by many Unity3D developers, when Unity3D crashes due to whatever reason a lot of work if unsaved gets lost, sometimes the whole scene gets corrupted. This affects our work and wastes ...

Pausing the Game through Coding in Unity3D

You can pause your game in Unity3D by changing the rate at which the time is passing. It is very helpful in making pause menu in the game and in various situations that require pausing of all the events and physics to stop at the moment. To pa...

Guide to Wordpress Menus

Hello reader's ! In this tutorial we discuss about How to add menu in WordPress. So if you want to add menu in your WordPress Site follow the steps one by one. Login to the WordPress Dashboard. From the 'Appearance' menu on the left-ha...

Send email template in mandrill using dynamic key in Laravel5

If you want to send mandrill template not integrated with Mailchimp and by using Secret Key dynamically follow given steps Use https://packagist.org/packages/mandrill/mandrill package Run composer update In your controller use Mandri...

Wordpress ShortCodes Guide

Hello readers ! Today we discuss about "WordPress Short Codes". Short-codes:- a short-code is a shortcut to put things simply. short-codes are WordPress-specific pieces of code that do things that would otherwise require technical knowledge...

How to Use Mandrill SMTP in LARAVEL 4?

Using Mandrill SMTP in LARAVEL4 is easy to use by following below changes in cofig/mail.php return array( /* |-------------------------------------------------------------------------- | Mail Driver |---------------------...

How to save session in databse using php?

Saving session in database is best practice for website security. so if we want more security then we need to save session in database. Here are few steps to save session in database step 1--> Create a table name as sessionsdata step 2...

How to make responsive navigation pure CSS

Hello folks, Here is an example of responsive navigation without javascript using pure css. HTML:- <nav> <a href="#" class="logoNAv">Logo </a> <input type="checkbox" id="nav" /><label for="nav"><...

Call Stored Procedure In Hibernate

Call Stored Procedure In Hibernate: Here is the simple answer of question 'How to call stored procedure in Hibernate?'.A stored procedure is a declarative SQL statements stored inside the database. A stored procedure can be invoked by triggers, ...

How to Move Make Objects by Adding Force in Unity

There are two methods to make object move in unity: By changing its Transform (Position). By adding Force by using AddForce() method. In this blog I have mentioned, how we can make object move by adding force. Force and Velocity both ...

SQL Injection attack

Sql Injection Application security is always a challange for the application developer. As some of anonymous users who try to break your application for his fun. Sometimes loopholes in your application can be more dangerous for you and your ap...

Flush entity in core data

If you need to delete or flush all the data that exist in core data entity then use this method. Just pass the name of the Entity as a param to this method. -(void)flushEntity:(NSString*)entityName{ NSFetchRequest *fetchAllObjects = [[N...

Flush core data DataBase in ios

Some times we need to flush or truncate the sqlite Database tables created by coredata. Here is the method to delete all data which exists in core data sqlite tables. -(void) flushDatabase{ [self.managedObjectContext lock]; ...

How to add additional image sizes in wordpress

Hello reader's Today we discuss about "How to add additional image sizes in WordPress". When you upload an image to the media library, WordPress creates the store a range of various sizing's to the image. They're: thumbnail, medium, large an...

IEnumerator

What is IEnumerators ? IEnumerators are used to allow a program to yield things like the WaitForSeconds function, which tells the script to wait without hogging the CPU. StartCoRoutine essentially runs a function in another thread when used...

Top MongoDB Commands

Small But Very Useful And Frequently Used Commond Step1: Remove lock file. sudo rm /var/lib/mongodb/mongod.lock sudo rm-rf mongodb/mongod.lock Step2: Repair mongodb. mongod --repair Step3: Start mongodb. sudo mongod -dbpath=mongo...

AngularJS - Tutorial 1

*{margin: 0;padding:0;} .mainCol{margin: 0 auto;font-family: 'Georgia';font-size: 15px;color: #146ba3;padding: 10px;} .mainCol h4{font-size: 18px;margin: 0 0 10px;} .mainCol ul li{list-style: none;;padding-bottom: 3px;} ...

Creating ensure Index in Mogodb

Creating Indexes in Mogodb- ensure Index and get indexes then verify Hello readers! Many time we get stuck with the query How to Creating Indexes in Mogodb, ensure Index and get indexes then verify? Here below is the simple answer for this...

Phone gap issue: Android Build fails - "ANDROID_HOME is not set"

Hello In today's blog post we will discuss about a common error that occurs while building an Android based project in Phone Gap. Phone gap issue: Android Build fails - "ANDROID_HOME is not set" To get rid of this error you need to i...

Using database for session handling in codeignitor

codeIgnitor will usually make everything work out of the box. However, Sessions are a very sensitive component of any application. Its important for you to understand that once initialized, the Session class runs automatically. There is nothing y...

Document Data Model- MongoDB's

MongoDB is a document database that provides high performance, high availability, and easy scalability, since it is an unstructured data and doesn't require costly and time-consuming migrations when we want to change our schema dynamically . Mong...

Multitenancy feature in JVM

IBM recently launched the multitenant feature in SDK Java Technology Edition, Version 7 Release 1. Each program issuing java command from the command prompt/shell or from GUI invokes an instance of the JVM, which contains resources and the ar...

Top 10 MySQL queries every developer should know

As developers of any technology which uses MySQL as backend we always need to know some basic queries to work on. The list may vary as per the development need but a basic set still remains the same. The very first query that comes into use...

How to apply unsharp mask filter ?

This video tutorial may help you to understand the functionality of unsharp mask filter. Unsharp Mask filter, adjusts the contrast of the edge detail and creates the illusion of a more focused image.

How to increase saturation with sponge tool ?

You may take help form this video tutorial to understand the use of sponge tool in photoshop. Sponge tool is one of the numerous ways to change the saturation of an image. Generally it is used for making saturation changes to the specific area o...

Android speech to text

It is now very easy to use the speech to text feature provided by Android. Please follow the following steps to know hoe to use this feature: Create an activity and with a textview to show the text and a button to initiate the speech to text...

Push Notification in ios

Here are the Push Notification Check for iOS8 and iOS7. iOS Push Notification Check #define IS_iOS8 [[[UIDevice currentDevice] systemVersion] floatValue] >= 8?YES:NO if (IS_iOS8) { UIUserNotificationType types = UIUserNotifi...

Add fadein effect animation for UIImageView

How to add a fadein effect to an imageview in objective C Hello all, Many time we stuck in adding fadein effect animation for UIImageView. to add a fadein effect to an imageview in objective C, please use below mentioned method. -(voi...

How to add UIView above UIKeyBoard in Objective C

To add an UIView just above the UIKeyBoard write the below mentioned methods to achieve it. -(UIView *)getTextFieldAccessoryView{ UIButton *cancel = [UIButton buttonWithType:UIButtonTypeCustom]; [cancel setFrame:CGRectMake(0, sel...

Share image on Pinterest in iPhone

To share an image to Pinterest write below code to achieve it. NSString *str =@"https://www.hallaminternet.com/assets/URL-tagging-image.png"; pinterest = [[Pinterest alloc] initWithClientId:@"1438888" urlSchemeSuffix:@"prod"]; [pin...

Solution for Pods-prefix.pch error

In Xcode 6.1 and above versions sometimes we get this Pods-prefix.pch error. To resolve this issue you just need to follow simple steps. Quit Xcode. Go to Libarary > Developer > Xcode > Derived Data Remove All Derived Data. Do...

Unique Key in Core data

There is no such method to create an unique Key attribute in core data Entity. But we can insert data into entities on the basis of an unique json or XML data object. Here is an example:- While parsing API Json Data write the below code ins...

How to extract images from device on the basis of date

Some times there will be kind of requirement when you need to extract the images or the media files from the device. So here is a method you can use for fulfilling the same. private void getImagesInDuration(String startDate, String endDate){ ...

Copy text to Clipboard or PasteBoard in iPhone

If you want to copy text from an app to iPhone clipboard or PasteBoard then write below code. UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; pasteboard.string = @"String that you want to copy." ; Now you can access ...

Face detection with OpenCV in iOS

Hello Readers! If you want set face detection in iOS (iPhone) follow the steps given below. First of all we need to add opencv framework to our project. There are severel ways to do that. But the most simple is as follows: Make framework v...

Rails Initialization Process and Init.rb

Today I am writing a blog about rails initialization process for beginners. Rails initialization process a vast topic. Here I am going through the use of config/environment.rb, config/environments/production.rb, config/environments/staging.rb, co...

How nth-child Works ?

Hi folks, The :nth-child(n) selector is a pseudo element. which show the position on there parents element. You can use (even) and (odd) for all even or odd child element. :nth-child(odd) For example:- tr:nth-child(2n+1) Rep...

How to get sub strings from a string using Regular Expression

Hi, The below code is to get substrings from a string. You are going to love this below code which is very simple but very effective. I have used regular expression to get the sub strings. NSString *strTest = @"Hii how are you doing @Ravi , h...

JSON and XML

JSON VS XML (RUBY) JSON stands for JavaScript Object Notation. XML stands for EXtensible Markup Language. Both Json and Xml are used for exchanging data. JSON is a light-weight text-based open standard design for human-readable data. It is...

Collect and Map In Ruby On Rails

Map: Map use to take the object of enumerable and returns a new array with the results of running block once for every element in enum, the block is something like [1,2,3].map { |a| a+2 } and the outcome of [1,2,3].map { |a| a+2 } will be [3...

Wordpress Object Caching

Hello readers! In my Last blog I have explained about how you can Speed Up Your WordPress Website by Caching Custom Queries using Transients API. Now today we discuss about " WordPress Object Caching". this ones is also a method to Boost WordP...
1 239 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: