会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hao.ma
http://weibo.com/haomase7en
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
23
下一页
2015年11月4日
leetcode Climbing Stairs python
摘要: class Solution(object): def climbStairs(self, n): """ :type n: int :rtype: int """ if n <= 2: return ...
阅读全文
posted @ 2015-11-04 08:45 hao.ma
阅读(119)
评论(0)
推荐(0)
2015年11月3日
leetcode add two numbers python
摘要: # Definition for singly-linked list.# class ListNode(object):# def __init__(self, x):# self.val = x# self.next = Noneclass Solutio...
阅读全文
posted @ 2015-11-03 21:12 hao.ma
阅读(123)
评论(0)
推荐(0)
2015年10月30日
lua math libary
摘要: 函数名描述示例结果pi圆周率math.pi3.1415926535898abs取绝对值math.abs(-2012)2012ceil向上取整math.ceil(9.1)10floor向下取整math.floor(9.9)9max取参数最大值math.max(2,4,6,8)8min取参数最小值mat...
阅读全文
posted @ 2015-10-30 20:16 hao.ma
阅读(169)
评论(0)
推荐(0)
2015年10月28日
一行统计shell
摘要: cat count.log | awk '{print $7}' | awk '{if ($1 == "-") empty++ }END {print NR, empty, empty/NR}'
阅读全文
posted @ 2015-10-28 16:57 hao.ma
阅读(181)
评论(0)
推荐(0)
2015年10月26日
php-fpm 开启错误日志
摘要: #php-fpm.conf#open catch_workers_output = yes#php.inilog_errors = Onerror_log=/data/logs/php-fpm/error.logerror_reporting= E_ERROR | E_PARSE#check php...
阅读全文
posted @ 2015-10-26 20:18 hao.ma
阅读(303)
评论(0)
推荐(0)
2015年10月21日
nginx install lua module
摘要: #install luajit#http://luajit.org/download.htmltar xzvf LuaJIT-2.0.4.tar.gzcd LuaJIT-2.0.4make install PREFIX=/home/allen.mh/local/luajitsudo echo "/h...
阅读全文
posted @ 2015-10-21 13:56 hao.ma
阅读(254)
评论(0)
推荐(0)
2015年10月20日
nginx install
摘要: ./configure --prefix=/home/allen.mh/local/nginx --with-http_ssl_module --with-http_sub_module --with-http_gzip_static_module --with-http_stub_status_m...
阅读全文
posted @ 2015-10-20 16:42 hao.ma
阅读(152)
评论(0)
推荐(0)
2015年10月9日
查看memcached依赖的库
摘要: LD_DEBUG=libs ./memcached -v
阅读全文
posted @ 2015-10-09 19:17 hao.ma
阅读(178)
评论(0)
推荐(0)
memcached look status
摘要: $echo stats | nc 127.0.0.1 11211STAT pid 25030STAT uptime 6859STAT time 1444384843STAT version 1.2.6STAT pointer_size 64STAT rusage_user 7.054927STAT ...
阅读全文
posted @ 2015-10-09 18:06 hao.ma
阅读(159)
评论(0)
推荐(0)
2015年9月30日
python 实现单链表
摘要: #! /usr/bin/env python ###### Linked List python implementation###### @reference Data Structures and Algorithm Analysis in C:Second Edition : Mark All...
阅读全文
posted @ 2015-09-30 11:24 hao.ma
阅读(383)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
23
下一页
公告