As Mathias mentioned in the comments consider applying this to the root element (document.documentElement) instead of document.body. Note that this will prevent clicking links for half a second (the timeout used in the code). 60fps scrolling using pointer-events: none →
60fps scrolling using
CSS Scroll Snap Points
Great to see this proposed (many people are using it nowadays, boosted by the iPhone 5s page). .gallery { scroll-snap-type: mandatory; scroll-snap-points-x: snapList(786px, 1643px, 2483px, 3264px, 4054px, 4402px); } Don’t like the fact that one needs to specify explicit values (be it in pixels, ems, or percentages), as not all children can be of the …
Head code is all gone!
gitdown – don’t commit when you’re drunk
Bartender
Bartender lets you organize your menu bar apps, by hiding them, rearranging them, or moving them to Bartender’s Bar. You can display the full menu bar, set options to have menu bar items show in the menu bar when they have updated, or have them always visible in Bartender’s Bar. Bartender → (via @Inferis)
Backup local MySQL Databases
Nice script by Xavez. Put it in a daily cronjob if you like, or extend it to copy the backup to another machine: #!/bin/bash # Path to where you want to backup mysql databases. opath=/Users/username/Sites/Backups/mysql/ # Local mysql details. Make a username with only read access. Allow SELECT, LOCK TABLES. mysqlhost=127.0.0.1 username=read_only_user password=read_only_password # Get …