Code

This page is an archive of snippets that I found useful, and probably never used.

Distance Calculator
-A distance calculator I created to use in conjunction with my mapping project over at The Found Faith. This calculator takes decimal degrees and calculates the given “crows fly” distance between the points.

Weather API
-A weather script I wrote a while back using Eric Pollman’s (http://eric.pollmann.net) xmlParser snippet. It retrieves data from yahoo’s weather service, and utilizes all available data.

Whatpulse API
-Whatpulse stats script to display user, team, user+team, and team member data in a simple and convenient array form.

CSV Parser
-Loads a csv file than continues to parse the data into a usable array in PHP.

Leave a Reply