View Single Post
Old 04 December 2009, 11:04   #51
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Wink

Quote:
Originally Posted by Shoonay View Post
From http://girl.googlecode.com/svn/trunk/girl

Code:
#!/usr/bin/env bash
################################################################################
#
#        _      _ 
#   __ _(_)_ __| |
#  / _` | | '__| |
# | (_| | | |  | |
#  \__, |_|_|  |_|
#  |___/
#
# /usr/bin/girl - Oh yes, it's quite real.
#
# An open source project, hosted at http://code.google.com/p/girl
#
# Background:
# Have you ever seen the tee-shirt bearing the line '#!/usr/bin/girl'? Perhaps
# you've come across a popular blogger who has that in her headline? Maybe a
# geek friend has concocted the term in an email meant to instruct you on what
# you, as a girl, should use. Whatever the case, it would take tremendous will-
# power to resist looking in the /usr/bin directory to see whether or not there
# really *is* a program by that name. Sadly, in most cases, no - there isn't.
# Until now, that is! Install girl into /usr/bin, and show your family, friends
# and associates that you do indeed wield this mysterious force of which many
# have spoken and few have truly seen in the wild.
#
# Instructions:
# Install this file as /usr/bin/girl on any *NIX system, and you will have a
# real executable available for your amusement. You'll need sudo or root access
# to fiddle around in /usr/bin, so be sure you're an authorized individual prior
# to any attempts at copying stuff in there. If you want it to run, you'll also
# need to chmod +x it, of course. As with any new code, read the source to make
# sure it's doing stuff you want it to be doing before you install and run it!
#
# Invitation:
# Please help me develop this project to its potential. I'm a guy. Yes, I'm
# basing my plea for your valuable time and involvment on sheer irony.
#
# Information:
# As a hacker, and more importantly as the father of a presently-two-years-old
# girl, I have great respect and admiration for the girls who have greatly
# altered the courses of history and technology through their contributions to
# programming and, indeed, all facets of information technology. Computers are
# not the realm of guys alone by any means, and even a basic knowledge of the
# origins of computer science would instantly dispel such a mythical stereo-
# type in any who would ignorantly succumb to the media's portrayal of our
# professions. In honor of women everywhere who see problems as a challenge,
# and who create solutions by rising to those challenges, I am compiling a
# history of women in technology at this project's wiki on its Google Code site.
# Your contributions of research and writing for that wiki would be just as
# welcome as contributions of code for this executable. Thank you!
#
# Dedication:
# For Aeysha, who doesn't understand.
# For Tegan, who hopefully will one day.
# And for Ada, whose father must have been very proud.
#
################################################################################
#
# Licensed under the new BSD open source license, because I like California:
# http://www.opensource.org/licenses/bsd-license.php
#
# Copyright (c) 2008, David Christian Liedle
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer. Redistributions in binary
# form must reproduce the above copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other materials provided with
# the distribution. Neither the name of David Christian Liedle nor the names of
# this project's contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
################################################################################
#
# Development notes:
# Yes, it's a shame. I know. But after 20 years of programming, I am only just
# now posting my first SVN commit. This, in fact, happens to be that very same
# commit I mentioned only seconds ago. The first one.
#
# So what exactly should /usr/bin/girl *do*? Well, to get this off the ground in
# style, and to keep it simple and iterative, we'll start this project off with
# one task and one task alone. We can add features and morph it as it develops.
# In fact, check out the wiki for an open-invite discussion on what, exactly,
# this executable should *do*.
#
# And now, without further ado:

echo "w00t!"
Hmm. As a guy from a German-speaking country I must say: a very interesting modern approach to Dadaism.
(Or rather nihilism?!)
(you know it was us to have had them all: Schwitters, Jandl ...)

Last edited by andreas; 04 December 2009 at 11:11.
andreas is offline  
 
Page generated in 0.04503 seconds with 11 queries