Skip to content

Instantly share code, notes, and snippets.

TodoMVC React

<a class="ndl-widget" href="//www.noodle.com/colleges"
data-ndl-widget-type="search"
data-ndl-widget-category="college">
Noodle's College Search
</a>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id; js.async = true;
<a href="https://noodle.com/colleges/[nice_key]/[title]"><img src="https://www.noodle.com/fda/badges/cob-claremont-mckenna-college"></img></a><a href="http://noodle.com">Powered by Noodle</a>
@abargmann
abargmann / tutoring-widget.js
Last active August 29, 2015 14:13
Noodle Tutoring Search Widget
<a class="ndl-widget" href="//www.noodle.com/tutoring"
data-ndl-widget-type="search"
data-ndl-widget-category="tutoring">
Noodle's Tutoring Search
</a>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id; js.async = true;

Overview

With our analytics provider, segment.io, we now have a redshift database where all our analytics will be stored. In order to best leverage this, it makes sense to clean up our core lifecyle actions and standardize how they're tracked.

We'd like to look at all the below actions and update them to reflect the examples included.

In general, we want to pass nice_key as id for content and always namespace our properties unless it's category.

Core Lifecyle

# from http://ihswebdesign.com/knowledge-base/bash-completion-git-branch-in-your-prompt-yes/
# bash completion for cool stuff
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
GIT_PS1_SHOWDIRTYSTATE=false
export PS1='\w$(__git_ps1 "(%s)") > '