自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (34)
  • 收藏
  • 关注

转载 java实现简单的锁

1. 简单线程锁,一个一个访问import com.zhl.framework.web.message.SimpleMessage;import com.zhl.scheduling.service.ProgrammeService;import com.zhl.scheduling.service.SchedulingDispatchMediaService;import org.s...

2019-06-17 21:00:43 385

原创 特殊字符过滤

由于跨站脚本会导致会话被劫持、敏感信息泄漏、账户被盗,严重时甚至造成数据修改、删除,从而导致业务中断,因此需检测跨站脚本是否存在1.web.xml配置 <!-- Character Encoding filter --> <filter> <filter-name>encodingFilter</filter-name> <...

2019-04-30 21:42:15 2753

转载 jQuery实现的tab标签自动切换效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta...

2019-04-03 18:00:46 650 1

原创 jquery Dialog弹窗最大最小化

创建Dialog js代码  $("#").createDialog({            autoOpen: false, zIndex: 3999, width: 680, height: 600,            buttons:{                "保存" : function() ...

2018-12-21 16:25:20 2862

原创 oracle11g密码敏感取消

-- 在系统命令行输入sqlplus /nologconn sys /sunshine@mis as sysdba-- select * from dba_profiles-- SELECT * FROM V$PARAMETER;--去掉字符大小写敏感设置:禁止密码大小写敏感show parameter sec_case_sensitive_logonalter system set sec_...

2018-03-02 14:27:29 233

原创 oracle导入导出命令

--- 统一认证:使用数据泵导入导出(只能在oracle的本地进行,如果是服务器需远程)前提条件(为导入导出设置保存及读取文件路径):--- 在cmd命令窗口执行-- 1、连接数据库CMD>>sqlplus system/oracle@projm as sysdba;-- 2、创建DIRECTORY : dir_dp  存放 导出、导入文件的路径SQL>

2018-01-22 13:56:47 395

转载 QueryRunner类方法

public Object query(String sql, Object[] params, ResultSetHandler rsh) sql参数:sql语句params参数:是给sql语句传递的参数,有的时候需要有的时候不需要,具体看你的sql语句是什么。例如你的sql语句是“SELECT * FROM tb_user”,那这时候就不需要params参数,而如果你的sql语句是“S

2017-08-19 17:48:27 894

exe4j_win_v420.zip

exe4j是一个帮助你集成Java应用程序到Windows操作环境的java可执行文件生成工具,无论这些应用是用于服务器,还是图形用户界面(GUI)或命令行的应用程序。如果你想在任务管理器中及Windows XP分组的用户友好任务栏里以你的进程名取代java.exe的出现,那么exe4j可以完成这个工作。exe4j帮助你以一种安全的方式启动你的 java应用程序,来显示本地启动画面,检测及发布合适的JRE和JDK,以及进行启动时所发生的错误处理等,以至于更多。

2020-08-14

OpenLayers3Primer-master.zip

这是一个关于OpenLayers 3使用的入门教程。帮助初学者逐步认识OpenLayers 3,理解地图组成,以及各个组成部分的作用。在此基础上,逐个突破,结合大量的实例,指导大家应用OpenLayers 3开发出符合业务的地图。在这个过程中,辅以对应的理论知识,学习了解OpenLayers 3背后的原理,尽量做到知其然且知其所以然,为更高级的OpenLayers 3开发打下坚实的基础。本教程将坚持实用为主,对应用中遇到的重点、难点加以详细讲解,提出实用方案。 为了满足广大初学者的需要,教程将坚持一个原则:即以**浅显易懂**为基础,以**有效实用**为最终目标的原则。

2020-08-06

c++坦克大战

坦克大战经典游戏,vs下开发

2016-07-05

c酒店管理系统(可运行)

1.本系统未用到文件 2.本系统采用函数 3.本系统用例比较小 4.本系统有良好的界面,舒适的变成思路和整齐的代码。

2016-04-09

html+javascript捐款管理

本系统界面友好,并运用了javascript的增删改查分页等功能。如果需要的是图书管理系统等,只需在源码上进行相应改动。

2016-04-09

java雨中邂逅

java雨中邂逅

2015-09-09

java坦克大战

经典游戏坦克大战源码 直接导入eclipse运行

2015-09-08

图书馆管理系统

public ConnDB(){ try { InputStream in=getClass().getResourceAsStream(propFileName); prop.load(in); //通过输入流对象加载Properties文件 dbClassName = prop.getProperty("DB_CLASS_NAME"); //获取数据库驱动 dbUrl = prop.getProperty("DB_URL", "jdbc:mysql://127.0.0.1:3306/db_librarySys?user=root&password=123&useUnicode=true"); } catch (Exception e) { e.printStackTrace(); //输出异常信息 } }

2015-06-23

车辆管理系统(vc下可运行)

void menu() { int n,w; do { puts("\t\t**************MENU**************\n\n"); puts("\t\t\t 1.初始化"); puts("\t\t\t 2.有车进入"); puts("\t\t\t 3.有车离开"); puts("\t\t\t 4.退出"); puts("\n\n\t\t*********************************\n"); printf("Please choice your number(1-4): [ ]\b\b"); scanf("%d",&n); if(n4) /*对选择的数字作判断*/ { w=1; getchar(); } else w=0; }while(w==1); switch(n) { case 1:chushi();break; /*初始化函数*/ case 2:jinru();break; /*车辆进入函数*/ case 3:likai();break; /*车辆离开函数*/ case 4:exit(0); /*退出*/ } }

2015-06-23

vc++报刊订阅系统(成功运行)

报刊订阅系统代码 vc环境下可运行 do { printf("\t\t ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ \n\n\n"); printf("\t\t 欢迎来到报刊订阅系统! \n\n\n"); printf("\t\t ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ \n"); printf("\n\n\t\t ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ \n\n"); printf("\t\t 1:订户信息添加 \n"); printf("\t\t 2:订户信息浏览.删除 \n"); printf("\t\t 3:订户信息统计 \n"); printf("\t\t 4:退出系统 \n\n"); printf("\t\t ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ ^-^ \n\n"); printf("选择您的操作(1-4):[ ]\b\b"); scanf("%d",&n);

2015-06-23

vc++火车票订票系统

void menu() { printf(" ************************* 沈阳火车票订票系统************************ "); printf("\n 1 显示当前时间"); printf("\n 2 车次信息录入"); printf("\n 3 显示"); printf("\n 4 旅客买票"); printf("\n 5 统计某日销售金额"); printf("\n 6 退出"); }

2015-06-23

vc++火车票管理系统

/**********************************************/ int ShowMessage(void); //载入原始数据 void mainmenu(void); //主菜单 void InsertMessage(void); //录入班次信息 void SearchMenu(void); //查询路线子菜单 void SearchByNumber(void); //按班次号查询 void SearchByAddress(void); //按终点站查询 void TicketManagement(void); //车票售出与退回 void TicketOrder(void); //售票 void TicketDelete(void); //退票 void exit(void); //退出该系统 void SaveRecord(ticket x); //储存信息到文件中 /********************************************/

2015-06-23

vc++火车票管理系统(可运行)

#include <iostream> #include <fstream> #include <string> #include<time.h> using namespace std; void welcome(); //欢迎子函数 void choose(); //选择子函数 void banciluru(); //班次录入子函数 void liulanbancixinxi(); //浏览班次信息子函数 void shoupiao(); //售票子函数 void tuipiao(); //退票子函数 void quit(); //退出子函数 void chaxun(); //查询子函数 int loading(); //文件载入子函数 const int MAX=20; //使数组最大值可调 const int N=50; struct time //时间结构体,为了与系统时间做比较. { int hour; int minutes; }; struct ticket //车票结构体,包含车次,时间结构体,起点,终点,行车时间,额定载客量,已订票人数 { int Number; struct time Setout; char Qidian[MAX]; char Zhongdian[MAX]; float Lasttime; int Fixnumber; int Fixednumber; }car[N]; //主函数 int main() { welcome(); return 0; } //欢迎子函数 void welcome() { cout<<"________________________________________________________"<<endl; cout<<"| 欢 * 迎 * 使 * 用 * 火 * 车 * 票 * 管 * 理 * 系 * 统 |"<<endl; cout<<"| |"<<endl; cout<<"| 本管理系统有以下功能: |"<<endl; cout<<"| |"<<endl; cout<<"| 1 班次录入 |"<<endl; cout<<"| 2 浏览班次信息 |"<<endl; cout<<"| 3 查询火车信息 |"<<endl; cout<<"| 4 购买火车票 |"<<endl; cout<<"| 5 退订火车票 |"<<endl; cout<<"| 6 退出系统 |"<<endl; cout<<"|______________________________________________________|"<<endl; cout<<"请输入所要执行功能前的数字: "<<endl; choose(); } //选择子函数 void choose() { string i; cin>>i; if(i=="1") banciluru(); if(i=="2") liulanbancixinxi(); if(i=="3") chaxun(); if(i=="4") shoupiao(); if(i=="5") tuipiao(); if(i=="6") quit(); else { cout<<"输入有误!请在数字1-5之间重新您的输入选择!"<<endl; choose(); } } //班次录入子函数 void banciluru() { string t="1"; ofstream outfile; outfile.open("班次信息.txt",ios::app); for(int i=0;t=="1";i++) { cout<<"请输入需要添加的火车班次:"<<endl; cin>>car[i].Number; cout<<"请输入此班次发车时间(格式:先输入小时,回车,再输入分钟):"<<endl; cin>>car[i].Setout.hour; cin>>car[i].Setout.minutes; cout<<"请输入出发站:"<<endl; cin>>car[i].Qidian; cout<<"请输入终点站:"<<endl; cin>>car[i].Zhongdian; cout<<"请输入行车时间:"<<endl; cin>>car[i].Lasttime; cout<<"请输入额定载客量:"<<endl; cin>>car[i].Fixnumber; cout<<"请输入已订票人数:"<<endl; cin>>car[i].Fixednumber; outfile<<car[i].Number<<" "<<car[i].Setout.hour<<" "<<car[i].Setout.minutes<<" "<<car[i].Qidian<<" "<<car[i].Zhongdian<<" "<<car[i].Lasttime<<" "<<car[i].Fixnumber<<" "<<car[i].Fixednumber<<endl; cout<<"是否继续录入?(是请输1,否请输任意键返回主菜单)"<<endl; cin>>t; if(t!="1") { welcome(); } } outfile.close(); cout<<"输入回车键返回"<<endl; getchar(); getchar(); welcome(); } //浏览班次子函数 void liulanbancixinxi() { int c; c=loading(); cout<<"班次"<<" "<<"发车时间"<<" "<<"起点站"<<" "<<"终点站"<<" "<<"行车时间"<<" "<<"额定载客量"<<" "<<"已订票人数"<<endl; for(int i=0;i<c;i++) { cout<<car[i].Number<<" "<<car[i].Setout.hour<<":"<<car[i].Setout.minutes<<" "<<car[i].Qidian<<" "<<car[i].Zhongdian<<" "<<car[i].Lasttime<<" "<<car[i].Fixnumber<<" "<<car[i].Fixednumber<<endl; time_t tval; struct tm *now; tval = time(NULL); now = localtime(&tval); if((now->tm_hour==car[i].Setout.hour&&now->tm_min>car[i].Setout.minutes)||(now->tm_hour>car[i].Setout.hour)) cout<<"此车已发出"<<endl; } cout<<"输入回车键返回"<<endl; getchar(); getchar(); welcome(); } //车次查询子函数 void Numbersearch(); void Finalsearch(); void chaxun() { string t; cout<<"1.按班次查询"<<endl; cout<<"2.按终点站查询"<<endl; cout<<"请输入您想选择的查询方法前的数字:"<<endl; cin>>t; if(t=="1") Numbersearch(); if(t=="2") Finalsearch(); if(t!="1"||t!="2") { cout<<"输入有误,请重新输入"<<endl; chaxun(); } }

2015-06-23

VC++车站售票系统

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> #define N 50 //声明用户数据类型 typedef struct { char uname[10]; char pwd[10]; char utype; } USER[10]; //声明汽车班次数据类型 typedef struct { char num[10]; //声明其它成员 } BUS; //班次信息管理主菜单 void busMenu() { char choice, ans; system("cls"); printf("\n\n\t\t 班 次 管 理"); printf("\n\t\t=======================\n"); printf("\n\t\t 1. 添加班次\n"); printf("\n\t\t 2. 修改班次\n"); printf("\n\t\t 3. 删除班次\n"); printf("\n\t\t 4. 查询班次\n"); printf("\n"); printf("\n\t\t 0. 退出系统"); printf("\n\n\t\t=======================\n"); printf("\n\t\t 请选择(0 ~ 4):"); fflush(stdin); choice=getchar(); //根据用户选择分别调用以下函数 if(choice-49==0) addBus(); //添加班次信息 if(choice-50==0) modifyBus(); //修改班次信息 if(choice-51==0) deleteBus(); //删除班次信息 if(choice-52==0) queryBus(); //查询班次信息 //对于选择退出,执行以下代码 if(choice<48||choice>52) { if(ans!='y' && ans!='Y') { choice='A'; //输入其它选择,执行以下代码,以返回主菜单让用户重新选择 printf("\n\t\t选择错误,请重新选择!"); fflush(stdin); busMenu(); } } printf("\n\t\t你确定要退出系统吗(Y/N)?"); fflush(stdin); ans=getchar(); if(ans=='n'||ans=='N') busMenu(); if(ans=='y'||ans=='Y') exit(0); }

2015-06-23

C++酒店管理系统

C++酒店管理系统论文源代码 VC环境下可运行

2015-06-12

Java龟兔赛跑

java实现的带有动画的模拟龟兔赛跑的小程序。

2015-04-28

DBOperation.java

DBOperation.java

2014-06-04

fullcalendar-scheduler-4.1.0.zip

fullcalendar事件横向 FullCalendar 是一个jQuery日历插件,它提供一个全尺寸,像事例中的拖拽日历。

2019-05-09

fullcalendar-scheduler-4.1.0.zip

fullcalendar事件横向 FullCalendar 是一个jQuery日历插件,它提供一个全尺寸,像事例中的拖拽日历。

2019-05-09

fullcalendar-4.1.0.zip

FullCalendar提供了丰富的属性设置和方法调用,开发者可以根据FullCalendar提供的API快速完成一个日历日程的开发

2019-05-09

jQuery实现的tab标签自动切换效果

jQuery实现的tab标签自动切换效果

2019-04-03

百度人脸识别

百度人脸识别demo。百度人脸识别API 的使用百度人脸识别API是一个第三方SDK,在此之前,我搜索过其他一些人脸识别的,相比较之下,我觉得百度的更加方便。

2018-04-27

google不支持window.showModalDialog问题解决方案

This is a `window.showModalDialog()` shim using a modal HTML5 `` element and ECMAScript 6 Generators. It was tested in the latest Google Chrome with the *Enable Experimental JavaScript* flag enabled in `chrome://flags/#enable-javascript-harmony` and in the latest Mozilla Firefox with the *dom.dialog_element.enabled* preference set to *true* in `about:config`. Just include the following HTML code before using `showModalDialog` function: `[removed][removed]`.

2018-03-16

oracle11g密码敏感取消

-- 在系统命令行输入sqlplus /nolog conn sys /sunshine@mis as sysdba -- select * from dba_profiles -- SELECT * FROM V$PARAMETER; --去掉字符大小写敏感设置:禁止密码大小写敏感 show parameter sec_case_sensitive_logon alter system set sec_case_sensitive_logon=false ; --Oracle11g中Exp空表的问题:禁用插入数据时才分配空间功能 show parameter deferred_segment_creation alter system set deferred_segment_creation=false; -- 查找空表: select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ; select 'alter table '||owner||'.'||table_name||' allocate extent;' from dba_tables where num_rows=0 ; --数据库实例用户密码期限取消:无限期 select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME'; alter profile default limit password_life_time unlimited;

2018-03-02

impdp及expdp

impdp system/oracle@projm directory=dir_dp dumpfile=projm20180118.dmp logfile=PROJM20180118-imp-2.log schemas=MIS_BASE,MIS_BLOB,MIS_CONFIG,MIS_LOG,MIS_REPORT,MIS_SYS,MIS_WF,HM_PROJ

2018-01-22

impdp及expdp的使用-统一认证

--- 统一认证: 使用数据泵导入导出(只能在oracle的本地进行,如果是服务器需远程) 前提条件(为导入导出设置保存及读取文件路径):

2018-01-22

中文文件名乱码

文件系统中文文件名乱码,可根据代码对文件名编码格式进行转换

2018-01-15

com.spket.ui_1.6.23.jar

安装spket破解包将下载得到的 com.spket.ui_1.6.23.jar 覆盖spket的安装目录\spket1.6.23\eclipse\plugins\com.spket.ui_1.6.23.jar ...

2017-12-23

Programming Collective Intelligence

Want to tap the power behind search rankings, product recommendations, social bookmarking, and online matchmaking? This fascinating book demonstrates how you can build Web 2.0 applications to mine the enormous amount of data created by people on the Internet. With the sophisticated algorithms in this book, you can write smart programs to access interesting datasets from other web sites, collect data from users of your own applications, and analyze and understand the data once you've found it. Programming Collective Intelligence takes you into the world of machine learning and statistics, and explains how to draw conclusions about user experience, marketing, personal tastes, and human behavior in general -- all from information that you and others collect every day. Each algorithm is described clearly and concisely with code that can immediately be used on your web site, blog, Wiki, or specialized application. This book explains: * Collaborative filtering techniques that enable online retailers to recommend products or media * Methods of clustering to detect groups of similar items in a large dataset * Search engine features -- crawlers, indexers, query engines, and the PageRank algorithm * Optimization algorithms that search millions of possible solutions to a problem and choose the best one * Bayesian filtering, used in spam filters for classifying documents based on word types and other features * Using decision trees not only to make predictions, but to model the way decisions are made * Predicting numerical values rather than classifications to build price models * Support vector machines to match people in online dating sites * Non-negative matrix factorization to find the independent features in a dataset * Evolving intelligence for problem solving -- how a computer develops its skill by improving its own code the more it plays a game Each chapter includes exercises for extending the algorithms to make them more powerful. Go beyond simple database-backed applications and put the wealth of Internet data to work for you. 'Bravo! I cannot think of a better way for a developer to first learn these algorithms and methods, nor can I think of a better way for me (an old AI dog) to reinvigorate my knowledge of the details.' -- Dan Russell, Google 'Toby's book does a great job of breaking down the complex subject matter of machine-learning algorithms into practical, easy-to-understand examples that can be directly applied to analysis of social interaction across the Web today. If I had this book two years ago, it would have saved precious time going down some fruitless paths.' -- Tim Wolters, CTO, Collective Intellect

2017-12-22

Extjs4.1.1修改后的sdk.jsb3

Extjs4.1.1中build下的sdk.jsb3里的路径配置都是错误的,所以集成到spket根本不能进行智能提示,这个是经过修复后的,只要替换掉build下的sdk.jsb3就可以了

2017-12-22

spket-1.6.23破解版

spket开发软件大大提升了JavaScript开发效率,更容易开发桌面应用程序。

2017-12-05

传智播客毕业设计资料和代码

采用的是JSP、Servlet和MySQL技术实现的网上商城,文档中给出了项目的源码及相关文档

2017-09-28

c++文件操作示例

c++文件打开,写入,读写,sprintf写入,结构体等简单实例

2016-07-19

俄罗斯方块

经典游戏,vs下开发的win32项目,含有图形界面。

2016-07-05

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除