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: test | |
test: | |
node index.js | |
node test.js |
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
xx | |
yy | |
zz | |
ww | |
OUT |
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: | |
node fidgets.js |
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
// realpath.c: display the absolute path to a file or directory. | |
// Adam Liss, August, 2007 | |
// This program is provided "as-is" to the public domain, without express or | |
// implied warranty, for any non-profit use, provided this notice is maintained. | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <libgen.h> | |
#include <limits.h> | |
static char *s_pMyName; |
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
#!/usr/bin/env python3 | |
curr = prev = input() | |
while curr: | |
print "THIS", prev | |
curr = prev | |
print "LAST", prev |
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
NAME=vvm | |
all: clean build rund ; | |
clean: ; rm -f Dockerfile ; docker rm -f $(NAME) ; true | |
build: Dockerfile ; docker build --tag $(NAME) . && rm Dockerfile | |
runi: ; docker run -it --name $(NAME) $(NAME) | |
rund: ; docker run -d --name $(NAME) $(NAME) | |
exec: ; docker exec -it $(NAME) /bin/bash -c "TERM=$(TERM) exec bash" | |
ps: ; docker ps | |
Dockerfile: Makefile ; echo "$$DOCKERFILE" >Dockerfile | |
######################################## ###################################### |