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
| if ([[[UIDevice currentDevice] systemVersion] intValue] >= 5) { | |
| // do your ios5 goodness | |
| } | |
| else { | |
| // old, moldy hackiness here | |
| } |
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 href="http://elite.surfthepool.com/sweepstakes"> | |
| <img src="http://elite.surfthepool.com/sweeps-images/sweeps_small.jpg" /> | |
| </a> |
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 href="http://sterling.surfthepool.com/sweepstakes"> | |
| <img src="http://sterling.surfthepool.com/sweeps-images/sweeps_small.jpg" /> | |
| </a> |
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 href="http://sterling.surfthepool.com/sweepstakes"> | |
| <img src="http://sterling.surfthepool.com/sweeps-images/sweeps_large.jpg" /> | |
| </a> |
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 href="http://elite.surfthepool.com/sweepstakes"> | |
| <img src="http://elite.surfthepool.com/sweeps-images/sweeps_large.jpg" /> | |
| </a> |
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 href="http://www.pacificpools.com/sweepstakes"> | |
| <img src="http://www.pacificpools.com/sweeps-images/sweeps_large.jpg" /> | |
| </a> |
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 href="http://www.pacificpools.com/sweepstakes"> | |
| <img src="http://www.pacificpools.com/sweeps-images/sweeps_small.jpg" /> | |
| </a> |
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
| function selectText() { | |
| if (window.getSelection() != "") { | |
| var selection = window.getSelection(); | |
| var range = selection.getRangeAt(0); | |
| var newNode = document.createElement("pre"); | |
| newNode.appendChild(document.createTextNode(selection)); | |
| newNode.id = "selectedText"; | |
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
| grid = [[False, False, False, False], | |
| [False,False,False, False], | |
| [False,False,False, False], | |
| [False, False, False, False]] | |
| def pushButton(ele1, ele2): | |
| global grid | |
| grid[ele1][ele2] = not grid[ele1][ele2] | |
| if (ele1 != 0): |
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
| test |