Archive for février, 2009

PDF Half page splitting

Jeudi, février 26th, 2009

I’ve found this interresting script digging around.  As I’ve a lot of old book got scanned 2 / 1 pages and I don’t found then easy to read on my portable device I think this could be useful.

#!/bin/bash
#script:    unpnup
#        This script reformats pdf files where two portait pages
#        are joined on one landscape page (like pnup does). After
#        completion each page is on one single fullframe page
#         Copyright (c) 2007 F5 GmbH
# Author: Harald Hackenberg <hackenberggmx.at>
#
#programs required:
#           pdftk, pdftops, poster, epstopdf
#
#
#
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.  See http://www.gnu.org/copyleft/gpl.html for
# the full text of the license.
if [ “$1″ == “” ] || [ “$1″ == “–help” ]; then
echo
echo “Usage: `basename $0` filename”
echo
else

mkdir tmp
cd tmp
pdftk “$1″ burst
for file in pg*.pdf;
do
pdftops -eps $file
poster -v -pA4 -mA5 -c0% `basename $file .pdf`.eps > `basename $file .pdf`.tps
epstopdf `basename $file .pdf`.tps
done
pdftk pg*.pdf cat output ../`basename $1 .pdf`_unpnuped.pdf
rm *
cd ..
rmdir tmp
fi

Hidding content in frontrow

Lundi, février 16th, 2009

Looking around, I found nothing interesting explaining how to hide content in frontrow.  Why do this?  I don’t want all the items to appear here.  For example, I don’t want my TV Show in ITune to be available in Front Row.

The secret is in the /System/Library/CoreServices/Front Row.app/Contents/PlugIns where reside the information about what is displayed in the main menu.  Juste renaming the  TV.frappliance to .TV.frappliance (adding a dot in front of it) hide this item in the menu.

May be we can have more granularity (using the checkbox in front of the item in itune for example) but I haven’t time to test everything.

Nouvelles photos

Lundi, février 2nd, 2009

Je sais que je ne suis pas généreux sur la mise en ligne de photo. J’ai tout de même fait un effort pour en envoyer quelques’unes d’Olivier et d’Éolie.

DSC00885
DSC00901
DSC00919
DSC00943
DSC00961

Bon visionnement.