会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hao.ma
http://weibo.com/haomase7en
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
23
下一页
2015年11月21日
leetcode Letter Combinations of a Phone Number python
摘要: class Solution(object): def letterCombinations(self, digits): """ :type digits: str :rtype: List[str] """ if len...
阅读全文
posted @ 2015-11-21 00:00 hao.ma
阅读(119)
评论(0)
推荐(0)
2015年11月20日
leetcode 3Sum Closest python
摘要: class Solution(object): def threeSumClosest(self, nums, target): """ :type nums: List[int] :type target: int :rtype: in...
阅读全文
posted @ 2015-11-20 20:36 hao.ma
阅读(158)
评论(0)
推荐(0)
基于nginx+lua简单的灰度发布系统
摘要: upstream.confupstream grey_1 ...
阅读全文
posted @ 2015-11-20 15:04 hao.ma
阅读(4100)
评论(0)
推荐(0)
http request parameter
摘要: http request parameter addhtmlspecialcharshost?vendor_id=1000000&q=Some%20children%20wish%20to%20be%20writers&loc=103.844915%2C36.014027&lang=zh-CN&s=...
阅读全文
posted @ 2015-11-20 12:43 hao.ma
阅读(325)
评论(0)
推荐(0)
2015年11月19日
leetcode 3Sum python
摘要: # sort the array# loop from i = 0 # then left=i+1 right=len(nums)-1# try nums[i] - ( nums[left]+nums[right]) = 0 # class Solution(object): def thre...
阅读全文
posted @ 2015-11-19 23:19 hao.ma
阅读(214)
评论(0)
推荐(0)
leetcode Longest Common Prefix python
摘要: class Solution(object): def longestCommonPrefix(self, strs): """ :type strs: List[str] :rtype: str """ if len(st...
阅读全文
posted @ 2015-11-19 20:17 hao.ma
阅读(182)
评论(0)
推荐(0)
2015年11月18日
leetcode Roman to Integer python
摘要: class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ numerals = { "M": 1000, "D": 5...
阅读全文
posted @ 2015-11-18 22:49 hao.ma
阅读(130)
评论(0)
推荐(0)
leetcode Integer to Roman python
摘要: class Solution(object): def intToRoman(self, num): """ :type num: int :rtype: str """ if num > 3999 or num = val...
阅读全文
posted @ 2015-11-18 22:35 hao.ma
阅读(136)
评论(0)
推荐(0)
nginx proxy_pass 后面的斜杠
摘要: # add / location /app/ { proxy_pass http://$backend/;}#location /app/ { proxy_pass http://$backend; }1 加斜杠:请求 http://domain/app/demo.ph...
阅读全文
posted @ 2015-11-18 12:44 hao.ma
阅读(714)
评论(0)
推荐(0)
2015年11月16日
nginx args
摘要: $args$content_length$content_type$document_root$document_uri$host$http_user_agent$http_cookie$limit_rate$request_body_file$request_method$remote_addr$...
阅读全文
posted @ 2015-11-16 20:16 hao.ma
阅读(722)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
23
下一页
公告