If you are in trouble because after version 5.0 the filter components of the type datable are now sensitive case, … More
Author: camilamacedo86
Meteor JS : How to use aggregate function ?
To use this mongoDB functionality you need to call directly your mongoDB. So , use this to connect in the mongoDB : … More
Meteor JS : How to connect to remote/multiple databases ?
Example : var mydatabase = new MongoInternals.RemoteCollectionDriver(“”); MyCollection = new Mongo.Collection(“collection_name”, { _driver: mydatabase }); : Link for your mongo … More
Meteor Js : Calling a REST Service
In this example I will show how to call a REST service and parse this results to JSON format. Example: … More
Meteor Js : How to configure a cron call ?
Some times we need that the application can to call a function in a time interval , to do this … More
Meteor Js : How to do to send e-mail with a Mandrill account ?
First add the package : meteor add wylio:mandrill https://atmospherejs.com/wylio/mandrill When the application startup you need do this : Meteor.startup(function() { … More
Java + Javascript : How to take a user location by browser ?
In this example when the user clicks anywhere inside this form his location will be obtained by the javascript function. … More
Meteor Js : How to take the user location by browser ?
Often we need to get the user’s location through the browser. I implemented in my Meteor Js application to get … More
Java 8 : How to sort a collection with Streams?
For do this you can use : .stream().sorted(new Comparator<MyObject>() { @Override public int compare(MyObject o1, MyObject o2) { return o1.getId().compareTo(o2.getId()); … More
Java 8 : How to stop a foreach process when you are using Streams ?
For do this you can use : anyMatch(conditional) The anyMatch will make the interaction until take a conditional return equals … More