Eclipse 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 ArticleHow to redirect users from a desktop website to a mobile website using Nginx
As a quick note, I just configured this website (alvinalexander.com) to have both a desktop version and a new mobile version. I do this by using Nginx to detect mobile devices and redirect the mobile...
View ArticleHow to enable the AppleScript menu on the Mac OS X menu bar
AppleScript FAQ: How do I enable the AppleScript menu on the Mac OS X menu bar?To enable the AppleScript menu on the Mac OS X menu bar, follow these steps:read more
View ArticleHow to create an SBT project with subprojects
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is a short recipe, Recipe 18.6, “How to create an SBT project with subprojects.”ProblemYou want to configure SBT...
View ArticleHow to configure SBT to work with Eclipse
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is a short recipe, Recipe 18.7, “How to configure SBT to work with Eclipse.”ProblemYou want to use Eclipse with a...
View Article