Skip to content

Instantly share code, notes, and snippets.

View xaviervalarino's full-sized avatar

Xavier Valarino xaviervalarino

View GitHub Profile
cpanm (App::cpanminus) 1.7042 on perl 5.024000 built for darwin-thread-multi-2level
Work directory is /Users/Xavier/.cpanm/work/1469046668.2450
You have make /usr/bin/make
You have LWP 6.15
You have /usr/local/bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
@xaviervalarino
xaviervalarino / check-against.sh
Last active January 6, 2017 19:06
Download ROMS with ia-mame
#!/bin/bash
# check file against list and print names with no matching file
dir=$1
ext=$2
file=$3
[ -z $dir ] && echo "Error: Must specify a directory to test filenames against" && exit 1
[ -z $ext ] && echo "Error: Must specify a file extension" && exit 1
[ -z $file ] && echo "Error: Must specify a data file" && exit 1