11 reasons to date a female geek

1) She can fix your computer and make a website for your new startup.
2) She has friends who can fix your computer and design a database for you.
3) She can program your mother’s VCR and Tivo your favorite shows.
4) Her friends can program your mother’s VCR and Tivo your favorite shows
5) She can fix your friends’ computers.
6) She’ll make you shine wherever you go — how many of your friends are smart enough to date such a smart and useful woman?
7) She can pick out a the right cell phone/mp3 player/digital camera for you. Even better she can afford to buy it for you.
8) She’ll be so happy that someone appreciates her for her real talents, that she’ll adore you.
9) She won’t cheat either. Given a choice between George Clooney and the newest tech toy, she’ll take the toy.
10) Did I mention that she can fix your computer, make a website, design a database, install your cable modem and WiFi router, setup you iTunes for automatic download of your favorite artists, download your Outlook contacts onto the new cellphone/mp3 player/digital camera that she bought you?
11) And, she can cook dinner while doing all of the above.

Trouble mit dem… Paddel NEIN! mit dem User! (DAU)

User kommt zum Admin….

user: ich kann mit meinem MAC nicht mehr auf den server zufgreifen. Gestern vor dem Herunterfahren ging es noch….!

Admin: Ok, ich gucke alle Rechte von Dir an…

Admin: Das ist ein MAC Problem! Du hast alle Rechte wie die anderen und die 4 anderen MAC user können auch auf den server Zugriff nehmen.

User holt Chef dazu

Chef: Das muss laufen! Löscht den Account und legt den noch mal an!

Admin:…

Silicon Proverbs

  1. Home is where you hang your @
  2. The e-mail of the species is more deadly than the mail
  3. A journey of a thousand sites begins with a single click
  4. You can’t teach a new mouse old clicks
  5. Great groups from little icons grow
  6. Speak softly and carry a cellular phone
  7. C:\ is the root of all directories
  8. Don’t put all your hypes in one home page
  9. Pentium wise; pen and paper foolish
  10. The modem is the message
  11. Too many clicks spoil the browse
  12. The geek shall inherit the earth
  13. A chat has nine

PHP crypt command line

crypt

#!/usr/bin/php
< ?php
require "crypt.php";

$type = $argv['1'];
$string = $argv['2'];
$key = $argv['3'];
if($type !='' &&  $string != '' && $key != ''){
        if($type=="e"){
                echo encrypt($string,$key);
                echo "\n";
        }
        elseif($type=="d")
        {
                echo decrypt($string,$key);
                echo "\n";
        }
        else
        {
                die('WRONG TYPE');
        }
}
else
{
        echo 'crypt TYPE STRING KEY';
        echo "\n\n";
        echo "TYPE:\n";
        echo "e encrypt\n";
        echo "d decrypt\n";
        echo "\n\n";
        echo "STRING Your string\n";
        echo "KEY Crypt key\n\n";
}
?>

crypt.php

< ?php
/**
 * encrypt()
 *
 * @param mixed $string
 * @param mixed $key
 * @return mixed $retrun
 */
function encrypt($string, $key){

        $result = '';
        $lentgh = strlen($string);
        for($i = 0; $i < $lentgh; $i++) {
                $char = substr($string, $i, 1);
                $keychar = substr($key, ($i % strlen($key))-1, 1);
                $char = chr(ord($char) + ord($keychar));
                $result .= $char;
        }

        return base64_encode($result);
}

/**
 * decrypt()
 *
 * @param mixed $string
 * @param mixed $key
 * @return mixed $return
 */
function decrypt($string, $key){

        $result = '';
        $string = base64_decode($string);
        $lentgh = strlen($string);

        for($i = 0; $i < $lentgh; $i++) {
                $char = substr($string, $i, 1);
                $keychar = substr($key, ($i % strlen($key))-1, 1);
                $char = chr(ord($char) - ord($keychar));
                $result .= $char;
        }

        return $result;
}
?>

Author Archive

Archives by Month: