How to return a value with Meteor.call on client
Meteor.methods({ test: function() { if (this.isSimulation) { return 1; // Client wants this to be 1 } else { return […]
Meteor.methods({ test: function() { if (this.isSimulation) { return 1; // Client wants this to be 1 } else { return […]
Looking into creating a multi-tenant app with Meteor? Luckily you’re not alone and there are quite a few options available. […]
$.validator.setDefaults({ errorElement: “span”, errorClass: “help-block”, highlight: function (element, errorClass, validClass) { $(element).closest(‘.form-group’).addClass(‘has-error’); }, unhighlight: function (element, errorClass, validClass) { […]
Two good options when looking to make draggable tiles. Stackable grid elements. https://github.com/hootsuite/grid https://troolee.github.io/gridstack.js/
$(“#myModal”).modal({}).draggable(); Credits: https://stackoverflow.com/questions/12571922/make-bootstrap-twitter-dialog-modal-draggable#14981712
if (Meteor.is_server) { Meteor.methods({ fetchFromService: function(userName) { var url = “https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=”+userName+”&count=10”; //synchronous GET var result = Meteor.http.get(url, {timeout:30000}); if(result.statusCode==200) […]
Where do you place the API Key for TinyMCE? Well quite simply like this. <!DOCTYPE html> <html> <head> <script src=”//cloud.tinymce.com/stable/tinymce.min.js?apiKey=your_API_key”></script> […]
This is a great thing to have around. Beware, it will slow your system down a bit if you have […]
# install docker and prerequesists # https://docs.docker.com/engine/installation/linux/ubuntu/ Single Line apt-get install curl \ linux-image-extra-$(uname -r) \ linux-image-extra-virtual \ apt-transport-https […]
A new version of LibreOffice was released today. Big changes include the ability to run LibreOffice online in a docker […]
You must be logged in to post a comment.