Skip to content

Instantly share code, notes, and snippets.

View ryndel's full-sized avatar

Lyndel Thomas ryndel

View GitHub Profile

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

@ryndel
ryndel / talk_crudr.md
Last active December 11, 2015 09:48 — forked from tracend/talk_crudr_firstlook_2013.md
CRUDr - a first look #talk

#CRUDr - Persistant connection storage for everyone

Facts

  • Websockets are becoming increasingly popular

  • Users expect realtime updates on their services

@ryndel
ryndel / html5devconf.md
Created November 12, 2012 07:16
HTML5 Dev Conf #talk

#Highlights from the HTML5 Dev Conf ##Monday 15 - Tuesday 16 October 2012 ###Palace Hotel San Francisco ####LYNDEL THOMAS


#Peter Lubbers ##Developer Relations Program Manager - Chrome team at Google.

@ryndel
ryndel / dogs.md
Created November 11, 2012 07:34
Sometimes dogs are brown #talk

(and other incontrovertible truths)

and something else


Sometimes dogs are brown... Alt text

@ryndel
ryndel / handlebars.linkify.js
Created October 14, 2012 01:17
Handlebars.js: linkify helper #cc #handlebars
Handlebars.registerHelper('linkify', function (text) {
text = text.replace(/(https?:\/\/\S+)/gi, function (s) {
return '<a href="' + s + '">' + s + '</a>';
});
text = text.replace(/(^|)@(\w+)/gi, function (s) {
return '<a href="http://twitter.com/' + s + '">' + s + '</a>';
});
text = text.replace(/(^|)#(\w+)/gi, function (s) {
@ryndel
ryndel / handlebars.prettyDate.js
Last active January 13, 2016 03:58
Handlebars.js: prettyDate helper #cc #handlebars
Handlebars.registerHelper("prettyDate", function (time) {
var date = new Date((time || "")),
diff = (((new Date()).getTime() - date.getTime()) / 1000),
day_diff = Math.floor(diff / 86400);
// exit now if not a number...
if ( isNaN(day_diff)) return;
if ( day_diff < 0 ){
// this is in the future...
@ryndel
ryndel / backbone.twitter.js
Created October 14, 2012 01:09
Backbone.js - Twitter model / view
var APP = {
Models: {},
Collections: {},
Views: {}
};
APP.Models.Tweet = Backbone.Model.extend({
defaults: {
}
@ryndel
ryndel / demo.html
Created July 17, 2012 00:48
jquery modulize
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>jQuery Modulize</title>
<link rel="stylesheet" href="jquery.modulize.css">
<style>
* {
margin: 0;
padding: 0;
@ryndel
ryndel / demo.html
Created July 17, 2012 00:44
jquery collapse
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>jQuery Collapse</title>
<link rel="stylesheet" href="jquery.collapse.css">
<style>
* {
margin: 0;
padding: 0;
@ryndel
ryndel / piechart.css
Created January 4, 2012 19:29
pure css3 piechart
/**
* pure css3 piechart
*/
#segment2, #segment3, #segment4, #segment5, #segment6 { display: none }
.chart {
position:relative;
width:500px;
height:250px;
}
.hold {