Skip to content

Instantly share code, notes, and snippets.

View kevee's full-sized avatar

Kevin Miller kevee

View GitHub Profile
@kevee
kevee / gist:7866693
Created December 9, 2013 02:44
Alt text for tweet!
bash-3.2$ sudo npm cache clean -f
npm WARN using --force I sure hope you know what you are doing.
@kevee
kevee / csumb-cd-curriculum.md
Last active December 31, 2015 07:39
A better curriculum for Communication Design at Cal State Monterey Bay

The following is an alternate curriculum for Communication Design majors, informed by my team-teaching CST 251 last semester and continuing contact with the students from that course. I have been working professionally in web development since 1997, and have many contacts in professional web development and design firms, and have asked others to review and give feedback on this curriculum before sharing it.

There are two things missing from this curriculum that most CSUMB majors have: major proseminar and concentrations/emphasis. Major proseminars are unneeded apologetics for a terribly designed curriculum. Concentrations are flimsy structures that are at best FTE padding for a department, and at worst the underpinnings of one or two faculty creating a fealty of students. Concentrations dilute course offerings, bloat major units, increase time to graduation, and fracture the already small community of students in a major. Concentrations don't go on your diploma. No one cares about concentrations. Emphasi

@kevee
kevee / build-quail.sh
Created January 21, 2014 01:31
Building quail
git clone https://github.com/kevee/quail.git
cd quail
git checkout quail
npm install
grunt build
@kevee
kevee / move.php
Created January 23, 2014 17:18
PHP code for moving quail tests around
<?php
$json = json_decode(file_get_contents('dist/tests.json'));
$new = array();
$order = array(
'type', 'testability', 'title', 'description', 'guidelines', 'tags', 'components', 'strings', 'callback');
$no = array();
$arg = array();
foreach($json as $testname => $test) {
$n = array();
@kevee
kevee / scriptFocusIndicatorVisible.html
Last active August 29, 2015 13:56
Sample test file for scriptFocusIndicatorVisible
<!doctype html>
<html>
<head>
<title>scriptFocusIndicatorVisible</title>
<style>
#test-1 .has-focus {
border: 3px solid green;
}
#test-2 a, #test-1 input {
@kevee
kevee / gist:9211862
Created February 25, 2014 16:04
Alt text for a tweet
Google docs renames anonymous users to animals, in this picture there's Jesse surrounded by a dinosaur, a chupacabra, and a badger.
@kevee
kevee / findContent.js
Created March 27, 2014 00:17
Auto-finding the content area of a page - adapted from readability
getElement : function($) {
var contentNode = false;
var $topScore = $('body');
$('p').each(function() {
var $parent = $(this).parent();
var element = $parent.get(0);
var contentScore = $parent.data('content-score') || 0;
if(!$parent.data('content-score')) {
contentScore = $parent.find('p').length;
@kevee
kevee / redirects.json
Created July 14, 2014 15:14
CSUMB Redirects
{
"*": "csumb.edu",
"help.csumb.edu": "it.csumb.edu/information-technology/support",
"alerts.csumb.edu": "csumbalerts.tumblr.com",
"evaluations.csumb.edu": "cat.csumb.edu/course-evaluations",
"r25.csumb.edu": "webviewer.collegenet.com/wv3_servlet/csumb",
"textbooks.csumb.edu": "cat.csumb.edu/textbooks",
"ottermedia.net": "tat.csumb.edu/ottermedia",
"home.csumb.edu": "it.csumb.edu/home-server-offline",
"farm.csumb.edu": "caff.org/programs/farm-2-school",
console.log('testing')
@kevee
kevee / Description
Created February 6, 2015 18:06
IT Alerts
At CSUMB IT, we monitor everything from cables to websites so you can get your work done and keep studying.<br/>
<a href="http://stats.pingdom.com/qlrv6qw8nsqx">Campus websites status</a> |
<a href="http://status.getpantheon.com/">CSUMB.EDU status</a> |
<a href="http://www.google.com/appsstatus#hl=en&v=status">Google Apps status</a>