Skip to content

Instantly share code, notes, and snippets.

View jasonblanchard's full-sized avatar

Jason jasonblanchard

View GitHub Profile
Benson, A. D., & Whitworth, A. (2007). Technology at the planning table: Activity theory, negotiation and course management systems. Journal of Organisation Transformation & Social Change, 4(1), 75–92. doi:10.1386/jots.4.1.75_1
@jasonblanchard
jasonblanchard / gist:4656504
Last active December 11, 2015 20:38
Horizon Report Quote
"These forms of scholarly corroboration are not yet well understood by mainstream
faculty and academic decision makers, creating a gap between what is possible and what is acceptable."
@jasonblanchard
jasonblanchard / gist:5040071
Last active December 14, 2015 06:09
I need a function that will take a number of outer circles and the x, y coordinates of the inner circle and returns x, y values for each outer circle such that they will be evenly spaced around the inner circle. Something like this:
function placeCircles(inner-circle-x, inner-circle-y, number-of-outter-outter-circles) {
/* Some math-ey stuff */
/* The math-ey stuff returns an array of arrays with x, y coordinates for each outer circle */
}
placeCircles(50, 50, 5) // Returns [ [50, 10], [75, 35], [75, 75], [35, 75], [35, 35] ] (or something)
x = 180; // x coordinate of inner circle
y = 30; // y coordinate of inner circle
r = 30; // distance from the center circle
n = 5; // number of outter circles
for (i = 1; i <= n; i++) {
x1 = r * Math.cos((i * 2 * Math.PI)/n) + x;
y1 = r * Math.sin((i * 2 * Math.PI)/n) + y;
@jasonblanchard
jasonblanchard / show page step definition
Created April 25, 2013 19:56
Great step definition for debugging Cucumber tests. Put it anywhere in the steps to see what Capybara is looking at.
Then(/^show page$/) do
puts page.body
end
a = ['one','two','three']
b = [1,2,3]
Hash[a.zip(b)] # => {"one"=>1, "two"=>2, "three"=>3}
@jasonblanchard
jasonblanchard / gist:5716932
Created June 5, 2013 20:15
Geeks and Non-Geeks: From Contraxioms to Collaboration in Higher Education [comment]

[Comment on this article http://www.educause.edu/ero/article/geeks-and-non-geeks-contraxioms-collaboration-higher-education]

This article is great! "Contraxiom" - I love this concept.

I would add another complicated, perhaps even paradoxical incompatibility in the worldview of "geeks" and "non-geeks:"

As a tech expert, I view technology as fundamentally flexible and malleable around my needs and desires. With this mindset, I often think about my end goals and fit (or design) technology into those goals. This is likely because I naturally have a wider vocabulary about what's out there and how everything works.

On the other hand, the non-technical colleagues I work with who may be less comfortable with technology and who have a narrower perspective of this stuff, view technology as a rigid, opinionated monster. They see technology as something they need to fit into, changing their ways of being and teaching to fit new processes and form factors.

@jasonblanchard
jasonblanchard / gist:6067429
Last active December 20, 2015 03:59
Dependency Injection
class Animal
def initialize
@sound = "Crickets, crickets..."
end
def make_noise
puts @sound
end
end
//= require jquery
//= require jquery.ui.effect.all
//= require jquery_ujs
//= require foundation
//= require turbolinks
//= require_tree .
$(document).foundation();
$(document).on('click.ideaEvents', 'a.new-idea', function() {
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--webapis/ui/web/500.jsp-->
<html lang="en-US-k12">
<head>
<title>Blackboard Learn</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<meta id="request-method" name="request-method" content="POST">
<meta name="author" content="Blackboard">