
Search In
Many times we need to show our old values in a form after an error or validation stops our form from submitting. Laravel has a very nice way of retaining old values and populating it back into our form.
I myself used it in a drop down, where I want
Show activity Indicator before image loads using SDWebImage SDK.
UIView *myView;
UIImageView *imgView;
UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
[indic
Sending mail in Joomla is easy. It can be done by posting the value of form in view to the controller.php of that component.
Function that can be used is
function mail()
{
$fromname = JRequest::getvar('name');
$sender_mail = JRequest::ge
Hello all,
Use the following code to compress the recorded video quality and size.
- (void)compressRecordedVideoWithInputURL:(NSURL*)inputURL
outputURL:(NSURL*)outputURL
hand
Hello Everyone,
I have to make cluster of a given data set. The size of the data set in form of matrix is 10000 x 3, elements are in the form of integers. For clustering I was using MATLAB Artificial Neural Network tool (nctool). While training t
To Creating Outgoing Mail Server in openerp-6.1
Follow these step given below:-
1. Go to Setting->Configuration->Email->Outgoing Mail Servers, and create
2. In Description field, give an appropriate name, example: localhost
3. SMTP Server,
To create incoming mail Server in openerp-6.1
follow these step given below:-
1. Go to Setting->Configuration->Email->Incoming Mail Servers, and create
2. Give a Name, example: Incoming Gmail Server
3. Select Server Type as POP/IMAP
4. In Se
JSONP stands for JSON with padding. All the browsers follow the same origin policy. You can not send XMLHttpRequest to other domain. To prevent this security, we need to use the JSONP in ajax request. When we request a ajax call to the remote server
HTTP Handlers are mainly used to handle the requests caused by the user or by an error and we will handle it by navigating to some other location or with some other message.
For defining HTTP Handlers first the entry will be made in Web.Config fil
Hi, I'm new in Python, so excuse me if the question may be too simple for someone.
I have the following code:
from itertools import product
for a,b in product(range(0,10), range(a,10)):
print (a,b)
but it does not work, a message error t
