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
| template: | |
| <template name="tootePohine"> | |
| <p>Hello World</p> | |
| </template> | |
| router: | |
| Router.map(function () { | |
| this.route('', { |
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
| { | |
| // Server authentication info | |
| "servers": [ | |
| { | |
| "host": "95.85.22.***", | |
| "username": "root", | |
| "password": "***" | |
| // or pem file (ssh based authentication) | |
| //"pem": "~/.ssh/id_rsa" | |
| } |
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
| GNU nano 2.2.6 File: mongod.conf | |
| CONF=/etc/mongod.conf | |
| DAEMON=/usr/bin/mongod | |
| DAEMONUSER=${DAEMONUSER:-mongodb} | |
| if [ -f /etc/default/mongod ]; then . /etc/default/mongod; fi | |
| # Handle NUMA access to CPUs (SERVER-3574) | |
| # This verifies the existence of numactl as well as testing that the command works |
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
| CSS: | |
| @import url(http://fonts.googleapis.com/css?family=Quicksand); | |
| .en .container { | |
| background: #f2f2f2; | |
| size: 100%; | |
| } |
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
| CSS: | |
| @import url(http://fonts.googleapis.com/css?family=Quicksand); | |
| .en .container { | |
| background: #f2f2f2; | |
| size: 100%; | |
| } |
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
| Products = new Mongo.Collection("products"); | |
| productList = [{label: "first item", value: 1}, | |
| {label: "second item", value: 2}]; | |
| Products.attachSchema(new SimpleSchema({ | |
| Toote_nimetus: { | |
| type: String, | |
| autoform: { | |
| type: "selectize", |
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
| Template.productList.rendered = function () { | |
| $('#clock').countdown("2020/10/10", function(event) { | |
| var totalHours = event.offset.totalDays * 24 + event.offset.hours; | |
| $(this).html(event.strftime(totalHours + ' hr %M min %S sec')); | |
| }) | |
| }; |
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
| meetodiTest: { | |
| type: String, | |
| autoform: { | |
| type: "method", | |
| meteormethod: "testingMeetod" | |
| } | |
| } | |
| })); |
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
| Template.insertProduct.events({ | |
| 'submit form': function(event){ | |
| event.preventDefault(); | |
| Products.insert({ | |
| name: "randomstring", | |
| score: "tere" | |
| }); | |
| Meteor.call('activateCountDown'); | |
| } | |
| }); |
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
| <template name="insertProduct"> | |
| {{#autoForm collection="Products" id="insertProduct" type="insert" }} | |
| <fieldset> | |
| <legend>Lisa midagi</legend> | |
| {{> afQuickField name="tooteNimetus"}} | |
| {{> afQuickField name="partii"}} | |
| {{> afQuickField name="trummel"}} | |
| {{> afQuickField name="tootmistellimus"}} |
OlderNewer