Skip to content

Instantly share code, notes, and snippets.

View jrjohnson's full-sized avatar
🐶
probably reading something

Jon Johnson jrjohnson

🐶
probably reading something
View GitHub Profile
@jrjohnson
jrjohnson / decoupled-emberjs-lightning.md
Last active October 19, 2017 22:43
Decoupled Apps with Ember.JS (A lightning talk)

Decoupled Apps with Ember.JS (A lightning talk)

Hi! I'm Jon

  • Work on the Ilios Project at UCSF
  • Built the Symfony Ember.js Edition bundle (bad abstraction, don't use it)
  • Occasional Contributor to Symfony Projects
  • Open Source Fanatic
@jrjohnson
jrjohnson / sharecase2017.md
Created September 21, 2017 17:39
Sharecase 2017 LTI Talk

In July a brand new Learning Tools Interoperability (LTI) tool was rolled out to connect students using the Collaborative Learning Environment (CLE) to their class schedules in Ilios. Leveraging the LTI standard, Amazon's Lambda serverless architecture, UCSF Enterprise Directory Service (EDS), and the Ilios REST API this integration was rolled out quickly with mission critical reliability and scalability. Come and see how we brought together these services to address a long standing student issue.

@jrjohnson
jrjohnson / shared-work-spaces.md
Last active September 19, 2017 21:32
shared work spaces

Library 1st floor space

Misc needs:

  • Storage for eqiptment (projector, phones, rolling display) - possibly the interior hall space
  • Rolling Monitor stand to move between rooms when a display is needed in 114 or a second display is needed in another room.

114

  • Magnetic whiteboards on all open walls in 114
  • Storage for phone, markers
  • Motion sensing Lights
@jrjohnson
jrjohnson / extractor_for_php.html
Created March 5, 2015 21:50
extractor_for_php.html
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
</head>
<script type='text/javascript'>
function download(filename, text) {
var div = $('<pre>');
div.append(text);
@jrjohnson
jrjohnson / generate_migration.php
Last active August 29, 2015 14:15
Generate SQL to Migrate Ilios from v2.4.8 to v3
<?php
//its in a class because I already had the code that way and I din't feel like extracting it.
$migration = new Migrate();
$migration->printQueries();
class Migrate
{
public function printQueries()
{
@jrjohnson
jrjohnson / iliosbackendfeature.md
Created November 24, 2014 17:58
Ilios Backend Features

List of existing backend features

The purpose of this list is to ensure that new features are created in Ilios 3.

Schema Maintenance

  • Install
  • Update
  • Create Zero User
  • Update MeSH Terms

Dev Tools

@jrjohnson
jrjohnson / pathToIlios3.md
Last active August 29, 2015 14:03
What it will look like getting to Ilios3

#Ilios 3

##How do we know when we get there?

###Whats included

  • Seperate Backend and Frontend Archetecture.
  • Backend is a collection of models and a REST API written in Symfony
  • Controllers on the backend handle cron tasks, the api, and server side functions The backend consolidates and serves up the assets for the frontend
  • Fronend is Emberjs single page application backed by REST API and ember-data]
  • Unit tests covering 100% of the API (phpunit) and 100% of the fronend (qunit)
@jrjohnson
jrjohnson / vagrantsudo.sh
Created May 23, 2014 18:21
Run this to make vagrant run without asking for sudo password
#!/bin/bash
# Script for placing sudoers.d files with syntax-checking
# Making a temporary file to contain the sudoers-changes to be pre-checked
TMP=$(mktemp -t vagrant_sudoers)
cat /etc/sudoers > $TMP
cat >> $TMP <<EOF
# Allow passwordless startup of Vagrant when using NFS.
Cmnd_Alias VAGRANT_EXPORTS_ADD = /bin/bash -c echo '*' >> /etc/exports