Welcome to methvin.net, the official website of me, Greg Methvin. I'm currently a Computer Science major at Carnegie Mellon University in Pittsburgh, PA. I also work as a researcher at CMU and have in the past worked as a software engineer for various companies and done freelance Web development. I mainly use this site to put up various work I've done and stuff that is interesting to me.
I've posted here some of the programs and scripts that I've written. If you find any of them useful, you're welcome to make use of them; feel free to email me if you have any questions or comments.
Stuff I wrote
Keep in mind that most of this is older stuff and scripts/programs I just wrote for fun. If you are interested in work that I did for past employers or for courses I took at CMU, please contact me directly.
- C:
- C linked list library, a
lightweight implementation of a linked list in C,
designed to be somewhat generic. The library allows you
to make a linked list of any
structcontaining a member of typelist_t, and provides some useful macros for manipulating and iterating over the items in the list.
- C linked list library, a
lightweight implementation of a linked list in C,
designed to be somewhat generic. The library allows you
to make a linked list of any
- JavaScript:
- ZIP code completer, a tool that completes zip codes and fills in the city/state for you in a form. It also uses a small perl script to map zip codes to city/states and return the data in JSON format.
- JavaScript Tooltips, CSS-stylable tooltips for links.
- JavaScript Calendar/Date Picker, a JavaScript calendar object for selecting and displaying dates dynamically.
- Textarea buttons, a script that adds buttons to the top of a textarea for opening and closing some HTML tags.
- getElementsBySelector, to get elements that match a given CSS selector. I mainly wrote this script as an exercise to see if I could make it work, as well as add some other features I didn't see in other implementations. If you are really serious about using CSS selectors in your JavaScript, I would suggest you use something like jQuery.
- PHP:
- PHP Quote Rotator, a PHP script that rotates quotes in a file.
- XHTML/CSS:
- Periodic Table, a periodic table I made that shows some uses of basic XHTML and CSS techniques. The element links redirect to a page with more info on the element.
- shell scripts:
- rtorrent init script, a script that I wrote to run a screen with the rtorrent torrent client as an init script. I've seen other versions of this elsewhere but I wanted one that was simpler and easier to set up.
- ipodconv, a script to convert video files to iPod .mp4 format (requires ffmpeg).
- flac2mp3, a script to convert flac files to mp3 format and copy id3 info.
- proximity, a script to monitor bluetooth signals and perform actions when a device goes into and out of range.
- proxify, a script I wrote to set up an SSH SOCKS proxy. This allows you to set up a proxy on a local port that routes all your traffic through SSH to a remote server. This is useful for getting around various forms of network filtering and monitoring. I like to use this script along with the tsocks proxying library.