Skip to content

Instantly share code, notes, and snippets.

View simonpioli's full-sized avatar

Simon Pioli simonpioli

  • LawPlus Solicitors
  • Manchester, UK
View GitHub Profile
2014-09-23 18:28:32 +0100
./configure
--prefix=/usr/local/Cellar/php55/5.5.17
--localstatedir=/usr/local/var
--sysconfdir=/usr/local/etc/php/5.5
--with-config-file-path=/usr/local/etc/php/5.5
--with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d
--with-iconv-dir=/usr
--enable-dba
module Jekyll
class CategoryAwareNextGenerator < Generator
safe true
priority :high
def generate(site)
site.categories.each_pair do |category_name, posts|
posts.sort! { |a, b| b <=> a }
%sprites {
display: inline-block;
background-repeat: no-repeat;
background-image: sprite-url($sprites);
}
@mixin sprite($name, $dimensions: true, $pad: 0) {
@if ($dimensions == true) {
@include sprite-dimensions($sprites, $name);
}