•April 25, 2012 •
Leave a Comment
I recently undertook a project that involved the consumption of Exchange Web Services through PHP on Redhat Linux. After a few tests, I knew this wasn’t going to be easy as I kept getting a 401 error. After trying out a few libraries, I decided to start off with a simple test so I could get to the root of the problem.
Continue reading ‘Exchange Web Services (EWS), NTLMv2 and Linux’
Posted in Ubuntu
•January 7, 2012 •
Leave a Comment
There is often the time when you need to find some files in a certain directory/folder and delete them. One such example is cleaning out the .svn directories/folders from a copy (when you should’ve done an export).
First build your find command, for finding .svn directories/folders:
Continue reading ‘Ubuntu find and delete files and directories/folders’
Posted in Ubuntu
•January 6, 2012 •
Leave a Comment
Power shifting is a method of shifting commonly used in car racing, particularly drag racing.
So, what is power shifting?
Continue reading ‘What is power shifting?’
Posted in Car, Racing
•January 5, 2012 •
Leave a Comment
Now that I’m a reborn racing enthusiast, there are probably going to be more and more car/racing posts.
With this said, a question that is often asked (especially in drag racing) is:
What is lift shifting?
Continue reading ‘What is lift shifting?’
Posted in Car, Racing
•October 23, 2011 •
1 Comment
My first track event with my Evo, and it was the best thing I’ve done for myself in a long time.
The track at Carolina Motorsports Park is a twisty fun track (well maintained too). Even though this track is a little hard on the brakes and tires, it is worth it. The video I have is from Saturday Oct. 15th, and I was hoping for more footage on Sunday…. but it didn’t happen.
Thumbs up to Force-Fed for all their work!
Posted in Car, Racing, Videos
•September 8, 2011 •
Leave a Comment
Assuming you have the instant client installed, a symbolic link needs to be made for the header files in order for pecl to pick it up during the oci8 install… but where to link it to?
Continue reading ‘Ubuntu – Oracle – oci8 install results in
oci.h: No such file or directory’
Posted in Oracle PL/SQL, PHP, Ubuntu
•August 16, 2011 •
Leave a Comment
CodeIgniter uses cookies for session management by default, therefore you can’t use any native commands to help you out with session handling. Using the native PHP session, you can destroy the session in one line and follow it up with another line that expects the session to be cleared.
This cannot be done with CodeIgniter’s sess_destroy. This usage is typical in user authentication, here is an example scenario:
Continue reading ‘CodeIgniter sess_destroy not working, session not deleting’
Posted in CodeIgniter, PHP
•June 2, 2011 •
Leave a Comment
In an effort to build coding standards for our team, I recently began looking at PHP CodeSniffer.
PHP CodeSniffer is a great tool to define and enforce coding standards with PHP.
Its usage can be very simple:
Continue reading ‘PHP CodeSniffer Cheat Sheet’
Posted in PHP
•May 31, 2011 •
1 Comment
Pear installs packages in the following directory on Ubuntu 10.04:
/usr/share/php/PHP/
Posted in PHP
•May 19, 2011 •
Leave a Comment
I’ve been procrastinating on fixing this annoying error from PHP on Ubuntu 10.04:
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/mhash.so’ – /usr/lib/php5/20090626/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
The fix is to purge the mhash package:
Continue reading ‘Unable to load dynamic library mhash.so’
Posted in PHP, Ubuntu