Skip to content

Instantly share code, notes, and snippets.

View ento's full-sized avatar

ento

View GitHub Profile

KANON protocol for ACL injury/reconstructive surgey rehabilitation

Source: Supplementary Appendix for "Frobell RB, Roos EM, Roos HP, Ranstam J, Lohmander LS. A randomized trial of treatment for acute anterior cruciate ligament tears. N Engl J Med. 2010;363(4):331-42."

The protocol included four levels described by exercise examples and goals for range of motion, muscle function, and functional performance for the first 24 weeks of rehabilitation. Goals for each level should be met prior to progression to the next level. Time intervals for each level were suggested but not superior to the goals. A slower progression was expected in those assigned to rehabilitation plus ACL reconstruction. Pain, swelling and discomfort slowed the progression, and if persistent a visit to the treating clinician was scheduled. Use of anti- inflammatory drugs (NSAID) was allowed if needed.

Examples of exercises appropriate for each ph

@ento
ento / content.md
Last active August 29, 2015 13:56
mathjax on bl.ocks experiment

`(EE x in N)[x^3 = 27] `

@ento
ento / evaluation_rubric.md
Last active August 29, 2015 13:56
Evaluation rubric from Introduction to Mathematical Thinking (maththink-004)

An argument that does not address the stated result (or answer the given question) should be given 0 marks in all categories.


  • Logical correctness: 0/2/4
  • Clarity: 0/2/4
  • Opening: 0/2/4
  • Stating the conclusion: 0/2/4
  • Reasons: 0/2/4
  • Overall evaluation: 0/2/4
@ento
ento / 0_reuse_code.js
Created February 16, 2014 06:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var totalTime = $(".lesson-header")
.filter(function(i, each) {
return $(each).find(".pro-badge").length == 0;
})
.toArray()
.map(function(each) {
return $(each).find('.text-muted').text().match(/(\d+):(\d+)/);
})
.reduce(function(prev, curr) {
prev.minutes += parseInt(curr[1]);
@ento
ento / rauth_twitter_reverse_auth.py
Created December 26, 2013 02:35
Twitter reverse auth w/ rauth
# -*- coding: utf-8 -*-
import code
from rauth import OAuth1Service
from rauth import utils
# add x_auth_mode to optional oauth params
utils.OPTIONAL_OAUTH_PARAMS = utils.OPTIONAL_OAUTH_PARAMS + ('x_auth_mode',)
key = 'consumer key'
@ento
ento / fv-demo.txt
Created October 22, 2013 11:02
emacs evals useful for demonstrating FV: highlights lines beginning with a dot.
# Local Variables:
# eval: (hi-lock-mode 1);
# eval: (unhighlight-regexp "^.*\\(?:^\\.\\).*$");
# eval: (highlight-lines-matching-regexp "^\\." 'hi-yellow);
# eval: (text-scale-adjust 7);
# eval: (end-of-buffer);
# End:
-------------------------------
@ento
ento / gist:6727935
Created September 27, 2013 12:35
Remove ruby tag
sed -i 's/<ruby>\([^<]\+\)<rp>[^<]\+<\/rp><rt>[^<]\+<\/rt><rp>[^<]\+<\/rp><\/ruby>/\1/g' text/*.html
@ento
ento / test_serialization.py
Last active December 23, 2015 21:29
Test result serialization when CELERY_ALWAYS_EAGER = True
# -*- coding: utf-8 -*-
import cPickle as pickle
from nose.tools import *
from celery import Celery
celery = Celery()
celery.conf.CELERY_ALWAYS_EAGER = True
@ento
ento / gist:6696347
Created September 25, 2013 07:44
is_picklable(obj)
import cPickle as pickle
def pickle_recursively(obj, depth=0):
pad = ' ' * depth
if isinstance(obj, dict):
print pad, 'dict', obj.__class__
for k, v in obj.iteritems():
print pad, k
pickle_recursively(v, depth + 1)