Skip to content

Instantly share code, notes, and snippets.

View mariszin's full-sized avatar

Maris Zinbergs mariszin

  • Sigulda, Latvia
View GitHub Profile
@mariszin
mariszin / smile.scala
Created May 8, 2012 21:17
Smaidiņš skalā
object TestApp {
def main(args: Array[String]): Unit = {
var Es:Test = new Test();
Es :* "tevi";
}
class Test {
def :*(x:String) {println(x)}
}
@mariszin
mariszin / foundation_paginate.rb
Last active September 30, 2015 04:17
Make will_paginate generate markup for Zurb Foundation
# NOTE - I do not support this code anymore.
# You should use plambjet version @ https://gist.github.com/pjambet/5229322
#
# Based on https://gist.github.com/1182136 and https://gist.github.com/1586384
# Make the will_paginate generate markup for Zurb Foundation
# Put this in config/initializers/foundation_paginate.rb
module WillPaginate
module ViewHelpers
class LinkRenderer < LinkRendererBase
protected