会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
金色的鱼儿
博客园
首页
新随笔
联系
订阅
管理
2019年11月6日
Git错误提示之:fatal: Not a git repository (or any of the parent directories): .git
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-11-06 15:40 金色的鱼儿
阅读(1)
评论(0)
推荐(0)
git 分支查看与切换
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-11-06 15:37 金色的鱼儿
阅读(1)
评论(0)
推荐(0)
git从已有分支拉新分支开发
摘要: 开发过程中经常用到从master分支copy一个开发分支,下面我们就用命令行完成这个操作: 1. 切换到被copy的分支(master),并且从远端拉取最新版本 $git checkout master $git pull 2. 从当前分支拉copy开发分支 $git checkout -b dev
阅读全文
posted @ 2019-11-06 15:31 金色的鱼儿
阅读(795)
评论(0)
推荐(0)
Cookie相关工具方法
摘要: /** * InputStream转化为byte[]数组 * @param input * @return * @throws IOException */ public static byte[] toByteArray(InputStream input) throws IOException { ByteAr...
阅读全文
posted @ 2019-11-06 14:55 金色的鱼儿
阅读(354)
评论(0)
推荐(0)
JAVA发送Http请求
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-11-06 14:52 金色的鱼儿
阅读(2)
评论(0)
推荐(0)
java设置Cookie
摘要: public static void setCookie(HttpServletResponse response, String key, String value){ Cookie cookie = new Cookie(key, value); cookie.setPath("/"); response.addCookie(cookie); }
阅读全文
posted @ 2019-11-06 14:15 金色的鱼儿
阅读(8231)
评论(0)
推荐(0)
java中InputStream转化为byte[]数组
摘要: /** * InputStream转化为byte[]数组 * @param input * @return * @throws IOException */ public static byte[] toByteArray(InputStream input) throws IOException { ByteArrayOutputStream output = new ByteArrayOutp
阅读全文
posted @ 2019-11-06 13:38 金色的鱼儿
阅读(12373)
评论(0)
推荐(2)
SpringMVC注解@RequestMapping之produces属性导致的406错误
摘要: 废话不多说,各位,直接看图说话,敢吗?这个问题网上解决的办法写的狠是粗糙,甚至说这次我干掉它完全是靠巧合,但是也不否认网上针对406错误给出的解决方式,可能是多种情况下出现的406吧?我这次的流程就是集成了MyBatis的分页插件,简单实现了一个分页功能,最后将数据返回给浏览器,就因为我的随手一粘贴
阅读全文
posted @ 2019-11-06 12:43 金色的鱼儿
阅读(908)
评论(1)
推荐(0)
公告