I hereby claim:
- I am gereon on github.
- I am gereon (https://keybase.io/gereon) on keybase.
- I have a public key whose fingerprint is 54B0 CA9F E028 B864 65D2 000F EF0F 8E80 0A21 5E60
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(nicer, more readable version of: http://www.artima.com/weblogs/viewpost.jsp?thread=240845)
In part I, I showed how to use decorators without arguments, primarily using classes as decorators because I find them easier to think about.
If we create a decorator without arguments, the function to be decorated is passed to the constructor, and the __call__()
method is called whenever the decorated function is invoked:
class decoratorWithoutArguments(object):
Add this to Info.plist
in /System/Library/Spotlight/RichText.mdimporter/Contents/
and Spotlight will search for source code files.
<string>public.c-header</string>
<string>public.c-plus-plus-header</string>
<string>public.c-source</string>
<string>public.objective-c-source</string>
public.c-plus-plus-source
Insert this into to the bottom of the autoload.php file:
// Swiftmailer needs a special autoloader to allow
// the lazy loading of the init file (which is expensive)
require_once __DIR__.'/../vendor/swiftmailer/lib/classes/Swift.php';
Swift::registerAutoload(__DIR__.'/../vendor/swiftmailer/lib/swift_init.php');
https://github.com/cloudhead/less.js/issues/320 |