Skip to content

Instantly share code, notes, and snippets.

View redler's full-sized avatar

Ken Redler redler

  • cSubs
View GitHub Profile

Keybase proof

I hereby claim:

  • I am redler on github.
  • I am redler (https://keybase.io/redler) on keybase.
  • I have a public key ASC4OJIgJ3a_1B5Qj6vVOxS--ocJMzY9u1EERJIZ-HKlLQo

To claim this, I am signing this object:

@include url(http: //fonts.googleapis.com/css?family=Source+Sans+Pro: 400italic, 700italic, 700, 400&subset=latin, latin-ext);
@include url(http: //fonts.googleapis.com/css?family=Merriweather: 400italic, 700italic, 700, 400&subset=latin, latin-ext);
@font-face {
font-family: 'Proxima Nova';
font-style: normal;
font-weight: normal;
src: local('Proxima Nova Regular'), url('./writing/400.woff') format('woff');
}
@redler
redler / gist:50368a6258477d51c052a8ffb53d7b20
Created June 6, 2016 16:58
Simple test of _.slice() for underscoreCFC
<cfscript>
public any function _slice(array = [], numeric from = 2, numeric to) {
var len = arrayLen(array);
var calculatedTo = (!structKeyExists(arguments, 'to')) ? len + 1 :
(to > (len + 1)) ? len + 1 :
(to < 0) ? to + len + 1 :
to + 1;
var calculatedFrom = (from > 0) ? from :