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
#!/bin/sh | |
curl http://storage.googleapis.com/dart-archive/channels/dev/release/latest/editor/darteditor-macos-x64.zip > ~/Downloads/darteditor-macos-64-dev.zip; | |
echo Fetched new dart version $(unzip -p ~/Downloads/darteditor-macos-64-dev.zip dart/dart-sdk/version) | |
rm -rf /Applications/dart-dev ; | |
unzip ~/Downloads/darteditor-macos-64-dev.zip -d /tmp > /dev/null | |
mv /tmp/dart /Applications/dart-dev | |
curl http://storage.googleapis.com/dart-archive/channels/stable/release/latest/editor/darteditor-macos-x64.zip > ~/Downloads/darteditor-macos-64.zip; | |
echo Fetched new dart version $(unzip -p ~/Downloads/darteditor-macos-64.zip dart/dart-sdk/version) | |
rm -rf /Applications/dart ; |
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 xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" | |
src="http://angularjs.org/ng/js/angular-debug.js" ng:autobind></script> | |
<script type="text/javascript"> | |
var list = [{timestamp:new Date()}, {timestamp:new Date(1234567890)}, {timestamp:new Date(5678901234)}]; | |
</script> | |
</head> | |
<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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" src="http://angularjs.org/ng/js/angular-debug.js" ng:autobind></script> | |
<script> | |
function Texts(){ | |
this.items = []; | |
} | |
Texts.prototype.addText = function(){ |
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 xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" src="http://angularjs.org/ng/js/angular-debug.js" ng:autobind></script> | |
<script> | |
function Texts() { | |
this.items = []; | |
this.savedItems = []; | |
} |
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
<html> | |
<head> | |
<script type="text/javascript" src="http://angularjs.org/ng/js/ | |
angular-debug.js" ng:autobind></script> | |
</script> | |
<script> | |
function Ctrl () | |
{ | |
this.master_1 = | |
{ |
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> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" src="http://angularjs.org/ng/js/angular-minified.js" ng:autobind> | |
</script> | |
<script type="text/javascript"> | |
DATA = angular.fromJson('{date:"2010-10-13T10:20:30Z"}'); | |
</script> | |
</head> | |
<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
<!DOCTYPE HTML> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" | |
src="http://code.angularjs.org/angular-0.9.0.js" ng:autobind></script> | |
</head> | |
<body> | |
<script> | |
function FetchCtrl() { } | |
FetchCtrl.prototype = |
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> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" type="text/javascript" ></script> | |
<script src="http://code.angularjs.org/angular-0.9.2.js" type="text/javascript" ng:autobind></script> | |
<script type="text/javascript"> | |
function MyController(){ | |
this.list_o_lists = [ ['e1', 'e2' ] , ['e3','e4','e5'] ]; | |
this.$watch('$location.hashPath', this.userChange); |
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> | |
<html xmlns:ng="http://angularjs.org"> | |
<script type="text/javascript" ng:autobind | |
src="http://code.angularjs.org/angular-0.9.2.min.js"></script> | |
<body> | |
<script> | |
angular.widget('my:time', function(compileElement /* i am a subset of jquery http://angularjs.org/Angular.element() */){ | |
compileElement.css('display', 'block'); | |
return function(linkElement /* i am a subset of jquery http://angularjs.org/Angular.element() */){ | |
var div = angular.element('<div>Current time is: </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
#include <v8.h> | |
#include <pHash.h> | |
using namespace v8; | |
extern "C" void | |
init (Handle<Object> target) | |
{ | |
HandleScope scope; |
OlderNewer