Here are some projects that I've started and/or worked on (the majority being PHP).
iptables stats
- Started: March 10 (Wednesday), 2010
- Languages: PHP, HTML
- Since I run a web server, I tend to get a lot of random junk hitting the firewall all day long for no reason.
This keeps me curious and I occasionally WHOIS an IP address or two from my iptables log file and it's usually from a country outside of the United States.
I made this small PHP script so I can easily see what countries hit the firewall most and what ports are getting tried most.
- It uses the free version ("country edition") of GeoIP to determine the country based on the IP address.
You add a cron job to scrape the iptables.log and make a plain text file in the format of IP:PORT which the PHP script can process to do its geographical locating and counting.
Personal Pastebin
- Started: October 31 (Saturday), 2009
- Languages: PHP, MySQL, HTML, CSS
- The original pastebin.com inspired me to make this, but mine is nothing like the original one by Paul Dixon.
This pastebin is much simpler and doesn't have any features such as highlighting like the original.
Installing mine takes almost no effort at all.
- I needed a small, private pastebin to share information in class with a few of my friends so I made this.
I personally use a password-protected one to store notes, random lines of code, and long URLs and e-mail addresses.
It really can be used to save almost anything imaginable.
- The pastes are stored in a single MySQL table and a single PHP 185-line file powers the entire pastebin.
It's also extra cool because I started coding it on Halloween.
E-Mail Subscriber List
- Started: August 10 (Friday), 2006
- Languages: PHP, HTML, CSS
- This is a pretty popular project of mine.
I got bored one day and made this; just a simple e-mail subscription sign-up and sender.
It allows users to enter their e-mail address (only if it hasn't already been submitted and is a valid address) so they can "sign-up" for a newsletter.
The owner simply enters their password in the same box that people who sign up enter their e-mail address and it logs them in to a page where they're able to e-mail everyone on the list.
- The list is simply a text file with each e-mail address on easily readable separate lines.
A limit can also be set on how many e-mail addresses the file may contain.
Weather Thing
- Started: February 6 (Friday), 2009
- Languages: PHP, cURL, HTML, CSS
- This script checks a free Google XML API that provides a few details about the weather.
I used to use the free subscription service provided by Weather.com because it had more details, but it restricted free users to a certain number of lookups per 24 hours.
- The conditions, temperature, humidity, wind temperature and speed are all shown.
ip2binary
- Started: November 8 (Wednesday), 2006
- Languages: PHP, HTML, CSS
- I made this to convert IP addresses to their binary counterparts.
We had to convert this way for a computer networking class I took and I just wasn't getting how to do it by hand so I needed to find a good way to do it - this just happened to be it.
I even got extra credit for doing this and it helped me pass a test.
- It just takes each octet entered and converts it from base-10 (decimal) numbering system to base-2 (binary) and makes sure there's a total of 8 digits (fills with zeroes) per octet.
The teacher was pretty impressed and I was pretty proud, but since I made this, I've learned to convert by hand.
YIPChange
- Started: September 24 (Sunday), 2006
- Languages: PHP, cURL
- This small script was something I made for myself pretty quickly that uses PHP's cURL module to update my www.yi.org hostname with my correct IP address.
Occasionally, my IP address changes or the power goes out and I have to update www.yi.org manually, when I have time, but I can set this up as a cron job so it makes sure that the proper IP address is set.
- The IP address of the server running the PHP script is what the www.yi.org hostname changes to.
Simply change the hostname and your password in the script and either run it in a browser when needed or set it up as a cron job on your server.
- All of the hostnames provided by www.yi.org are supported, including whyi.org, and weedns.com
Magic Calculator
- Started: November 4 (Sunday), 2006
- Languages: Two versions; Python and C++
- This was hardly even a project. I got bored and wanted to play with C++ and I did and later I made an identical version in Python.
I wasn't really into C++ and this is the only thing I've ever done in it.
This is just a simple command line calculator that needs to be compiled.
- A friend of mine was really into Python and it seemed easy enough so I tried to make a clone of the C++ in Python.
I'm also not really into Python, but once again this identical version is just a simple command line calculator.
|