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/sh | |
# | |
# For each ref, validate the commit. | |
# | |
# - It disallows deleting branches without a /. | |
# - It disallows non fast-forward on branches without a /. | |
# - It disallows deleting tags without a /. | |
# - It disallows unannotated tags to be pushed. |
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 | |
exe=$1 | |
shift 1 | |
gdb -x <(echo "run $@") $exe |
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
OBJS = lib/yo.o lib/mama.o | |
DEPS = $(OBJS:.o=.d) src/test.d src/test-framework.d | |
all: lib/libyomama.a | |
clean: | |
$(RM) $(OBJS) lib/libyomama.a src/test.o src/test-framework.o | |
lib/libyomama.a : $(OBJS) | |
$(AR) $(ARFLAGS) $@ $? |
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
public class Main { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
Integer a = 1000; | |
Integer b = 1000; | |
Integer c = 42; |