This file contains 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
<? | |
// Boilerplate goes here | |
$_resource = new Placeholder(); | |
$_resource->entries_etc = new ResourceList(array('/apple/news/2011/05/apple-has-released-security-update.ars', '/science/news/2011/05/-science-is-also-backing.ars', '/software/news/2011/05/skype-has-released-an-updated.ars', '/tech-policy/news/2011/05/facebook-and-google-are-facing.ars', '/web/news/2011/05/google-released-a-new-flight.ars', '/apple/news/2011/05/ea-has-put-most-of.ars', '/science/news/2011/05/-ars-own-jonathan-gitlin.ars', '/microsoft/news/2011/05/microsoft-has-shipped-internet-explorer.ars', '/science/news/2011/05/-nasa-has-given-up.ars', '/tech-policy/news/2011/05/the-phantom-data-lawsuit-against.ars', '/tech-policy/news/2011/05/comcast-wont-adopt-usage-based-billing.ars', '/gadgets/news/2011/05/verizon-wireless-has-announced-that.ars', '/gadgets/news/2011/05/amazon-has-added-an-ad-supported.ars', '/apple/news/2011/05/macworld-has-a-neat-how-to.ars', '/apple/news/2011/05/samsung-has-been-ordered-to.ars', '/apple/news |
This file contains 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
<? | |
// Some boilerplate goes here, loading in all our classes and whatnot... | |
// If this looks hella janky to you, then you'd be justified in thinking so. But it works quite well. | |
// This file is auto-generated by MovableType, and as such doesn't look amazingly efficient, but that's | |
// why things sometimes get defined and then redefined immediately. | |
$_resource = new Entry(); | |
$_resource->related_urls = 'http://www.archive.org/download/gov.uscourts.cand.239768/gov.uscourts.cand.239768.56.0.pdf Motion to Compel Apple to Produce Reciprocal Expedited Discovery'; | |
$_resource->next = false; |
This file contains 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
<? | |
$GLOBALS['published_dir'] = getenv('ARS_PUBLISHED_DIR'); | |
if(!$GLOBALS['published_dir']){ | |
$GLOBALS['published_dir'] = '/var/www/published/'; | |
} | |
$GLOBALS['app_engine_dir'] = getenv('ARS_APP_ENGINE_DIR'); | |
if(!$GLOBALS['app_engine_dir']){ | |
$GLOBALS['app_engine_dir'] = '/var/www/published/app/'; |
This file contains 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
<? | |
$GLOBALS['published_dir'] = getenv('ARS_PUBLISHED_DIR'); | |
if(!$GLOBALS['published_dir']){ | |
$GLOBALS['published_dir'] = '/var/www/published/'; | |
} | |
$GLOBALS['app_engine_dir'] = getenv('ARS_APP_ENGINE_DIR'); | |
if(!$GLOBALS['app_engine_dir']){ | |
$GLOBALS['app_engine_dir'] = '/var/www/published/app/'; | |
} | |
require_once($GLOBALS['published_dir'] . 'includes_c/classes.inc.php'); |
This file contains 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
cpanm (App::cpanminus) 1.1008 on perl 5.010000 built for darwin-thread-multi-2level | |
Work directory is /Users/clintecker/.cpanm/work/1304377199.72165 | |
You have make /usr/bin/make | |
You have LWP 5.837 | |
You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2 | |
You have /usr/bin/unzip | |
Searching Data::Dumper on cpanmetadb ... | |
--> Working on Data::Dumper | |
Fetching http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Data-Dumper-2.128.tar.gz | |
-> OK |
This file contains 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
$.fn.extend | |
myplugin: (options) -> | |
self = $.fn.myplugin | |
opts = $.extend self.default_options, options | |
$(this).each (i, el) -> | |
self.init el, opts | |
self.log el if opts.log | |
$.extend $.fn.myplugin, | |
default_options: |
This file contains 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
/* | |
** Copyright (C) 2011 Apple Inc. | |
** All rights reserved. | |
*/ | |
function ItsDaScreenshotsController() {} | |
ItsDaScreenshotsController.prototype.domReady = function domReady() { | |
this.bindToElements("#screenshots") | |
}; | |
iTSKit.registerController(ItsDaScreenshotsController); |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
This file contains 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
x = navigator.userAgent | |
y = new RegExp('/safari/') | |
z = new RegExp('/firefox/') | |
switch x | |
when x.match(y) then safari() | |
when x.match(z) then firefox() | |
else usuck() |