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
<head> | |
<title>dynamicui</title> | |
</head> | |
<body> | |
<h1>Welcome to Meteor!</h1> | |
{{> hello}} | |
</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
#!/usr/bin/env node | |
var exit = require('exit'); | |
var path = require('path'); | |
var jf = require('jsonfile') | |
var util = require('util') | |
var each = require('dir-each'); | |
var series = require('dir-each/series'); | |
var argv = require('minimist')(process.argv.slice(2)); | |
var files = []; |
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
Meteor.subscribe('posts', function(){ | |
Posts.find({path:{$exists:1}}).forEach(function(post){ | |
Router.route(post.path,{name:post.name,template: 'post'}); | |
}) | |
}); |
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
<template name="image"> | |
<img src="{{this.url}}"> | |
</template> |
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
<head> | |
<title>stackoverflow_26863799</title> | |
</head> | |
<body> | |
<h1>Welcome to Meteor!</h1> | |
{{> hello}} | |
</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
<?php | |
require_once('lib/vboxServiceWrappers.php'); | |
$username = 'test'; | |
$password = 'test'; | |
$location = 'http://IPADDRESSOFSERVER:18083'; | |
print '<pre>'; | |
$client = new soapclient('/var/www/phpvirtualbox-4.2-7/lib/vboxwebService-4.2.wsdl', array( | |
'features' => (SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS), | |
'cache_wsdl' => WSDL_CACHE_BOTH, |
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
if (Meteor.isClient) { | |
Template.hello.created = function() { | |
// this = Template Object | |
console.log("Template.hello.created"); | |
this.stub_method_result = 'not yet'; | |
}; | |
Template.hello.greeting = function () { | |
// this = Window Object | |
var v = Session.get("greeting"); |
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
<head> | |
<title>template_test</title> | |
</head> | |
<body> | |
{{> hello}} | |
{{> foo}} | |
{{> bar}} | |
{{> history}} | |
</body> |