Skip to content

Instantly share code, notes, and snippets.

@kwharrigan
kwharrigan / scan.sh
Last active March 1, 2019 01:54
A simple script to form a multipage PDF using scanimage / sane. It is hard-coded to my MF4270 device id as provided by scanimage -L.
outname=$1
startdir=$(pwd)
tmpdir=scan-$RANDOM
DEVICENAME=pixma:04A926B5_SFF780310398A
if [ $# -lt 1 ]
then
echo "Usage: scan.sh <filename.pdf>"
exit 1;
fi
@biemond
biemond / axis2testclient.java
Created October 6, 2011 20:22
Axis2 rampart test client
package osb.cookbook.owsm;
import java.io.FileNotFoundException;
import java.rmi.RemoteException;
import java.util.Properties;
import javax.xml.stream.XMLStreamException;