- 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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() | |
{ |
#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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |