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

Search In

Create tap on image animation like facebook

In the below example I have created a animation ImageView. When user click the image , then image will appear on full screen, after this when user tab again on image it will be Zoomout like a facebook image tab.   Here In activity_main.xml layou

Error installing mysql2: Failed to build gem native extension

This error used to come when you are trying to do bundle install and mysql2 gem is unable to install properly. So below are the steps as per the different operating systems: Sometimes you need to update your Ruby library, run this code: Step 1: sud

Cropping image without degrading their quality (Using CIFilter's CICrop filter)

The below mentioned code uses CIImage library's CICrop filter to crop the desired area from UIImage. The follwing code deoesn't deals with snapshot as CGContextRef rather crops the original image along with maintaining its quality and aspect ratio.

Find duratin between two times of same date

If we have to find duration or difference between two times of same date then Let we have $dtime and $atime as two times of same date then $dep=EXPLODE(':',$dtime); $arr=EXPLODE(':',$atime); $diff=ABS(MKTIME($dep[0],$dep[1],0,DATE('n'),DATE('j'),

How to drag(pan) a view on iPhone screen using UIPanGestureRecognizer

To drag a view we can either use the touch methods of UIViewController or we can use UIPanGestureRecognizer. UIPanGestureRecognizer is much easier and simple to implement. This blog explains how to use it. Add pan gesture to the view (or any contro

Swapping Z-Indexes of Entities in Impact JS

Impact JS keeps all entities in an array in the order of their creation. The main problem is that it is also the order of their z indexes. So the entity at the last index of array is at the top of every other entity. But in our games we get some situ

Check trannsparency of a given pixel in Image using C#

Many a times we come across to situations where we need to find out whether a given pixel in an image is a solid pixel or a Transparent Pixel. Here is how we can check that. We have an image property called alpha value which tells us about the transp

Function Templates in C++

Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type. A template is used to create generic class or a function. By using function templates we have used t

how to use video in background using html/Bootstrap

Hi , This post will help you to use Video in background with bootstrap. View Live Example : http://107.20.120.5/HTML/fn/video.html <style> #background { position: fixed; top: 50%; left: 50%; min-width: 100%; min-height:

Get the stack trace for javascript function

We always face debug issue in javascript and the time when we want to know which function actually create problem we set debug in all the function in sequence of calling. Since Javascript is not a very structured language it can sometimes be hard to

1 20 137
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: