-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
- richiewilko on Netsuite Webservices and Saved Searches
- Joe Motacek on Netsuite Webservices and Saved Searches
- HikingMike on Fixing the google analytics popup window scrolling problem
- Joe Motacek on Netsuite Webservices and Saved Searches
- Joe Motacek » Blog Archive » Joomla 2.5 Extension Development – Working with the NetSuite Webservice on Retrieving and Displaying Netsuite Address Information
Categories
Tags
ajax apache bandwidth bash beginner browsers bug config custom fields data validation Developing with Netsuite directory Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks nslog override PHP PHP Framework php toolkit PHPUnit plugin routing sample code script search Symfony task Ubuntu web browsers YML
Author Archives: donaldvr
How to Turn a Doctrine_Collection of Objects into a PHP Array
Hint: toArray() is probably not what you’re looking for. ->toArray() Most programmers would probably assume that calling toArray() on the collection would simply place all the objects into an array. While toArray() does do that, it also converts the objects … Continue reading
Posted in Uncategorized
1 Comment
Doing Recursion in PHP Anonymous Functions / Closures
Common Problems If you’re trying to use a PHP anonymous function recursively and are having trouble, you might be seeing an error like Notice: Undefined variable: fooFunction in /yourScript.php on line 10 This error can result from one of [at … Continue reading
Use fputcsv to Make CSV Output to Browser or Variable
PHP has plenty of handy helper functions to take advantage of, but once in a while there seems to be obvious functionality missing. For example, fputcsv is a handy function that allows you to create a CSV file from an … Continue reading
Symfony Doctrine “where in” and “where not in” Syntax
When you’re utilizing Doctrine to search a database for a value not present in a given set, it might be tempting to use some sloppy code like the following: While code like this can work, it’s difficult to read and … Continue reading
Posted in Uncategorized
1 Comment
o3EnlargeBox 1.1.1 Released
A bugfix for version 1.1 of o3EnlargeBox was just released. Some fixes include: tackled a problem with webkit where the image dimensions are reported at 0×0 (must actually be handled by the calling script, see http://www.ozonesolutions.com/demos/enlargeBox/go.js) enlarge box will no … Continue reading
Posted in Uncategorized
Leave a comment
Execute a PHP 5 Script From the Command Line in Ubuntu Linux
To execute a PHP script from the command line in Ubuntu you must have php5-cli installed. (CLI stands for “Command Line Interface”.) sudo apt-get install php5-cli Once cli is installed, you can execute your script like so: php5 ./myScript.php Inside … Continue reading
Driver for TRUlink Model #29578 Wireless Video (No Audio)
Cables to Go makes a nice Wireless Video adapter. However, the drivers for it can be difficult to find online because they are not available by the usb adapter model. Instead they are listed by the “kit” model number, since … Continue reading
Posted in Uncategorized
3 Comments
o3EnlargeBox 1.1.0 Released
The newest version of o3EnlargeBox was just released. There are some nice new features such as instance methods that re-size and reposition the box when its content changes. Click here for more information about o3EnlargeBox.
Create a Symfony Super-Task that Runs Other Tasks
It can sometimes be useful to run several Symfony tasks in row. But who wants to sit and wait for one task to complete, just to run the next? A better option would be to create a super task that … Continue reading
Loading XML along with HTML for Your Javascripts to Use
If you have JavaScripts that rely on certain xml data in order to operate, you might be tempted to use the document body’s (or JQuery’s) onload event handler to perform an ajax request to get the xml immediately after the … Continue reading
