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

12 2015 档案

 
画椭圆型
摘要: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 阅读(229) 评论(0) 推荐(0)
新版本需要新增的表,也需要新增的记录
摘要:stock_app.t_fund_groupstock_app.t_fund_liststock_app.t_fund_tagstock_app.t_recommand 阅读全文
posted @ 2015-12-31 15:27 KerryJava 阅读(115) 评论(0) 推荐(0)
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 阅读(613) 评论(0) 推荐(0)
defer 要放在return之前
摘要:虽然defer可以在函数退出的时候执行,但是也要把它放在return之前,否则不会调用到。错误的示范:res, err := Resource.open()if err != nil { return err;}defer res.Close() 阅读全文
posted @ 2015-12-22 22:53 KerryJava 阅读(601) 评论(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)
搞两台服务器不断间隔重启
摘要:这样会不会防止程序挂死,资源没有释放的问题? 阅读全文
posted @ 2015-12-21 16:39 KerryJava 阅读(237) 评论(0) 推荐(0)
终于发现为什么SQL没有释放句柄,原来是保存句柄的变量被覆盖了,丢失了原来的句柄
摘要:stmt = xxx , stmt = yyy , stmt.close() 之前的xxx 没有close掉 阅读全文
posted @ 2015-12-21 16:24 KerryJava 阅读(515) 评论(0) 推荐(0)
Go prepare statment超过mysql最大数
摘要:mysql_stmt_prepare failed! error(1461)Can't create more than max_prepared_stmt_count statements (current value: 16382)。给出的回复如下:max_prepared_stmt_count... 阅读全文
posted @ 2015-12-20 12:25 KerryJava 阅读(2089) 评论(0) 推荐(0)
查看哪些端口被监听
摘要:Server 阅读全文
posted @ 2015-12-20 12:14 KerryJava 阅读(424) 评论(0) 推荐(0)
chart crash
摘要:* thread #155: tid = 0x1fcc10, 0x0000000107626745 gpxj`static gpxj.ChartUtils.decimals (gpxj.ChartUtils.Type)(Swift.Double) -> Swift.Int at ChartUtils... 阅读全文
posted @ 2015-12-02 17:45 KerryJava 阅读(321) 评论(0) 推荐(0)
 

公告


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