Yearly Archives: 2014

Launch Play in Eclipse

Sometimes its easier to watch the eclipse console instead of alt-tab into the shell window. Fortunately you can use the external tool configuration to launch play. http://stackoverflow.com/questions/21730926/redirect-play-framework-2-output-to-eclipse-console/22786093#22786093 The only problem is the console does not recognize control-d so you have

Posted in Java, Play Framework

View Java Source In Eclipse for Windows – The Easy Way

In a previous post I outlined the steps to view java source code in eclipse. I have since found a much easier way to do this. Requirements: Eclipse Standard – https://www.eclipse.org/downloads/index.php Java SE Development Kit for Linux – http://www.oracle.com/technetwork/java/javase/downloads/index.html Steps: Open eclipse Create a

Posted in Java

View Java Source In Eclipse for Windows

As my journey into java development continues, I found an opportunity to investigate core java source code. My interest was the method String.contentEquals(). Curious in the difference between String.equals() and String.contentEquals(), look to java source code. UPDATE: View Java Source In Eclipse for

Posted in Java

DIY Home Network Closet

One day I got tired of my wireless network. I have media hungry devices: Direct TV Home Whole Home DVR (This uses internet download for on-demand content) Two Apple TVs Netflix enabled Blu-Ray Netflix enabled Xbox AirPlay enabled speakers My

Posted in Home, Network, Over Engineered

Responsive Bootstrap Header

In this jsfiddle I have created an example on how to create a custom image header for medium and small devices. http://jsfiddle.net/afarris/U87eb/15/embedded/result/ The key to this header is it only uses two images. The main logo and a simple 1px

Posted in CSS, Design Patterns, Responsive Design, Twitter Bootstrap

State behavioral design pattern with previous state

I am always interested in utilizing design patterns in my development tasks.  I finally had the need to check if the state of something changed from it’s previous state.  I thought this would be the perfect use of the state

Tagged with: ,
Posted in Design Patterns, Java

Play Framework 2 Todolist with JPA and PostgreSQL

In order to learn more about creating a Play application with JPA and PostgreSQL, I followed the todolist application instructions: http://www.playframework.com/documentation/2.2.x/JavaTodoList The key difference from the original tutorial is I changed the backend to use JPA with PostgreSQL instead of

Posted in JPA, Play Framework, PostgreSQL, WordPress

Create a new play project for eclipse

Create a new parent directory for your project Go to the new directory in your console dos/terminal Enter play new appname > Enter > 1 or 2 Enter cd appname Enter play Once the play project is loaded, enter eclipse After

Tagged with: ,
Posted in Play Framework

The difference between a WordPress page and post

A page is representative of a traditional static html page.  An about page is a good example of a WordPress page. A post is an entry that can appear on a page.  Typically they are assigned to the Home page.

Posted in WordPress