Month: November 2005
-
Using JavaScript to dynamically add CSS
-
How to insert a block of javascript code to a html page…
Issue: innerHTML simply writes HTML as a string; it doesn’t call the javascript interpreter to parse and execute any scripts that are part of the string Reference: http://www.webmasterworld.com/forum91/2912.htm Solution: manually find these scripts inside the text string and append them to the document $vPat = new RegExp(‘’,’g’); RegExp.lastIndex = 0; // making sure while (($vResult=$vPat.exec($vTxt))!=null)…
-
/bin/rm: Argument list too long.
Instead: “find . -name ‘abc*’ | xargs rm”
-
Turnitin.com
Pretty cool technology but probably only good at catching those that stupidly enough to copy the whole paper.