CasaDiRocco Blog


jQuery Tocreator Plugin

Minified version less then 1 kb!


jquery-tocreator is a simple jquery plugin allowing you to create a table of contents on the fly based on a given css style selector.

How It Works

Take, for example, a blog post that is wrapped inside an <article> tag. The blog ...

Quicksave for later Bookmarklet

This bookmarklet for Google Bookmarks allows you to quickly save a webpage without opening a popup.

This is especially handy when working on the iPad where clicking on the default Google bookmarklet opens up a new tab where you have to fill in a form, hit submit, wait for the tab to auto close and then continue browsing. With all the animations that take place, this can take ...

A page filling slideshow html and javascript only

A while ago I started working on a idea to create a html only website with window filling photos on the background that change just like a slideshow does. Just like the kind of sites you usually see that are made in Flash or Flex.

I looked around for possible solutions on Google and figured that I had to do it myself. Now, based on the code of Scott ...

Xcode 4 and git

I downloaded and installed the new Xcode yesterday to work out some ideas I had and I found that it ships by default with git integration.

Click here to find out how to enable multitask gestures for your iPad.

Turns out that after the installation process the package takes ...

CakePHP 2.0.0-dev and Auth

Learn how to set up a authentication system in CakePHP 2.0.0-dev. We are going to use some basic validation for our models and set up the views.

See how the newest version of Cake makes your life easier when it comes to authentication.

I spend a lot of time trying to figure out the right way to set up a simple authentication system with CakePHP. A lot of documentation ...