首页 > 2016年08月02日 > 全部分享
Day24-26 项目练习(图书商城)
图书商城 环境搭建 导入原型 用户模块 分类模块 图书模块 购物车模块 订单模块 2 功能分析 前台 用户模块: 注册 激活 登录 退出 分类模块: 查看所有分类 图书模块: 查询所有图书 按分类查询图书 查询图书详细(按id查) 购物车模块: 添加购物车条目; 清空所有条目; 删除指定条目; 我的... ...
分类:其他   时间:2016-08-02 22:15:51    收藏:0  评论:0  赞:0  阅读:530
分块编码→→←←
...
分类:其他   时间:2016-08-02 22:15:40    收藏:0  评论:0  赞:0  阅读:348
wadl 的自动生成(cxf版本3.1.1)
官方文档 http://cxf.apache.org/docs/jaxrs-services-description.html 举例: 1. cxf-2.7.6 可以自动生成wadl2. cxf-3.1.1 不可以自动生成,需要加注解3. request path:http://ip:port/pr ...
分类:其他   时间:2016-08-02 22:15:20    收藏:0  评论:0  赞:0  阅读:401
一、spark入门之spark shell:wordcount
1、安装完spark,进入spark中bin目录: bin/spark-shell scala> val textFile = sc.textFile("/Users/admin/spark/spark-1.6.1-bin-hadoop2.6/README.md") scala> textFile. ...
分类:系统服务   时间:2016-08-02 22:15:14    收藏:0  评论:0  赞:0  阅读:298
新建maven web 项目后,出现的小问题
问题一:Description Resource Path Location TypeCannot change version of project facet Dynamic Web Module to 2.4. wadl line 1 Maven Java EE Configuration P ...
分类:Web开发   时间:2016-08-02 22:15:00    收藏:0  评论:0  赞:0  阅读:1196
spring + rs + RocketMQ 【精】
cxf-rs-rocketmq 项目地址:见git ...
分类:编程语言   时间:2016-08-02 22:14:40    收藏:0  评论:0  赞:0  阅读:377
查询条件左边写入函数,导致无法命中索引
背景: 简单罗列下之前做过的优化,人懒。 所以没能把所有的整理统一放出来。 情况: 系统查询过慢,没能命中索引。 <!--对账单数量 --> <select id="selectCount" resultType="java.lang.Integer" parameterType="map"> se ...
分类:其他   时间:2016-08-02 22:14:31    收藏:0  评论:0  赞:0  阅读:310
报文分析 - 抓包
界面演示 核心接口 public interface I项目 { M项目 获取项目(); void 保存当前映射(List 当前通信); } public class M项目 { [DBKey] public Int64 Id { get; set; } public string 名称 {... ...
分类:其他   时间:2016-08-02 22:14:21    收藏:0  评论:0  赞:0  阅读:169
腾讯云服务器如何上传文件
转自 http://bbs.qcloud.com/thread-9949-1-1.html; 之前一直用的是新浪sae,突然账号就不能用了,从新注册各种烦,过段换了腾讯。 登录 https://console.qcloud.com/cvm 然后更换系统,选择使用其他镜像安装,然后选项里面选择可视化云 ...
分类:Web开发   时间:2016-08-02 22:14:10    收藏:0  评论:0  赞:0  阅读:323
1) Apache Maven 's README.txt
...
分类:Web开发   时间:2016-08-02 22:14:00    收藏:0  评论:0  赞:0  阅读:276
SP:创建Windows应用程序的要点详解
主要是对前面几个部分知识内容的一些总结并进行详细的分析主函数入口点在 main.cpp 中需要做得第一件事是包含 Win32 程序所需的头文件和定义函数入口点。 需要注意的是, Win32窗体应用程序的主函数入口点是 WinMain 函数(控制台程序的入口点是 main 函数)。 对于现在来说,我们只需要在源文件的顶部包含 windows.h 头文件即可。 源文件 main.cpp 的头文件和空的...
分类:Windows开发   时间:2016-08-02 21:09:30    收藏:0  评论:0  赞:0  阅读:360
字符串编码解压缩算法
前几天,有一个学C的小伙伴和我交流一个问题,问题他是这么说的:传入一个字符串,格式要求如下:ep: A2D3B4C1D2那么将这个字符串解压的结果应为:AADDDBBBBCDD规则就是,必须满足,字符串的第一个是字母,可以大写也可以小写,第二个为数字,范围为1-9,解压的长度不得超过1000个字符。按照他的要求,我想了一下,实现了这个算法,算法如下:#include #include #inc...
分类:编程语言   时间:2016-08-02 21:09:00    收藏:0  评论:0  赞:0  阅读:357
Android高级控件——ViewPager、GridView、popwindow、SlideMenu(中)
ViewPager 横向滑动的分页组件 应用十分广泛的组件之一,如实现不同频道的左右滑动显示 同ListView一样属于适配器控件,ViewPager专属适配器PagerAdapter SlidingMenu 常用属性介绍 mSlidingMenu.setMode(SlidingMenu.LEFT);//设置左滑菜单 mSlidingMenu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);//设置滑动的屏幕范围,该设置为全屏区域都可以滑动 mSlid...
分类:移动平台   时间:2016-08-02 21:08:50    收藏:0  评论:0  赞:0  阅读:423
HDU 5787 K-wolf Number(数位DP)
题目链接:点击打开链接 思路: 我们用dp[cur][a][b][c][d][p]表示当前到了第cur位,前四位分别是abcd并且当前是否已经小于给定的数的方案数。  我们分别算出L和R的dp值,  以及L是否符合要求, 做差并把多减的加上即可。  比赛时写的比较恶心, 不是很美观但是很直观。 细节参见代码: #include #include #include #include ...
分类:其他   时间:2016-08-02 21:08:40    收藏:0  评论:0  赞:0  阅读:353
Realm使用简单介绍
Realm是一个轻量级的数据库,在Android开发中,它可以替代 SQLite 和 ORM 框架。相比SQLite,Realm更快并且具有很多现代数据库的特性,比如支持JSON,流式api,数据变更通知,以及加密支持。 工程配置 1、在工程根目录的build.gradle中添加dependencies classpath "io.realm:realm-gradle-plugin:1.1.0" 2、在app的build.gradle中添加plugin apply plugin: 'realm-andro...
分类:其他   时间:2016-08-02 21:08:30    收藏:0  评论:0  赞:0  阅读:290
leetcode No61. Rotate List
Question: Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->3->NULL. 旋转链表 Algorith...
分类:其他   时间:2016-08-02 21:08:21    收藏:0  评论:0  赞:0  阅读:302
leetcode No62. Unique Paths
Question: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying ...
分类:其他   时间:2016-08-02 21:08:10    收藏:0  评论:0  赞:0  阅读:215
Struts2 Web 资源获取的四种方式
Struts2 Web 资源获取一个有四种方式,两个大类 拦截器获取 Web 资源模式 静态对象获取 Web 资源模式 第一种:实现ServletRequestAware、ServletResponseAware、ServletContextAware接口struts.xml ...
分类:Web开发   时间:2016-08-02 21:08:00    收藏:0  评论:0  赞:0  阅读:317
leetcode No63. Unique Paths II
Question: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectiv...
分类:其他   时间:2016-08-02 21:07:50    收藏:0  评论:0  赞:0  阅读:253
leetcode No64. Minimum Path Sum
Question: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either d...
分类:其他   时间:2016-08-02 21:07:40    收藏:0  评论:0  赞:0  阅读:228
1667条   上一页 1 ... 8 9 10 11 12 ... 84 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!