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

Search In

Adding option in angularjs ui-multiselect dynamically from http request

My code is: <ui-select multiple ng-model="multipleDemo.selectedPeople" theme="select2" ng-disabled="disabled" style="width: 800px;"> <ui-select-match placeholder="Select person...">{{$item.name}} &lt;{{$item.email}}&gt;</

PHP: How to cache images in browser using php?

When there are multiple images loaded on the page, this may cause page to load slower. In order to increase the speed of the page we need to cache the images via .htaccess or php code. Now I am writing down the php code that will store images in cach

Cronjob: How to set up cron in Ubuntu ?

How to add Cron Jobs in Ubuntu? I was facing issue for adding cron jobs in dedicated hosting (in Ubuntu). In order to add cron jobs in Ubuntu go to the terminal and type: $ sudo crontab -e this will open your personal crontab (cron configuration

How to customize markers in Google Map in Javascript?

How to customize Map Marker: This blog will help you understand how to customize the markers in google map. Specify the icon option on MarkerOptions to change the marker’s icon. The icon option can be either a string (the URL to the marker ico

How to use AsyncTask in android?

In the below example I have clearly described how to use  AsyncTask. First of all you should know what is AsyncTask ?   AsyncTask is an abstract class provided by android which helps us to use the UI thread properly. AsyncTask class allows

Editor Templates for Complex Types in Asp.net MVC

Hi Friends, This is a small article about editor templates in Asp.net MVC. What are they? Why do we need them and what are the scenarios where these editor templates can be used?. Let's find out. Editor templates are provided in asp.net MVC to

How to add custom page in wordpress through function.php?

Hello Readers, Today we discussed about How to add custom page into admin dashboard through and add pagination into WP_Query. If you want to add custom menu page into your admin panel you can create a plugin or write the code into your function.php

Pass element id that triggers `onclick` event to the event handling function

When we apply onclick event to an element, sometimes we need to pass ID of that element to the event handling function. We can do this by passing id to function as this.id or we can pass the element itself. Example: In the below example I've cre

How to override magento blocks

In this blog tutorial, i will explain how to override magento blocks using an XML- based configuration file. Config.xml is module configuration file in which we will override magento block. As magento best practices, we should not change any core fil

How to create Triangular imageview in objective C

Here is the code for creating the triangular uiimageview - UIBezierPath *bzrPath = [UIBezierPath new]; [bzrPath moveToPoint:(CGPoint){0, self.imgView.frame.size.height}]; [bzrPath addLineToPoint:(CGPoint){80, 0}]; [bzrPath addLineTo

1 406 720
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: