【原创】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.
发表于 2011/3/9 下午7:20:05
阅读(3125)
【原创】AS3-->滤镜
发表于 2011/3/9 下午7:11:44
阅读(2779)
【转】目前最高级的骗局
发表于 2011/3/8 下午10:28:10
阅读(2332)
一个好玩的游戏
今天发现一个有意思的东西,和大家分享一下。请大家按照我的方法去做:1.复制下面代码到一个新建的文本文件即*.txt*是你可以起任何文件名X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*2.保存。3.然后打开看看会有什么现象发生。。
发表于 2011/3/8 下午10:04:42
阅读(2321)
【学习】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
发表于 2011/3/7 下午10:34:55
阅读(2711)
【转】Samba Server Configuration in Debian
转摘:http://www.debianhelp.co.uk/samba.htmWhatisSamba?SambaisasuiteofUnixapplicationsthatspeaktheSMB(ServerMessageBlock)protocol.Manyoperatingsystems,includingWindowsandOS/2,useSMBtoperformclient-servernetworking.Bysupportingthisprotocol,SambaallowsU
发表于 2011/3/7 下午6:44:10
阅读(7155)
【原创】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
发表于 2011/3/6 下午10:04:41
阅读(2875)
【原创】Debian Install Flashplugins
发表于 2011/3/6 下午9:39:41
阅读(3137)
【原创】Debian <locales> Error
Howtosolvetheerrorof"locale:cannotsetLC_CTYPEtodefaultlocale:Nosuchfileordirectory"andsimilar?Ifyougotthiserror,thatmeanstheenvironmentalvariable(inthiscase,itisLC_CTYPE)doesnotcontainareconganizablelocaleyoursystemknows.Thismaybecausedbytw
发表于 2011/3/5 下午11:26:19
阅读(2663)
【学习】Python--->Thread
importthreadingfromtimeimportsleep,ctimeloops=[5,13]defloop(nloop,nsec):printstartloop,nloop,at:,ctime()sleep(nsec)printloop,nloop,doneat:,ctime()defmain():printstartingat:,ctime
发表于 2011/3/5 下午11:13:56
阅读(2867)
维修日记--电子词典
帮公司的“二把手”修了一个某大品牌的电子词典。还是蛮大的嘛,广告我总是能看见。呵呵这里就不说这个品牌是什么了,因为下面我要把他的设计不足挑出来,免得对人家公司形象不好~~^@^1.下面是拆开后看到的线路板图。点评一下:内部结构还算是比较规整,看
发表于 2011/3/4 下午10:51:27
阅读(4546)
How to make Debian support Chinese
发表于 2011/3/4 上午8:43:33
阅读(3366)
【原创】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
发表于 2011/3/2 下午8:48:06
阅读(2265)
【转】手机充电器原理
分析一个电源,往往从输入开始着手。220V交流输入,一端经过一个4007半波整流,另一端经过一个10欧的电阻后,由10uF电容滤波。这个10欧的电阻用来做保护的,如果后面出现故障等导致过流,那么这个电阻将被烧断,从而避免引起更大的故障。右边的4007、4700pF电容、82K&Om
发表于 2011/3/1 下午6:58:25
阅读(28840)
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
发表于 2011/3/1 下午6:05:07
阅读(2338)
