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
var UserModel = require("../model/user"); | |
var Pet = require("../model/pet"); | |
exports.index = function(req,res){ | |
Pet.find( | |
{ | |
'users' : { | |
$in:[req.user.id] | |
} |
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
// var config = { | |
// github: { | |
// key: '6323c37841d2d7193257', | |
// secret: 'f23cd2725477e1b623c1ce7ac469b7786396bb15' | |
// }, | |
// db: { | |
// name: 'd7unp5qf2gmj15', | |
// host: 'ec2-54-197-238-242.compute-1.amazonaws.com', | |
// port: '5432', | |
// user:'mmreglctjhugfw', |
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
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", " |
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
{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"=> |
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
HTTP/1.1 200 OK | |
Content-Language: | |
en | |
Cache-control: | |
no-cache, must-revalidate | |
Fitbit-Rate-Limit-Limit: | |
150 | |
Content-Length: | |
618 | |
Expires: |
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
country_league_bowlers GET /countries/:country_id/leagues/:league_id/bowlers(.:format) bowlers#index | |
country_league_bowler GET /countries/:country_id/leagues/:league_id/bowlers/:id(.:format) bowlers#show | |
country_league_batsmen GET /countries/:country_id/leagues/:league_id/batsmen(.:format) batsmen#index | |
country_league_batsman GET /countries/:country_id/leagues/:league_id/batsmen/:id(.:format) batsmen#show | |
country_leagues GET /countries/:country_id/leagues(.:format) leagues#index | |
country_league GET /countries/:country_id/leagues/:id(.:format) leagues#show | |
countries GET /countries(.:format) countries#index | |
country GET /countries/:id(.:format) countries#show |
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="mobileLayout"> | |
{{#ionBody}} | |
{{#ionSideMenuContainer side="left" }} | |
{{#ionSideMenus}} | |
{{#ionSideMenu}} | |
<div class="bar bar-header bar-dark"> | |
<h1 class="title">iRotation</h1> |
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
App.info({ | |
name: 'Todos', | |
description: 'A simple todo list app built in Meteor.', | |
author: 'Percolate Studio Team', | |
email: '[email protected]', | |
website: 'http://percolatestudio.com', | |
version: '0.0.1' | |
}); | |
App.icons({ |
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
/*! | |
* Bootstrap v3.2.0 (http://getbootstrap.com) | |
* Copyright 2011-2014 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ |
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
<Invitation:0x00000009851228 | |
id: 65, | |
email: "[email protected]", | |
group_public_key_encrypted: "", | |
organization_id: 27, | |
group_id: nil, | |
inviter_id: 10, | |
created_at: Fri, 08 Jan 2016 13:39:55 UTC +00:00, | |
updated_at: Fri, 08 Jan 2016 13:39:55 UTC +00:00, | |
is_a_new_user: false, |
OlderNewer