Skip to content

Instantly share code, notes, and snippets.

@knomedia
knomedia / production.txt
Created August 24, 2016 17:52
08-24-16 deploy
last production deploy: production/2016-08-19@20.24, sha: 64e671e
9ee7e0e|Euzel Villanueva|2 days ago: add evillanueva to arc deployers (refs TD-1512)
057221f|Chandu Tennety|2 days ago: Enable HighContrastLoader on all views refs TD-439
e15e833|Michael Ziwisky|6 days ago: lockout users after too many failed logins, fixes TD-1131
6ec5c21|Andy Brown|5 days ago: send focus to fullscreen btn when tabbing back
80d273b|Jason Madsen|6 days ago: auto signup lti email having users refs TD-1463
308168a|Chandu Tennety|5 weeks ago: Arc high-contrast toggle (fixes TD-439, 2 of 2)
5ec71e4|Chandu Tennety|5 weeks ago: Arc high-contrast styles (refs TD-439, 1 of 2)
f3ca088|Gary Mei|5 days ago: Focus Share button after leaving share modal
e48363a|Jason Madsen|5 days ago: add db backup retention to cg config refs TD-1508
@knomedia
knomedia / build.rb
Last active August 29, 2015 14:20
build files from notes for cli-present
#!/usr/bin/env ruby
# encoding: utf-8
=begin
quick little script to generate individual files from a single file such that
they can be used within https://github.com/cmatheson/cli-present
syntax notes:
@knomedia
knomedia / .glinkrc
Last active August 29, 2015 14:16
example glink config for current canvas
{
"hostname": "graphite.insops.net",
"template": "stats.timers.canvas.prod.request.!!#controller#!!.!!#action#!!.!!#type#!!",
"templateDefaults": [
"!!#controller#!!===files",
"!!#action#!!===index",
"!!#type#!!==={mean,median,upper_95}"
],
"paramsDefaults": {
"from": "-1week",
/* Put your CSS here */
html, body {
margin: 20px;
}
.hidden {
display: none;
}
@knomedia
knomedia / ember_cli_rails.rake
Last active August 29, 2015 14:00
ember_cli_rails initial thoughts (see: https://github.com/knomedia/ember-cli-rails for a more complete solution)
require 'nokogiri'
namespace :ember_cli_rails do
desc "compile ember and update application.html.erb with ENV vars"
task :build => [:ember, :update_env] do
end
desc 'Build ember app and copies css and js files to rails'
set encoding=utf-8
syntax on
" Load plugins with pathogen
call pathogen#infect()
call pathogen#helptags()
filetype plugin indent on
colorscheme ir_black
define [
'ember'
'../start_app'
'../../components/assignment_group_grades_component'
'../shared_ajax_fixtures'
], (Ember, startApp, AGGrades, fixtures) ->
{ContainerView, run} = Ember
fixtures.create()
@knomedia
knomedia / options
Created January 13, 2014 20:49
Ember Testing Options
When attempting to test elements in Ember it seems like you have the following options
1. Spin up your Ember app and pluck of the parts you are trying to test:
App.__container__.lookup("controller:quizzes")
2. Build a container, register dependencies on it.
cont = new Em.Container()
cont.register('controller:quizzes', Em.Object)
quizController = App.QuizController.create({container: cont})
define [
'../start_app',
'ember',
'ic-ajax',
'../../controllers/quiz_controller',
'../environment_setup',
], (startApp, Ember, ajax, QuizController) ->
App = null
@knomedia
knomedia / new_eak_app
Created November 19, 2013 23:12
shell script for quickly starting a fresh ember-app-kit app.
#!/bin/bash
git clone git@github.com:stefanpenner/ember-app-kit.git $1
cd $1
echo "Removing old git files"
rm -rf .git
echo "Installing grunt-cli and bower"
npm install -g grunt-cli