Cookbook: Replace broken noglobals example with local copy

Fixes #30
1.12.4