搜索到与相关的文章
编程技术

flash游戏基本操作:上下左右的移动

发一个按键无按钮的,按下的时候不进行帧的检测,省资源,AS3制作的。试试效果:[1b]//Key.as:[/1b]packageCYPL.Game{importflash.display.InteractiveObject;importflash.events.KeyboardEvent;importflash.events.Event;publicclassKey{privatestaticvarkeyObj:Object;privatestaticva

系统 2019-08-29 23:47:52 2941

编程技术

c语言的移位操作

http://tieba.baidu.com/f?kz=321200798左移时总是移位和补零。右移时无符号数是移位和补零,此时称为逻辑右移;而有符号数大多数情况下是移位和补最左边的位(也就是补最高有效位),移几位就补几位,此时称为算术右移。#includeusingnamespacestd;voidmain(){//unsignedshorttemp=0x8151;shorttemp=0x8151;cout<

系统 2019-08-29 22:17:07 2941

MySql

com.mysql.jdbc.PacketTooBigException_max_all

com.mysql.jdbc.PacketTooBigException:Packetforqueryistoolarge(1155209>1048576).Youcanchangethisvalueontheserverbysettingthemax_allowed_packet'variable.mysql根据配置文件会限制server接受的数据包大小。有时候大的插入和更新会被max_allowed_packet参数限制掉,导致失败。查看目前配置sho

系统 2019-08-29 22:08:34 2941

数据库相关

Stanford University - Introduction to Comput

StanfordUniversity-IntroductiontoComputationalAdvertisingMS&E239:IntroductiontoComputationalAdvertisingSeptember-December,2011-StanfordUniversity,CaliforniaContentsCourseInformationCourseScheduleLectureHandoutsReadingsAssignmentsP

系统 2019-08-12 01:51:33 2941

数据库相关

BackupAndRestoreSmallWorks.sql

--InitializethebackupfileandbackuptheSmallWorksdatabasetothefileBACKUPDATABASESmallWorksTODISK='E:\SQLBackups\SmallWorksBackups.BAK'WITHINIT,DESCRIPTION='FullBackupofSmallWorks'--SendanAdditionalbackuptothefileBACKUPDATABASESmallW

系统 2019-08-12 01:51:33 2941

Ubuntu

Ubuntu 下 JDK+Tomcat+MySql 环境的搭建

Linux环境修改catalina.sh在“echo"UsingCATALINA_BASE:$CATALINA_BASE"”上面加入以下行:JAVA_OPTS="$JAVA_OPTS-server-Xms800m-Xmx800m-XX:MaxNewSize=256m"设置server.xml

系统 2019-08-12 01:33:59 2941

编程技术

No matching code signing identity found

真机调试过程中弹出这个问题,网上找到的解决的方法,记录一下。。。。。弄完这些步骤之后,上面多出一个IOSdisturbution。所以出现这个问题的解决办法应该是设置的证书没有刷新到本地所致。Nomatchingcodesigningidentityfound

系统 2019-08-12 01:33:38 2941

SqlServer

微软推出SQL Server 2005 JDBC Driver 1.1

微软推出SQLServer2005JDBCDriver1.1微软推出SQLServer2005JDBCDriver1.1,提供Java应用程序更佳的新功能与存取微软于95/8/21日推出SQLServer2005JDBCDriver1.1,JDBCDriver1.1主要是用于Java对SQLServer2005数据库连结,而这个SQLServer2005JDBCDriver对所有SQLServer用户是免费下载,并且Java应用程序可透过这个JDBCDri

系统 2019-08-12 01:32:34 2941

Python

Python PDF转高清图片 可设置转前几张

原文链接:https://www.oschina.net/question/3960741_22864891,这里使用的要先安装插件pipinstallfitzpipinstallpyMuPDF2,这里是代码zoom/100.0越大合成的图片越清晰越大importfitzimportglobimporttimedefread_pdf(filename):pdffile=glob.glob(filename)[0]doc=fitz.open(pdffile)

系统 2019-09-27 17:50:48 2940

编程技术

Google Map API的简单应用

原文引自:http://blog.csdn.net/myxx520/archive/2010/02/24/5321352.aspx关于GoogleMapAPI的使用说明1.GoogleMapAPI介绍a)Google地图API是一种通过JavaScript将Google地图嵌入到您的网页的API。该API提供了大量实用工具用以处理地图(正如http://maps.google.com网页上的地图),并通过各种服务向地图添加内容,从而使您能够在您的网站上创建

系统 2019-08-29 23:41:17 2940