首页 > 2015年11月10日 > 全部分享
状态码及其意义
200表示OK,400表示请求有语法错误,服务器端不能理解,401表示请求没有经过授权,403表示服务器收到请求,但拒绝提供服务,可能还是请求有一些语法错误,404表示没有找到,500表示服务器发生了不可预知的错误,503表示服务器暂时无法处理请求,可能过段时间才能恢复正常......状态码对应表:...
分类:其他   时间:2015-11-10 15:45:05    收藏:0  评论:0  赞:0  阅读:198
hibernate关于一对一用法
首先来说一下数据库的表结构吧。主要涉及到两张表。一张是订单表sub_table 一张是商品表。之后说entitypublic class SubTable { private Integer subId;//自动编号 private String subCode;//订单编号 ...
分类:Web开发   时间:2015-11-10 15:44:55    收藏:0  评论:0  赞:0  阅读:262
php添加环境变量
在php的安装目录中添加,如/usr/php-5.6.16添加env.php文件,在文件中设置环境变量:如:<?php$_SERVER['ENV'] = 'production';再到配置文件中进行配置:auto_prepend_file = /usr/local/php/env.php
分类:Web开发   时间:2015-11-10 15:44:45    收藏:0  评论:0  赞:0  阅读:196
Combination Sum - LeetCode
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他   时间:2015-11-10 15:44:37    收藏:0  评论:0  赞:0  阅读:221
Populating Next Right Pointers in Each Node
题目:Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next poi...
分类:其他   时间:2015-11-10 15:44:25    收藏:0  评论:0  赞:0  阅读:227
25个 Git 进阶技巧
[ 原文]http://www.open-open.com/lib/view/open1431331496857.html我已经使用git差不多18个月了,觉得自己对它应该已经非常了解。然后来自GitHub的Scott Chacon过来给LVS做培训(LVS是一个赌博软件供应商和开发商,从2013年...
分类:其他   时间:2015-11-10 15:44:15    收藏:0  评论:0  赞:0  阅读:330
spring mvc实现修改+删除
1、在userController中添加修改的方法 a、首先点击修改,我们一般是到修改界面,并且上面有值,并且有提交按钮 b、修改后,提交到查看的页面//进入修改界面 @RequestMapping(value="/{id}/update",method=RequestMethod...
分类:编程语言   时间:2015-11-10 15:44:05    收藏:0  评论:0  赞:0  阅读:404
LNMP平滑升级nginx并安装ngx_lua模块教程
#ngx_lua module项目地址https://github.com/chaoslawful/lua-nginx-module在LNMP安装包后,重编译nginx,并添加ngx_lua模块1」Downloadwget http://luajit.org/download/LuaJIT-2.0....
分类:其他   时间:2015-11-10 15:43:55    收藏:0  评论:0  赞:0  阅读:357
最近刚学Swift,所以就做了个计算器
1.我在做这个计算器的时候用了好多方法。我就把我觉得最的最好的给大家分享一下:ViewController.swift//// ViewController.swift// //// Created by 张凯超 on 15/11/4.// Copyright © 2015年 张凯超...
分类:编程语言   时间:2015-11-10 15:43:45    收藏:0  评论:0  赞:0  阅读:267
产生一个int数组,长度为100,并向其中随机插入1-100,并且不能重复。
产生一个int数组,长度为100,并向其中随机插入1-100,并且不能重复。class Program { static void Main(string[] args) { int[] arr = new int[100]; ...
分类:编程语言   时间:2015-11-10 15:43:35    收藏:0  评论:0  赞:0  阅读:202
标准键盘-特殊符号-英文读法+希腊字母表
! 叹号 exclamation mark/bang? 问号 question mark, 逗号 comma. 点号 dot/period/point: 冒号 colon; 分号 semicolon” 双引号 quotation marks/double quote‘ 单引号/撇号 apostrop...
分类:其他   时间:2015-11-10 15:43:25    收藏:0  评论:0  赞:0  阅读:330
JavaScript获取数组最小值和最大值的方法
本文实例讲述了JavaScript获取数组最小值和最大值的方法。分享给大家供大家参考。具体如下:?123456var arr = new Array();arr[0] = 100;arr[1] = 0;arr[2] = 50;var min = Math.min.apply(null, arr),m...
分类:编程语言   时间:2015-11-10 15:43:15    收藏:0  评论:0  赞:0  阅读:223
实验室抢号神器
package Step1;import java.util.Calendar;import org.apache.commons.httpclient.HttpClient;import org.apache.commons.httpclient.methods.GetMethod;/** * ....
分类:其他   时间:2015-11-10 15:43:05    收藏:0  评论:0  赞:0  阅读:331
[Machine Learning]Python机器学习库
Numpy:numpy提供两种基本的对象:ndarray和ufunc,ndarray是存储单一数据类型的多为数组,ufunc是能够对数组进行操作的函数。创建数组:a = numpy.array([1, 2, 3, 4])b = np.array([[1, 2, 3, 4], [4, 5, 6, 7]...
分类:编程语言   时间:2015-11-10 15:42:45    收藏:0  评论:0  赞:0  阅读:303
学学设计模式
最近刚公司比较闲,就整理一下以前用到过的关于设计模式方面的资料。 .NET设计模式系列文章-TerryLee 设计模式-吕震宇 设计模式系列-何戈洲 JAVA与模式 Java开发中的23种设计模式详解(转) 23种设计模式
分类:其他   时间:2015-11-10 15:42:35    收藏:0  评论:0  赞:0  阅读:176
hdu 2444(二分图) The Accomodation of Students
http://acm.hdu.edu.cn/showproblem.php?pid=2444大意是给定n个学生,他们之间可能互相认识,首先判断能不能将这些学生分为两组,使组内学生不认识;现想将学生两两分组,且保证每一组的学生都认识,这样分组可达到的最大组数为多大?判断二分图,然后求匈牙利算法求最大匹...
分类:其他   时间:2015-11-10 15:42:25    收藏:0  评论:0  赞:0  阅读:200
记录jQuery一些好用的小技巧
1.使用animate()来操控页面滚动, obj.offset().top 对象距页面顶部的距离,left距页面左边,js中obj.offsetTop为对象距离定位父级的距离,注意区分。$('#btn').on('click', function (){ $('html,body').ani...
分类:Web开发   时间:2015-11-10 15:42:15    收藏:0  评论:0  赞:0  阅读:212
iOS---There was an internal API error 错误
There was an internal API error.错误原因:把Product Name作为程序名称,程序名称错乱解决方法:检查Product Name, 不要包含中文以及特殊字符。在info.plist中新增Bundle display name:我的程序名称。程序名称改为英文,Pro...
分类:移动平台   时间:2015-11-10 15:42:05    收藏:0  评论:0  赞:0  阅读:267
hdu4825 字典树 XOR
用字典树思想来做。对于一个数,给出他的二进制,然后更具二进制建立字典树,然后每次询问的时候的数也给出二进制,如果当前为1,那就向0走,为0,向1走。#include#includeconst int maxn = 100010;struct node{ int flag; int num...
分类:其他   时间:2015-11-10 15:41:45    收藏:0  评论:0  赞:0  阅读:294
Treasure Exploration(二分最大匹配+floyd)
Treasure ExplorationTime Limit:6000MSMemory Limit:65536KTotal Submissions:7455Accepted:3053DescriptionHave you ever read any book about treasure explo...
分类:其他   时间:2015-11-10 15:41:25    收藏:0  评论:0  赞:0  阅读:216
1669条   上一页 1 ... 39 40 41 42 43 ... 84 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!