Skip to content

Instantly share code, notes, and snippets.


Jeffrey Barke jeffreybarke

View GitHub Profile
jeffreybarke / ci-encryption-key-generator.php
Created Apr 9, 2013
This is the code I use (minus Google Analytics) for the CodeIgniter encryption key generator located at
View ci-encryption-key-generator.php
* Generate an encryption key for CodeIgniter.
function generate_token ($len = 32)
jeffreybarke / html5Ol.js
Created Feb 24, 2012 — forked from Zirak/a.js
ol reverse attribute polyfill
View html5Ol.js
//use this if you want support for browsers which don't have ES5 goodies
if (!('reversed' in document.createElement('ol'))) {
(function () {
var lists = document.getElementsByTagName('ol'),
i = 0,
len = lists.length,
reverseList = function (list) {
You can’t perform that action at this time.