Skip to content

Instantly share code, notes, and snippets.

Avatar

Dylan Vassallo dylanvee

View GitHub Profile
@dylanvee
dylanvee / gist:b85918f4e460669c987b
Created Jul 8, 2014
grep -E "^con" /usr/share/dict/words | sed -e "s/con/khan/"
View gist:b85918f4e460669c987b
khan
khanacaste
khanacre
khanal
khanalbumin
khanamed
khanarial
khanarium
khanation
khanational
@dylanvee
dylanvee / gist:3acc7b6414eb985d7e63
Created Jul 8, 2014
cat /usr/share/dict/words | grep -E "^in"
View gist:3acc7b6414eb985d7e63
in
inability
inabordable
inabstinence
inaccentuated
inaccentuation
inacceptable
inaccessibility
inaccessible
inaccessibleness
View publish_history.js
var limit = 500;
$.get("/api/v1/dev/publish_list/" + limit + "?casing=camel").done(function(response) {
var statuses = _.chain(response)
.map(function(status) {
return {
timestamp: parseISO8601(status.startTime),
successful: status.success
}
})
View gist:6783605
Coach Reports
Exercise filter
/api/v1/exercise_topics
Student Progress
/api/v1/user/students/progressbystudent
Exercise Progress
/api/v1/user/students/progress/summary
Grid
/api/v1/user/students/progressreport
Activity
@dylanvee
dylanvee / gist:6677019
Last active Dec 23, 2015
Restored skills, by tutorial
View gist:6677019
This list is taken from my dev datastore so it might be slightly out
of date compared to the live site, but it's a good approximation.
Exponent properties
simplifying_expressions_with_exponents
simplifying_rational_expressions_1
Factoring quadratics in two variables
factoring_polynomials_with_two_variables
Factoring simple expressions
factoring_linear_binomials
View gist:6597613
{
"translated_short_display_name": "",
"assessment_items": [],
"relative_url": "/exercise/multiplying_expressions_0.5",
"guaranteed_file_name": "multiplying_expressions_0.5.html",
"file_name": "multiplying_expressions_0.5.html",
"covers": [],
"creation_date": "2012-03-02T03:30:14Z",
"uses_assessment_items": false,
"ka_url": "http://www.khanacademy.org/exercise/multiplying_expressions_0.5",
View gist:6324492
// promises is an array of jqXHRs or what have you
var deferreds = _.map(promises, function(promise) {
var deferred = $.Deferred();
promise.then(
function() {
deferred.resolve(true);
},
function() {
deferred.resolve(false);
}
View gist:6050400
khan
khanacaste
khanacre
khanal
khanalbumin
khanamed
khanarial
khanarium
khanation
khanational
View gist:6049890
var teaser = _.chain(data.stories)
.pluck("teaser")
.filter(function(t) { return !!t.length; })
.shuffle()
.first()
.value();
View gist:6049889
var teaser = _.chain(data.stories)
.pluck("teaser")
.filter(function(t) { return t && t.length })
.shuffle()
.first()
.value();
You can’t perform that action at this time.