Skip to content

Instantly share code, notes, and snippets.

@pplewa
pplewa / keybase.md
Last active February 7, 2018 20:18

Keybase proof

I hereby claim:

  • I am pplewa on github.
  • I am pplewa (https://keybase.io/pplewa) on keybase.
  • I have a public key ASCVqUkbl6MfGIXLg8cIY29gB33iXSuioOqRHz5ga9lRdAo

To claim this, I am signing this object:

@pplewa
pplewa / pagination.md
Created February 2, 2016 05:06 — forked from mislav/pagination.md
"Pagination 101" by Faruk Ateş

Pagination 101

Article by Faruk Ateş, [originally on KuraFire.net][original] which is currently down

One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.

Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the o

@pplewa
pplewa / gist:c9639efd218643702c6d
Created May 26, 2014 10:49
surfaces order in container with overflow:hidden
/* globals define */
define(function(require, exports, module) {
'use strict';
var Engine = require('famous/core/Engine');
var ContainerSurface = require('famous/surfaces/ContainerSurface');
var Transform = require('famous/core/Transform');
var StateModifier = require('famous/modifiers/StateModifier');
var Surface = require('famous/core/Surface');
var mainContext = Engine.createContext();