This file contains hidden or 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
# Example of rendered digest: http://docsoc.s3.amazonaws.com/sample/sample_digest_email.html | |
# Github Repo for digest email generator: https://github.com/PeterHamilton/digest-email | |
# Instructions: | |
# 1. Download this file | |
# 2. Fill it in (minus image URL, unless you have one) | |
# 3. Send a 150px wide image + the file to me | |
- list_title: This text will go in the top list of posts | |
image: https://s3-eu-west-1.amazonaws.com/docsoc/sample/suitcase.jpg |
This file contains hidden or 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
# sample_digest_email.yml | |
# Parses with the digest_email (http://peterhamilton.github.com/digest_email) gem | |
# See the result of running this file through the gem here: http://docsoc.s3.amazonaws.com/sample/sample_digest_email.html | |
header: | |
title: "Weekly Digest" | |
subtitle: November 12th 2012 | |
subsubtitle: | |
items: | |
- list_title: New, Easy Email Digests |
This file contains hidden or 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
#! /usr/bin/ruby | |
# Recommend saving (or symlinking) as /usr/bin/uta-helper | |
################################################################################ | |
# | |
# Simple ruby script to pull down student code for excercises from labranch | |
# | |
# Example: $ uta-helper pull -e html | |
# Will clone all the repos into a 'respositories' directory by default. |
This file contains hidden or 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
#Handy Git stuff | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
} | |
function git-track { | |
CURRENT_BRANCH=$(parse_git_branch) | |
git-config branch.$CURRENT_BRANCH.remote $1 | |
git-config branch.$CURRENT_BRANCH.merge refs/heads/$CURRENT_BRANCH | |
} |
NewerOlder