Skip to content

Instantly share code, notes, and snippets.

Avatar

Xavier Valarino xaviervalarino

View GitHub Profile
@xaviervalarino
xaviervalarino / check-against.sh
Last active Jan 6, 2017
Download ROMS with ia-mame
View check-against.sh
#!/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
View cpanm fails to install DDG from mirror
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.