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

Can you catch the Hummingbird- Google's latest search algorithm

The hummingbird, outsmarting the panda, the penguin and you The new google algorithm does justice to its nomenclature, its fast in its processing and furious with its accuracy. Humminbird is the freshest Google algorithm, which assimilates...

How to create reports using Base Report Designer and OpenOffice in OpenErp

Creating reports in OpenErp using OpenOffice is the easiest way. Just need to follow simple steps: Download base_report_designer module from the web or https://www.openerp.com/apps. Add to the addons and install the module. Open OpenOffice...

How to fetch Nth highest salary from a table.

There are two ways to fetch Nth highest salary/number. 1 - By using general sql query which works on all database. 2 - By using database specific sql query. Database specific sql query example Nth highest salary/number SQL Queries in ...

How to call custom scrollbar dynamically

To use custom scroll bar we have to follow below steps. Steps. 1 - First download tiny scrollbar javascript libarary by using below url. <pre>http://baijs.nl/tinyscrollbar/</pre> 2 - Include tinyscroll bar library in th...

How to create Singleton class

Sometimes, we need access of some object /data/ variable globally throughout the App. In that case, creating a singleton class which can be accessed through out the app is helpful. App Delegate is a good example of singleton class. After goog...

How to create Wizards using osv.memory in OpenErp 6.1

To create a wizard for a module, we need to create a wizard folder; this folder will be imported in our main __init__.py of the module. The wizard folder will contain another __init__.py which will import all the wizard class files. The Wizar...

Installing RVM and Creation of Gemsets Part 2

In the last tutorial we learnt how to install RVM. In this one we will take one step further by creating Gemsets. Note - Gemsets are used to eliminate “Gem clutter” and version mismatches. Also by creating Gemsets we can install multiple versi...

Using Tar command in linux to compress and uncompress the files

One of the frequent task that we do with the increasing data on our linux boxes is to compress the files and folders and to do so there is a command tar that we can use to achieve the same. Below are the examples of how to compress files in a...

Installing RVM and Creating of Gemsets Part 1

Installing RVM and creating Gemsets can be difficult at times. Frown not because in this tutorial we will learn the basics of installing RVM and in part 2 of the tutorial we will be creating Gemsets. Quick Revision RVM helps to manage multi...

pagination in core PHP

**When there are a sufficient number of pages present, a Last Page link is added. When you navigate away from the first page, a previous page link is added. When you navigate past the second page, a first page link is added. This code hasn't b...

Share video on Facebook using ASIFormDataRequest

In facebook graph API "https://graph.facebook.com/" url is used for all APIs. But to post a video on facebook an other API url is provided. To post video on facebook you must use "https://graph-video.facebook.com/me/videos" API. Below is the c...

Share image on facebook using ASIFormDataRequest

Below is the code for sharing photo on facebook using ASIHTTPRequest. - (void)publishStoryWithImage:(UIImage*)image andMessage:(NSString*)message { NSURL *url = [NSURL URLWithString:@"https://graph.facebook.com/me/photos"]; ASIForm...

Call JavaScript Function From Action Script 3

Some time we need communication between ActionScript and the SWF container– for example, an HTML page with JavaScript . So Adobe Doc has a class ExternalInterface , which solves this problem. First import : import flash.external.Externa...

UITableView extra spacing(padding) on the top in IOS7

When using xcode4.5 or 4.6(i.e ios6) UITableView added to xib files appears as it is. But when it comes to IOS7(i.e When you are using xcode5) along with adding the UITableView to xib you also need to add a small code which will remove that paddi...

How to know the device capabilities using as3 using flex

Capabilites of a device can be known by using Capabilities class. 1.Capabilities class is used to determine in which environment swf is running. 2.By using Capabilities class we can know the resolution of the user’s system, language of the ...

Show default image when image not found

When we show a profile image we get image path from database and show that image as a profile image. But if image not found or image path is not correct then we see a broken image. So we add a conditions there to show a defualt image. But if we u...

Using Auth method for login in cakephp

First of all load the component in the controller lets say UsersController using the below code $this->uses=array(‘Auth’); login.view: <?php echo $this->Form->create('User', array('id'=>'signUpForm','name'=>'userSig...

How to get user image from Foursquare IOS sdk

Foursquare authenticate API returns all the information related to user's fourSquare account. In this response under "user" tag there is a tag "photo" with two other tags "prefix" and "suffix" like below. photo = { prefix = "https...

Date/Time Operations in php

Sometime there is a need to perform different operation on dates for ex: You may need to : 1) Add two dates/time 2) Subtract two dates/times for ex- to calculate your age by deducting your date of birth from current date. And many m...

Formatting time

Some time you may need to find the day, hour and min and seconds for ex: *you entered a number 105 and you want 1h-45Min ago* then you can simply use the following function although you can use your custom function as well depends on the...

Get Facebook messages in Android

Note- Facebook provides 25 latest message conversation. To get Facebook chat messages in Android, following steps are used: Define the 'read_mailbox' property as below: private static final List PERMISSIONS = Arrays.asList("read_mailbo...

Decomposing the associative array in chunks based on their keys

Consider you have two arrays like the below: 1) $arr1 = Array ( [0] => 2 [1] => 2 [2] => 2 [3] => 3 [4] => 3 ) 2) $arr2 = Array ( [0] => 28 [1] => 48 [2] => 21 [3] ...

Read Google+ Activity publish date in NSDate object in IOS

In Google+ IOS sdk activities API return the activity published date in following format. "2013-11-22T11:31:47.269Z" You can use below line of code to read this date in a NSDate object. NSDate *activityDate = [[GTLDateTime dateTimeWithRFC333...

QA Checklist for Build Verification

When the Build is deployed in QA Environment ,following are the checklist for verifying the build. 1.Interface Integrity Internal and External interfaces are tested as each module or cluster is incorporated into structure.This is perform to e...

iphone and Android Push Notification API

Push notifications are messages that allow an app to notify of a message similar to how a text message pops up on your screen with a sound. Code for Android ,Iphone API push notification is given below by using urbanairship. 1.Android Push No...

How to send an e-mail with attachment and delete the attachment afterwards in C#

Sending an e-mail with an attachment through a .net application include these simple steps:- 1)- Use the following namespaces - using System.Net; using System.Net.Mail; using System.IO; 2)- Call the following function where you h...

How to create a transparent image with CSS?

<!DOCTYPE html> <html> <head><title>css3</title> <style> div.bg { width:500px; background:#000; border:2px solid #00ff00; } div.transparent-box { width:400px; margin:40px; backg...

Custom Search in ListView

In OnCreate() Method add addTextChangedListener(new TextWatcher() to an EditText View example: searchEditText.addTextChangedListener(new TextWatcher() { @Override public void onTextChanged(CharSequence s, int ...

Playing with date format in Android

We can change date format of a date as below: Here, I have defined different date formats: String FACEBOOK_DATE_FROMAT = "yyyy-MM-dd'T'HH:mm:ssZZZZZ"; String MESSAGE_DATE_FORMAT = "MM/dd/yyyy hh:mm a"; String MESSAGE_DATE_TIME_FORMAT = "M...

Gradient Mesh in Illustrator

Gradient Mesh in Illustrator: Gradient Mesh, is an advance tool that allows us to create gradients in any shapes. The result in artwork seems like as it come right from the Photoshop. Every designer have his/her own way that how they apply gra...

How to Develop an Android Game in Unity3D

When we create our game, we might want to see how it looks when we build and run it outside of the editor as a standalone or web player. Today, I will explain how to access the Build Settings and how to create different builds of your games. G...

Get all Facebook chat messages in iPhone

Note :- Facebook provides only 25 latest chat conversation messages /This is completion handler method and takes 3-4 sec to load chat messages from FB/ NSMutableArray *arrConversation = [[NSMutableArray alloc]init]; NSArray *arrPermis...

Hibernate environment in Spring

Spring comes with a family of data access frameworks that integrate with a variety of data access technologies. Whether you’re persisting your data via direct JDBC, iBATIS, or an object relational mapping (ORM) framework such as Hibernate, Sprin...

Salesforce web-to-lead integration in Drupal 6

Salesforce is becoming popular which is used for tracking sales leads, managing mailing lists etc. Drupal webform is a bridge module that helps to feed submitted data into salesforce. Salesforce Integration require following modules to be ins...

Agile Software Development - why so much buzz about it??

Working in software/IT companies we all come across a word that is coined rampantly - the Agile development. So what is this and why do you also need to understand this was what troubled me few years back and I went onto an Online search expedit...

SQLite with Flex

Hello Readers! This blog is about how to use SQLite in Flex. Before proceeding a brief introduction to SQLite. SQLite is a relational database management system contained in a small C programming library,it is an embedded SQL database engin...

Creating a very basic module in OpenErp 6.1

Creating a module in OpenErp is very simple. All you need to know is the basic skeleton of any module to be used in the system. There are four major files that build up your module: 1.) init.py file 2.) openerp.py file 3.) mymod...

Getting MMS from an Android Device programmatically

To get MMS conversation from an Android device, use the following code: ContentResolver contentResolver = getActivity().getContentResolver(); Uri uri = Uri.parse("content://mms"); Cursor cursor = contentResolver.query(uri, null, "thread_id ...

9 simple steps to improve your technology blog

How to create good original content for a technology blog seems to be the question on everyone’s mind. It is to be noted that just uploading codes doesn't count as good blogging. One needs to support the code with some content which highlights it...

Download and Install Android paid app for free

Do you want to install paid application present in Google market without wasting your money? If "YES" then you can follow these steps. Step 1: Open the Google Play in your android device. Step 2: Search your desired app in search bar. St...

Marker/Null interface in java

Marker Interfaces or Null interface in Java are special type of interfaces in character as they have no methods declared in them which means that if any classes implementing these interfaces don't have to override any of the methods. JDK provi...

SQL - Generating XML 2

Every XML has two elements i.e. 1) Attributes and 2) Value SELECT magazineId AS '@id' , magazineName AS '@name' , CoverPage AS '@coverPage' , isActive AS '@status' , publishDate AS '@publishDate' , expiryDate A...

SQL SERVER - Generating XML - 1

Following is the XML which we want to create: SELECT magazineId , magazineName , coverPage , publishDate , expiryDate , isActive ,( SELECT ( SELECT ( ...

Get Facebook permissions status in iPhone

After requesting facebook permissions we can check facebook permissions status using following code. [FBRequestConnection startWithGraphPath:@"/me/permissions" completionHandler:^(FBRequestConnection *connection,id user, NSError *error) { ...

Convert Facebook Datetime format in iPhone

Convert date format - 2013-10-31T07:41:39+0000 to 2013-10-31 01:48:11 +0000 NSString *dateString = [stringDate substringToIndex:19]; NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; formatter.timeZone = [NSTimeZone localTimeZo...

Launch application after phone boot or screen unlock in Android using BroadcastReceiver

We have BroadcastReceiver to listen to the system events. There are receivers like BOOT_COMPLETED, SCREEN_ON, USER_PRESENT which we can register to perform any specific task when phone boots or screen unlocks. The same we are using here to Launc...

How to generate MD5 and SHA-1 fingerprints for an android application

By following these steps you can be able to generate MD5 and SHA1 fingerprint for your android application using command prompt.(It will surely work in windows7) First of all you need to get the paths for keytool and keystore. keytool you...

How to create scrollbars in Unity3D

Scrollbar in Unity3D Scroll bars let a user choose the direction and distance to scroll through information in a related window or list box. Scrollbars are very common on all languages.. In Unity we can also build our own scrollbars. It...

What is And Why to do Regression Testing ?

What is :- Regression testing ensures that quality of software is not disturbed because of the changes made.. Regression testing is used to ensure effectiveness of fixed bugs in the Application. Which means when a tester finds the bugs in t...

Camera Simulation in iOS Simulator.

Every now and then the Xcode developers have to make use of the iPhone camera to click pics, photos and even different types of symbols and codes like bar code and more recently the QR Codes (Quick Response codes). The primary problem faced by...
1 235 237
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: