`
ggsonic
  • 浏览: 266734 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
NativeProcess.isSupported返回false。 要使用nativeprocess 需要修改一下air项目配置文件的xml,在你的发布文件夹内找 “项目名-app.xml” 在.xml配置文件中使能<supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles>一行
#coding=utf-8 from socket import * from time import ctime HOST='localhost' PORT=5000 BUFSIZ=4096 ADDR=(HOST, PORT) tcpSerSock = socket(AF_INET, SOCK_STREAM) tcpSerSock.bind(ADDR) tcpSerSock.listen(5) while True: print 'waiting for connection...' tcpCliSock, addr = tcpSerS ...
★我的FLASH WEB GAME开发历程→2007年的夏天,顶着炎炎烈日,我从学校直接跑到上海,开始了我的FLASH WEB GAME创业之旅。时至今日,转眼快三年了。作为国内比较早的一批FLASH WEB GAME开发人员,今天我粗略的总结一下这两年多的经验 ...
SELECT G.groupID, G.groupName FROM `groups` G, `groupMembers` M WHERE (M.userID = '$sessionUserID' OR M.userID = '$profileUserID') AND G.groupID = M.groupID LIMIT 0,99;
[root@localhost ~]# vim /etc/inittab 5 --> 3 [root@localhost ~]# vim /boot/grub/menu.lst #splash 1. /boot/grub/menu.lst default=0 timeout=0 #splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title SWare (2.6.18-92.el5)         root (hd0,0)         kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGro ...
linux 中文 centos /usr/share/fonts fonts-chinese-3.02-9.6.el5.noarch.rpm fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm ubuntu 直接拷贝到 目录下似乎即可以 cp  /boot/grub/splash.xpm.gz  ./somedir   // 先备份原有的背景,以便出错后还原; convert  pic.jpg  –geometry  640x480  -colors  14  splash.xpm  //转换图片格式; gzip  splash.xpm  //建立图 ...
svn diff -r 2:3 . > diff.txt 输出当前文件夹下的2版本和3版本文件差异
contextmenu is controled by flash player;even disable the whole html's document contextmenu,the flash player's settings contextmenu can still work; this code below only to remove print,zoom etc from flash player's context menu <?xml version="1.0" encoding="utf-8"?> <mx ...
in Full Screen Mode due to security restrictions, in that someone could build a swf that spoofs some action on your machine... for instance displaying a mimic desktop that has a dialogue up asking the user to enter their live ID and password. There are probably loads of other sinister uses that adobe ...
巨诡异的问题, 初始化都不成功 referenceError: Error #1065 flex getDefinitionByName variable *watchersetuputil is not defined .搞来搞去以为代码出了错,最后把工程清理一遍,重新编译就没问题了。 flashbuilder 4 + flex sdk3.5
Python + Postgresql + SQLAlchemy fix: drop_all() fails due to circular references Posted by dandriff on Friday September 12, 2008@01:31PM Here is the fix, as described by this helpful guy: from sqlalchemy.databases import postgres class PGCascadeSchemaDropper(postgres.PGSchemaDropper):      def v ...
Installing Subclipse Start by opening Help -> Software Updates -> Find and Install. This will open up a dialogue that will let you select to either update existing features or Search for new features to install. We are installing a new feature, so select this one. Flash Builder 4 is based on ...
1. 配置svn Starting from version 0.7.8.I20090808-1900 you can install just Subversive SVN Team Provider (without installing SVN Connectors from another update site) and the new Connector Discovery feature  helps you find and install right versions of SVN Connectors. However, you can optionally use the ...
在MySQL中,我们经常会对一个字段进行排序查询,但进行中文排序和查找的时候,对汉字的排序和查找结果往往都是错误的。 这种情况在MySQL的很多版本中都存在。 如果这个问题不解决,那么MySQL将无法实际处理中文。 出现这个问题的原因是因为MySQL在查询字符串时是大小写不敏感的,在编绎MySQL时一般以ISO-8859字符集作为默认的字符集,因此在比较过程中中文编码字符大小写转换造成了这种现象。 解决方法: 对于包含中文的字段加上"binary"属性,使之作为二进制比较,例如将"name char(10)"改成"name char(10)b ...
http://www.nmc.gov.cn/weatherdetail/58847.html http://www.cma.gov.cn/tqyb/v2/cityweather.php?id=58847 http://wap.weather.com.cn/wap/58847/h24/(WAP的,嘿嘿,干扰内容忒少,非常容易采集) http://www.weather.com.cn/static/html/weather_cj.shtml(这里有超多的样式了,挑吧) 比如这个:http://m.weather.com.cn/data/101230101.html(这个是JSON数据,PHP ...
Global site tag (gtag.js) - Google Analytics