Recent Notes

Displaying notes 51 - 60
Created by __Vano on May 29, 2014 15:40:55    Last update: May 29, 2014 15:40:55
Before 3), you first have to select a capture device in Device->
Created by SaranReddy on May 14, 2014 07:59:40    Last update: May 14, 2014 07:59:40
As you have mentioned above, i have changed and its working fine. But my doubt here is, Assume day one you have deployed release abc-RELEASE-0.0.1.war . assume on day 2 you want to deploy second release abc-RELEASE-0.0.2.war. if we hard code the war file name in <Context>, the each and every time when the war file name changes like abc-RELEASE-0.0.3,0.0.4 as per the release then, each and every time we need to change the value at <Context> tag in server.xml file. I want it to be configured only once irrespective of the release As we do in JBOSS. could you please help me in this..
Created by James on May 03, 2014 10:24:35    Last update: May 03, 2014 10:25:05
In jQuery.ajax , set withCredentials option: $.ajax({ url: 'http://mysite/get-data-f... Set two headers on server that provides data from session: httpResponse.addHeader("Access-Control-Allow-O...
Created by James on May 03, 2014 10:16:02    Last update: May 03, 2014 10:16:02
This error happened because my test server had a self-signed SSL certificate. Simply load the test site once and accept the risk when warned. This will make the CORS call proceed normally.
Created by James on April 29, 2014 10:58:07    Last update: April 29, 2014 10:58:07
In selector, select all inputs with the " required " attribute: $('input [required] ') Determine if the current element is required: $(this).is(' [required] ')
Created by woolf on April 24, 2014 17:07:16    Last update: April 24, 2014 17:07:16
I didn't get networking to work with qemu. This note just records what I tried. $ /usr/local/bin/qemu-system-mipsel -kernel bin/ma... $ cat /usr/local/etc/qemu/bridge.conf allow vi... $ ifconfig virbr0 Link encap:Ethernet HWadd... Documentation:
Created by James on April 21, 2014 15:34:36    Last update: April 21, 2014 15:34:36
Rodney Rehm gave an example of how to add a val() method to a <div> : $.valHooks.div = { get: function(elem) { ... We can use the same method to override the val() function for a text input: <html> <head> <title>Test valHooks</title> ...
Created by James on April 21, 2014 15:17:45    Last update: April 21, 2014 15:17:45
The .prop() method gets or sets the property value of the first element in the matched set. The .attr() method does the same to an attribute . So what is an attribute and what is a property? Roughly speaking, an attribute is something you specify in the HTML markup. A property is a property of the element, but its initial value may be derived from the value of an attribute. For example, selectedIndex is a property of <select> that does not have a corresponding attribute in HTML markup. The <input> element can have a value attribute that specifies the initial value of a text input, but its value property reflects the current text entered into the text input. Setting the value property does not affect...
Created by Dr. Xi on April 16, 2014 16:26:36    Last update: April 16, 2014 16:26:36
Basically, you are requesting "Active" content via HTTP from a page served via HTTPS. And Firefox blocked it. What is "Active Content"? Examples are JavaScript, CSS, objects, xhr requests, iframes, and fonts. More info: Mixed Content Blocking Enabled in Firefox 23!
Created by Dr. Xi on April 16, 2014 16:15:27    Last update: April 16, 2014 16:15:27
Create a list, assign it to another variable. They both refer to the same object: >>> a = [ 1, 2, 3, 4 ] >>> b = a >>> a [1... List comprehension, assign value to a . Now a and b are different: >>> a = [ e for e in a if e > 2 ] >>> a [3, ... Splicing changes list in place, a and b refer to the same object after assignment: >>> a = b >>> a[:] = [ e for e in a if e > 2 ] ...
Previous  1 2 3 4 5 6 7 8 9 10 Next