Seite 1 von 2 12 LetzteLetzte
Ergebnis 1 bis 20 von 22

Thema: [GB] Gross, schlacksig, 23++

  1. #1

    [GB] Gross, schlacksig, 23++

    Ihr wisst es sicherlich schon, aber wir haben heute einen Geburtstag zu feiern \o/

    Unser allseits geliebter Moderator und Rollenspieler Jesus_666 oder auch einfach Jeez genannt (oder J6cubic, oder ...) hat heute seinen Ehrentag, und in diesem gedenken lasst uns Gott, der Welt, dem Schicksal, wem immer ihr wollt, danken, dass es ihn gibt, und er den Weg zu uns gefunden hat.

    Was soll ich gross sagen. Jeez ist jemand, den ich zu meinen besten und engsten Freunden zaehle, jemand, auf den ich bauen wuerde, wenn man die Kacke am Dampfen ist, jemand, den ich mit meinen noobigen (oder ab und zu auch nicht so noobigen) Problemen sicherlich oft schon genervt habe, mit dem man Drachen stehen (solange da keine Eichhornchen sind und er nicht Darian spielt) und Goetter aus der Taufe (Hallo Rheia und Theia. Na schmeckt der Kuchen ?) heben kann, und der mindestens einen ebenso kranken Humor hat wie ich.

    Um es kurz zu sagen, Danke, dass du in unser aller Leben getreten bist.

    Ich wuensche dir aus ganzem Herzen, alles erdenklich Gute, viel Gesundheit, Erfolg, sowohl im Studium als auch privat, Zufrieden- und Bescheidenheit, sowie dass alle deine grossen und kleinen Wuensche in Erfuellung gehen moegen, ausser einem, damit du immer etwas hast, nach dem es sich zu streben lohnt. Bleibe uns noch lange (und ich meine wirklich richtig lange) erhalten und vor allem so wie du bist, denn da gibt es kaum mehr etwas zu verbessern.

    Und jetzt fuehle dich richtig gaaaaanz dolle geknuddelt, mit Rippenschmerzen und allem, was dazugehoehrt ^_____________^

    Ich habe hier nur noch zwei kleine Geschenke.

    Zum einen einen geekigen PacMan-Kuchen:


    Und zum anderen ein traditionsbewusster Geburtstagsquellcode in Perl
    Code:
    #!/usr/bin/perl
    #
    # congratulation - Programm for printing birthday greetings
    # Syntax: congratulation name
    #
    
    if (@ARGV != 1) {
      print "\n Syntax: congratulation name\n\n";
      print " Example: congratulation Jeez\n";
      print "   Prints Birthday Geetings for a person named Jeez\n";
      print " For further documentation execute \n> grep ^\\# $0\n";
      die "\n";
    }
    
    if (@ARGV[0] ne "Jeez" && @ARGV[0] ne "jeez") {
      print "You are not Jeez. I won't greet ya.\n";
      exit 1;
    }
    
    $_ = "This is our traditional X-Mas Greeting, Bob\n";
    s/\w*-\w*/Birthday/;
    s/traditional/Progforum/;
    $_ =~ s/, \w*/, @ARGV[0]!/g;
    s/,/s/g;
    $_ =~ s/^(\s|\w)*m/Best/;
    s/s\s/s from Luki, /;
    s/j/J/ge;
    
    print;

    Geändert von Ineluki (01.03.2007 um 13:42 Uhr)

  2. #2
    Wah, fast vergessen.

    Ich wuensch dir alles Gute zum Geburstag, Jeez, und hoffe, dass du irgendwann demnaechst mal weniger Stress und mehr Zeit zum Quatschen hast als im Moment.

    Code hab ich leider nicht, mein 3am-Interpreter geht immer noch nicht :/

  3. #3
    Ich kann nur php, ich hoffe das wird hier auch akzeptiert
    PHP-Code:
    <?php
    echo "Happy Birthday, Geez!";
    ?>

  4. #4
    Alles Gute zum Geburtstag, oh großer Jesus!

  5. #5
    Alles Gute zum 23., J!

    Und nochmal vielen Dank fürs Erklären dieser Template-Sache. ^^' Ohne dich hätte ich gerade mindestens dreimal so viel Arbeit. <___<''
    HTML-Code:
    <?xml version = "1.0" encoding = "iso-8859-1" standalone = "no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
    <html xmlns = "http://www.w3.org/1999/xhtml" lang = "de" dir = "ltr">
        <head>
            <title>Herzlichen Glückwunsch, {{NAME}}!</title>
            <meta http-equiv = "Content-Type" content = "text/html; charset=iso-8859-1" />
        </head>
        
        <body>
            <h1>Herzlichen Glückwunsch, {{NAME}}!</h1>
            
            <p>Lieber {{NAME}}, ich wünsche dir alles gute zu deinem {{AGE}}.
            Geburtstag! <img src = "http://www.multimediaxis.de/images/smilies/4/glupsch2.gif" alt = "^^" /><br />
            Mögest du noch viele weitere erleben. <img src = "http://www.multimediaxis.de/images/smilies/s_072.gif" alt = ";)" /></p>
        </body>
        
    </html>
    PHP-Code:
    <?php
        $site 
    load_template ('gratz.html');
        
    $site str_replace (array ('{{NAME}}''{{AGE}}'), array ('Jeez''23'), $site);
        
    send_page ($site);
    ?>
    Etwas länglich, aber mitaki hätte mich sicher angefallen, wenn's nicht valide ist. ()

  6. #6
    w00t, der jeez hat Geburtstag \o/
    Ganz Herzlichen Glückwunsch, ich wünsch dir noch alles Gute, viel erfolg und auf das dein Code immer fehlerfrei sei
    Ebenso wünsche ich dir, ebenso wie mq, mehr Zeit, damit ich dich mal mehr kennen lernen kann und so
    ($freund von mir meinte, ich seh n bisschen aus wie du, als ich grad DFYX natofotos durchsah ... xD")
    In diesem sinne, alles gute, Feier schön, ess leckeren Kuchen, und pass auf die Illumiaten auf,
    bist ja jetzt in dem Alter Besonder Gefährdet


    In diesem Sinne:
    Hail Eris!
    All Hail Diskordia!

    Geändert von FF (01.03.2007 um 14:43 Uhr)

  7. #7
    Wow, hey alles gute von mir!

    Code:
    program BDay; 
    begin
     writeln ('Happy Birthday, Jeez!');
     readln 
    end.
    pascal as always

  8. #8
    Heute hat also Jeez Geburtstag. Für so einen genialen Typen gibts dann auch den wahrscheinlich längsten Geburtstagscode in der Geschichte des Programmierforums. Und zwar eine ganz persönliche Version von ddate, die sowohl unter Linux als auch unter Windows läuft. OS X sollte hoffentlich auch kein Problem sein, dafür hab ich leider keinen Testrechner. Ne Windows Binary häng ich an, den Linuxusern trau ich zu, dass sie wissen, wie man einen Compiler bedient.

    Code:
    /* $ DVCS ID: $jer|,523/lhos,KYTP!41023161\b"?" <<= DO NOT DELETE! */
    
    /* ddate.c .. converts boring normal dates to fun Discordian Date -><-
       written  the 65th day of The Aftermath in the Year of Our Lady of 
       Discord 3157 by Druel the Chaotic aka Jeremy Johnson aka
       mpython@gnu.ai.mit.edu  
          28 Sever St Apt #3
          Worcester MA 01609
    
       and I'm not responsible if this program messes anything up (except your 
       mind, I'm responsible for that)
    
       (k) YOLD 3161 and all time before and after.
       Reprint, reuse, and recycle what you wish.
       This program is in the public domain.  Distribute freely.  Or not.
    
       Majorly hacked, extended and bogotified/debogotified on 
       Sweetmorn, Bureaucracy 42, 3161 YOLD, by Lee H:. O:. Smith, KYTP, 
       aka Andrew Bulhak, aka acb@dev.null.org
    
       and I'm not responsible if this program messes anything up (except your 
       mind, I'm responsible for that) (and that goes for me as well --lhos)
    
       Version history:
       Bureflux 3161:      First release of enhanced ddate with format strings
       59 Bcy, 3161:       PRAISE_BOB and KILL_BOB options split, other minor
                           changes.
    
       1999-02-22 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
       - added Native Language Support
    
       2000-03-17 Burt Holzman <bnh@iname.com>
       - added range checks for dates
       
       Ported for Windows on Pungenday, the 43th day of Chaos 3173 by DFYX aka
       Christian Käser.
       
       and I'm not responsible if this program messes anything up (except your 
       mind, I'm responsible for that) (and again --DFYX)
       
       Added birthday code for Jeez on Setting Orange,  the 60th day of Chaos in the
       YOLD 3173 by DFYX
    */
    
    /* configuration options  VVVVV   READ THIS!!! */
    
    /* If you wish ddate(1) to print the date in the same format as Druel's 
     * original ddate when called in immediate mode, define OLD_IMMEDIATE_FMT 
     */
    
    #define OLD_IMMEDIATE_FMT
    
    /* If you wish to use the US format for aneristic dates (m-d-y), as opposed to
     * the Commonwealth format, define US_FORMAT.
     */
    
    /* #define US_FORMAT */
    
    /* If you are ideologically, theologically or otherwise opposed to the 
     * Church of the SubGenius and do not wish your copy of ddate(1) to contain
     * code for counting down to X-Day, undefine KILL_BOB */
    
    #define KILL_BOB 13013
    
    /* If you wish ddate(1) to contain SubGenius slogans, define PRAISE_BOB */
    
    /*#define PRAISE_BOB 13013*/
    
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <stdio.h>
    //#include <nls.h>
    //#include "../defines.h"		/* for util-linux-version */
    
    #define random rand
    #define srandom srand
    
    #ifndef __GNUC__
    #define inline /* foo */
    #endif
    
    #ifdef KILL_BOB
    int xday_countdown(int yday, int year);
    #endif
    
    
    /* string constants */
    
    char *day_long[5] = { 
        "Sweetmorn", "Boomtime", "Pungenday", "Prickle-Prickle", "Setting Orange"
    };
    
    char *day_short[5] = {"SM","BT","PD","PP","SO"};
    
    char *season_long[5] = { 
        "Chaos", "Discord", "Confusion", "Bureaucracy", "The Aftermath"
    };
    
    char *season_short[5] = {"Chs", "Dsc", "Cfn", "Bcy", "Afm"};
    
    char *holyday[5][2] = { 
        { "Mungday", "Chaoflux" },
        { "Mojoday", "Discoflux" },
        { "Syaday",  "Confuflux" },
        { "Zaraday", "Bureflux" },
        { "Maladay", "Afflux" }
    };
    
    struct disc_time {
        int season; /* 0-4 */
        int day; /* 0-72 */
        int yday; /* 0-365 */
        int year; /* 3066- */
    };
    
    char *excl[] = {
        "Hail Eris!", "All Hail Discordia!", "Kallisti!", "Fnord.", "Or not.",
        "Wibble.", "Pzat!", "P'tang!", "Frink!", 
    #ifdef PRAISE_BOB
        "Slack!", "Praise \"Bob\"!", "Or kill me.",
    #endif /* PRAISE_BOB */
        /* randomness, from the Net and other places. Feel free to add (after
           checking with the relevant authorities, of course). */
        "Grudnuk demand sustenance!", "Keep the Lasagna flying!", 
        "Umlaut Zebra über alles!", "You are what you see.",
        "Or is it?", "This statement is false.",
        "And they saw that isGood() returned true;"
    #if defined(linux) || defined (__linux__) || defined (__linux)
        "Hail Eris, Hack Linux!",
    #endif
        ""
    };
    
    char default_fmt[] = "%{%A, %B %d%}, %Y YOLD";
    char *default_immediate_fmt=
    #ifdef OLD_IMMEDIATE_FMT
    "Today is %{%A, the %e day of %B%} in the YOLD %Y%N%nCelebrate %H"
    #else
    default_fmt
    #endif
    ;
    
    #define DY(y) (y+1166)
    
    static inline char *ending(int i) {
    	return (i%10==1)?"st":(i%10==2?"nd":(i%10==3?"rd":"th"));
    }
    
    static inline int leapp(int i) {
    	return (!(DY(i)%4))&&((DY(i)%100)||(!(DY(i)%400)));
    }
    
    /* select a random string */
    static inline char *sel(char **strings, int num) {
    	return(strings[random()%num]);
    }
    
    void print(struct disc_time,char **); /* old */
    void format(char *buf, const char* fmt, struct disc_time dt);
    /* read a fortune file */
    int load_fortunes(char *fn, char *delim, char** result);
    
    struct disc_time convert(int,int);
    struct disc_time makeday(int,int,int);
    
    int
    main (int argc, char *argv[]) {
        long t;
        struct tm *eris;
        int bob,raw;
        struct disc_time hastur;
        char schwa[23*17], *fnord=0;
        int pi;
        char *progname, *p;
    
        progname = argv[0];
        if ((p = strrchr(progname, '/')) != NULL)
    	progname = p+1;
    
        /*setlocale(LC_ALL, "");
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);*/
    
        srandom(time(NULL));
        /* do args here */
        for(pi=1; pi<argc; pi++) {
    	switch(argv[pi][0]) {
    	case '+': fnord=argv[pi]+1; break;
    	case '-': 
    	    switch(argv[pi][1]) {
    	    case 'V':
    		printf("%s\n", progname);
    	    default: goto usage;
    	    }
    	default: goto thud;
    	}
        }
    
      thud:
        if (argc-pi==3){ 
    	int moe=atoi(argv[pi]), larry=atoi(argv[pi+1]), curly=atoi(argv[pi+2]);
    	hastur=makeday(
    #ifdef US_FORMAT
    	    moe,larry,
    #else
    	    larry,moe,
    #endif
    	    curly);
    	if (hastur.season == -1) {
    		printf("Invalid date -- out of range\n");
    		return -1;
    	}
    	fnord=fnord?fnord:default_fmt;
        } else if (argc!=pi) { 
          usage:
    	fprintf(stderr,"usage: %s [+format] [day month year]\n", argv[0]);
    	exit(1);
        } else {
    	t= time(NULL);
    	eris=localtime(&t);
    	bob=eris->tm_yday; /* days since Jan 1. */
    	raw=eris->tm_year; /* years since 1980 */
    	hastur=convert(bob,raw);
    	fnord=fnord?fnord:default_immediate_fmt;
        }
        format(schwa, fnord, hastur);
        printf("%s\n", schwa);
        
        if(bob == 59)
        {
    		printf("HAPPY BIRTHDAY, JEEZ!!!\n");
    	}
       
        return 0;
    }
    
    void format(char *buf, const char* fmt, struct disc_time dt)
    {
        int tib_start=-1, tib_end=0;
        int i, fmtlen=strlen(fmt);
        char *bufptr=buf;
    
    /*    fprintf(stderr, "format(%p, \"%s\", dt)\n", buf, fmt);*/
    
        /* first, find extents of St. Tib's Day area, if defined */
        for(i=0; i<fmtlen; i++) {
    	if(fmt[i]=='%') {
    	    switch(fmt[i+1]) {
    	    case 'A':
    	    case 'a':
    	    case 'd':
    	    case 'e':
    		if(tib_start>0)	    tib_end=i+1;
    		else		    tib_start=i;
    		break;
    	    case '{': tib_start=i; break;
    	    case '}': tib_end=i+1; break;
    	    }
    	}
        }
    
        /* now do the formatting */
        buf[0]=0;
    
        for(i=0; i<fmtlen; i++) {
    	if((i==tib_start) && (dt.day==-1)) {
    	    /* handle St. Tib's Day */
    	    strcpy(bufptr, "St. Tib's Day"); bufptr += 13;
    	    i=tib_end;
    	} else {
    	    if(fmt[i]=='%') {
    		char *wibble=0, snarf[23];
    		switch(fmt[++i]) {
    		case 'A': wibble=day_long[dt.yday%5]; break;
    		case 'a': wibble=day_short[dt.yday%5]; break;
    		case 'B': wibble=season_long[dt.season]; break;
    		case 'b': wibble=season_short[dt.season]; break;
    		case 'd': sprintf(snarf, "%d", dt.day+1); wibble=snarf; break;
    		case 'e': sprintf(snarf, "%d%s", dt.day+1, ending(dt.day+1)); 
    		    wibble=snarf; break;
    		case 'H': if(dt.day==4||dt.day==49)
    		    wibble=holyday[dt.season][dt.day==49]; break;
    		case 'N': if(dt.day!=4&&dt.day!=49) goto eschaton; break;
    		case 'n': *(bufptr++)='\n'; break;
    		case 't': *(bufptr++)='\t'; break;
    		    
    		case 'Y': sprintf(snarf, "%d", dt.year); wibble=snarf; break;
    		case '.': wibble=sel(excl, sizeof(excl)/sizeof(excl[0]));
    		    break;
    #ifdef KILL_BOB
    		case 'X': sprintf(snarf, "%d", 
    				  xday_countdown(dt.yday, dt.year));
    				  wibble = snarf; break;
    #endif /* KILL_BOB */
    		}
    		if(wibble) {
    /*		    fprintf(stderr, "wibble = (%s)\n", wibble);*/
    		    strcpy(bufptr, wibble); bufptr+=strlen(wibble);
    		}
    	    } else {
    		*(bufptr++) = fmt[i];
    	    }
    	}
        }
      eschaton:
        *(bufptr)=0;
    }
    
    struct disc_time makeday(int imonth,int iday,int iyear) /*i for input */
    { 
        struct disc_time funkychickens;
        
        int cal[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
        int dayspast=0;
    
        /* basic range checks */
        if (imonth < 1 || imonth > 12) {
    	    funkychickens.season = -1;
    	    return funkychickens;
        }
        if (iday < 1 || iday > cal[imonth-1]) {
    	    if (!(imonth == 2 && iday == 29 && iyear%4 == 0 &&
    		  (iyear%100 != 0 || iyear%400 == 0))) {
    		    funkychickens.season = -1;
    		    return funkychickens;
    	    }
        }
        
        imonth--;
        funkychickens.year= iyear+1166;
        while(imonth>0) { dayspast+=cal[--imonth]; }
        funkychickens.day=dayspast+iday-1;
        funkychickens.season=0;
        if((funkychickens.year%4)==2) {
    	if (funkychickens.day==59 && iday==29)  funkychickens.day=-1;
        }
        funkychickens.yday=funkychickens.day;
    /*               note: EQUAL SIGN...hopefully that fixes it */
        while(funkychickens.day>=73) {
    	funkychickens.season++;
    	funkychickens.day-=73;
        }
        return funkychickens;
    }
    
    struct disc_time convert(int nday, int nyear)
    {  struct disc_time funkychickens;
       
       funkychickens.year = nyear+3066;
       funkychickens.day=nday;
       funkychickens.season=0;
       if ((funkychickens.year%4)==2)
         {if (funkychickens.day==59)
    	funkychickens.day=-1;
         else if (funkychickens.day >59)
           funkychickens.day-=1;
        }
       funkychickens.yday=funkychickens.day;
       while (funkychickens.day>=73)
         { funkychickens.season++;
           funkychickens.day-=73;
         }
       return funkychickens;
      
     }
    
    #ifdef KILL_BOB
    
    /* Code for counting down to X-Day, X-Day being Cfn 40, 3164 
     *
     * After `X-Day' passed without incident, the CoSG declared that it had 
     * got the year upside down --- X-Day is actually in 8661 AD rather than 
     * 1998 AD.
     *
     * Thus, the True X-Day is Cfn 40, 9827.
     *
     */
    
    int xday_countdown(int yday, int year) {
        int r=(185-yday)+(((yday<59)&&(leapp(year)))?1:0);
        while(year<9827) r+=(leapp(++year)?366:365);
        while(year>9827) r-=(leapp(year--)?366:365);
        return r;
    }
    
    #endif
    Angehängte Dateien

  9. #9
    Gratz auch von mir zu deinem 23. (o.O) Geburtstag!
    Ich schließe mich mal mq und Freierfall an: Lass dich mal wieder häufiger sehen

    Code fällt mir jetzt nicht wirklich ein *duck und verschwind*

    EDIT: Mh, ich könnte ja auch einfach meine PHP ddate-Funktion als Geburtstagsgeschenk verpacken. *grübel* Ne, doch nicht :P

  10. #10
    Kleiner Nachtrag. Ich hab grad bei German Bash ein sehr passendes Zitat entdeckt:

    Zitat Zitat
    Quelle: http://german-bash.org/action/show/id/77590

    <Sperma> Jesus war Student
    <Sperma> Lange Haare, wohnte mit 30 noch bei seinen Eltern, und wenn er was getan hat war`s ein Wunder.
    Allerdings frag ich mich, wie man zu dem Nickname kommt

  11. #11
    OMG

    Das ist offtopic! Ich werde euch alle bei Seso melden und der haut euch dann!1

    rm -rf /PC\/IT-Bereich/*






    /*
    Okay, okay... Danke, Jungs. Auch wenn ihr langsam werdet - meine Mutter war dreizehneinhalb Stunden schneller als Luki.

    BTW, der Preis für das beste Geburtstagsgeschenk geht an meinen Bruder, der mir die Special Edition von Snakes on a Plane (mit Kühlschrankmagneten aka "Snakes on a Fridge") plus passendem T-Shirt geschenkt hat. Fsck yeah.
    */

  12. #12
    Das ist egal, dass es Offtopic ist. Es geht hier doch um dich!
    Okay, ich fass mich kurz:
    Gratz!

  13. #13

  14. #14
    Code:
    Geburtstagskind mensch1 = new Geburtstagskind();
    mensch1.Name = "Jesus_666";
    mensch1.Geburtsdatum = "01.03.1984";
    Console.WriteLine("Herzlichen Glückwunsch, " + mensch1.Name + ". Heute wirst du " mensch1.Alter + " Jahre alt. Deswegen wünsche ich dir viele Geschenke, eine fantastische Party und einen guten Rausch. Happy Birthday!");
    Die Klasse Geburtstagskind führe ich jetzt aber nicht näher aus :P

    kurzgesagt: Gratz.

    lg niji (zav)

  15. #15
    Gib' mir bitte ein Jahr in meiner Ausbildung, vielleicht kann ich dir dann auch was zum Geburtstag scripten .__.
    So einfach nur einen herzlichen Glückwunsch mein Großer
    Und ich sag' nur:
    "Ring Ring Ring Ring Ring Ring, Bananaphone!"

  16. #16
    Jop, alles Gute, Jeez.

    Und Scripts im Progforum zu proggen ist mir eh viel zu Mainstream.

  17. #17
    Ich gratulier dir dann auch mal frech, ohne was zu coden

    Alles Gute Jeez

  18. #18
    c wurde ja schon verwendet, und was anderes kann ich n00by nich

    Egal, jeez, ich wünsche dir alles gute zum Geburtstag. Wir hatten zwar bisher nicht viel miteinander zu tun, aber ich habe viel Spaß an all den Stunden DSA mit dir gehabt
    Hoffendlich bleibst du uns noch lange erhalten

    (was für ein Zufall, dass ich gerade heute hier rein schaue. Tue ich sonst sehr selten)

  19. #19
    Wir haben zwar nicht viel miteinander zu tun aber du hast immer viele Fragen von mir beantwortet und das finde ich gut und deshalb auch von mir:

    Alle erdenklich gute zum 23.


    gruß Jay

  20. #20
    Das mit dem scripten und so versuche ich gar nicht erst -> gibt nur Kopfschmerzen xD

    Alles Gute zum 23.!
    *knuffel*
    (Den Rest kennst ja schon ^^)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •