This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Array.prototype.contains = function(item) { | |
| return this.indexOf(item) != -1; | |
| }; | |
| var a = ['foo', 'bar', 'baz']; | |
| alert(a.contains('bar')); | |
| // Handy but arguably not always a good idea... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- A recently discovered virtual-floater! --> | |
| <!-- ..for when a 301 is too obvious. --> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| </head> | |
| <frameset rows="100%,*" cols="100%" border="0" framespacing="0"> | |
| <frame src="http://targetdomain.com" frameborder="NO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class='tt-calendar'> | |
| <span class="vevent"> | |
| <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a> | |
| <span class="summary">Web 2.0 Conference</span>: | |
| <span class="dtstart"> | |
| <abbr class="value" title="2010-06-24">this Tuesday</abbr> at | |
| <span class="value">18:30</span> | |
| </span> | |
| <span class="dtend"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id='server-UTC'>YYYY-MM-DDThh:mm</div> | |
| <ul class="tt-gadget tt-clock-gadget-[DISPLAY TYPE]"> | |
| <li class="tt-date-time"> | |
| <span class="tt-location"><a href="/link-to-office-location">UK</a></span> <!-- Label --> | |
| <span class="tt-time-span">0</span> <!-- Offset to UTC in hours --> | |
| </li> | |
| ... | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %3Cp%3Ebar%3C%2Fp%3E |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| weee |