Ben Taylor taybenlor

View gist:8725677

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
1 2 3 4 5 6 7 8 9
//
// 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
1 2 3 4 5 6 7 8 9 10
/**
* 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
1 2 3 4 5 6 7 8 9 10
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
1 2 3 4 5 6 7 8 9
/*
* 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
1 2 3 4 5
var widths = $("elements").map(function(i, el){
$(el).width();
});
 
var max_width = Math.max.apply(Math, widths);
View gist:3000572
1 2 3 4 5 6 7 8 9
var widest_el = null;
var width = 0;
 
$("elements").each(function(i, el){
if(el.width() > width){
widest_el = el;
width = el.width();
}
});
View gist:2832029
1 2 3 4 5 6 7 8 9
var handler = function(event){
// if the target is a descendent of container do nothing
if($(event.target).is(".container, .container *")) return;
 
// remove event handler from document
$(document).off("click", handler);
 
// dostuff
}
Something went wrong with that request. Please try again.