Skip to content

Instantly share code, notes, and snippets.

Stef Lewandowski stefl

Block or report user

Report or block stefl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
stefl / foundation_paginate.rb
Last active Dec 13, 2015 — forked from mariszin/foundation_paginate.rb
Zurb Foundation now uses 'current' instead of 'active' for the active page.
View foundation_paginate.rb
# Based on and
# Make the will_paginate generate markup for Zurb Foundation
# Put this in config/initializers/foundation_paginate.rb
module WillPaginate
module ViewHelpers
class LinkRenderer < LinkRendererBase
def html_container(html)
tag(:ul, html, container_attributes)
View uk-postcodes.rb
require 'rubygems'
require 'weary'
class Postie
def get(code)
(Weary.get "{code.gsub(' ', '')}.json").perform
postie =
You can’t perform that action at this time.