Skip to content

Instantly share code, notes, and snippets.

View quinn's full-sized avatar
🐁
huh

Quinn Shanahan quinn

🐁
huh
View GitHub Profile
@quinn
quinn / Dockerfile
Last active August 29, 2015 14:04
rails
# DOCKER-VERSION 0.9.0
FROM ruby:latest
MAINTAINER Quinn Shanahan q.shanahan@gmail.com
# http://www.activestate.com/blog/2014/01/using-docker-run-ruby-rspec-ci-jenkins
RUN apt-get install postgresql-client-common
EXPOSE 3000
@quinn
quinn / attach.sh
Last active February 3, 2018 23:20
Docker
nsenter --target $(docker inspect --format '{{.State.Pid}}' my_running_app) --mount --uts --ipc --net --pid
@quinn
quinn / Gruntfile.js
Created June 14, 2014 18:11
Gruntfile for react and less
module.exports = function (grunt) {
var conf = {
browserify: {
options: {
transform: [ require('grunt-react').browserify ]
},
app: {
src: 'app/scripts/main.js', dest: 'dist/bundle.js'
}
},
@quinn
quinn / code.php
Created June 12, 2014 20:38
error output
<?php
register_shutdown_function('what_happened');
function what_happened () {
$reflFunc = new ReflectionFunction('ldap_escape');
echo "\nthe function location:\n";
echo $reflFunc->getFileName() . ':' . $reflFunc->getStartLine() . "\n";
var_dump($reflFunc);
echo "the error:\n";
echo var_dump(error_get_last());
def extract_app_in_dir(dir)
return unless remotes = git_remotes(dir)
current_app = false
begin
current_app = File.read(FileUtils.pwd + '/.current-heroku-app').chomp
rescue Errno::ENOENT
end
if remote = options[:remote]
---
topics:
- name: '1.1b. Test Topic'
activities:
- name: 'Common Nouns'
rules:
- id: '1'
old_rule_id: '10'
explanation: 'Explanation text.'
questions:
default_access: &default_access
list: [all]
read: [all]
update: [owner, admin]
create: [all]
destroy: [owner, admin]
root:
activities:
attributes:
@quinn
quinn / .rbenv-vars
Created January 18, 2014 19:23
Quill env
JRUBY_OPTS=--1.9
APP_SECRET=not-so-secret
HOMEPAGE_CHAPTER_ID=1
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="font-family" attributes="family normal italic bold italic-bold format url" lightdom>
<template>
<template if="{{normal}}">
<style>
@font-face {
font-family: '{{family}}';
src: {{url}}('{{normal}}') format('{{format}}');
font-weight: normal;

Peter Gault (gault8121), 3/7/13

Product Developer, Team Coordinator

Peter is designing the Quill learning experiences and coordinating the team. With instant feedback each student can be challenged at her or his own level.

Teams

  • homepage
  • lesson_design
  • contributors_page

Skills