Search This Blog

Thursday 29 December 2011

Blogger, double line spacing

This has been bugging the crap out of me for ages so I finally sat down this evening and worked it out.  Or at least I worked a work-around out !

When creating posts blogger would kindly add </br> tags into the html. </br> is a HTML line break.  So when writing a post with CR to create a single line space for a paragraph blogger would kindly add a br tags all over the place, and so you end up with double line spacing.

Note:Changing the line break options made bugger all difference.

I had my default blogger font as Trebuchet but in the WYSIWIG blogger editor the font would show as Times Roman.  Each blog post I created I'd select all and use the font drop down to show me the correct font.

Bingo ! .. its at that point blogger gets all crazy with the br tags.

What I hadn't realised is if you leave the editor font alone and look at the preview then you get the default font you've set in the blog template design.  And if you don't change the font in the editor then blogger never inserts the </br> tag.

I am happy now.  No more switching to HTML view and deleting tags ..

VLC, Windows 7 to Basic Mode & Black screen

Debugging an audio issue I have on XBMC and dropped to trusty VLC. Windows (7 x32) flicked into basic mode and VLC only played the audio.


A quick google showed a few hits with the same issue, but no resolution. Check video drivers, update VLC etc.  All rather generic.


It also wasn't version specific (I horde older versions) and they all behaved in the same way.


No amount of preference changes resolved it.


Fix : Shut some apps, in my case Chrome was hogging all the RAM and I was >70% used. Releasing some system resources fixed VLC. So not directly a VLC issue. 


Hope that helps some people. The problem seems to have been around a while ..

Wednesday 14 December 2011

Installing flash on Backtrack 5

Backtrack comes with flash installed, but it doesn't work.  Believe it or not Nessus requires flash ! A security scanner that requires flash, oh the irony ..

Following the instructions provided by BT didn't work for me so I'm reproducing the 32bit steps which did :


Grab the correct/latest flash install from adobe.com : 

install_flash_player_11_linux.i386.tar.gz
Run the following commands : 
Remove BT installed files 
apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozillarm -f /usr/lib/firefox/plugins/*flash*
rm -f /usr/lib/firefox-addons/plugins/*flash*rm -f /usr/lib/mozilla/plugins/*flash*
rm -f ~/.mozilla/plugins/*flash*sorm -rfd /usr/lib/nspluginwrapper
Install downloaded version
tar xvfz install_flash_player_11_linux.i386.tar.gz
mkdir ~/.mozilla/plugins
mv -f libflashplayer.so ~/.mozilla/plugins/
Test within the browser, firefox about:plugins

UPDATE : This process also works for Chromium