Tuesday, March 8, 2011

NZ Guitar Association

http://www.nzguitar.com/

Were represented at the Bikes, BBQ and Blues event http://www.bikesbbqblues.co.nz/ on Sunday. Some very good playing.

The Gunsmiths, Hammond Gamble...

Monday, February 14, 2011

Sunday, February 13, 2011

PDF (Tables) to Text more

pdftotext (1) - Portable Document Format (PDF) to text converter (version 3.00)

pdftk - useful tool for manipulating PDF documents

PDFBox

There are a number of PDF-to-Excel things available commercially ... one (Nitro) has a demo online but limits filesize input to 10MB :(

devmem2.c

http://www.lartmaker.nl/lartware/port/devmem2.c

devmem2.c, access device registers from userspace Linux

Builds in target machine (or can be cross-compiled)

Run it without params for usage information.

Addresses are Physical.

Prefix with 0x for hex addresses.

This can be wrapped in a script to give multiple register values read out.

Extracting text from PDF file with PDFBox ExtractText command

http://pdfbox.apache.org/commandlineutilities/ExtractText.html

Needs some installation (assuming PDFbox isn't installed already e.g. by your Linux distribution):

SVN pdfbox trunk

apt-get install maven2

mvn clean install

On successful building it, use it like:

usage: java -jar pdfbox-app-x.y.z.jar org.apache.pdfbox.ExtractText [OPTIONS] [Text file]

e.g.:
rbarraud@thinky:~/Desktop/tools/PDFBox/trunk/app/target$ java -jar pdfbox-app-1.5.0-SNAPSHOT.jar ExtractText -html /home/rbarraud/Desktop/Reference/pdfs/IMX25RM.pdf /tmp/MX25RM.html

I want to grab tables out of PDF processor reference manuals to make tools for browsing machine state by register names etc.

Thursday, February 3, 2011

iproute2 replacing ifconfig etc (net-tools) ?

http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2

Turning on bash's globstar ...


magilla@think:~/Desktop$ shopt -s globstar
magilla@think:~/Desktop$ shopt globstar
globstar on


Helps with recursive grep - you can then use

# grep -inH "find_this_expr" **/*.[CcHh]

or similar to recurse into all subdirs.

Sunday, December 19, 2010

Two Maps, Same Scale -- ACME Labs

ACME Labs (thttpd creators) ... page that shows two locations side-by-side at the same scale in Google Maps ... so you can do comparisons of size between two places. Kewl.
http://acme.com/same_scale/

Tcl for Web Nerds

A book by Philip Greenspun, Hal Abelson, Lydia Sandon
http://philip.greenspun.com/tcl/index.adp

AOL Server referenced here

Saturday, December 18, 2010

Sunday, December 12, 2010

Tcl dict command

http://wiki.tcl.tk/5042

Tk Examples

http://wiki.tcl.tk/1291

Tk Syntax Help

Tk Syntax Help

Webscool (NZ)

http://homepages.ihug.co.nz/~webscool/

ARMpit Scheme - Scheme on ARM bare-metal

http://armpit.sourceforge.net/

Quack - adding to Emacs

Get
http://www.neilvandyke.org/quack/quack.el
and save it into a new directory called
/usr/share/emacs/site-lisp/quack/

Add these lines to .emacs:
(setq load-path
(append (list nil "/usr/share/emacs/site-lisp/quack")
load-path))
(require 'quack)


Quack should load when Emacs starts.

Quack (Emacs Scheme mode)

http://www.neilvandyke.org/quack/

Monday, December 6, 2010

Oracle AutoVue and .sbk files viewing

Oracle AutoVue can view .sbk (Mentor Expedition PCB) files.

Download 30-day trial from Oracle.

147MB odd for the installer ... it's a bit disk-hungry too.