Skip to content

Instantly share code, notes, and snippets.

@sjonner
sjonner / Smart-Fixed-Header.markdown
Created June 6, 2014 14:51
A Pen by Kyle Foster.

Smart Fixed Header

The gist? Slide the header up on scroll down, and slide it back into fixed position once the user scrolls back up. Super simple, yet super effective. Options include setting how many pixels from the top of the page to initialize (delay) and sensitivity (sensitivity).

A Pen by Kyle Foster on CodePen.

License.

@sjonner
sjonner / ctxoD.markdown
Created June 6, 2014 14:52
A Pen by PlayCanvas.
@sjonner
sjonner / Tearable-Cloth.markdown
Created June 6, 2014 14:59
A Pen by suffick.
@sjonner
sjonner / redux_egghead_notes.md
Created January 6, 2016 09:00 — forked from diegoconcha/redux_egghead_notes.md
Redux Egghead.io Notes

###Redux Egghead Video Notes###

####Introduction:#### Managing state in an application is critical, and is often done haphazardly. Redux provides a state container for JavaScript applications that will help your applications behave consistently.

Redux is an evolution of the ideas presented by Facebook's Flux, avoiding the complexity found in Flux by looking to how applications are built with the Elm language.

####1st principle of Redux:#### Everything that changes in your application including the data and ui options is contained in a single object called the state tree

@sjonner
sjonner / cloudSettings
Last active May 22, 2020 06:57
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-22T06:57:16.674Z","extensionVersion":"v3.4.3"}
@sjonner
sjonner / index.html
Created July 7, 2020 09:48
Liquid Swipe
<div id='root'></div>