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 recursivelyOrderKeys = function(unordered) { | |
| // If it's an array - recursively order any | |
| // dictionary items within the array | |
| if (Array.isArray(unordered)) { | |
| unordered.forEach(function (item, index) { | |
| unordered[index] = recursivelyOrderKeys(item); | |
| }); | |
| return unordered; | |
| } |
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
| // | |
| // UIImage+FailFast.h | |
| // | |
| // Created by Jason Jarrett on 2/11/15. | |
| // Copyright (c) 2015 Jason Jarrett. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> | |
| @interface UIImage (FailFast) |
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
| Object.prototype.forEach = function(callback) { | |
| var key = 0; | |
| for (key in this) { | |
| if (this.hasOwnProperty(key)) { | |
| if (callback.call(this, key, this[key]) === false) { | |
| break; | |
| } | |
| } | |
| } | |
| return this; |
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/env node | |
| 'use strict'; | |
| /* | |
| #!/bin/bash | |
| # | |
| # Wrapper script for git mergetool | |
| # This requires ~/.gitconfig file to have | |
| # the following (adjusting for paths): | |
| # | |
| # [merge] |
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
| {% assign series = '' %} | |
| {% assign thisPost = nil %} | |
| {% for post in site.posts %} | |
| {% if post.url == page.url %} | |
| {% assign series = post.series %} | |
| {% assign thisPost = post %} | |
| {% endif %} | |
| {% endfor %} | |
| {% assign count = '0' %} |
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
| <html dir="<$BlogLanguageDirection$>"> | |
| <head> | |
| <title>301 Moved Permanently</title> | |
| <noscript> | |
| <ItemPage><Blogger><meta http-equiv="refresh" content="0,url=http://staxmanade.com/blog/<$BlogItemNumber$>"></Blogger></ItemPage> | |
| <MainOrArchivePage><meta http-equiv="refresh" content="0,url=http://staxmanade.com"></MainOrArchivePage> | |
| </noscript> | |
| <script type="text/javascript"> | |
| document.location.href = '<ItemPage><Blogger>http://staxmanade.com/blog/<$BlogItemNumber$></Blogger></ItemPage><MainOrArchivePage>http://staxmanade.com</MainOrArchivePage>'; | |
| </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
| /* | |
| * | |
| * The hope was to be able to drag out of the browser files from github onto the file system. | |
| * I thought I saw the prototype work correctly once, but can't get it working anymore :( | |
| * | |
| * | |
| * | |
| * | |
| * License: Make It Work: ( someone help me make this work ) | |
| * |
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"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Downcast Podcasts</title> | |
| </head> |
NewerOlder