CFLAGS+=-g -fprofile-arcs -ftest-coverage lcov --zerocounters --directory $PWD lcov --capture --directory $PWD --output-file coverage.info genhtml coverage.info --output-directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRCS := foo.c bar.c | |
OBJS := $($(SRC):.c=.o) | |
foo: $(OBJS) | |
$(CPP) -o $@ $^ $(LINKFLAGS) | |
-include $(OBJS:.o=.d) | |
%.o: %.cc | |
$(CPP) -c $(CFLAGS) $*.cc -o $*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: android-re-sign.sh <in apk> <out apk> | |
# re-signs an android application with the default debug signing key | |
inapk="$1" | |
outapk="$2" | |
cp "$inapk" "$outapk" | |
zip -d "$outapk" META-INF/\* # delete the existing signing |
I hereby claim:
- I am tcoffin on github.
- I am tylercoffin (https://keybase.io/tylercoffin) on keybase.
- I have a public key ASAID2uR7PxtRmb4lXh4mdQi2yyyG5bVRSo--2IhnBnxXAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-08-10 21:25:16] [AppID 7] Init cache request complete | |
[2013-08-10 21:25:16] Starting sync job | |
[2013-08-10 21:25:16] [AppID 7] Starting sync (init) | |
[2013-08-10 21:25:17] [AppID 7] Init cache request complete | |
[2013-08-10 21:25:17] Starting sync job | |
[2013-08-10 21:25:17] [AppID 7] Starting sync (init) | |
[2013-08-10 21:25:19] Starting sync job | |
[2013-08-10 21:25:19] [AppID 7] Starting sync (eval) | |
[2013-08-10 21:25:19] [AppID 7] File is in sync serverbrowser_hist.vdf |
Ubuntu install of Ceph:
sudo apt-get install ceph
ceph.conf (based off the sample config):
;
; This file defines cluster membership, the various locations