Combining or Merging PDFs with OpenOffice

Combining or merging your PDFs could not be simpler with Openoffice.  I am sure the same technique works with Libreoffice but I have not tried it yet.

1. Go to http://extensions.services.openoffice.org/en/project/pdfimport download and install the pdf import OO.o extension for your OS.
2. Open both/all pdf’s in OO.o writer.
3. To append receipts simply right click the page of the receipt you want to append select copy and then paste it to the end of the report. Or drag and drop.

 

Posted in Uncategorized

Installing the AMD Proprietary fglrx Driver on Debian Wheezy

If you are getting errors similar to the following:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
fglrx-driver : Depends: glx-alternative-fglrx (>= 0.2) but it is not installable
Recommends: fglrx-modules-dkms (= 1:12-6+point-1) but it is not going to be installed or
fglrx-kernel-12-6+point
Recommends: libgl1-fglrx-glx (= 1:12-6+point-1) but it is not going to be installed
Recommends: libgl1-fglrx-glx-i386 but it is not installable
Recommends: fglrx-glx-ia32 but it is not going to be installed
Recommends: fglrx-atieventsd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Then you will need to modify your /etc/apt/sources.list to include the contrib sources:

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free

Posted in Uncategorized

Cadaver on Solaris 11

If you are getting the following error when trying to build cadaver on Solaris 11:

gcc -DHAVE_CONFIG_H -I. -I./lib -D_REENTRANT -DLOCALEDIR=\”/usr/local/share/locale\” -I./src -g -O2 -I/usr/include/neon -o src/cadaver.o -c src/cadaver.c
src/cadaver.c: In function ‘main’:
src/cadaver.c:859:15: error: ‘LC_ALL’ undeclared (first use in this function)
src/cadaver.c:859:15: note: each undeclared identifier is reported only once for each function it appears in
make: *** [src/cadaver.o] Error 1

Then you need to apply the following patch:
— src/cadaver.c.orig 2012-11-28 10:39:59.932391865 -0800
+++ src/cadaver.c 2012-11-28 10:46:50.887375416 -0800
@@ -39,9 +39,7 @@
#ifdef HAVE_STRING_H
#include
#endif
-#ifdef HAVE_LOCALE_H
#include
-#endif

#include

Posted in Uncategorized

AR-15 zeroing

http://forums.second-amendment.org/index.php?topic=4771.0;wap2

Posted in Uncategorized

Baconnaise Baby!

Since we were going to have hamburgers tonight and most condiments are not paleo due to the sugar and preservatives we decided to whip up some baconnaise.  This is our first foray into mayo making, and it was surprisingly easier than we thought.  To prepare we saved up our bacon fat for about two weeks.

Recipe:

  • 1 cup bacon fat
  • 2 egg yolks
  • ~3 tsp lemon or lime juice (if you use lime juice you may want to add a tiny bit of sugar)
  • 1 tsp Dijon mustard
  • ground pepper, garlic, onions/chives to taste
  1. First we render fat.

  2.  

     

     

     

     

     

     

  3. While the fat is heating put the yolks, mustard and some of lime juice in the food processor.  We started with 1 tsp lime juice and added the rest later to adjust the tangy-ness.
  4. Once the yolks are whipped up pretty good, slowly drizzle the bacon fat into the food processor while it is running.  As the emulsion takes hold you can increase your fat flow rate.
  5. After you have added all of the fat, taste it and add more lime or pepper as you see fit.
  6. Enjoy!
Posted in paleo

Defcon Private Cell Network

I have often postulated that were the Internet to become inhospitable, vis-a-vis SOPA/PIPA and its ilk, private networks would start popping up, and eventually start linking to each other. Thus forming another private internet. This is why it is so important to keep the spectrum free and open. Closing it is the only way to stifle such and initiative.

Anyways, this is pretty neat.

http://arstechnica.com/security/2012/07/ninja-tel-hacker-phone-network/

Upon booting up for the first time, the phone displayed a list of terms and services that were unusually frank.

“You hereby grant Ninja Tel permission to listen to, read, view and/or record any and all communications sent via the network to which you are a party,” one section stated. “Before you get all upset about this, you already know full well that AT&T does this for the NSA. You understand that you have no reasonable expectation of privacy as to any on the Ninja Tel network. You grant Ninja Tel a worldwide, perpetual, assignable, royalty-free license to use any and all recorded or real-time communications sent via the Ninja Tel network to which you are a party. Don’t worry, most of this is for the lulz.”

Posted in radio networking and communications, Tech

Dinner

image

Chicken and bacon over kale.

Posted in paleo

Importing Firefox Bookmarks via Command Line

If you ever wander into a situation where you only have command line access to a system that is holding all of you bookmarks (like I have) then you might want to try this.

Initially you may think that the .mozilla/firefox/xxxxx.default/bookmarks.html file holds all of your precious beauties, but…………… it doesn’t.  So here is what you have to do.

Copy over the latest bookmarks backup from the .mozilla/firefox/xxxxx.default/bookmarkbackups/ to the directory of your choice.  The files will probably be named something like “bookmarks-2012-06-30.json”

Once you have the file on the machine you want to import them to, open firefox and navigate to Bookmarks -> Show All Bookmarks -> Import and Backup -> Restore -> Choose File…

Select the file you just copied over, disregard the warning, and you’re done!

 

Posted in Linux, programming, Tech

Removing Translations From Debian Wheezy

If your locale is set properly and you do not require further translations (check locale -a -v), then add this file:
/etc/apt/apt.conf.d/99Translations

and insert this line:
Acquire::Languages “none”;

When you run ‘apt-get update’ your translations should be removed. If you want you can remove any straggling translations from  /var/lib/apt/lists with ‘rm *Translations*’

Posted in Linux, programming, Tech

How to remove the “AMD testing use only” watermark from Debian Wheezy

This script should do the trick:

DRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.so
for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
done

Or you can download it here. And run it as root.

Posted in Linux, programming, Tech