by admin | Jan 20, 2013 | Brew, Debian, Linux, OCR, OSX, Ubuntu
OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage: convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif decode with tesseract...
by admin | Jan 18, 2013 | Debian, Linux, Sharing, Ubuntu
SparkleShare: # Run all of the following commands as the root su # Fetch the Dazzle script curl https://raw.github.com/hbons/Dazzle/master/dazzle.sh \ –output /usr/bin/dazzle && chmod +x /usr/bin/dazzle # Run the initial setup dazzle setup # Link...
by admin | Feb 11, 2012 | Bash, Linux, Networking, OSX
Put in cron or run manually. #!/bin/bash # If this is our first run, save a copy of the system’s original hosts file and set to read-only for safety if [ ! -f /etc/hosts.bak ] then echo “Saving copy of system’s original hosts file…” sudo...
by admin | Apr 16, 2011 | Debian
apt-get iinstall apt-file apt-file update apt-file search FILENAME
by admin | Apr 16, 2011 | Debian, Networking
apt-get source driftnet START COPY BELOW LINE ———https://bugzilla.redhat.com/attachment.cgi?id=134667——— — driftnet-0.1.6/image.c 2002-07-09 20:26:41.000000000 +0100 +++ driftnet-0.1.6.new/image.c 2006-08-22 21:14:38.000000000...
by admin | Mar 18, 2011 | Debian, Development, Perl
#!/usr/bin/perl -w # Modules Needed: # apt-get install libssl-dev # perl -MCPAN -e shell # install Net::SSLeay # install IO::Socket::SSL # install Authen::SASL # install Net::SMTP::SSL use Net::SMTP::SSL; sub send_mail { my $to = $_[0]; my $subject = $_[1]; my $body =...