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
FROM thymbahutymba/allegro4 | |
COPY . /project/ | |
WORKDIR project | |
RUN make | |
CMD ./a.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
#!/bin/sh | |
timeout=2 | |
time="" | |
# Take input argument | |
while [ "$1" != "" ]; do | |
case "$1" in | |
title) | |
title="$2" ;; |
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 | |
[ $# -eq 0 ] && echo "./required_by <list packages>" && exit 1 | |
list_required=(); | |
for package in $*; do | |
to_sort=($(pacman -Qi $package 2> /dev/null | grep Required | cut -c 19-)); | |
for element in ${to_sort[@]}; do |