linuxÏÂʹÓÃP4£¨ÃüÁîÐУ©
»·¾³±äÁ¿:
export P4PASSWD=abcdefg
export P4CLIENT=dyoldfish.com //Õâ¸ö¿ÉÒÔ²»Éè
export P4USER=dyoldfish
export P4PORT=192.168.1.198:1666
ÃüÁ
1¡¢p4 client #ÅäÖñ¾µØÐÅÏ¢£¬ÎļþÏÂÔØÔÚÄÄÀïÔÚÕâÀïÃæÅäÖã¬RootÏî
2¡¢p4 sync #´Óperforce ÏÂÔØÎļþ
3¡¢p4 login #µÇ½perforce
4¡¢p4 help #ÏÔʾ¹ØÓÚÃüÁîµÄ°ïÖú
5¡¢p4 -h #ÏÔʾ¹ØÓÚp4µÄ°ïÖú
6¡¢ p4 labels ... #ÏÔʾºÍÕâ¸öĿ¼Ïà¹ØµÄ±êÇ©
7¡¢p4 sync @dyoldfish_label #ͬ²½±êÇ©dyoldfish_labelÖеÄËùÓÐÎļþ
8¡¢p4 files @dyoldfish_label #²é¿´±êÇ©dyoldfish_labelËù°üº¬µÄÎļþÁбí
9¡¢p4 revert #»Ø¸´ËùÓдò¿ªµÄÎļþ
10¡¢p4 revert -n ... #»Ø¸´ËùÓдò¿ªÈ´Ã»Ìá½»µÄÎļþ
11¡¢p4 branch dyoldfish_brach #н¨·ÖÖ§
12¡¢p4 integrate -b dyoldfish_brach #ºÏ²¢·ÖÖ§dyoldfish_brachÖÐÃèÊöµÄÎļþ
13¡¢p4 opened #²é¿´´ò¿ªµÄÎļþ
14¡¢p4 help commands #²é¿´p4ËùÓÐÃüÁîµÄ°ïÖú
15¡¢4 dirs -H . #ÏÔʾµ±Ç°Ä¿Â¼
16¡¢p4 branches #ÏÔʾËùÓеķÖÖ§
17¡¢ p4 delete filename #´Óp4ɾ³ýÎļþ
18¡¢p4 changelists -L ... #ÏÔʾµ±Ç°Ä¿Â¼ÏÂÃæËùÓÐÎļþµÄÐÞ¸Ä×¢ÊÍ
19¡¢p4 label dyoldfish_label #н¨±êÇ© dyoldfish_label£¬±à¼±êÇ©
20¡¢p4 tag -l dyoldfish_label ... #°Ñµ±Ç°Ä¿Â¼ÏÂÃæµÄËùÓÐÎļþÌí¼Óµ½±êÇ© dyoldfish_label
21¡¢p4 changes ... #µ±Ç°Ä¿Â¼µÄchangelist
22¡¢ p4 sync @10931 #sync file @changelist
23¡¢ p4 sync ...@10929
#only sync localfile@changelist
24¡¢p4 help revisions #²é¿´¹ØÓÚÎļþ·¶Î§µÄ°ïÖú
exportºÃ±äÁ¿Ö®ºó£¬È»ºóÓÃ1½øÐÐÅäÖ㬾ͿÉÒÔÓÃp4 sync½øÐдúÂëÏÂÔØÁË Èçp4 sync //depot/proj1/...@21
¸üÏêϸµÄÃüÁî¸ñʽ²Î¿¼ http://www.perforce.com/perforce/products/p4.html
p4¿Í»§¶ËÏÂÔØ http://www.perforce.com/perforce/downloads/index.html
±¾ÎÄת×Ôhttp://blog.csdn.net/dyoldfish/archive/2007/08/28/1761940.aspx
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Ò»¡¢¸ÅÊö
¡¡¡¡LinuxÖ§³ÖÊýÁ¿ÖÚ¶àµÄ±¾µØÎļþϵͳÀàÐͺͼ¸ÖÖͨ¹ýÍøÂç·ÃÎÊÔ¶³Ì´ÅÅ̵ÄÎļþ
ϵͳ£¬·ÖÎö/proc/filesystemsÎļþµÄÄÚÈݼ´¿ÉÕÒ³öµ±Ç°LinuxÄÚºËÌṩÁ˶ÔÄÄЩÎÄ
¼þϵͳµÄÖ§³Ö¡£
¡¡¡¡ÒªÔÚÄÚºËÖÐÔö¼Ó¶ÔÈÎÒâ´ËÀàÎļþϵͳµÄÖ§³Ö¶¼ÊÇÏ൱¼òµ¥µÄ£¬Ö»ÐèÔÚ¹¹ÔìеÄ
ÄÚºËʱѡÖÐÏàÓ¦µÄÅäÖÃÑ¡Ïî¼´¿É¡£ÀýÈ磬¶ÔÓÚmakexconfig ......
½ñÌì×°Á˸öÐéÄâ»ú£¬ÔÚÉÏÃæÅÜlinuxÏë×÷ΪSOLRµÄ·þÎñÆ÷£¬Ë³±ãѧϰһÏÂlinux
1.°²×°vsftpd·þÎñÆ÷
¡¡¡¡vsftpdÊÇÄ¿Ç°Linux×îºÃµÄFTP·þÎñÆ÷¹¤¾ßÖ®Ò»£¬ÆäÖеÄvs¾ÍÊÇ“Very Secure”£¨ºÜ°²È«£©µÄËõд£¬¿É¼ûËüµÄ×î´óÓŵã¾ÍÊÇ°²È«£¬³ý´ËÖ®Í⣬Ëü»¹¾ßÓÐÌå»ýС£¬¿É¶¨ÖÆÇ¿£¬Ð§ÂʸߵÄÓŵ㡣
¡¡¡¡Èç¹ûÑ¡ÔñÍêÈ«°²×°Red ......
linuxÏÂʵÓÃiptables·âip¶ÎµÄһЩ³£¼ûÃüÁ
·âµ¥¸öIPµÄÃüÁîÊÇ£º
iptables -I INPUT -s 211.1.0.0 -j DROP
·âIP¶ÎµÄÃüÁîÊÇ£º
iptables -I INPUT -s 211.1.0.0/16 -j DROP
iptables -I INPUT -s 211.2.0.0/16 -j DROP
iptables -I INPUT -s 211.3.0.0/16 -j DROP
·âÕû¸ö¶ÎµÄÃüÁîÊÇ£º
iptables -I INPU ......