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

Search In

Facebook SDK for PHP

Hello Readers , The following code demonstrate how you would accomplish common tasks with the Facebook SDK for PHP. This SDK can be use in facebook login , Retrieve a user's profile , Post a link to a user's feed. window.fbAsyncInit = function(

How to make workflow manipulations in OpenERP/Odoo ?

Workflows can be moved along by sending them signals. Instead of using the top-level execute_kw, signals are sent using exec_workflow. For example code is like below. client = models.execute_kw( db, uid, password, 'res.partner', 'search_read

how to set a custom message using form_alter in Drupal

At times we need to change the message that is displayed after a node is saved.Follwing code helps to customize using form_alter. function mymodule_form_alter(&$form, &$form_state, $form_id) { if($form['form_id']['#value'] =='formvalue'

How to create profile url in cakephp?

Hello readers ! Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine. Router::connect( '/:username', arra

Instantiating Prefabs at runtime

From my previous blog,we all know that what prefabs are. Now,I want to explain how we instantiate prefabs and what are its advantages. public class preafabDemo : MonoBehaviour { var ball:GameObject; // Use this for initializati

ASIFORMADATA uploading Bar

Hello Guys, There are different issues while uploading a video to a server. -videoSize video Quality. Now uploading depends on internet speed and file sizes and it can take almost a minute to upload a video. Developers use Activity Indicator but

JavaScript Pagination

JavaScript Pagination Here i am going to describe how we would add JavaScript pagination to the table. We'll focus on displaying a particular page of data. $(document).ready(function() { $('table.paginated').each(function() { var currentPage = 0;

How to check if a device has camera in Android

At times, we make apps which use camera feature but that app can also be used on non camera devices for other features. There we have to apply a check on using the camera feature, that is as follows: PackageManager packageManager = activity.getPacka

How to automate a Slider in Selenium

The following code should be used to automate the slider: WebDriver driver = new FirefoxDriver(); driver.get("http://jqueryui.com/resources/demos/slider/default.html"); driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS); WebElement sli

How to print an NSImage

The following code prints an image stored in a file: -(void)print:(id)sender { NSImage *image = [[NSImage alloc]initWithContentsOfFile:[imageEdWindowController getImageLocation]]; [image scalesWhenResized]; NSImageView *_imageVie

1 182 408
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: