【原创】AS3-->滤镜-阴影
AS3代码:importflash.display.Sprite;importflash.filters.DropShadowFilter;//绘制一个框。varboxShadow:Sprite=newSprite();boxShadow.graphics.lineStyle(1);boxShadow.graphics.beginFill(0xFF3300);boxShadow.graphics.drawRect(0,0,100,100);boxShadow.graphics.
发表于 3/9/2011 7:20:05 PM
阅读(2499)
【原创】AS3-->滤镜
发表于 3/9/2011 7:11:44 PM
阅读(2164)
【转】目前最高级的骗局
发表于 3/8/2011 10:28:10 PM
阅读(1727)
一个好玩的游戏
今天发现一个有意思的东西,和大家分享一下。请大家按照我的方法去做:1.复制下面代码到一个新建的文本文件即*.txt*是你可以起任何文件名X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*2.保存。3.然后打开看看会有什么现象发生。。
发表于 3/8/2011 10:04:42 PM
阅读(1724)
【学习】Python-->Counting Words Lines Characters
Ex1:CountingWordsimportstringdefnumwords(s):list=string.split(s)returnlen(list)inp=open("menu.txt","r")total=0forlineininp.readlines():total=total+numwords(line)print&qu
发表于 3/7/2011 10:34:55 PM
阅读(2133)
【转】Samba Server Configuration in Debian
转摘:http://www.debianhelp.co.uk/samba.htmWhatisSamba?SambaisasuiteofUnixapplicationsthatspeaktheSMB(ServerMessageBlock)protocol.Manyoperatingsystems,includingWindowsandOS/2,useSMBtoperformclient-servernetworking.Bysupportingthisprotocol,SambaallowsU
发表于 3/7/2011 6:44:10 PM
阅读(6546)
【原创】Debian Install FlashPlayer on FireFox
Step1:DownLoad->install_flash_player_9_linux.tar.gzStep2:tar-zxfinstall_flash_player_9_linux.tar.gzStep3:InstallFireFox#apt-getinstallfirefoxStep4:SmallBox:/home/Software/install_flash_pl
发表于 3/6/2011 10:04:41 PM
阅读(2279)
【原创】Debian Install Flashplugins
发表于 3/6/2011 9:39:41 PM
阅读(2556)
【原创】Debian <locales> Error
Howtosolvetheerrorof"locale:cannotsetLC_CTYPEtodefaultlocale:Nosuchfileordirectory"andsimilar?Ifyougotthiserror,thatmeanstheenvironmentalvariable(inthiscase,itisLC_CTYPE)doesnotcontainareconganizablelocaleyoursystemknows.Thismaybecausedbytw
发表于 3/5/2011 11:26:19 PM
阅读(2069)
【学习】Python--->Thread
importthreadingfromtimeimportsleep,ctimeloops=[5,13]defloop(nloop,nsec):printstartloop,nloop,at:,ctime()sleep(nsec)printloop,nloop,doneat:,ctime()defmain():printstartingat:,ctime
发表于 3/5/2011 11:13:56 PM
阅读(2283)
维修日记--电子词典
帮公司的“二把手”修了一个某大品牌的电子词典。还是蛮大的嘛,广告我总是能看见。呵呵这里就不说这个品牌是什么了,因为下面我要把他的设计不足挑出来,免得对人家公司形象不好~~^@^1.下面是拆开后看到的线路板图。点评一下:内部结构还算是比较规整,看
发表于 3/4/2011 10:51:27 PM
阅读(2782)
How to make Debian support Chinese
发表于 3/4/2011 8:43:33 AM
阅读(2756)
【原创】Debian常见挂载
1.Windowsfat32mount-tvfat/dev/sda6/mnt/wdiske/-oiocharset=utf8umount/mnt/wdiske2.Windowsntfsmount-tntfs/dev/sda7/mnt/wdiskf/-oiocharset=utf8umount/mnt/wdiskf3.CDROMmount-oloop-tiso9660/dev/h
发表于 3/2/2011 8:48:06 PM
阅读(1682)
【转】手机充电器原理
分析一个电源,往往从输入开始着手。220V交流输入,一端经过一个4007半波整流,另一端经过一个10欧的电阻后,由10uF电容滤波。这个10欧的电阻用来做保护的,如果后面出现故障等导致过流,那么这个电阻将被烧断,从而避免引起更大的故障。右边的4007、4700pF电容、82K&Om
发表于 3/1/2011 6:58:25 PM
阅读(28226)
Debian镜像站点
/etc/apt/sources.list添加以下镜像站点debhttp://debian.cn99.com/debianstablemaincontribnon-freedebhttp://debian.cn99.com/debian-non-USstable/non-USmaincontribnon-freedebhttp://debian.cn99.com/debian-securitystable/updatesmaincontribnon-freedeb-srchttp
发表于 3/1/2011 6:05:07 PM
阅读(1727)
