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
#include "xeric-utils.h" | |
/* The main method. */ | |
int main(int argc, char * argv[]) { | |
int i; | |
int port = 80; | |
struct in_addr address = {0}; | |
/* Parse the arguments: */ | |
for(i = 1; i < argc; i++) { |
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
all:mini alternative | |
CPPFLAGS+=-std=c++0x | |
CPPFLAGS+=-g -O0 | |
%.o:%.cpp | |
g++ $(CPPFLAGS) $^ -o $@ $(LDFLAGS) |
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 | |
cat >> /dev/null <<"HERE" | |
Looking good. There is a bug in | |
for line in $submodules; do cd "$parent_git/$line"; \ | |
if [[ `pwd` = $_git_dir ]]; then return 0; fi; \ | |
done | |
because it won't cd back (so it would only work if the first submodule |
NewerOlder