Skip to content

Instantly share code, notes, and snippets.

View MFQ's full-sized avatar
🎯
Focusing

Muhammad Fazil Qureshi MFQ

🎯
Focusing
View GitHub Profile
{Thu, 11 Dec 2014 00:00:00 PKT +05:00=>
{"activities"=>[],
"goals"=>
{"activeMinutes"=>30, "caloriesOut"=>2184, "distance"=>5, "steps"=>10000},
"summary"=>
{"activeScore"=>-1,
"activityCalories"=>267,
"caloriesBMR"=>1924,
"caloriesOut"=>2148,
"distances"=>
Meteor.startup(function() {
if (Locations.find().count() == 0) {
Locations.insert({ "name": "121MD", "url": "http://www.121md.net// ", "address": "5801 Oakbend Trail, Suite 260, Fort Worth, TX 76132" });
Locations.insert({ "name": "Access Direct Care", "url": "http://www.accessdirectcare.com/site/ ", "address": "2829 Glenwood Ave, Rockford, IL 61101" });
Locations.insert({ "name": "Access Healthcare", "url": "http://www.acchealth.com/ ", "address": "1031 W Williams St, Apex, NC 27502" });
Locations.insert({ "name": "Access Healthcare", "url": "http://www.letssimplify.com/ ", "address": "235 Calhoun Street, Charleston, SC 29401" });
Locations.insert({ "name": "Access Healthcare", "url": "http://www.letssimplify.com/ ", "address": "246 Mathis Ferry Rd., Suite 100, Mount Pleasant, SC 29464" });
Locations.insert({ "name": "Access MD", "url": "http://youraccessmd.com/ ", "address": "1153 East Gannon Drive, Festus, Missouri 63028" });
Locations.insert({ "name": "Access Medical Home", "
// var config = {
// github: {
// key: '6323c37841d2d7193257',
// secret: 'f23cd2725477e1b623c1ce7ac469b7786396bb15'
// },
// db: {
// name: 'd7unp5qf2gmj15',
// host: 'ec2-54-197-238-242.compute-1.amazonaws.com',
// port: '5432',
// user:'mmreglctjhugfw',
@MFQ
MFQ / gist:7661673
Created November 26, 2013 16:45
example of controller file
var UserModel = require("../model/user");
var Pet = require("../model/pet");
exports.index = function(req,res){
Pet.find(
{
'users' : {
$in:[req.user.id]
}