dirTree

2014-03-29

dirTree.py is used to connect to a remote server, crawl the contents of that server, and provide a text document with the contents of that servers files.

Home Directory Listing

2014-03-29

I recently started reading the Advanced Bash-scripting guide. This is a solution to the first exercise . From http://www.faqs.org/docs/abs/HTML/writingscripts.html Home Directory Listing Perform a recursive directory listing on the user's home directory and save the information to a file.

FVH2

2014-03-29

fvh2.py took some of the ideas that I had originally had when working with fvh.py and added some functions. It exists mostly because quickly looking through fvh.py was taking too long. Some of the cooler functions that I added are: "savetocircles", which accepts a turtle object and then converts the drawing on its canvas to an .eps file; "circlearound" which draws a circle of radius x around a specific point; and various other functions that center around the idea of drawing some sort of relationship between geometric shapes

fvhmans

2014-03-29

fvhmans.py was originally intended as a housing point for various helper functions for all of the frank vs herb projects. Often times the helper functions either do not end up in here or end up taking a life of their own, however fvhmans is still intended to house the helper functions. It has functions such as "center" which accepts a series of points and attempts to find the nominal center of the series as well as "circleinter" which attempts to find the intersection of two circles.

checkio

2014-03-29

checkio.py is the collection of solutions that I have developed for the problems at checkio.org

isLeapYear

2014-03-29

It has been a LOOONG time since I have used Java so I have decided to do a couple of problems out of an old text book. This is Programming Project 4.1 and 4.2 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ

agrams

2014-03-29

agrams.py is a quick script that helps you to find what potential words are available from a set of words. It is usefulwhen playing word building games. It does need a word dictionary, I personally use this one

BackgroundColorPanel

2014-03-29

BackgroundColorPanel is the visual component of BackgroundColor.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.10 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and implement a program whose background changes color depending on where the mouse pointer is located. If the mouse pointer is on the left half of the program window, display red; if it is on the right half, display green.

BackgroundColor

2014-03-29

BackgroundColor is the driver component of BackgroundColorPanel.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.10 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and implement a program whose background changes color depending on where the mouse pointer is located. If the mouse pointer is on the left half of the program window, display red; if it is on the right half, display green.

MouseOdometerPanel

2014-03-29

MouseOdometerPanel is the visual component of MouseOdometer.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.11 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and Implement an Application that serves as a mouse odometer, continually displaying how far, in pixels, the mouse has moved (while over the program window). Display the current odometer value using a label. Hint: Compare the current positin of the mouse to the last position and use the distance formula to determine how far the mouse has travelled.

MouseOdometer

2014-03-29

MouseOdometer is the driver component of MouseOdometerPanel.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.11 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and Implement an Application that serves as a mouse odometer, continually displaying how far, in pixels, the mouse has moved (while over the program window). Display the current odometer value using a label. Hint: Compare the current positin of the mouse to the last position and use the distance formula to determine how far the mouse has travelled.

StopwatchPanel

2014-03-29

StopwatchPanel is the visual component of Stopwatch.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.22 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and implement an application that works as a stopwatch. Include a display that shows the time (in seconds) as it increments. Include buttons that allow the user to start and stop the time, and reset the display to zero. Arrange the components to present a nice interface.

Stopwatch

2014-03-29

Stopwatch is the driver component of StopwatchPanel.java. In the interest of furthering my reacquaintance with Java I am working through various problems from an old textbook. This is my implementation of Programming Project 6.22 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and implement an application that works as a stopwatch. Include a display that shows the time (in seconds) as it increments. Include buttons that allow the user to start and stop the time, and reset the display to zero. Arrange the components to present a nice interface.

MeanAndDeviation

2014-03-29

MeanAndDeviation.java is yet another application I wrote in the interest of furthering my reacquaintance with Java. This is my implementation of Programming Project 7.5 from Java Foundations, 1st ed http://books.google.com/books?id=8PaRQgAACAAJ Design and implement an application that computes and prints the mean and standard deviation of a list of integers x1->xn. Assume there will be no more than 50 input values. Compute both the mean and standard deviation as floating point values, using the following formulas. mean= (sum of all values)/(number of values) sd= squareroot( (summation(eachnumber-mean)^2)/(1 less than the total number of values))

Recursive File Consoldation

2014-03-30

This script is intended to be used to consolidate all files that match a search pattern into a destination folder through a recursive search of a target folder.Basically you tell it what to look for, where to look, and where to collect its findings. The search paramaters need to be quoted.
Example use of this script:
moveup.sh ~/Pictures "*.jpg" .

Webanize

2014-03-30

I updated webanize so that it can now handle uploading the same script to the database and, rather than creating a new entry, it simply updates the old entry. This should help with incrimental development of various software packages.
2014-03-30 When called Webanize prompts the user for a folder name and script language. It then converts the target script into a syntax highlighted html document and uploads that document to the webserver. After doing so it opens the users text editor, allowing them to ensure that the details are correct before adding the script to a mysql database that powers the portfolio page. Webanize stores connection information in a pw.pw file in the users home directory. 2014-04-12 When called Webanize prompts the user for a folder name and script language. It then converts the target script into a syntax highlighted html document and uploads that document to the webserver. After doing so it opens the users text editor, allowing them to ensure that the details are correct before adding the script to a mysql database that powers the portfolio page. Webanize stores connection information in a pw.pw file in the users home directory. This is the second webanize, it has been updated so that it no longer deletes the details file nor the conf file. This is due to losing lots of typing when the script could not parse the input.

Sync local content upstream to remote webserver

2014-03-30

This script is called by either cron or locally to upload content that I have create on the local copy of my website to the remote copy. It does not delete anything.

Blank Webanize configuration file

2014-03-30

This file is simply a blank configuration file for the webanize settings.

Amazon Problem 1

2014-04-11

This script is problem 1 of a three problem set presented as part of an interview process for a position I am looking at.

Amazon Problem 2

2014-04-12

This is my solution to the second question from Amazon. It has been a very long time since I last used java in really any aspect, so I am afraid/I really know that this solution is way subprime. That said, it is what I have submitted, so I am adding it to this page for posterity's sake.

Amazon Problem 3

2014-04-12

Problem 3 of 3 from Amazon

ASCII bird

2014-04-12

From http://reddit.com/r/dailyprogrammer this is my attempt at ASCII bird in Java. you can read about it here: http://www.reddit.com/r/dailyprogrammer/comments/22slvn/4112014_challenge_157_hard_ascii_bird/ ]

ASCII Bird

2014-04-15

This script simply uses javax.swing to create a place to display the asciibird panel, where the actual game will be played. 2014-04-16 There was/is not much change in this script, however the panel is starting to come along.

ASCII bird Panel

2014-04-15

This is the first iteration of ASCII Bird Panel. Right now it only creates the swing and awt events and panels that will end up powering the ascii bird. This iteration does compile and run, although that is all it currently does. 2014-04-16 I have moved to a JLabel to hold my playfield and made inroads on creating the string that it will use to fabricate the field. 2014-04-16 This iteration is starting to come together. The timer is rocking along and the bird kind of changes positions. Once. Still lots of work to do. yay! 2014-04-17 The ASCII Bird Panel now knows when a key has been pressed and properly moves up and down depending on key presses.

DB cleanup

2014-04-25

This script finds database entries that share have the same URL and then combines their date and comments into one database entry.

odderfile

2014-04-26

hopefully last stuff for this test!
2014-04-26 some more stuff!
2014-04-26 somestuff one!