• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
KerryJava
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页

2016年2月18日

tableview head
摘要: http://stackoverflow.com/questions/18880341/why-is-there-extra-padding-at-the-top-of-my-uitableview-with-style-uitableviewst 阅读全文
posted @ 2016-02-18 12:32 KerryJava 阅读(197) 评论(0) 推荐(0)
 
苹果打包,每隔两年就会出现这个问题
摘要: Failed to locate or generate matching signing assets Xcode attempted to locate or generate matching signing assets and failed to do so because of the 阅读全文
posted @ 2016-02-18 10:04 KerryJava 阅读(287) 评论(0) 推荐(0)
 
 

2016年2月2日

debug 使用lldb
摘要: http://www.zddhub.com/memo/2015/12/20/lldb-golang-debug/ go build -gcflags "-N -l" -o test test.go MoJetdeMacBook-Pro:Downloads mojet$ lldb test (lldb 阅读全文
posted @ 2016-02-02 21:13 KerryJava 阅读(574) 评论(0) 推荐(0)
 
 

2016年1月26日

mysql高负载的问题排查
摘要: http://dngood.blog.51cto.com/446195/1150031log_slow_queries=/usr/local/mysql/var/slow_queries.log#慢查询日志路径long_query_time=10 #记录SQL查询超过10s的语句log-querie... 阅读全文
posted @ 2016-01-26 23:25 KerryJava 阅读(226) 评论(0) 推荐(0)
 
 

2016年1月24日

一个NULL引发的血案
摘要: go sql.stmt query 发生了一个NULL值,所以发现了error, 发现服务不停的初始化sql stmt, 导致连接数过多,服务就变得很慢。首先,我在初始化的之前,要判断这个是否是NULL(见下面列表5)导致的,并非是sql请求出错。 我为啥要全局变量保存sql.Stmt, 导致要处理... 阅读全文
posted @ 2016-01-24 00:16 KerryJava 阅读(359) 评论(0) 推荐(0)
 
 

2015年12月31日

画椭圆型
摘要: let testRad = circleRadius * 40// let clip : UIBezierPath = UIBezierPath(arcCenter: pt, radius:// CGF... 阅读全文
posted @ 2015-12-31 18:22 KerryJava 阅读(279) 评论(0) 推荐(0)
 
异常分析
摘要: This is the point at which we caught the crash. "sigtramp" is the signal "trampoline." That's a fancy way of saying "I caught a signal (crash) and now... 阅读全文
posted @ 2015-12-31 15:32 KerryJava 阅读(232) 评论(0) 推荐(0)
 
 

2015年12月30日

go 语言的库文件放在哪里?如何通过nginx代理后还能正确获取远程地址
摘要: /usr/local/Cellar/go/1.5.1/libexec/src/他的RemoteAddr 是从哪里获取?func (c *conn) RemoteAddr() Addr { if !c.ok() { return nil } return c.fd.raddr} 使用远程地址的被... 阅读全文
posted @ 2015-12-30 15:09 KerryJava 阅读(619) 评论(0) 推荐(0)
 
 

2015年12月22日

defer 要放在return之前
摘要: 虽然defer可以在函数退出的时候执行,但是也要把它放在return之前,否则不会调用到。错误的示范:res, err := Resource.open()if err != nil { return err;}defer res.Close() 阅读全文
posted @ 2015-12-22 22:53 KerryJava 阅读(602) 评论(0) 推荐(0)
 
nginx
摘要: reload有时候不能生效,需要停止服务后再启动多个版本的反向代理URL路径被覆盖,导致访问不到 XXX/v2/version路径,经过这样修改可以避免出现这个问题。location / { proxy_pass : host1;}location /v2 { proxy_pass :host2... 阅读全文
posted @ 2015-12-22 22:48 KerryJava 阅读(177) 评论(0) 推荐(0)
 
 
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3