摘要: problem: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the 阅读全文
posted @ 2017-05-16 21:18 yxysuanfa 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 这篇主要讲述iptables模块。因为iptables模块太多,所以仅仅能慢慢补充,用到哪个加哪个 iptables -A INPUT [-m state] [--模块參数 状态] -m :一些iptables的外挂模块如:state mac string 等等 state 状态模块:检查数据包状态 阅读全文
posted @ 2017-05-16 20:43 yxysuanfa 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 主要内容来自stanford Andrew Ng视频课程的总结。讲的非常好,还有相应的习题,课程能够在以下站点搜索到。 https://www.coursera.org/ 机器学习的目的是在训练数据的基础上得出一个模型,该模型对于给定的输入x。给出对应的输出y。用公式表示就是:y = h(x)。注意 阅读全文
posted @ 2017-05-16 19:29 yxysuanfa 阅读(1272) 评论(0) 推荐(0) 编辑
摘要: 将世界坐标转成NGUI坐标,这个中间须要一个屏幕坐标,可參考例如以下代码: /// <summary> /// 将世界坐标转成UI坐标 /// </summary> /// <param name="wordPos">Word position.</param> public Vector3 wor 阅读全文
posted @ 2017-05-16 12:32 yxysuanfa 阅读(276) 评论(0) 推荐(0) 编辑