搜索到与相关的文章
Python

python:画图线条颜色、形状设置大全

cnames={'aliceblue':'#F0F8FF','antiquewhite':'#FAEBD7','aqua':'#00FFFF','aquamarine':'#7FFFD4','azure':'#F0FFFF','beige':'#F5F5DC','bisque':'#FFE4C4','black':'#000000','blanchedalmond':'#FFEBCD','blue':'#0000FF','blueviolet':'#8A2

系统 2019-09-27 17:53:07 2787

Android

Ubuntu搭建Android环境,Ubuntu下An…

DownloadtheAndroidSDKPlatformPackageSizeMD5ChecksumWindowsandroid-sdk_r13-windows.zip36487911bytesde8a039891e5e65b7742f188f07b992dinstaller_r13-windows.exe(Recommended)36533357bytescd3a76fe2b8ed62b2d03cf1851692e2d<

系统 2019-08-29 23:00:22 2787

Java

java经典试题1

SimulatedTestofSCJPforJAVA2PlatFORM(onlyfortraining)1.1)publicclassReturnIt{2)returnTypemethodA(bytex,doubley){3)return(short)x/y*2;4)}5)}whatisvalidreturnTypeformethodAinline2?Answer:double2.1)classSuper{2)publicfloatgetNum(){ret

系统 2019-08-29 22:39:55 2787

编程技术

htmlparser API

htmlparser所有的filterhtmlparser所有的TagshtmlparserAPI:http://htmlparser.sourceforge.net/javadoc/index.html一般的用法见这里http://gundumw100.iteye.com/blog/704630htmlparserAPI

系统 2019-08-29 22:24:23 2787

Tomcat

Tomcat发布到指定目录

Tomcat其它配置(去掉URL中的:8080、多域名绑定、虚拟目录指定等等)网上很多,搜索下一大把,不在此细说但有个配置要记录下,以防以后回来查阅。使用MyEclipse开发web项目时,有个项目目录文件,但同时使用了svn等版本控制时,项目中每个目录都有个svn目录,可我们在发布到服务器上时,需要去掉其中的svn目录,这个没用处。所以我们把webroot中的文件发布到其它地方另建一个目录,以后上次到服务器时上传这个目录就好了。选择工具栏中的按钮,在”P

系统 2019-08-12 09:29:55 2787

编程技术

Animating Transitions

-(void)keyDown:(NSEvent*)event{if(nil!=[self.beachsuperview]){[[selfanimator]replaceSubview:self.beachwith:self.snow];}elseif(nil!=[self.snowsuperview]){[[selfanimator]replaceSubview:self.snowwith:self.beach];}}-(CATransition*)ani

系统 2019-08-12 09:29:51 2787

C#

C# 时间函数

DateTimedt=DateTime.Now;stringstr=dt.ToString("yyyy-MM-dd");//2013-09-07str=dt.ToString();//2013/09/0714:25:24str=dt.ToLocalTime().ToString();//2013/09/0714:25:24str=dt.ToLongDateString();//2013年9月7日str=dt.ToShortDateString();//20

系统 2019-08-12 01:54:52 2787

数据库相关

欧拉函数+容斥原理

http://acm.hdu.edu.cn/showproblem.php?pid=16951/**2GCD(x,y)=k;在x小于b且y小于d时有多少组答案324131515111014114409967Case1:98Case2:736427910Forthefirstsampleinput,allthe9pairsofnumbersare11(1,1),(1,2),(1,3),(1,4),(1,5),(2,3),(2,5),(3,4),(3,5).1

系统 2019-08-12 01:54:34 2787

数据库相关

POJ3273-Monthly Expense

转载请注明出处:優YoUhttp://user.qzone.qq.com/289065406/blog/1301655498大致题意:给出农夫在n天中每天的花费,要求把这n天分作m组,每组的天数必然是连续的,要求分得各组的花费之和应该尽可能地小,最后输出各组花费之和中的最大值解题思路:经典的二分穷举详细的思路我写在程序注释中,这样会更容易懂看完我的程序还是无法切入题目的同学,建议先用朴素的穷举去左这题,虽然很大机会会超时,但是只是为了辅助理解。本题的二分纯

系统 2019-08-12 01:54:15 2787

数据库相关

mongodb中分页显示数据集的学习

这次继续看mongodb中的分页。首先依然是插入数据:1)db.Blog.insert({name:"Denis",age:20,city:"Princeton"})db.Blog.insert({name:"Abe",age:30,city:"Amsterdam"})db.Blog.insert({name:"John",age:40,city:"NewYork"})db.Blog.insert({name:"Xavier",age:10,city:"B

系统 2019-08-12 01:52:13 2787