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

Search In

Sorting an array containing mantle model as object

Hi all, To sort an mantle array containing mantle model as object ,You can easily sort by multiple keys by adding more than one to the array. Using custom comparator-methods is possible as well. NSSortDescriptor *sortDescriptor; sortDescri

Positions in Joomla

Joomla works on positions. Position works as a placeholder in Joomla Template where we place a module. According to those positions Joomla application able to place the module to a particular portion of a page. For example, the module position left m

Laravel: Load method in another controller without changing the url

We can load method in another controller without changing the url using Laravel. If you are using Laravel 3 then we will define: Controller::call('ApplesController@getSomething'); If We are using Larval 4.x then we will define: $request = Reques

'Failed to open stream: Permission denied' error - Laravel

Some time when we want to access our public folder then we get the error "Failed to open stream: Permission denie' error - Laravel" . So when we get this error .Do not think much we have to clear our cache and just give permission to our folder and w

PNG Image masking with rotation and alignment using Imagemagick

We can mask a png image over any other image with rotation and proper alignment. Let say for example, if we need to replace the human face of an image with another face, then we need this type of masking. There are various ways and command within im

Moving an Object with Keyboard Input(Unity)

Hi! :) Today we're going to take a first look at the Unity3D game development engine. This engine is pretty easy to use and has gained a lot of popularity in recent years. It supports multiple languages (including C#) and multiple operating systems

Simple Cakephp Pagination

Cakephp provides a quick an easy way to paginate data. In the controller we start by creating the pagination condition as given below : public $paginate = array( 'limit' => 10, 'order' => array( 'Model.fi

Add placeholder in Drupal form api fields

Hi all, Sometimes we need to add placeholder in our form fields but it get little bit complex when it comes to form api under Drupal CMS. There is no hard coded form fields in drupal (In case of content and comment forms), everything is coming dyna

compact() or set() in cakephp

set() is the way to set values in your controller and get those values in your view file. Syntax of set is-> $this->set('variable','value') In cake-php controller you can set the values as - set('variable1','value1'); $this->set('varia

Track in HTML 5

The track element allows specifying explicit external timed text tracks for media elements. It does not represent anything on its own. Its provide a simple standardized way to add subtitles, captions, screen descriptions and chapters to video and aud

1 52 363
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: