Skip to content

Instantly share code, notes, and snippets.

View 0guzhan's full-sized avatar

Oguzhan Acargil 0guzhan

  • Amsterdam
  • 06:23 (UTC +01:00)
View GitHub Profile
@kwharrigan
kwharrigan / scan.sh
Last active November 4, 2024 20:49
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;