Skip to content

Instantly share code, notes, and snippets.

View jfridye's full-sized avatar

Joseph Fridye jfridye

View GitHub Profile
<%block name="fb_js">
<script>
function mapped_route() {
var fb_url = '/me/${tl.facebook_app_namespace}:map?route=${request.build_absolute_uri()}';
FB.api(fb_url, 'post', function (response) {
if (!response || response.error) {
var msg = 'Error occured';
if (response.error) {
msg += "\n\nType: " + response.error.type + "\n\nMessage: " + response.error.message;
###############
## Android ##
###############
## MapMyFitness
<a href="https://play.google.com/store/apps/details?id=com.mapmyfitness.android2">
<img alt="Get it on Google Play" src="/images/brand/en_generic_rgb_wo_45.png" />
</a>
## MapMyWalk
Putting a testing notes on this commit!
citools panama-tests add-notes --unit
INFO: Fetching for repo: [email protected]:panama.git
INFO: git fetch -f origin refs/notes/*:refs/notes/*
CRITICAL:
error: Unable to append to .git/logs/refs/notes/commits: Permission denied
From git.mapmyfitness.com:panama
! c74c62a..90d3563 refs/notes/commits -> refs/notes/commits (unable to update local ref)
ERROR:root:"['git', 'fetch', '-f', 'origin', 'refs/notes/*:refs/notes/*'] returned exit status 1"
Traceback (most recent call last):
<script>
(function (window) {
var pageViewRollup=function(){var this_analytics_url=window.location.pathname,page;if(this_analytics_url.search(/\/routes\/view\//)>-1||this_analytics_url.search(/-route-[0-9]/)>-1){page="/routes/view/"}else{if(this_analytics_url.search(/\/routes\/fullscreen\//)>-1){page="/routes/fullscreen/"}else{if(this_analytics_url.search(/\/courses\/[0-9]/)>-1||this_analytics_url.search(/-course-[0-9]/)>-1){page="/courses/details/"}else{if(this_analytics_url.search(/\/courses\/create\//)>-1){page="/courses/create/"}else{if(this_analytics_url.search(/^\/profile\//)>-1){page="/profile/"}else{if(this_analytics_url.search(/\/events\/[0-9]/)>-1||this_analytics_url.search(/-event-[0-9]/)>-1){page="/events/details/"}else{if(this_analytics_url.search(/\/workout\/[0-9]/)>-1){page="/workout/details/"}else{if(this_analytics_url.search(/\/people\/groups\/[0-9]/)>-1||this_analytics_url.search(/-group-[0-9]/)>-1){page="/people/groups/details/"}else{page=null}}}}}}}}retu
<script>
(function (window) {
var pageViewRollup=function(){var this_analytics_url=window.location.pathname,page;if(this_analytics_url.search(/\/routes\/view\//)>-1||this_analytics_url.search(/-route-[0-9]/)>-1){page="/routes/view/"}else{if(this_analytics_url.search(/\/routes\/fullscreen\//)>-1){page="/routes/fullscreen/"}else{if(this_analytics_url.search(/\/courses\/[0-9]/)>-1||this_analytics_url.search(/-course-[0-9]/)>-1){page="/courses/details/"}else{if(this_analytics_url.search(/\/courses\/create\//)>-1){page="/courses/create/"}else{if(this_analytics_url.search(/^\/profile\//)>-1){page="/profile/"}else{if(this_analytics_url.search(/\/events\/[0-9]/)>-1||this_analytics_url.search(/-event-[0-9]/)>-1){page="/events/details/"}else{if(this_analytics_url.search(/\/workout\/[0-9]/)>-1){page="/workout/details/"}else{if(this_analytics_url.search(/\/people\/groups\/[0-9]/)>-1||this_analytics_url.search(/-group-[0-9]/)>-1){page="/people/groups/details/"}else{page=null}}}}}}}}retu
================================================================= ERRORS ==================================================================
___________________________ ERROR collecting mmf/workout/import_data/nikeplus/v1/tests/test_all_day_importer.py ___________________________
../../../python/env/prod_live/lib/python2.6/site-packages/py/_path/local.py:620: in pyimport
> __import__(modname)
../../../python/env/prod_live/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:113: in find_module
> os.mkdir(cache_dir)
E OSError: [Errno 5] Input/output error: '/usr/local/web/panama/prod/mmf/workout/import_data/nikeplus/v1/tests/__pycache__'
________________________________ ERROR collecting mmf/workout/import_data/nikeplus/v1/tests/test_tasks.py _________________________________
../../../python/env/prod_live/lib/python2.6/site-packages/py/_path/local.py:620: in pyimport
> __import__(modname)
2014-8-22 22:29:30:8 REQUEST [2014-8-22 22:29:30:8] POST /session/1/url {"url":"http://localhost:9000/__intern/client.html?suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fsocial%2Fcomment%2Fmodels.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fsocial%2Ffeed%2Fsocial.feed.utils.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fworkout%2Ftimeseries%2Fmodels%2Fcharts.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.commaSeparated.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.dateDiff.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.displayUnits.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.formatDuration.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.gearlocker.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.likeSummary.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.localizeMeasu
------------------------------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
------------------------------------------|-----------|-----------|-----------|-----------|
modules/ | 21.37 | 13.7 | 19.05 | 21.37 |
utils.js | 21.37 | 13.7 | 19.05 | 21.37 |
modules/app/workout/timeseries/models/ | 65.81 | 69.64 | 54.55 | 66.09 |
charts.js | 95.16 | 92.5 | 81.82 | 95.16 |
segments.js | 49.67 | 54.41 | 42.86 | 49.66 |
workouts.js | 100 | 100 | 100 | 100 |
zones.js | 100 | 100 | 100 | 100 |
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>panama-js_unit all builds</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/" rel="alternate"/><updated>2014-08-19T15:01:15Z</updated><author><name>Jenkins Server</name></author><id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id><entry><title>panama-js_unit #174-devint (broken since build #169-devint)</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/174/" rel="alternate"/><id>tag:hudson.dev.java.net,2014:panama-js_unit:2014-08-19_10-01-15</id><published>2014-08-19T15:01:15Z</published><updated>2014-08-19T15:01:15Z</updated></entry><entry><title>panama-js_unit #173-devint (broken since build #169-devint)</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/173/" rel="alternate"/><id>tag:hudson.dev.java.net,2014:panama-js_unit:2014-08-19_09-49-09</id><published>2014-08-19T14:49:09Z</published><updated>2014-08-19T14:49:09Z</upda
┌─────────────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Style Sheets │ 120 │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Size │ 932.1KB │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Data URI Size │ 220B │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Ratio of Data URI Size │ 0.0%