Skip to content
View NicerDates.swift
//
// NicerDates.swift
//
// Created by Ben Taylor on 20/07/2015.
//
import Foundation
extension Int {
View gist:f00e24501f1820d24dfd
RAC(self, property) = RACObserve(self.model, property);
View Form Letter.md

Subject: Unpaid Internships & Fair Work

Hi there,

I'm Ben Taylor, I don't represent anyone or anything, I'm simply a concerned Australian. Our country has long been known as a paradise for the working class. We give fair holidays and fair pay. We're a country that doesn't tip because we know the waitstaff are earning enough to support themselves.

I'm emailing you because your company is offering an unpaid internship. Under Australian law it's illegal to have an employee that works for free. In many cases unpaid internships are illegal.

It's absolutely in your right to offer an internship, you can pay them minimum wage if you like, but not paying is exploitative and discriminatory. Should a young person who is independent be forced to take a second job or live under severe financial stress just to get a chance in an industry? What about those who can't afford to do even that?

View CustomCollectionFlowLayout.h
//
// CustomCollectionFlowLayout.h
// evilapples
//
// http://stackoverflow.com/questions/13511733/how-to-make-supplementary-view-float-in-uicollectionview-as-section-headers-do-i
//
//
#import <UIKit/UIKit.h>
View gist:6408293

Autolayout lessons:

View colour.js
/**
* A class to parse colour values. Updated by Ben to support colour conversions.
* @author Stoyan Stefanov <sstoo@gmail.com>
* @author Ben Taylor <taybenlor@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
function Colour(colour_string)
{
this.ok = false;
View gist:3684133

Pros

  • Very low effort to get running
  • Easily extensible to add very powerful features eg. I added memcache and caching to one of our apps and had it live within 30mins
  • Less downtime stress (if shit fails, you know heroku is dealing with it and you don't have to do much other than respond to customers)
  • Very little platform lockin (unlike Google App Engine)
  • Standing on shoulders of giants
  • Strong app segmentation = stability
  • Easy to price for clients
View gist:3486381
http://dribbble.com/jessedodds
http://dribbble.com/snootyfox
http://dribbble.com/bjango
http://dribbble.com/MelDraws
http://dribbble.com/zane_david
http://dribbble.com/charlessantoso
http://dribbble.com/envato
http://dribbble.com/tomricci
http://dribbble.com/VERG
http://dribbble.com/alanvanroemburg
View gist:3212275
/*
* In JavaScript "this" is very finicky. Mostly it tends to get lost whenever
* you use a callback. When you assign a function you're literally creating
* a function object and then putting it into an object. Whenever the function
* is called it works out what it's this is based on how it was called.
*
* There are several ways to make sure your this stays around.
*
*/
View gist:3000612
var widths = $("elements").map(function(i, el){
$(el).width();
});
var max_width = Math.max.apply(Math, widths);
Something went wrong with that request. Please try again.