blue sea shell featured
August 23rd, 2014 Featured, Projects

This is a script that I used throughout all my programming classes last year at UCSD and will most likely continue to use. It is easy to change to fit most of my testing needs.

The script takes one file containing sample cases which serve as input for a solution program (a program produced by the instructor) and a students program and compares the output of the two.

When one of the cases fails to match the solution program the offending case can be easily found by matching the number that is printed before each sample output to the line number of the test case.

sea shell
The script and a README that has a little bit more of specifics of how to install and run the program can be found following this link.

The code is short enough that I included the script below.

And to finish off, a little angry cat. Thanks for reading!

bash mime
August 22nd, 2014 Featured, Projects

Time Clock is a java application that helps employees track their hours at their workstation. Time Clock runs in the background tracking the amount of time the user has been idle.

Time Clock dialog.

Dialog generated by Time Clock when the user returns to their workstation.

Time Clock reports idle time by using the same native Windows utilities that tells the computer to sleep or turn on a screen saver. Approximately every minute the program reports the amount of time the each user has been inactive to a server. When the number of minutes of inactivity exceeds the threshold determined by the administrator, the user’s browser will automatically be opened by Time Clock.¬†When the user is active again at their workstation, the user is presented with three option, “Taking a break”, “Working diligently”, or “Let me explain”. At that point they will click the most appropriate option and if necessary add a comment. This information can then be used by the administrator and user a like to better keep track of performance in the office.

Time Clock Screenshot

Screenshot of Time Clock dashboard.

JNA Logo

JNA

One of the biggest challenges of this project was making the Java application able to detect activity of the user. Java applications, traditionally can only track activity within widows created by the Java Virtual Machine (JVM) for reasons security and the portability. I was able to overcome these shortcoming by Java Native Library (JNA) which allows the program to access Widows native libraries. By using JNA package Time Clock was able to use the core functionality that determines if the computer has been idle.

You can read more about the JNA here.

Time Clock was commissioned by Source Consulting who now use it in their corporate office in Irvine CA.

August 16th, 2014 Featured, Projects

Provides a simple way to incorporate and customize your Gravatar profile.

This WordPress plugin is designed to be used with WordPress 3.9 sites, and requires
having a Gravatar profile. Me Widget is similar to Jetpacks Gravatar Profile Widget but provides extra customization like using a avatar not on your Gravatar profile or adding custom class tag to your avatar image easily from your widget panel.

Me Widget is available on the wordpress plugin repostiory.

 

 

Features

  • Avatar : Display your Gravatar or a custom avatar.
  • Profile Info : Display some, all, or none of the personal information
    from your Gravatar profile.
  • Customize : the way your avatar and profile data is displayed using
    preset styles.
  • CSS : Easy to edit or make your own styles by adding the style
    template to your existing style sheet
  • Social Icons : Displays icons for your verified accounts from your
    Wordpress profile.
     
%d bloggers like this: