hoder.org

November 19, 2008

datasheet

Filed under: Uncategorized — admin @ 12:51 pm

http://www.datasheet.ws/
Part No.  Technical Notes 
   2743019447  SURFACE MOUNT BEAD, 5.1MM LG., (DIFFERENTIAL-MODE), BROADBAN 
   2743021447  SURFACE MOUNT BEAD, 9.6MM LG., (DIFFERENTIAL-MODE), BROADBAN 
   2944666671  WOUND FERRITE BEAD, 2 1/2 TURNS, BROADBAND FREQUENCIES 1-2 
   AMK105BJ225MV  CAP, MLCC, 0402, 4V, X5R, 2.2UF, ¡À20%, T&R 
   AMK105BJ225MV-F  CAP, MLCC, 0402, 4V, X5R, 2.2UF, ¡À20%, T&R 
   AMK105BJ475MV  CAP, MLCC, 0402, 4V, X5R, 4.7uF, ¡À20%, T&R 
   AMK105BJ475MV-F  CAP, MLCC, 0402, 4V, X5R, 4.7uF, ¡À20%, T&R 
   AMK107BJ106MA  CAP, MLCC, 0603, 4V, X5R, 10UF, ¡À20%, T&R 
   AMK107BJ106MA-T  CAP, MLCC, 0603, 4V, X5R, 10UF, ¡À20%, T&R 
   AMK107BJ226MA  CAP, MLCC, 0603, 4V, X5R, 22uF ¡À20%, T&R 
   AMK107BJ226MA-T  CAP, MLCC, 0603, 4V, X5R, 22uF ¡À20%, T&R 
   AMK107BJ475MK  CAP, MLCC, 0603, 4V, X5R, 4.7UF, ¡À20%, T&R 
   AMK107BJ475MK-T  CAP, MLCC, 0603, 4V, X5R, 4.7UF, ¡À20%, T&R 
   AMK316BJ107ML  CAP, MLCC, 1206, 4V, X5R, 100UF, ¡À20%, T&R 
   AMK316BJ107ML-T  CAP, MLCC, 1206, 4V, X5R, 100UF, ¡À20%, T&R 
   AMK316BJ476ML  CAP, MLCC, 1206, 4V, X5R, 47UF, ¡À20%, T&R 
   AMK316BJ476ML-T  CAP, MLCC, 1206, 4V, X5R, 47UF, ¡À20%, T&R 
   BK1005HM102  FERRITE BEAD, MULTILAYER CHIP, 0402, 1000 OHMS, ¡À25%, T&R 

November 17, 2008

directory web site

Filed under: Uncategorized — admin @ 12:24 am

http://www.hobid.info/

Tecal Electronics, LLC

November 15th, 2008

Tecal Electronics, LLC

Franchised stocking distributor of Taiyo Yuden and Kamaya (Mitsubishi) passive electronic components including: capacitors, inductors, resistors, ferrite products, EMI/RFI filters, chokes, coils, thermistors, etc. 

http://icinventory.biz/
AZEGO Technology Services inventory file

November 14th, 2008

Part No Mfr Date Code Quantity Comment
1N4103-1JANTX MSW   488  
1N4104-1JANTX MSW   1445  
1N4108-1JANTX MSW   3961  
1N4109-1JANTX MSW   2348  
1N4110-1JANTX MSW   4550  
1N4110UR-1JANTX MSW   426  
1N4116-1JANTX MSW   104  
1N4130-1JAN MSW   699  
1N4148-1JANTXV MSW   12215  
1N4148T/R PHA   2370000  
1N4150-1JAN MSW   902  
1N4153-1JANTXV MSW   589  
1N4372A-1JANTX MSW   3564  
1N4464JANTX MSW   190  
1N4466USJANTXV MSW   37  
1N4473JANTX MSW   207  
1N4481JANTX MSW   2169  
1N4487JAN MSW   299  
1N4487JANTX MSW   3338  
1N4490JANTX MSW   1024  
1N4496JANTX MSW   556

November 4, 2008

OEM Inquiry/Excess from FAAC Electronic Ltd., DUBLIN, IRELAND

Filed under: Uncategorized — admin @ 12:24 pm

http://info.hobid.com/OEM-Inquiry-Excess-from-FAAC-Electronic-Ltd-DUBLIN-IRELAND-s189.html

Faac Electronics (formerly Elab Ireland) a part of the FAAC Group with headquarter in Italy has been operating in Ireland as a manufacturer of electronic equipment since 1977.  The sector in which the company specialises is the electronic equipment used in automatic access control (such as factory gates, garage doors, traffic barriers etc.) and in particular microprocessor-based control units, radio transmitters and receivers for remote control, infra-red photoswitches.

RFQs in 2009:(more details please see the attached RFQ file)

  A B C D E F G H I J K
1 FAAC P/N Commodity Category Qty req 2009 Target price in USD Your quote Manufacturer quoted Manufacturer P/N quoted Manufacturer Name 1 Manufacturer P/N 1 Manufacturer Name 2 Manufacturer P/N 2
2 7BATTERY2032 Batteries2009 1,318,778 TBA       Varta 6032101501 Maxel CR2032 Bulk Packed
3 7BATTERY12 Batteries2009 585,990 TBA       Gold Peak SUPER ALKALINE 23A 12V VINNIC L1028
4 7CHOKEISA22NH Chokes2009 1,054,755 TBA       Würth Electronic 744761122A 
744761122R 
744761122AR
   
7CHOKEISA18NH Chokes2009 712,424 TBA       Würth Electronic 744786118 13″ T&R 
744786118R
Dubilier DCH 0603 180J13
6 7CHOKEISA10NH Chokes2009 614,312 TBA       Würth Electronic 74478611 13″ T&R 
74478611R
TOKO LL1608-FSL10NJ
7 7CHOKEISA47NH Chokes2009 405,857 TBA       TDK MLG1608B47NJT Dubilier DCH 0603 470J13
8 7CHOKEISA3.9NH Chokes2009 330,210 TBA       Würth Electronic 744786033 13″ T&R 
744786033R
TDK MLG1608B3N9ST
9 7CHOKEISA27NH Chokes2009 290,967 TBA       Pulse PE-0603CD270KTTNL    
10  7CHOKE330NHSMD Chokes2009 210,721 TBA       Würth Electronic 7447903 7 ” T&R 
7447903R 13″ T&R
TDK MLF2012DR33KT
11 7CHOKEISA39NH Chokes2009 117,635 TBA       Würth Electronic 744786131 13″ T&R 
744786131R
Dubilier DCH 0603 390J13
12 7CON95X2 Connectors2009 395,920 TBA       PHOENIX MKDSN 1.5/2 PTR AK500/2DS-5.0-V-BL
13 7CONTPIN3 Connectors2009 235,998 TBA       Samtec ASP-18498-01 Selecom 516910120165
14 7CONMSTBVA2.5/3 Connectors2009 233,785 TBA       PHOENIX MSTBVA2.5/3-G PTR STL950 /3W-5.0-V
15 7CON95X5 Connectors2009 231,762 TBA       PHOENIX MKDSN 1.5/5 PTR AK500/5DS-5.0-V-BL
16 7CON95X3 Connectors2009 186,073 TBA       PHOENIX MKDSN 1.5/3 PTR AK500/3DS-5.0-V-BL
17 7CONMSTB2.5/3P1 Connectors2009 170,338 TBA       PHOENIX MSTB 2.5/3-ST (Bespoke drawing) PTR AK950/3-5.0 (Bespoke drawing)
18 7CONMSTBVA2.5/2 Connectors2009 147,170 TBA       PHOENIX MSTBVA2.5/2-G PTR STL950 /2W-5.0-V
19 7CON2S Connectors2009 131,012 TBA       MOLEX 5281-02A 10-32-1021 Selecom AK700 / 2-5.0-V
20 7MKDS3/2 Connectors2009 130,117 TBA       PHOENIX MKDS3/2 PTR AK700 / 2-5.0-V
21 7CON95X4 Connectors2009 123,591 TBA       PHOENIX MKDSN 1.5/4 PTR AK500/4DS-5.0-V-BL
22 7CON2S3.96 Connectors2009 121,445 TBA       MOLEX 5273-2A 09-65-2028 Selecom STL950/8W-5.0-V
23 7CONMSTB2.5/8P2 Connectors2009 120,686 TBA       PHOENIX MSTB 2.5/8-ST (Bespoke drawing) PTR AK950/8-5.0 (Bespoke drawing)
24 7CONNECTOR8SP Connectors2009 120,686 TBA       PHOENIX MSTBVA 2.5/8-G PTR STL950/8W-5.0-V
25 7CONTPIN1 Connectors2009 112,304 TBA       Samtec TSW-101-17-TM-S Selecom 6120M05-SP30
26 7CONMSTB2.5/11P2 Connectors2009 108,537 TBA       PHOENIX MSTB 2.5/11-ST (Bespoke drawing) PTR AK950/11-5.0 (Bespoke drawing)
27 7CONMTBVA2.5/11 Connectors2009 108,537 TBA       PHOENIX MSTBVA 2.5/11-G PTR STL950/11W-5.0-V
28 7CR27.13438MHZSMD Crystals2009 574,590 TBA       TAITIEN XVDEECNANF-27.13438 HLX HLX-I-F-27.13438-12-3030-2070-50-TR.
29 7CR13.56MHZSMD Crystals2009 84,799 TBA       TAITIEN XVDEECNANF-13.56    
30  7DISM4007 Diodes2009 4,739,089 TBA       FAIRCHILD S1M-NL ON SEMI MRA4007T3G
31 7DILL4148 Diodes2009 3,111,349 TBA       FAIRCHILD FDLL4148/D87Z-NL (13″) 
FDLL4148-NL(7″)
Vishay LL4148-GS18
32 7DIBAV70 Diodes2009 2,429,058 TBA       PHILIPS BAV70 ON SEMI BAV70LT1G
33 7DILL4148/123 Diodes2009 1,004,793 TBA       FAIRCHILD MMSD4148_NL ON SEMI MMSD4148T1G
34 7DIBAT17 Diodes2009 748,959 TBA       PHILIPS BAT17   0
35 7DIBAV99 Diodes2009 691,440 TBA       PHILIPS BAV99 ON SEMI  
BAV99LT1G
36 7FUSEHOLDER2 Fuses2009 480,389 TBA       BUSSMANN HTC-15M    
37  7FUSE5A Fuses2009 219,129 TBA       Littlefuse 217 005.(M)XP BUSSMANN BK1/S506.800MA-R
38 7FUSE.800AS Fuses2009 206,623 TBA       Littlefuse 218.800(M)XP BUSSMANN (BK1)S500 - 5 - R
39 7ICLM2904SMD IC’s2009 228,450 TBA       Philips/NXP LM2904D ST MICROELECRONIC LM2904DT
40 7ICLM358SMD IC’s2009 170,670 TBA       National SEMI LM358MX_NOPB ST MICROELECRONIC LM358DT
41 7IC74HC164SMD IC’s2009 141,788 TBA       Motorola MC74HC164AD-G FAIRCHILD MM74HC164MX_NL
42 7IC555 IC’s2009 132,806 TBA       National SEMI LM555CN_NOPB FAIRCHILD NE555N
43 7IC4040BT IC’s2009 121,005 TBA       Philips/NXP HEF4040BT FAIRCHILD CD4040BCMX
44 7RL1CO24V0.5A Relays2009 382,253 TBA       Fujitsu (Takamisawa) SY24W-K 
SY24K
IMO PRECISION EV1-CWL-24VDC
45 7RL1CO24V16A Relays2009 305,706 TBA       Fujitsu (Takamisawa) FTRK1CK024W   0
46 7RLESA24VHS Relays2009 180,514 TBA       Fujitsu (Takamisawa) MZ24HSK 
FBR211SED024-M
IMO PRECISION SRFA-1C-SL-24VDC
47 7RL2CO24V10A Relays2009 172,598 TBA       Fujitsu (Takamisawa) FTR F1CA024V 
FTR F1CL024R ( 2 x 8A Contacts)
IMO PRECISION SRRHN-2C-F-24VDC SRRN-2C-F-24VDC (FAAC Fax 59-98 4/5/98)
48 7RLF1CO24V10A2 Relays2009 134,070 TBA       Fujitsu (Takamisawa) FBR161SED024UWB-T99-LF SCHRACK(TYCO) T7NS5D1-24
49 7TRBC847C Transistors2009 7,981,415 TBA       Philips/NXP BC847C 
BC847C T&R 
BC847C (235)
Siemens BC847C E6433
50 7TRBC857B Transistors2009 2,579,250 TBA       Philips/NXP BC857B Siemens BC857B E6433
51 7TRBC817/25 Transistors2009 1,519,130 TBA       Philips/NXP BC817-25 Siemens BC817-25 E6433
52 7TRBFS17A Transistors2009 1,062,851 TBA       Philips/NXP BFS17A   0
53 7TRBC846B Transistors2009 223,582 TBA       Philips/NXP BC846B Siemens BC846B E6430 (10K)
54 7TRZTX600 Transistors2009 212,550 TBA       ZETEX ZTX601STZ   0
55 7TRBC847BS Transistors2009 211,798 TBA       Philips/NXP BC847BS   0
56 7TRBC817/40 Transistors2009 191,042 TBA       Philips/NXP BC817-40/T3 Motorola BC817-40LT1G
57 7TR7805 Transistors2009 177,198 TBA       ST MICROELECTRONIC L7805CV Fairchild KA7805AETU_NL 
KA7805TU_NL 
KA7805AETU 
LM7805CT
58 7TRBFT25 Transistors2009 121,646 TBA       Philips/NXP BFT25   0
59 7TRTIP120 Transistors2009 113,903 TBA       ST MICROELECTRONIC TIP120 Motorola TIP120G
60 7TRIRFZ44NS-SMD Transistors2009 111,696 TBA       Philips/NXP BUK7606-75B Fairchild HUF75332S3ST
61 7TRBCP54 Transistors2009 105,531 TBA       Philips/NXP BCP54   0
62 7VARISTOR1 Varistors2009 245,702 TBA       Siemens/Epcos SIOV-S14K275G5S5   
Q69X4652 
B72214S0271K551
Harris/Littelfuse V275LT20AP
63 7VARISTOR10 Varistors2009 226,774 TBA       Siemens/Epcos SIOV-S07K30GS2      
Q69X4316 
B72207S0300K211
Harris/Littelfuse V47ZT1P
64 7ZS3V3/80 Zeners2009 791,143 TBA       Vishay TZMC3V3GS18 Siemens/EPCOS BZV55C3V3 Tape on 13″ reel
65 7ZSC5V6/123 Zeners2009 746,517 TBA       Vishay MMSZ4690-V-GS18 ON SEMI MMSZ4690T3G
66 7ZS6V2/80 Zeners2009 275,198 TBA       Vishay TZMC6V2GS18 Siemens/EPCOS BZV55C6V2 Tape on 13″ reel
67 7ZS12V/80 Zeners2009 260,829 TBA       Vishay TZMC12-GS18 Siemens/EPCOS BZV55C12 Tape on 13″ reel
68 7ZS16V/80 Zeners2009 141,740 TBA       Vishay TZMC16-GS18 Siemens/EPCOS BZV55C16 Tape on 13″ reel
69 7ZS4V7/80 Zeners2009 140,083 TBA       Vishay TZMC4V7GS18 Siemens/EPCOS BZV55C4V7 Tape on 13″ reel
70 7ZSC3V0/123 Zeners2009 124,263 TBA       Vishay MMSZ4683 D3 
MMSZ4683-GS08
ON SEMI MMSZ4683T1G
71                      

 

***Important***
Please note this is not for an immediate buy. This is a Tender Process for our BOM in 2009.  We request all interested suppliers submitting  quotes before the end of November then will contract awarded suppliers for next year’ business and update our ERP system. We aim to find best trade partners willing to meet our expectation and for long term relationship as we have for example with Arrow Italy.
FAAC Electronic Ltd  
4055 KINGSWOOD AVENUE
CITY WEST BUSINESS CAMPUS
DUBLIN 24, IRELAND

Phone: +353-1-4215500
Fax: +353-1-4215600

Mail: P.Kowalski@faac.ie
Contact:PIOTR KOWALSKI
BUYER/PLANNER
Direct line: +35314215558 

We also have following OEM excess to sell. Please contact us if you are interested.(see the attached inventory file)

  A B C D E F G H
1   FAAC ECESS INVENTORY LIST
2 pos. Manufacturer Manufacturer P/N Total Stock Unit Price Rohs Date Code Condition
3       Units $USD      
1 MICROCHIP PIC16F873T-04I/SO 3,066 3.92 NO 0405 / 0411 I REEL OF 1600 AND 1 PARTIAL REEL OF 1466
5 2 ST MICROELECTRONIC STTA206S 32,500 0.27 NO 0422 6 X REELS X 2500 ALL PARTIAL
6 3 INTERNATIONAL RECTIFIER IRLZ44NSTRL 11,970 0.54 NO 401C 3 X REELS X 800 ALL PARTIAL
7 4 ST MICROELECTRONIC VN02HSP13TR 4,232 1.50 NO 1/29/04 6 X REELS X 600 ALL PARTIAL
8 5 Fujitsu (Takamisawa) FBR161SED012UHB 15,177 0.37 NO   PACKED IN TRAYS BY 100 PC EACH
9 6 ST STGB7NBGOKDT4 6,953 0.65 NO N/A REELS OF 1000 EXCELLENT COND
10 7 NICHICON UVK1V332MHD 5,700 0.66 YES 19/07/2006 BOX OF300 EXCELLENT COND
11 8 EPCOS B3570 3,000 1.52 YES 11/30/02 1REEL OF 3000 EXCELLENT COND
12 9 TT Electronics SKQYAFE010 8,843 0.47 N/A 31/03/2007 BOXES OF 400
13 10 ST Microelectronics STMVKO5CFL13TR 7,475 0.46 NO 1999 REELS OF 2500 ECCELLENT COND
14 11 Welwyn components PWC1206 9,000 0.37 NO 0218D 3×3000 reels excellent cond
15 12 Esco/Varitronix MDLS16166-LV-LEDOH-DIEBONDIC 282 10.25 N/A N/A 1 per anti static bag excellent cond
16 13 Welwyn components .01OHMLRF1206 10,500 0.24 NO 0235C 3 reels of 3000 excellent condition
17 14 TYCO RXEF025-2 12,000 0.17 YES 613 3 BOXES/REEL OF 3000 EACH
18 15 MOLEX UK 87256-0811 3,874 0.45 NO 10/02/2004 2 BOXES OF 1344
19 16 SAMSUNG CL21B224KANF 71,600 0.02 NO 21/01/2003 39 REELS OF 2000
20 17 TOKO LL1608-FR10J 12,600 0.13 NO 402 4K REELS, ONE PARTIAL REEL
21 18 TIANBO HJR-4102E-L-09V 5,326 0.29 N/A N/A BOXES OF 1000
22 19 MICROCHIP PIC16C66-04I/SP 183 8.11 N/A N/A TUBES OF 15
23 20 ON SEMI MURA110T3 10,667 0.13 NO 1003 5K REELS, ONE PARTIAL REEL
24 21 FUJITSU FBR161SED012-H 1,600 0.83 NO 4997 TRAYS OF 100
25 22 FUJITSU RY-12W-K 1,933 0.62 YES 805 TRAYS OF 100
26                

 

 

September 13, 2008

memcached

Filed under: Uncategorized — admin @ 12:45 pm

http://www.example.net.cn/archives/example/index.html

http://hi.baidu.com/xproduct/blog/item/850c19f44c1eb76cddc47480.html

 http://www.yesadmin.com/647/139291/index.html

mysql主从数据库同步

MySQL数据库磁盘优化

  • Squid是Linux下一个缓存Internet数据的代理服务器软件
  • 所谓死锁<DeadLock>: 是指两个或两个以上的进程在执行过程中,因争夺资源而造成的一种互相等待的现象,若无外力作用,它们都将无法推进下去.此时称系统处于死锁状态或系统产生了死锁,这些永远在互相等待的进程称为死锁进程.

    September 11, 2008

    Stop PHP nobody Spammers

    Filed under: PHP, Uncategorized, email, freebsd — admin @ 5:14 pm

    Stop PHP nobody Spammers
    http://www.webhostgear.com/232.html
    Update: May 25, 2005:
    - Added Logrotation details
    - Added Sample Log Output

    PHP and Apache has a history of not being able to track which users are sending out mail through the PHP mail function from the nobody user causing leaks in formmail scripts and malicious users to spam from your server without you knowing who or where.

    Watching your exim_mainlog doesn’t exactly help, you see th email going out but you can’t track from which user or script is sending it. This is a quick and dirty way to get around the nobody spam problem on your Linux server.

    If you check out your PHP.ini file you’ll notice that your mail program is set to: /usr/sbin/sendmail and 99.99% of PHP scripts will just use the built in mail(); function for PHP - so everything will go through /usr/sbin/sendmail =)

    Requirements:
    We assume you’re using Apache 1.3x, PHP 4.3x and Exim. This may work on other systems but we’re only tested it on a Cpanel/WHM Red Hat Enterprise system.

    Time:
    10 Minutes, Root access required.

    Step 1)
    Login to your server and su - to root.

    Step 2)
    Turn off exim while we do this so it doesn’t freak out.
    /etc/init.d/exim stop

    Article provided by WebHostGear.com

    Step 3)
    Backup your original /usr/sbin/sendmail file. On systems using Exim MTA, the sendmail file is just basically a pointer to Exim itself.
    mv /usr/sbin/sendmail /usr/sbin/sendmail.hidden 

    Step 4)
    Create the spam monitoring script for the new sendmail.
    pico /usr/sbin/sendmail

    Paste in the following:

    #!/usr/local/bin/perl

     

    # use strict;
     use Env;
     my $date = `date`;
     chomp $date;
     open (INFO, “>>/var/log/spam_log”) || die “Failed to open file ::$!”;
     my $uid = $>;
     my @info = getpwuid($uid);
     if($REMOTE_ADDR) {
             print INFO “$date - $REMOTE_ADDR ran $SCRIPT_NAME at $SERVER_NAME n”;
     }
     else {

            print INFO “$date - $PWD -  @infon”;

     }
     my $mailprog = ‘/usr/sbin/sendmail.hidden’;
     foreach  (@ARGV) {
             $arg=”$arg” . ” $_”;
     }

     open (MAIL,”|$mailprog $arg”) || die “cannot open $mailprog: $!n”;
     while (<STDIN> ) {
             print MAIL;
     }
     close (INFO);
     close (MAIL); 

    Step 5)
    Change the new sendmail permissions
    chmod +x /usr/sbin/sendmail

    Step 6)
    Create a new log file to keep a history of all mail going out of the server using web scripts
    touch /var/log/spam_logchmod 0777 /var/log/spam_log

     

     

    Step 7)
    Start Exim up again.
    /etc/init.d/exim start 

    Step 8)
    Monitor your spam_log file for spam, try using any formmail or script that uses a mail function - a message board, a contact script.
    tail - f /var/log/spam_log 

    Sample Log Output

    Mon Apr 11 07:12:21 EDT 2005 - /home/username/public_html/directory/subdirectory -  nobody x 99 99   Nobody / /sbin/nologin

    Log Rotation Details
    Your spam_log file isn’t set to be rotated so it might get to be very large quickly. Keep an eye on it and consider adding it to your logrotation.

    pico /etc/logrotate.conf

    FIND:
    # no packages own wtmp — we’ll rotate them here
    /var/log/wtmp {
        monthly
        create 0664 root utmp
        rotate 1
    }

    ADD BELOW:

    # SPAM LOG rotation
    /var/log/spam_log {
        monthly
        create 0777 root root
        rotate 1
    }

    Notes:
    You may also want to chattr + i /usr/sbin/sendmail so it doesn’t get overwritten.

    September 2, 2008

    /usr/local/bin/p7zip

    Filed under: Uncategorized — admin @ 6:41 pm

    /usr/local/bin/p7zip

     

    August 31, 2008

    compress freebsd files

    Filed under: Uncategorized — Tags: — admin @ 4:44 pm
    ———————————————
    .tar
    打包:tar cvf *.tar *.*(原文件或目录)
    解包:tar xvf *.tar
    ———————————————
    .gz
    解压1:gunzip *.gz
    解压2:gzip -d *.gz
    压缩:gzip *.*(原文件或目录)
    ———————————————
    .tar.gz
    解压1:tar zxvf *.tar.gz
    解压2:gzip -dc *.tar.gz | tar xvf –
    压缩: tar zcvf *.tar.gz  *.*(原文件或目录)
    ———————————————
    .bz2
    解压1:bzip2 -d *.bz2
    解压2:bunzip2 *.bz2
    压缩: bzip2 -z *.*(原文件或目录)
    ———————————————
    .tar.bz2
    解压1:tar jxvf *.tar.bz2
    解压3:tar Ixvf *.tar.bz2  
    解压2:bzip2 -dc *.tar.bz2 | xvf –
    压缩:tar jcvf *.tar.bz2 DirName
    ———————————————
    .bz
    解压1:bzip2 -d FileName.bz
    解压2:bunzip2 FileName.bz
    压缩:未知
    ———————————————
    .tar.bz
    解压:tar jxvf FileName.tar.bz
    压缩:未知
    ———————————————
    .Z
    解压:uncompress FileName.Z
    压缩:compress FileName
    ———————————————
    .tar.Z
    解压1:tar Zxvf FileName.tar.Z
    解压2: compress -dc FileName.tar.Z | tar xvf –
    压缩:tar Zcvf FileName.tar.Z DirName
    ———————————————
    .tgz
    解压:tar zxvf FileName.tgz
    压缩:未知
    ———————————————
    .tar.tgz
    解压:tar zxvf FileName.tar.tgz
    压缩:tar zcvf FileName.tar.tgz FileName
    ———————————————
    .a
    解压:#tar xv FileName.a
    ———————————————
    .cpio.gz/.cgz
    解压:gzip -dc FileName.cgz | cpio -div
    ———————————————
    .cpio/cpio
    解压1:cpio -div FileName.cpio 或cpio -divc FileName.cpio
    解压2:cpio -idmv < FileName.cpio /你想指定的目录/
    ———————————————
    .rpm
    安装: rpm -ivh FileName.rpm
    解压:rpm2cpio FileName.rpm | cpio -div
    ———————————————
    .src.rpm
    安装: rpmbuild –rebuild FileName.src.rpm
    ———————————————
    .deb
    安装: dpkg -i FileName.deb
    解压:dpkg-deb –fsys-tarfile FileName.deb | tar xvf - ar p file.deb data.tar.gz | tar xvzf -
    ———————————————
    .zip
    解压:unzip FileName.zip
    压缩:zip FileName.zip DirName
    ———————————————
    .rar
    解压:rar a FileName.rar
    压缩:rar e FileName.rar
    rar请到:http://www.rarsoft.com/download.htm 下载!
    解压后请将rar_static拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
    [root@www2 tmp]# cp rar_static /usr/bin/rar
    ———————————————
    .lha
    解压:lha -e FileName.lha
    压缩:lha -a FileName.lha FileName
    lha请到:http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/下载!
    解压后请将lha拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
    [root@www2 tmp]# cp lha /usr/bin/
    ———————————————
    .tar .tgz .tar.gz .tar.Z .tar.bz .tar.bz2 .zip .cpio .rpm .deb .slp .arj .rar .ace .lha .lzh .lzx .lzs .arc .sda .sfx .lnx .zoo .cab .kar .cpt .pit .sit .sea
    解压:sEx x FileName.*
    压缩:sEx a FileName.* FileName
    ———————————————
    sEx只是调用相关程序,本身并无压缩、解压功能,请注意!
    sEx请到:http://sourceforge.net/projects/sex下载!
    解压后请将sEx拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
    [root@www2 tmp]# cp sEx /usr/bin/
    ———————————————

    freebsd unrar/rar

    Filed under: Uncategorized — Tags: — admin @ 4:34 pm

    rar better than zip

    /usr/local/bin/unrar 

    unrar x   *.rar  ./data  (uncompress *.rar  into folder  /data)

    /usr/local/bin/zip -9 b1.zip ./data2/*    (use zip to compress /data/* into b1.zip)

    install from ports  /usr/ports/archivers

     

    August 23, 2008

    Overcoming MySQL’s 4GB Limit

    Filed under: Uncategorized — Tags: — admin @ 3:59 pm

    http://jeremy.zawodny.com/blog/archives/000796.html

    http://www-db.stanford.edu/~backrub/google.html

    Where does this limit come from?

    In a MyISAM table with dynamic (variable length) rows, the index file for the table (tablename.MYI) stores row locations using 32-bit pointers into the data file (tablename.MYD). That means it can address only 4GB of space.

    This problem is both a historical artifact and an optimization. Back when MySQL was created, it wasn’t common to store that much data in a single table. Heck, for a long time 4GB was an entire hard disk and most operating system had trouble with files larger than 2GB. Obviously those days are gone. Modern operating systems have no trouble with large files and hard disks larger than 100GB are quite common.

    From an optimization point of view, however, the 32-bit pointer still makes sense. Why? Because most people are running MySQL on 32-bit hardware (Intel/Linux). That will change as use of AMD’s Opteron becomes more widespread, but 32-bit will be the majority for the next few years. Using 32-bit pointers is the most efficient way to do this on 32-bit hardware. And even today, most MySQL installations don’t have tables anywhere near 4GB in size. Sure, there are a lot of larger deployments emerging. They’re all relatively new.

    An Example

    Here’s a table that you might use to store weather data:

    mysql> describe weather;
    +-----------+--------------+------+-----+------------+-------+
    | Field     | Type         | Null | Key | Default    | Extra |
    +-----------+--------------+------+---