Getting PHP, MySQL, and Mac OS X to work together
Update: If you're interested in using PHP and MySQL on Mac OS X, these days I recommend skipping this article and using MAMP, which I describe in my Mac OS X MAMP tutorial.read more
View ArticlePHP check your libxml2 installation error
I was installing PHP on a CentOS (Linux) server yesterday (using the configure script), and ran into an error related to my libxml2 installation. Here's the complete error message that shows up at the...
View ArticleHow to install Apache with the mod_proxy module
Over the weekend I was trying to configure Apache as a reverse-proxy server (specifically as a reverse-proxy server working in conjunction with OpenSSO), and I couldn't get it to work at all. It's been...
View ArticleSolved problem trying to configure PHP with GD support
ProblemI was just trying to install PHP from source code on a CentOS Linux box, specifically trying to configure PHP with GD support with a configure command like this: ./configure...
View ArticlePHP installation error - unable to install php5 - configure: error:...
I ran into this error message today when trying to install PHP 5.2.x on a CentOS Linux server: unable to install php5 - configure: error: libjpeg.(a|so) not found. Actually, although I wrote "install"...
View ArticleA Log4J format example
Log4J formatting FAQ: Can you share a Log4J output/logging format example?Sure. I'll share a Java Log4J format example that I'm pretty happy with.I've used the following Log4J logging format quite a...
View ArticleConfiguring a tunnel to your SSH server
(This is Part 2 of a four-part tutorial. Here's a link to the introduction.)Step 3: Configuring a tunnel to your SSH serverNext, we'll use Putty to create an SSH tunnel and connect to your remote...
View ArticleConfigure Firefox to use the Putty SSH tunnel as a SOCKS proxy
(This is Part 3 of a four-part tutorial. Here's a link to the introduction.)Step 4: Configure Firefox to use the Putty SSH tunnel as a SOCKS proxyConfiguring Firefox to use this new SSH tunnel is...
View ArticleTest your Putty SSH tunnel and Firefox SOCKS proxy
(This is the final part of a four-part tutorial. Here's a link to the introduction.)Step 5: Test your Putty SSH tunnel and Firefox SOCKS proxyAs an initial test of the tunnel just try to go to a...
View ArticleEclipse Android FAQ: How to set up your Eclipse Android development environment
Eclipse Android FAQ: How to set up the Eclipse Android development environment, including the Eclipse ADT and Android SDK.After a little digging around I figured out how to install an Eclipse Android...
View ArticleDrupal database configuration files - development, testing, and production...
Drupal database configuration file FAQ: Is there something I can do to quit having to change my Drupal settings.php file every time I go from my Development Environment to Testing and Production?Yes!...
View ArticleA MAMP new website setup tutorial
MAMP website setup FAQ: How do I configure MAMP and my Mac so I can develop a new PHP website? (Or, Can you share a Mac MAMP setup tutorial?)Assuming you already have MAMP installed, creating a new...
View ArticleA Java JSlider configuration example
Here’s a little snippet of code that shows how to create a Java JSlider, and then configure the JSlider. The code is written in Scala, which as you can see, is remarkably similar to Java:read more
View ArticleConfiguring an Nginx default website
I’m configuring Nginx as my primary web server, with other Apache servers behind it, and I wanted to configure Nginx to serve up a blank page whenever someone tried to hit my server’s IP address,...
View ArticleA few notes on installing and configuring a CentOS Linode server
I just got a new CentOS Linux server at Linode, and installed a bunch of software on it that I need to run a couple of Drupal websites and a Play Framework website, and here are my very cryptic notes...
View ArticleNotes on configuring Sencha Touch, Nginx, and Play on Mac OS X
These are a few notes on how I set up my Mac OS X development environment for my Radio Pi Mobile application (RPM). The app uses Sencha Touch for the front end, the Scala Play Framework for the backend...
View ArticleHow to log output to a file in a Scala application with Grizzled-SLF4J
At the moment it’s not easy to find instructions on how to log output to a file using Grizzled-SLF4J in a Scala application, so I’m taking a few moments to show how this is done.Grizzled-SLF4J...
View ArticleHow to execute AppleScript from a Java or Scala application
If you ever need to execute AppleScript from a Java or Scala application, this code shows how to solve the programming part of this problem.Given an AppleScript command as a Scala multiline string,...
View ArticleSetting a Scala application's command line parameters in Eclipse
I’ve been developing a new Scala application named Cato that requires some command-line parameters, and I just had to figure out how to configure Eclipse so my application would get those parameters....
View ArticleHow to control an Android application's heap size
Here are two notes (separated by the horizontal line) on what you can do to try to control an Android application’s heap size, from this SO link. As you can see, you can’t set the heap size directly,...
View Article