Index Animi Mei | |||||||||||||||||||||
|
home :: tech
2010 Feb 20 (Sat)
OpenOffice and corrupt file
The file 'file.odt' is corrupt and therefore cannot be opened. Should OpenOffice.org repair the file?Naturally, I did want OO to repair the file, but that failed as well: The file 'file.odt' could not be repaired and therefore cannot be opened.So I google'd quickly to see if others had the same problem and found this page among others which goes through one way to solve it. But that seemed like quite a bit of work for just getting the text and no formatting. The BTSA documents are specially formatted, so it would really suck to have to replicate all the formatting again. On a hope, I thought I'd try AbiWord, and voila!, it worked. I tried to export a copy so that OO could open it, but OO croaked again. Anyway, I'll just be using AbiWord from now on, since I don't really use OpenOffice for anything else, really. Thank you, AbiWord developers! :-D [all posts in /tech/] [permanent link] 2008 Jan 07 (Mon)
Using Git over EncFS and SSHFS
[all posts in /tech/] [permanent link] 2007 Nov 06 (Tue)
Okay, so I did something very stupid and saved a file under /tmp, switched off
my computer, and then booted it back up later to look for the file. (I blame
lack of sleep.) Anyway, it was a simple text file that I didn't really want to
write up again, so I decided to try to recover it. Since the file was on my
laptop, and since Macs have a cool Firewire Target
disk mode, I connected to my laptop from my Mini, and grepped the
partition (it wasn't a really large file, but I hate having to retype
something):
[all posts in /tech/] [permanent link] 2007 May 14 (Mon) Today I updated my resume and sent it out to a prospective employer for part-time summer work. When I attached the pdf, I forgot to check the mime type, and the recipient said when they opened my resume, it was blank. After some quick googling, I found that mutt looks for a ~/.mime.types file (and afterwards $PREFIX/share/mutt/mime.types. Unfortunately, when I installed mutt, it didn't install the file into that location, and so the mime type wasn't correctly set. So I saved the mime.types from a clean, unzipped distribution of mutt as ~/.mime.types. Just frustrating that I didn't see an easy way to change the mime encoding for the attachment within mutt. All better now, though :-) [all posts in /tech/] [permanent link] 2007 Mar 11 (Sun)
Dreamhost and SVN Perl bindings
./configure --prefix=$HOME --with-ssl --with-libs=/usr --enable-shared. After installing neon, I installed my own version of swig, configuring it with: ./configure --prefix=$HOME. I then downloaded subversion-1.4.2 (to match the version installed on the dreamhost machine) and configured it with: ./configure --prefix=$HOME --with-swig=$HOME --with-neon=$HOME. I edited the Makefile to change line 604 to read: cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(HOME) SITELIBEXP=$(HOME)/share/perl/5.8.4 SITEARCHEXP=$(HOME)/lib/perl5. I had to make sure to add $HOME/lib/perl/5.8.4 to the $PERL5LIB, since SVN::Core was being installed there (and not in $HOME/lib/perl5). I then ran make && make install && make swig-pl, and watched everything compile and install. When I ran make check-swig-pl, I got an error: /tmp/subversion-1.4.2/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so.0: undefined symbol: SSL_load_error_strings at /usr/lib/perl/5.8/DynaLoader.pm line 225.. So I deleted subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so.0, ran make check-swig-pl again, and the tests passed. git-svn now works :-) [all posts in /tech/] [permanent link] 2006 Aug 17 (Thu)
Internet Non-Discrimination Act of 2006
[all posts in /tech/] [permanent link] 2006 Aug 10 (Thu) In case you haven't been following news in the Mac world lately, there's a lot going on. Mac is now rolling out desktops and laptops with Intel Duo Core techonology: two processors on one die. The new laptop, MacBook Pro, looks sick and I'm resisting the temptation (for now) of buying one. Maybe even sell my MacMini to go all out and get one? Anyway, go over to apple.com and check out the keynote address at that Steve Jobs gave this last Tuesday. The hardware is not the only change either. Steve demo'ed the new capabilities of MacOS X Tiger 10.4.4 (the version releases are starting to look more like open source software: interesting), iLife, and iWork. Another company, named Google, finally released another killer app for the Mac: GoogleEarth for Mac! I've run a leaked beta two times, but now I'm glad the real deal is here. The gap between what's available for Windows that isn't available for OSX is becoming so small, while all the capabilities and applications you can do on OSX are (in my opinion) dominating over all you can do on Windows. If you ever want to switch, it's not too late ;) [all posts in /tech/] [permanent link] 2006 Aug 06 (Sun) In case you didn't sign into gmail yet, here's a lil' video that Google links to on the log-in page. I sorta dig it. :) [all posts in /tech/] [permanent link] 2006 Jul 28 (Fri)
Net Neutrality
[all posts in /tech/] [permanent link] 2006 Jun 26 (Mon)
Chicago YAPC
[all posts in /tech/] [permanent link] |
||||||||||||||||||||