Skip to content

Instantly share code, notes, and snippets.

View stopfstedt's full-sized avatar

Stefan Topfstedt stopfstedt

View GitHub Profile
@stopfstedt
stopfstedt / fml.sql
Last active December 31, 2015 16:09
ILIOS: get offerings/independent learning sessions for calendar feed query.
SELECT DISTINCT
session.title as session_title, session.attire_required,
session.equipment_required, session.supplemental, session.session_id,
session.published_as_tbd,
session_description.description,
session_type.title as session_type, session_type.session_type_id,
session_type.session_type_css_class,
offering.room, offering.start_date, offering.end_date, offering.offering_id,
course.title as course_title, course.course_id, course.year,
course.course_level, course.published_as_tbd AS course_published_as_tbd
@stopfstedt
stopfstedt / howto.markdown
Last active August 29, 2015 13:58
Installation and usage notes.

Crunching Nexbus API output for AC Transit

Requirements

  1. Install node.js and NPM
  2. Install csv2geojson
sudo npm install -g csv2geojson 
@stopfstedt
stopfstedt / howto.md
Last active August 29, 2015 14:01
Vagrant and Drupal on Windows 7 (From notes taken during UCSFDUG codejam on 05/23/2015).

Setup

  1. Download and install the latest Oracle VirtualBox.
  2. Download and install Vagrant.
  3. Add the path to directory containing VBoxManage.exe to your PATH environmental variable.(E.g. "C:\Program Files\Oracle\VirtualBox").
    1. In your local UCSF/Drupal7 Git repo, pull in the Puppet modules as Git submodules. From the command line, you may do this by executing the following statement from within your repository root directory.
git submodule update --init

Working with Vagrant

@stopfstedt
stopfstedt / ilios-cim.markdown
Last active August 29, 2015 14:02
ilios curriulum inventory managment brain dump.

Some Background

Q: What does it do?

It generates a report of curricular information for a given program in a given year.

Q: What does the report cover?

  • when it gets taught (program, year)
  • what gets taught (competencies/objectives)
@stopfstedt
stopfstedt / presi.md
Last active October 27, 2016 17:22
UCSF DUG presentation on modules in the shared pool - 2015/02/05

Shared Modules in UCSF's Multi-site Drupal Instance

in the pool

New modules in the shared pool

Contrib modules added to sites/all/modules in the last six month

git diff --stat=220 2014-08-01 2015-02-03 docroot/sites/all/modules/ | grep \.info | egrep -v '-' | egrep -o 'docroot/sites/all/modules/contrib/([^/]+)' | sort -u
@stopfstedt
stopfstedt / index.md
Last active August 29, 2015 14:19
UCSF Communicators Brown Bag Lunch 2015/4/23 - Calendar integration with Drupal.
@stopfstedt
stopfstedt / ...this.md
Last active August 29, 2015 14:22
5/28/15: Debugging PHP with XDebug