Skip to content

Instantly share code, notes, and snippets.

View snowwolf007cn's full-sized avatar

Mike Zhang Zhi snowwolf007cn

View GitHub Profile
@snowwolf007cn
snowwolf007cn / # php70-kafka - 2016-09-29_12-06-01.txt
Created September 29, 2016 04:47
php70-kafka (homebrew/php/php70-kafka) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for homebrew/php/php70-kafka on macOS 10.11.6
Build date: 2016-09-29 12:06:01
@snowwolf007cn
snowwolf007cn / # php70-kafka - 2016-09-29_12-06-01.txt
Created September 29, 2016 04:11
php70-kafka (homebrew/php/php70-kafka) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for homebrew/php/php70-kafka on macOS 10.11.6
Build date: 2016-09-29 12:06:01
@snowwolf007cn
snowwolf007cn / webcrawler.go
Created July 2, 2015 07:19
Go Tour Exercise: Web Crawler
package main
import "fmt"
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
Fetch(url string) (body string, urls []string, err error)
}
@snowwolf007cn
snowwolf007cn / python
Last active August 29, 2015 14:20
待字闺中面试题实现代码-数组求和
#!/usr/local/bin/python2.7
# encoding: utf-8
'''
FindSum -- There is an array with positive integer. given a positive integer S,\
find the total number of combinations in Which the numbers' sum is S.
FindSum is a description
It defines classes_and_methods
Below is my configration in global.php
return array(
'service_manager' => array(
'abstract_factories' => array(
'Zend\Log\LoggerAbstractServiceFactory'
)
),
'log' => array(
'Application\Web' => array(