Which basically means that running as root will not load the OCI8 extension *facepalm* http://blog.rayapps.com/2009/09/06/how-to-setup-ruby-and-oracle-instant-client-on-snow-leopard/
Posts Categorized: Programming
PSR-1/PSR-2 Code Styles in IntelliJ IDEA
For anyone interested, read the following post on the jetbrains blog: http://blog.jetbrains.com/webide/2012/11/more-php-formatting-options-and-bundled-code-styles-for-ps/#comment-13715
Disable Apache 404 ErrorDocument HTML
While implementing a REST service, Apache started to append HTML 404 error HTML to my custom 404 application/json response. It seems the Windows Apache version which comes with Zend Server requires a httpd.conf entry to disable the HTML to be appended to the response: To disable it for a 404 error: ErrorDocument 404 ” ”… Read more »
ZF ReCaptcha Inline Configuration Code Snippet
Somehow it’s always a pain to find the right configuration parameters and proper format in ZF which makes me reverse engineer them.
Show the LIVE Status from an OWN3D.TV Livestream with a jQuery Plugin
Demo jQuery plug-in source at BitBucket Examples of how to use the plug-in. The jQuery OWN3D Plug-in Code. A simple PHP – Zend Framework script to enable a cross domain request to the OWN3D API (the full project contains two, one for the live status and one for the channel information).
jQuery UI Day-Calendar Widget
I’m working on a generic calendar widget for event scheduling. It’s my first jQuery UI widget experience which I really like thus far. The calendar widget itself is a sort of complete re-implementation of the jQuery-Week-Calendar made by Rob Monie. However the week-calendar widget was end-of-life and no longer maintained. A repository has been setup… Read more »
TIP: Get rid of “It is not safe to rely on the system’s timezone settings.”
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. ; Copy this line into the php.ini… Read more »
Oracle Tip: Ignoring case and diacritic differences in an Oracle search.
http://forums.oracle.com/forums/thread.jspa?threadID=14970 Instead of using the SQL UPPER and LOWER functions to perform case-insensitive queries, an alternative approach is to utilize the linguistic sort GENERIC_BASELETTER. GENERIC_BASELETTER groups all characters together based on their base letter values, this is achieved by ignoring their case and the diacritic differences. Here is an example of a GENERIC_BASELETTER query. All… Read more »