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
<SCRIPT LANGUAGE="JavaScript"> | |
<!-- | |
//////////////// Rollover code ////////////////////// | |
function MM_findObj(n, d) { //v3.0 | |
var p,i,x; | |
if (!d) d = document; | |
if ((p = n.indexOf("?")) >0&&parent.frames.length) { | |
d = parent.frames[n.substring(p + 1)].document; | |
n = n.substring(0, p); |
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
RT363 | |
Matt Hackett | |
TEAMOCIL | |
MAN | |
Honey (coughing)! Honey, I think I'm dying. | |
WOMAN |
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
{ | |
"name": "Alfredo Pizza Crisps", | |
"ingredients": [{ | |
"name": "mozzarella cheese", | |
"amount": 1, | |
"substitutes": null | |
}, { | |
"name": "fresh basil", | |
"amount": 1, | |
"substitutes": null |
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
var things = [ | |
'a', | |
'b', | |
'c' | |
]; | |
for (var i = 0, thing; thing = things[i]; ++i) { | |
console.log(i, thing); | |
} |
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
MBP 15.4/CTO | |
• PROCESSOR: 2.2GHz Quad-core Intel Core i7 | |
• MEMORY: 8GB 1333MHz DDR3 SDRAM - 2x4GB | |
• HARD DRIVE: 256GB Solid State Drive | |
• OPTICAL DRIVE: 8x Double-Layer SuperDrive | |
• DISPLAY: 15"HR Antiglare WS Display |
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
// BEFORE: | |
#import "WebViewExampleAppDelegate.h" | |
@implementation WebViewExampleAppDelegate | |
@synthesize window; | |
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { | |
// Insert code here to initialize your application |
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
// BEFORE: | |
#import <Cocoa/Cocoa.h> | |
@interface WebViewExampleAppDelegate : NSObject <NSApplicationDelegate> { | |
NSWindow *window; | |
} | |
@property (assign) IBOutlet NSWindow *window; |
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
<style> | |
li { | |
border-bottom: 1px solid #fff; | |
} | |
li img { | |
float: left; | |
margin-right: 1em; | |
} | |
li strong { | |
display: block; |
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 (navigator.plugins["Shockwave Flash"] === undefined) { | |
// No flash, could do like | |
location.href = "index_no_flash.html"; | |
} else { | |
// Flash is a go! | |
} |
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
/* | |
Note: you could instead use "new Audio()" here, | |
but the client will throw an error if it doesn't support Audio, | |
which makes using "document.createElement" a safer approach. | |
*/ | |
var audio = document.createElement('audio'); | |
if (audio && audio.canPlayType) { | |
if (!audio.canPlayType('audio/mpeg;')) { | |
// Here you know you CANNOT use .mp3 files |