Created
March 6, 2011 06:01
-
-
Save seungwon0/857066 to your computer and use it in GitHub Desktop.
Random class name generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# classnamer - Random class name generator | |
# | |
# Show random class name from http://www.classnamer.com/. | |
# | |
# Seungwon Jeong <[email protected]> | |
# | |
# Copyright 2011 by Seungwon Jeong | |
curl -s http://www.classnamer.com | perl -nle 'print if s{^<p id="classname">(.+)</p>$}{$1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment