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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js"></script> | |
<script src="filtersPerf.js"></script> | |
</head> | |
<body ng-app="filtersPerf"> | |
<input ng-model="name"> {{name | logUppercase}} | |
</body> |
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 IE 7 ]> <html lang="en" class="ie7"> <![endif]--> | |
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]--> | |
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]--> |
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
<?php | |
/** | |
* An attempt to have PHP send shit to Node, so that it can emit to our connected JS clients | |
* | |
*/ | |
class nodeNotifier { | |
public $dataToSend = array(); | |
public $nodeServerPort = 8000; | |
public $broadcastNamespace; |
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
<?php | |
//set 3-second timeout | |
$opts = array('http'=>array( | |
"timeout" => 3 | |
)); | |
$context = stream_context_create($opts); | |
$latestRates = file_get_contents("http://somewhere.org/",false,$context); |
NewerOlder