Recent Notes

Displaying notes 1 - 10
Created by voodoo on September 01, 2014 12:51:42    Last update: September 01, 2014 12:51:42
Use the shortcut Ctrl + Shift + Delete to bring up the Clear Browsing Data dialogue.
Created by Jenny on August 20, 2014 13:55:27    Last update: August 20, 2014 13:55:27
XML offers a great deal more sophisticated facilities in the manner content is displayed in web browsers not to mention fantastic innovations in performance particularly with regards to dynamic content. The reason behind this comes from compression powers, XML is structured really well which makes it quite simple to compress, this level of order and structure isn't found in ordinary text and so XML delivers a swifter browsing experience. In addition to the good points already stated, its also correct to mention some of the weaknesses of XML, which while not significant, its imperative that you point out for sake of completeness. The obvious and well known of these weaknesses is the fact XML might be rather large and verbose from a programming point of...
Created by voodoo on August 13, 2014 22:17:56    Last update: August 13, 2014 22:17:56
Actually install-sh existed in the current directory but the execute bit was not on. Alternatively, this command should bring back any missing install-sh : autoreconf -f -i -Wall,no-obsolete
Created by James on August 08, 2014 12:17:50    Last update: August 08, 2014 12:17:50
Simple answer: use $(elem).css('margin-top') , $(elem).css('padding-left') , etc., don't use $(elem).css('margin') or $(elem).css('padding') , they return empty strings. Example: // set margin to 8px $('#test-div').css('margin...
Created by James on August 06, 2014 16:11:23    Last update: August 06, 2014 16:11:23
Select all <li> that are descendants (children, grand children etc.) of <ul> : ul li { margin: 0 0 5px 0; } Select all <li> that are direct children of <ul> : ul > li { margin: 0 0 5px 0; } Select all <p> that immediately follow another <p> : p + p { font-size: smaller; } Select a <ul> that immediately follows an element with id " title ": #title + ul { margin-top: 0; } Select all <p> that follow another </p> , not necessarily immediate sibling: p ~ p { font-size: smaller; }
Created by James on August 05, 2014 13:35:05    Last update: August 05, 2014 13:36:15
This demo page shows how to fade text in the end of an abstract with a "Learn more..." link to the full text. This technique could be helpful when you want to display an RSS feed abstract in a fixed height element and provide a link to the full-length article at the bottom. <html> <head> <title>Learn More</title> <...
Created by Jenny on July 29, 2014 10:35:51    Last update: July 29, 2014 10:35:51
For working with xml files use a good xml tool like an xml editor .
Created by James on July 29, 2014 10:09:55    Last update: July 29, 2014 10:09:55
To sort a selected list of divs by vertical position: $('div.container').sort(function(a, b) { return $(...
Created by woolf on June 29, 2014 17:55:44    Last update: June 29, 2014 17:55:44
This is the command: $ git remote show origin
Created by James on June 17, 2014 16:27:29    Last update: June 17, 2014 16:27:29
With built-in Array.concat : // initialize a1 a1 = [1, 2, 3] // i... With jQuery merge : // initialize a1 a1 = [1, 2, 3] // i...
Previous  1 2 3 4 5 6 7 8 9 10 Next