Skip to content

Instantly share code, notes, and snippets.

@Frogmouth
Frogmouth / README.md
Last active August 29, 2015 14:00
_Route.js - Simple JS #hashtag Routing (BETA)

_Route.js - simple Javascript #hash routing

Simple pseudo class that allows you to attach a specific callback to a specific #hash url. Follow this example to understand

####Getting Started: "Hello word"

var Nav =  new _Route();

Nav.route("/hello/:name", function(name){

@Frogmouth
Frogmouth / sinceHow.js
Last active December 28, 2015 05:09
A simple function to calcunate how much time has elapsed since a date, and return a text template.
/*sinceHow
@Author Simone Luise
@Mail me@simoneluise.com
A simple function to calcunate how much time has elapsed since a date.
The funcion have only one attribute: "time".
Time must be a valid string for generate a new Data() object. Like:
@Frogmouth
Frogmouth / README.md
Created June 7, 2013 12:32
Boxer Mixin - Simple Sass & Compass Mixin for styling flotting multicolum box snapped to a defined grind.

Boxer 1.0

Boxer is a simple mixin for create, easily, flotted multicolum item.

How to use

Include Boxer Mixin

Boxer works like a normal mixin, than you cane copy and paste it in your scss file or you cane create a new scss file and @include it in your main sass file. Remember if the first character of you scss namespace file is "_" compass not watch the file :) and watch only the main scss file.