Today I’ve released a first version of easeljs-arctext, an EaselJS extension that allows drawing of text along arc path.
See below for sample code.
1 2 3 4 5 6 7 8 9 | |
Comments or suggestions are welcome ;)
Today I’ve released a first version of easeljs-arctext, an EaselJS extension that allows drawing of text along arc path.
See below for sample code.
1 2 3 4 5 6 7 8 9 | |
Comments or suggestions are welcome ;)
Default LDAP installation on Ubuntu server allows anonymous binding and directory access. If you want avoid this behavior you may set the olcRequires to authc using the ldif format with the following command:
1
| |
where
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
If you want to speed up Drupal Simpletest bootstrap a simple trick is to use the live database instead of the sandbox enviroment created by Simpletest. To do this simply override setUp and tearDown methods as reported below:
1 2 3 4 5 6 7 8 9 10 | |
Please note now you are using the live database… so eventual fake contents created by unit tests must be removed manually ;)
If you want to display a block in your template:
1 2 | |
where:
$module Name of the module that implements the block to load.
$delta Unique ID of the block within the context of $module. Pass NULL to return an empty block object for $module.
Reference links:
$ php -v PHP 5.2.11 (cli) (built: Dec 12 2009 13:19:08)
$ cd ~ && tar zxvf php-5.2.11.tar.gz && cd php-5.2.11
ext/iconv/iconv.c file remove the lib on #define iconv libiconv so that the code reads like this:
#ifdef HAVE_LIBICONV
#define iconv iconv
#endif
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "tidy.h" #include "php.h" #include "php_tidy.h" #if HAVE_TIDY #include "php_ini.h"
$ MACOSX_DEPLOYMENT_TARGET=10.6 $ CFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" $ CCFLAGS="-arch i386 -arch x86_64 -g -Os -pipe"CXXFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" $ LDFLAGS="-arch i386 -arch x86_64 -bind_at_load" $ export CFLAGS CXXFLAGS LDFLAGS CCFLAGS MACOSX_DEPLOYMENT_TARGET
$ LIBS=-lresolv ./configure --with-tidy=shared && make
$ cp ./modules/tidy.so /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/
extension=tidy.so
Reference Links: