The snippets include:
Smoothing values by sampling data
Calculating the change between two values (including negative numbers)
Sorting an array of integers
Get the available memory usage
Reset the Arduino with a function
And are provided here by the fine folks at Hardware Hacks – thanks for sharing!