Javascript Lint Pre-commit Script

The script enforces Javascript code quality and consistency by using JSHint. The script runs all new or modified Javascript files against JSHint for every commit; if it finds any issues it simply aborts the commit.
http://jt.io/2013/git-pre-commit-js-lint-script/

Advertisements

Fullscreen Layout with Page Transitions

A simple responsive layout with some fancy page transitions. The idea is to show four items initially and expand them. Some additional page transitions are added for inner items.

http://tympanus.net/codrops/2013/04/23/fullscreen-layout-with-page-transitions/

The layout and open/close works fine on my old HTC Desire with Android 2.3.5, but sadly the panel content does not scroll because overflow: auto; is not supported on this device… But otherwise, looks really beautiful!

Snap.js: For creating mobile-style navigation menus

Snap.js (GitHub: jakiestfu / Snap.js, License: MIT) also by Jacob is another dependency-free UI component. This one is for creating mobile-style navigation menus that appear when clicking a button or dragging the entire view. It uses CSS3 transitions, and has an event-based API so it’s easy to hook it into existing interfaces.

Nginx performance tips using ngx_pagespeed

With PageSpeed enabled, we shaved 1.57 seconds from our average page load (seen above), dropped our bounce rate 1%, and our exit percentage 2.5%.

While those numbers may not look like much, when you put them on an enterprise-level site, and start thinking of $$$, they start to look a little more impressive…

http://blog.netdna.com/developer/nginx-performance-tips-with-the-google-pagespeed-team/