Skip to content

Instantly share code, notes, and snippets.

@melkorm
melkorm / Makefile.makefile
Created December 1, 2016 14:34 — forked from skarllot/Makefile.makefile
Makefile to merge coverage data from all subpackages (Golang)
.PHONY: test-cover-html
PACKAGES = $(shell find ./ -type d -not -path '*/\.*')
test-cover-html:
echo "mode: count" > coverage-all.out
$(foreach pkg,$(PACKAGES),\
go test -coverprofile=coverage.out -covermode=count $(pkg);\
tail -n +2 coverage.out >> coverage-all.out;)
go tool cover -html=coverage-all.out
#!/usr/bin/env python
'''
Change Facebook test users password
'''
import urllib, urllib2, json
# makes a batch call to facebook
# access_token : facebook access token