自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 git 如何上传大文件

git在push文件到远程仓库时,对于单个文件要求小于100M,否则将会报错,那对于单个文件大于100M的怎么办呢? 官方提供了上传大文件的方法:https://git-lfs.github.com/,这是windows版本的,其他系统版本不是很清楚。 过程 1、首先下载软件、解压安装。 2、在git Bash中安装启动: git lfs install 3、添加需...

2018-05-28 01:00:48 3036 1

原创 Servlet的request获取前台json数据

问题描述:在前台传json数据给后台的doPOST接口时,request拿不到json数据。我的前台模拟是用的Firefox浏览器的一个插件:HttpRequest插件可以调用后台接口,在做后台开发测试时非常好用。在我传输数据时,后台一直拿不到数据,request.getParameter(“bookName”)拿到的是:null后来谷歌找到解决方法: 注:前提先要导入Gson.jar包,我已经上

2017-05-02 22:41:40 2334

原创 爱回收 笔试题—Java初始化顺序

爱回收 笔试题—Java初始化顺序代码如下:class A { // static域 static { System.out.println("类A static域"); } // 非static域 直接括号内的内容是在创建java对象时执行,而且在构造器之前执行! { System.out.println("类A 非static

2017-04-12 21:47:50 665

原创 Windows10下Java Web 开发环境的配置

Windows10下Java Web 开发环境的配置由于经常性遗忘,所以整理一下 Java Web 开发环境的搭建与配置Windows下 JDK 的下载安装及配置 Windows 下 Tomcat 的下载安装及配置 Windows下 Eclipse 的配置和优化

2017-02-27 19:31:38 5902 1

原创 leetcode 344. Reverse String

344. Reverse StringWrite a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh". 代码:public class Solution { public Str

2016-11-17 22:17:34 312

原创 leetcode 136. Single Number

136. Single Number Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you imple

2016-11-17 22:10:45 162

原创 leetcode 371. Sum of Two Integers

371. Sum of Two Integers Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3. public class Solution

2016-11-17 22:00:47 333

原创 leetcode 412. Fizz Buzz

412. Fizz Buzz                    Write a program that outputs the string representation of numbers from 1 to n.But for multiples of three it should output “Fizz” instead of the number and

2016-11-17 00:41:22 228

原创 leetcode 376. Wiggle Subsequence

376. Wiggle Subsequence                                                                                 A sequence of numbers is called a wiggle sequence if the differences between succe

2016-11-14 11:05:02 164

gson-2.6.2.jar

可将类对象直接转化为json数据

2017-05-02

空空如也

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

TA关注的人

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