Skip to content

Instantly share code, notes, and snippets.

View jfridye's full-sized avatar

Joseph Fridye jfridye

View GitHub Profile
<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
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):
###############
## 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
<%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;
{
"result": {
"status": 1,
"output": {
"geocode": {
"raw": {
"latitude": "37.09024",
"longitude": "-95.712891",
"address": "",
"city": "",
{
"result": {
"status": 1,
"output": {
"geocode": {
"raw": {
"latitude": "37.09024",
"longitude": "-95.712891",
"address": "",
"city": "",
==================================================================================== FAILURES =====================================================================================
_____________________________________________________________________ TestGeoIPMiddleware.test_debug_override _____________________________________________________________________
args = (<test_geoip_middleware.TestGeoIPMiddleware testMethod=test_debug_override>,), kwargs = {}
@wraps(test_func)
def inner(*args, **kwargs):
with self:
> return test_func(*args, **kwargs)
@jfridye
jfridye / gist:3db6ce36649bd1d0f981
Created March 18, 2015 13:31
front-end technologies
linting:
- eslint
dep mgmt:
- npm
- bower
automation:
- webpack/browserify module loader
- gulp and/or npm scripts (automation)
- ES6/babel.js (forward-facing js)
css:
@jfridye
jfridye / mmf css stats
Last active August 29, 2015 14:17
css stats
{
"total-stylesheets": 75,
"total-stylesheet-size": 738504,
"total-rules": 6391,
"total-selectors": 9784,
"total-identifiers": 24217,
"total-declarations": 19636,
"selectors-per-rule": 1.5309028321076514,
"identifiers-per-selector": 2.475163532297629,
"specificity-per-selector": 43.80488552739166,