Skip to content

Instantly share code, notes, and snippets.

View shishirsharma's full-sized avatar
🤑
Focusing

Shishir Sharma shishirsharma

🤑
Focusing
View GitHub Profile
@shishirsharma
shishirsharma / .emacs
Created October 14, 2013 05:26
Melpa for emacs
;;;
;;; ELPA
;;;
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
@shishirsharma
shishirsharma / will_paginate.rb
Last active December 22, 2015 03:28 — forked from isaacbowen/will_paginate.rb
Works with Bootstrap 3 and Will_paginate 3.0.4 and Sinatra
# gist https://gist.github.com/expertmind/6410029
# Based on https://gist.github.com/isaacbowen/1182136
module WillPaginate
module Sinatra
module Helpers
include ViewHelpers
def will_paginate(collection, options = {}) #:nodoc: