2007/03/12

How to schedule the deletes task

  1. Open C drive. Create a new folder named “tool” and copy “mydel.bat” into “C:\tool”
  2. Open “mydel.bat” using NOTEPAD. Change C:\ “documents and settings”\Cindy\“my document”\test to the path of back up folder. E.g C:\masslynx\systembackup new line: C:\masslynx\systembackup\*.* save the file.

    echo y del C:\"Documents and Settings"\Cindy\"My Documents"\test\*.*

  3. Run schedule task
    Start
    All programs
    Accessories
    System tools
    Schedule task
  4. Click “add scheduled task”
    next
    Brower to find the file at “C:\tool\mydel.bat”
    schedule time (two steps)
    User name is on the screen or = full computer name\user name
  5. Right click “my computer”
    Properties
    Find computer name
    User name is the log in name
    Password is the log in password
    Click finished without check the option of “open advanced….”

2007/03/08

my $line_old = $_; my $line = $line_old; my @lines = split (/,/ , $line); foreach my $item (@lines) { do something } $line = join ("," , @lines); ####split does not take the trailing empty element if ($old_line =~ /.*(,+)$/) { $line .= $1; }

2007/01/16

GD graphics library in PHP

GD 2.0 or later (built in to PHP since version 4.3 or so, but you might need to recompile PHP or contact your host if it's not working).

GD is the graphics library that ZenPhoto is based on. Normally, it should come already compiled in with your PHP executable, but as I found out, it's not always the fact.

Here's how to enable GD2 in PHP:
1) If you have access to your php.ini file...
• Open it up in your favorite text editor and look for the following line (near the middle):
;extension=php_gd2.dll
change it to
extension=php_gd2.dll
(basically, remove the semi-colon in front)
• Save the file and upload it back on the server and overwrite the old file.
• Restart your server
• That's it!

2007/01/15

2006/12/11

Met a faker on ebay

I was going to sell my Toshiba Laptop on ebay. During the 7 days bid, I got many emails to try to pay me over $2000 to let me mail Laptop to Nigeria. I knew they are fakers, so I just ingored them.

I was happy when I saw the bidding amount was rising day by day. Yesterday is final day, and the bid growing from $380 to $600. Finally as guy whose ebay ID is Jazzman06 bid it with $687.

I had a feeling that the guy is a faker after I emailed him after bidding, because he did not reply me. I got a Paypal confirmation that $787 was added into my Paypal account this morning, but it is very easy to determine it is a spoolf email, for the email was not sent from Paypal server.

I decided to make a second offer to the next bidder tomorrow. Unfortunately, that guy called Ebay to cancel the bid for the reason that the bid was took place without the account owner's authorization, and Ebay just removed my list. What the hell this world is?!

I don't know how many fakers on ebay, and I just wanted to sell something. Although, those fakers do not have a deep fake-skills, but what could I do? I cannot find any wrong I did during this trade that could avoid this situation. Maybe I just was out of luck.

Good luck next time! :)