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
<?php | |
namespace bar { | |
class bum {} | |
} |
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
<?php | |
spl_autoload_register(function ($class) { | |
if (substr($class, 0, 11) != 'MyFramework') { | |
return; | |
} | |
$directory = dirname(__FILE__).DIRECTORY_SEPARATOR.'Classes'.DIRECTORY_SEPARATOR; | |
$file = str_replace(array('_', '\\'), DIRECTORY_SEPARATOR, $class).'.php'; | |
if (!file_exists($directory.$file)) { |
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
<?php | |
namespace MyModule; | |
spl_autoload_register(function ($class) { | |
$staticNamespaceLength = strlen(__NAMESPACE__); | |
if (substr($class, 0, $staticNamespaceLength) != __NAMESPACE__) { | |
return; | |
} |
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
@protocol JPImagePicker : UIViewController | |
UINavigationController *navigationController; | |
id <JPImagePickerDelegate> delegate; | |
id <JPImagePickerDataSource> dataSource; | |
@end | |
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> | |
<style type="text/css" media="screen"> | |
#foo { -webkit-transform: rotateY(-45deg); -webkit-perspective: 771; display:table-cell; } | |
</style> | |
<div id="foo">Thanks</div> |
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
*** connecting…*** requesting: index | |
Array | |
( | |
[Location] => http://www.apple.com | |
[Content-Type] => text/html | |
[Cache-Control] => private | |
[Connection] => close | |
) | |
*** requesting: index | |
Array |
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> | |
<script type="text/javascript" charset="utf-8"> | |
window.onload = function() { | |
var baz = function(event){ | |
window.open(this.href,"_blank"); | |
event.preventDefault(); | |
} | |
document.getElementsByTagName("a")[0].addEventListener("click",baz,true); | |
} |
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> | |
<style type="text/css" media="screen"> | |
.columnContainer { width: 100%; background: #00f; position: relative; float: left; } | |
.columnRight, .columnLeft { width: 48%; background: #f00; position: absolute; top: 0px; bottom: 0px;} | |
.columnLeft { left: 0px; } | |
.columnRight { right: 0px; } | |
</style> | |
<body> |
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
Vergleiche mit git+ssh://[email protected]/tobiastom/Frugal.colloquyStyle.git | |
** Unbekannter Fehler, Details folgen | |
** report bug details to http://mercurial.selenic.com/bts/ | |
** oder [email protected] melden | |
** Mercurial Distributed SCM (version 1.3.1) | |
** Erweiterungen geladen: bookmarks, hggit | |
Traceback (most recent call last): | |
File "/usr/local/bin/hg", line 27, in <module> | |
mercurial.dispatch.run() | |
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16, in run |
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
Index: tests/suite.php | |
=================================================================== | |
--- tests/suite.php (revision 1549) | |
+++ tests/suite.php (working copy) | |
@@ -31,6 +31,7 @@ | |
require 'svn_cli_suite.php'; | |
require 'svn_ext_suite.php'; | |
require 'git_cli_suite.php'; | |
+require 'hg_cli_suite.php'; | |
require 'cvs_cli_suite.php'; |