Author Topic: Pc Store Daily Price List  (Read 71394 times)


Online ris

  • Member
  • **
  • Posts: 3804
Pc Store Daily Price List
« Reply #1 on: March 19, 2006, 04:17:31 PM »
up ko lang po for the people interested.  dapat po sana naka sticky to.  para guide sa mga tao sa mga may websites na pc shops.  maganda to para maka compare tyo lahat kung saan cheapest prices or even nearest sa location natin!!!  thank you sir tambutsoo!
To steal ideas from one person is plagiarism
To steal from many is research

Offline tambutsoo

  • Member
  • **
  • Posts: 475
Pc Store Daily Price List
« Reply #2 on: March 19, 2006, 05:10:29 PM »
your welcome sir ris

Offline djamal

  • Member
  • **
  • Posts: 91
    • http://
Pc Store Daily Price List
« Reply #3 on: March 21, 2006, 10:50:16 PM »
nice one thanks!
(\_/)
(O.o)
(>< )
/_|_\add my bunny to ur siggy to help him achieve world domination.

Offline tambutsoo

  • Member
  • **
  • Posts: 475
Re: Pc Store Daily Price List
« Reply #4 on: July 29, 2006, 09:02:21 PM »
up ko lang baka maka tulong pa me for Intel Core 2 Duo Price Update

Offline RaP

  • Member
  • **
  • Posts: 289
  • shutt3r n00b
    • CRUNCHTIME!
Re: Pc Store Daily Price List
« Reply #5 on: July 29, 2006, 09:48:35 PM »
stickY!

Offline headlessspider

  • Member
  • **
  • Posts: 598
    • noel
Re: Pc Store Daily Price List
« Reply #6 on: July 30, 2006, 10:04:12 PM »
sticky please...
-- and if life has failed you leave the cross you're nailed to

Offline dwick

  • Member
  • **
  • Posts: 710
    • http://dteck.cjb
Re: Pc Store Daily Price List
« Reply #7 on: November 19, 2006, 10:51:45 AM »
Pa sticky po
What you do/see/hear just leave it here!

Offline ^_^japol

  • Veterans
  • Member
  • ***
  • Posts: 2498
  • sus
    • personal folio site
Re: Pc Store Daily Price List
« Reply #8 on: November 19, 2006, 11:19:51 AM »

Offline jeremypv

  • Member
  • **
  • Posts: 945
    • jeremypv.net
Re: Pc Store Daily Price List
« Reply #9 on: March 07, 2007, 11:22:45 PM »
eto ang gamit ko, naka-cron lang para lagi fresh ang copy ko.

pcx pricelist downloader...

Code: [Select]
#!/usr/bin/perl -w

use strict;
use File::Copy;

BEGIN{
    $ENV{'http_proxy'} = 'http://<proxyserver>:<port>/';
}


#temp file management
my $pcxpltemp = "/tmp/pcxpl";
unlink $pcxpltemp || die "unable to delete temp file [$!]\n" if(-e $pcxpltemp);

#repository folder management
my $pcxplrepo = "~/pcxpl";
mkdir $pcxplrepo || die "unable to create repository folder [$1]\n" if(!-d $pcxplrepo);

#get the file from web
system "wget http://www.pcx.com.ph/pricelist/pricelist.asp -O $pcxpltemp"
    || die "error downloading file";

#traverse file for the download location
my $fh; my $file2dl = "";
if(open($fh, $pcxpltemp)){
    my $line;
    while($line = <$fh>){
        if($line =~ /a href="pcx\/pcx_(.+?)\.zip" class/i){
            $file2dl = $1;
            last; #found it! no need to go further
        }
    }
    close $fh;
} else {
    die "unable to open temp file for parsing[$!]\n";
}

#check existing repository
my @activefiles = glob("$pcxplrepo/*$file2dl*.zip");

    #copy & paste -> laziness is sometimes a virtue
    my ($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWeek, $dayOfYear, $daylightSavings) = localtime();
    $month++;
    my $year = 1900 + $yearOffset;
    my $dtoday = sprintf("%04d-%02d-%02d", $year, $month, $dayOfMonth);
   
my $newfile = 0;

if($#activefiles < 0){
    # new file
    system "wget http://www.pcx.com.ph/pricelist/pcx/pcx_$file2dl.zip -O $pcxplrepo/$dtoday-$file2dl.zip"
        || die "error downloading [$file2dl] - [$!]\n";
    $newfile = 1;
} else {
        if(!-e "pricelist.pdf" && !-e "pricelist.xls"){
            # get the last file on the list
            system "unzip " . $activefiles[$#activefiles];
        }
        print "----------------------------------------------------------------\n";
        foreach my $fil (@activefiles){
            print "found file: $fil\n";
        }
}

if($newfile == 1){
    unlink "pricelist.pdf" if(-e $pcxpltemp);
    unlink "pricelist.xls" if(-e $pcxpltemp);
   
    system "unzip $pcxplrepo/$dtoday-$file2dl.zip";

}

move "pcx_$file2dl.pdf", "pricelist.pdf" if(-e "pcx_$file2dl.pdf");
move "pcx_$file2dl.xls", "pricelist.xls" if(-e "pcx_$file2dl.xls");


edit: removed troublesome part. =)
jeremypv

Offline jojitb

  • Member
  • **
  • Posts: 1757
    • http://
Re: Pc Store Daily Price List
« Reply #10 on: March 14, 2007, 08:59:55 AM »
jeremypv

Got your downloader to work in XP using windows versions of perl, wget and unzip.  quite nice script there, although I had to debug it a bit due to an $OPTS error.  I'm a perl noob so I just commented those troublesome parts out hehehe.

Thanks!

Offline jeremypv

  • Member
  • **
  • Posts: 945
    • jeremypv.net
Re: Pc Store Daily Price List
« Reply #11 on: March 14, 2007, 05:08:22 PM »
oh yeah. thanks for pointing that out. actually i removed a couple of things before posting it here. this is a cronjob that actually emails me a new copy every time there's a new copy of the pricelist.
jeremypv

Offline jojitb

  • Member
  • **
  • Posts: 1757
    • http://
Re: Pc Store Daily Price List
« Reply #12 on: March 15, 2007, 11:33:30 AM »
Can you send me the complete script along with the email part?  I want to install this on my ubuntu web/mail server at home. 

Offline Heishiro

  • Moderators
  • Member
  • *
  • Posts: 17278
  • BIOMENYEKZ
Re: Pc Store Daily Price List
« Reply #13 on: April 19, 2007, 12:04:21 PM »
BX80557E6700 2.66GHz 4MB 1066 = 17,300.00
BX80557E6600 2.4GHz 4MB 1066 = 12,600.00
BX80557E6420 2.13GHz 4MB 1066 = 10,550.00
BX80557E6400 2.13GHz 2MB 1066 = 10,200.00
BX80557E6320 1.86GHz 4MB 1066 = 9,350.00
BX80557E6300 1.86GHz 2MB 1066 = 9,250.00
BX80557E4400 2.0Ghz 2MB 800 = 7,900.00
BX80557E4300 1.8GHz 2MB 800 = 6,999.00

wow!!! bagsak presyo na ang intel!!! :silly:
Rick "rolled" Astley would never :
- Give you up
- Let you down
- Run around and desert you
- Make you cry
- Say goodbye
- Tell a lie and hurt you

Offline parc123

  • Semi-Newbie
  • *
  • Posts: 44
Re: Pc Store Daily Price List
« Reply #14 on: April 19, 2007, 03:58:59 PM »
BX80557E6700 2.66GHz 4MB 1066 = 17,300.00
BX80557E6600 2.4GHz 4MB 1066 = 12,600.00
BX80557E6420 2.13GHz 4MB 1066 = 10,550.00
BX80557E6400 2.13GHz 2MB 1066 = 10,200.00
BX80557E6320 1.86GHz 4MB 1066 = 9,350.00
BX80557E6300 1.86GHz 2MB 1066 = 9,250.00
BX80557E4400 2.0Ghz 2MB 800 = 7,900.00
BX80557E4300 1.8GHz 2MB 800 = 6,999.00

wow!!! bagsak presyo na ang intel!!! :silly:

hi! san yan mga prices na yan? san nagbebenta? :) thanks!

Offline Heishiro

  • Moderators
  • Member
  • *
  • Posts: 17278
  • BIOMENYEKZ
Re: Pc Store Daily Price List
« Reply #15 on: April 19, 2007, 04:02:00 PM »
sa tipidpc.com
Rick "rolled" Astley would never :
- Give you up
- Let you down
- Run around and desert you
- Make you cry
- Say goodbye
- Tell a lie and hurt you

Offline nmeuvdast8

  • Member
  • **
  • Posts: 1955
  • I'm back!
Re: Pc Store Daily Price List
« Reply #16 on: April 20, 2007, 09:36:47 AM »
kanino sa tpc? di ko mahanap!

Offline Heishiro

  • Moderators
  • Member
  • *
  • Posts: 17278
  • BIOMENYEKZ
Re: Pc Store Daily Price List
« Reply #17 on: April 20, 2007, 10:11:34 AM »
cmax
Rick "rolled" Astley would never :
- Give you up
- Let you down
- Run around and desert you
- Make you cry
- Say goodbye
- Tell a lie and hurt you

Offline nmeuvdast8

  • Member
  • **
  • Posts: 1955
  • I'm back!
Re: Pc Store Daily Price List
« Reply #18 on: April 20, 2007, 11:59:09 AM »
salamat. available ba dito sa pinas yung DFI P965-S na mobo?

Offline spike_asia

  • Semi-Newbie
  • *
  • Posts: 7
Re: Pc Store Daily Price List
« Reply #19 on: April 21, 2007, 01:06:03 AM »
Quote
^^^sir meron po for order nga lang sa TPC kay sir er12345 wait kayo 3 to 4 weeks upon ordering
price is 8K

ako nga kuha ako dapat nun...kaso 5 lang available na DFI 965P-S kasi naubusan raw ng stock yung DFI sa June pa available kaya yung inorder ko na lang DFI 965P lang which is 7K

pinagkaiba lang naman nila is yung 965P-S solid caps yung 965P non solid caps but still the same specs

so panalo pa rin :P

baka hinde na yung DFI 965P ang makukuha ko
baka yung DFI 965P-S na...hehe :P