Tuesday, July 15, 2008

software update for etch

i need to look at the changes for etch

postgresql-8.1
postgresql-client-8.1
libpq-dev

lesstif2-dev
lesstif2

need to make sure that the database is working before running script

debian useful reference

http://panuganty.tripod.com/debiantips/packaging.htm

free dynamic dns services

Free Dynamic dns services

dyndns.com or dndns.org
http://en.wikipedia.org/wiki/Dynamic_DNS
http://www.dmoz.org/Computers/Internet/Protocols/DNS/DNS_Providers/Dynamic_DNS/
http://www.reverse-dns.net/
http://freedns.afraid.org/
http://www.dynamip.com/

Thursday, July 10, 2008

centricty log files

type platinum\service\logs\CentricyWS-Audit-log.xml|find "changed"
and look for changed to dictated

may have to look at the ones with log.xml.1 amd log.xml.2 and find the cases.

irritating. need perl script to parse log file better.

automating script to do rsync to another machine

You need to set up ssh without offering a passphrase. How to do this?

go to the

source machine
/home/your-id

ssh-keygen -t rsa

accept the default location .ssh/id_rsa and .ssh/id_rsa.pub
then do (empty passphrase)

and now you can use the generated file .ssh/id_rsa.pub

scp .ssh/id_rsa.pub distal.host.ip.address:/home/yourid/.ssh/authorized_keys

(of course we are coming from only one preimage, otherwise just add line to authorized_keys

Friday, July 4, 2008

wireless issue on debian powerpc

i started to have difficulty on reboot of power macbook on debian and wireless about b43-cutter
so I updated all including kernel to linux-image-2.6.25 (i had trouble with sbcl kernel bug due
to lack of flag siet up)

so what to do about bcm43 cutter issue in broadcome
http://linuxwireless.org/en/users/Drivers/b43

so i installed latest b43-fwcutte and I ran
/usr/share/b43-fwcutter/install_bcm43xx_fireware.sh

i still get error

loading firmware version 351.126 (2006-07-29 05:54:02)
b43-phy0 warning you are using an old firmware image. support for old firmeware will be removed july 2000.
go to
http://linuxwireless.org/en/users/Drivers/b43
and download latest firmware (version 4)

??

Monday, May 26, 2008

Postgreql full text search support

Cool look at
http://www.postgresql.org/docs/8.3/static/textsearch.html
gist
http://www.sai.msu.su/~megera/postgres/gist/
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/

interesting
http://wiki.docmgr.org/index.php/DocMGR

DocMGR is a complete, web-based Document Management System (DMS). It allows for the storage of any file type, and supports full-text indexing of the most popular document formats. It is available in many different languages and is easy to translate into new languages. DocMGR runs on PHP, the Apache webserver, and Postgresql. It optionally uses tsearch2 for full-text indexing which provides for faster search results and result ranking. DocMGR supports LDAP authentication, the ability to easily add and remove "objects" for storage in the system, document workflow, object subscriptions, WebDAV access, and an ever-growing set of features revolving around content storage.



Wednesday, May 21, 2008

annotating pdf files creating presentations

I just watched a friend annotating pdf files with Preview and then
using grabber to take a picture of part of the PDF and put it into his mac
presentation application.

So what is the linux equivalent?

1. what to annotate pdfs?

i notice xournal. someone writes

http://www.g-loaded.eu/2008/05/03/how-to-annotate-pdf-files-in-linux-using-xournal/

The rest of the document has to do with configuring xournal in such a way that it is more convenient to use it to highlight text inside PDF files. Although some of these settings can be set from within xournal’s graphical interface, I recommend editing the configuration file directly: /home/gnot/.xournal/config, since it contains more options than those available in the GUI.

The ruler exists in order to make life easier when you highlight text. It is highly recommended that you enable it for text highlighting:

startup_ruler=true

If highlighting text is your main use of xournal, then you can make it the startup tool as well.

startup_tool=highlighter

The following options make xournal’s window to start maximized and set the initial zoom to 150% respectively.

window_maximize=true
initial_zoom=150

The following options configure the highlighter. You can set the 3 pre-defined levels of thickness and which one will be the default one, set the default color and finally set the opacity (the default opacity level of 50% is just too much).

highlighter_thicknesses=2.83;8.50;19.84
highlighter_thickness=2
highlighter_color=yellow
highlighter_opacity=0.20

Conclusion

No one said that annotating PDF files in Linux is an easy task. I have tried many open source tools for that job, but xournal seems to be the best one at the time of writing.

***************

Cool I will try that today and see how it works.


2. I have been using emacs text application to make presentations. I need to grab screen shots.
what is the equivalent of mac grabber.

xsg i see, xwd, xgrabsc Xscreencap ,

This is really simple. Run gimp (The GNU Image Manipulation Program). Click on Xtns and then Screen Shot, seleccaptscsct whether you want to capture a single window (the Include decorations option means capture the frame and title bar along with the rest of the window) or the whole screen, then click Grab. If you selected the whole screen it will open a new image containing it immediately, else if you chose single window you will have to click on the particular window you want to capture. Edit as necessary and save.

3. he uses spotlight to find files. is there a linux spotlight that searches pdf files???