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
find -name "archive\.tar" | xargs -i tar xvf {} -O 2>/dev/null | grep -H -i "^Program finished successfully\|error" > logs.txt | |
grep successfully logs.txt | wc -l | |
grep Error logs.txt | wc -l |
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
/* Revised to be readable code and behave as a normal person would expect | |
* when working with dynamic arrays from arralloc.c | |
* s1563256, 10.11.2015 | |
*/ | |
/* | |
* This file contains C routines for the MPI Casestudy. | |
* | |
* To access these routines, add the following to your program: | |
* |
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
default: main.c | |
gcc -o main main.c | |
mkdir outputdir | |
./main | |
./imageviewer |
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 python | |
''' | |
Module that runs pylint on all python scripts found in a directory tree.. | |
''' | |
import re | |
import sys | |
import subprocess | |
TOTAL = 0.0 |