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
--- | |
layout: foobar | |
--- | |
<?xml version="1.0" encoding="UTF-8" ?> | |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | |
<channel> | |
<title>{{ site.name }} - Latest Posts</title> | |
<description>{{ site.description | xml_escape }}</description> | |
<link>{{ site.url }}</link> | |
<atom:link href="{{ site.feed_url }}" rel="self" type="application/rss+xml" /> |
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
feature_branch() { | |
if [ "${1}" = "" ]; then | |
echo "${0} <new feature branch name>" | |
return | |
fi | |
branch_name="`date '+%d%m%y'`_${1}" | |
git co -b ${branch_name} master | |
git push | |
git branch --set-upstream ${branch_name} origin/${branch_name} |
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
var javascript_obj = {animal: 'Zebra'}; | |
typeof javascript_obj; | |
// "object" | |
var json_obj = JSON.stringify(javascript_obj); | |
typeof json_obj; | |
// "string" |
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
source "https://rubygems.org" | |
gem 'sprockets' | |
gem 'sprockets-sass' | |
gem 'sass' | |
gem 'compass' | |
gem 'bootstrap-sass' | |
gem 'handlebars_assets' | |
gem 'coffee-script' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<usage> | |
<metric> | |
<id>16</id> | |
<name>Hits</name> | |
<unit>hit</unit> | |
</metric> | |
<period> | |
<since>2011-02-01 00:00:00 UTC</since> | |
<until>2011-02-07 23:59:59 UTC</until> |
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
var DateHelper = { | |
// Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time | |
// Ruby strftime: %b %d, %Y %H:%M:%S GMT | |
time_ago_in_words_with_parsing: function(from) { | |
var date = new Date; | |
date.setTime(Date.parse(from)); | |
return this.time_ago_in_words(date); | |
}, | |
time_ago_in_words: function(from) { |
NewerOlder